public static class SearchOrbView.Colors extends Object
Modifier and Type | Field and Description |
---|---|
int |
brightColor
A brighter version of the search orb used for animation.
|
int |
color
The main color of the search orb.
|
int |
iconColor
A color used to tint the search orb icon.
|
Constructor and Description |
---|
Colors(int color)
Constructs a color set using the given color for the search orb.
|
Colors(int color,
int brightColor)
Constructs a color set using the given colors for the search orb.
|
Colors(int color,
int brightColor,
int iconColor)
Constructs a color set using the given colors.
|
Modifier and Type | Method and Description |
---|---|
static int |
getBrightColor(int color)
Computes a default brighter version of the given color.
|
public int color
public int brightColor
public int iconColor
public Colors(int color)
color
- The main search orb color.public Colors(int color, int brightColor)
color
- The main search orb color.brightColor
- A brighter version of the search orb used for animation.public Colors(int color, int brightColor, int iconColor)
color
- The main search orb color.brightColor
- A brighter version of the search orb used for animation.iconColor
- A color used to tint the search orb icon.