java.lang.Object | |
↳ | android.support.v17.leanback.graphics.ColorFilterCache |
Cache of ColorFilter
s for a given color at different alpha levels.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get a ColorDimmer for a given color.
| |||||||||||
Returns a ColorFilter for a given alpha level between 0 and 1.0.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Get a ColorDimmer for a given color. Only the RGB values are used; the alpha channel is ignored in color. Subsequent calls to this method with the same color value will return the same cache.
color | The color to use for the color filters. |
---|
Returns a ColorFilter for a given alpha level between 0 and 1.0.
level | The alpha level the filter should apply. |
---|