Class Overview
A set of colors used to display the search orb.
Summary
Fields |
public
int |
brightColor |
A brighter version of the search orb used for animation.
|
public
int |
color |
The main color of the search orb.
|
public
int |
iconColor |
A color used to tint the search orb icon.
|
Public Constructors |
|
SearchOrbView.Colors(int color)
Constructs a color set using the given color for the search orb.
|
|
SearchOrbView.Colors(int color, int brightColor)
Constructs a color set using the given colors for the search orb.
|
|
SearchOrbView.Colors(int color, int brightColor, int iconColor)
Constructs a color set using the given colors.
|
Public Methods |
static
int
|
getBrightColor(int color)
Computes a default brighter version of the given color.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this Object .
|
boolean
|
equals(Object o)
Compares this instance with the specified object and indicates if they
are equal.
|
void
|
finalize()
Invoked when the garbage collector has detected that this instance is no longer reachable.
|
final
Class<?>
|
getClass()
Returns the unique instance of Class that represents this
object's class.
|
int
|
hashCode()
Returns an integer hash code for this object.
|
final
void
|
notify()
Causes a thread which is waiting on this object's monitor (by means of
calling one of the wait() methods) to be woken up.
|
final
void
|
notifyAll()
Causes all threads which are waiting on this object's monitor (by means
of calling one of the wait() methods) to be woken up.
|
String
|
toString()
Returns a string containing a concise, human-readable description of this
object.
|
final
void
|
wait()
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.
|
final
void
|
wait(long millis, int nanos)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
final
void
|
wait(long millis)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
|
Fields
public
int
brightColor
A brighter version of the search orb used for animation.
public
int
color
The main color of the search orb.
public
int
iconColor
A color used to tint the search orb icon.
Public Constructors
public
SearchOrbView.Colors
(int color)
Constructs a color set using the given color for the search orb.
Other colors are provided by the framework.
Parameters
color
| The main search orb color.
|
public
SearchOrbView.Colors
(int color, int brightColor)
Constructs a color set using the given colors for the search orb.
Other colors are provided by the framework.
Parameters
color
| The main search orb color. |
brightColor
| A brighter version of the search orb used for animation.
|
public
SearchOrbView.Colors
(int color, int brightColor, int iconColor)
Constructs a color set using the given colors.
Parameters
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.
|
Public Methods
public
static
int
getBrightColor
(int color)
Computes a default brighter version of the given color.