Home
last modified time | relevance | path

Searched refs:baseColor (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DUtilities.java170 public static int getColorWithOverlay(int baseColor, int overlayColor, float overlayAlpha) { in getColorWithOverlay() argument
172 (int) (overlayAlpha * Color.red(baseColor) + in getColorWithOverlay()
174 (int) (overlayAlpha * Color.green(baseColor) + in getColorWithOverlay()
176 (int) (overlayAlpha * Color.blue(baseColor) + in getColorWithOverlay()
/frameworks/native/opengl/tests/angeles/
Ddemo.c209 float baseColor[3]; in createSuperShape() local
218 baseColor[a] = ((randomUInt() % 155) + 100) / 255.f; in createSuperShape()
301 color[a] = (int)(ca * baseColor[a] * 255); in createSuperShape()