Searched defs:startColor (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/libs/hwui/ |
H A D | SkiaShader.h | 64 FloatColor startColor; member in struct:android::uirenderer::SkiaShaderData::GradientShaderData
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationUtils.java | 47 public static int interpolateColors(int startColor, int endColor, float amount) { argument 49 (int) interpolate(Color.alpha(startColor), Color.alpha(endColor), amount), 50 (int) interpolate(Color.red(startColor), Color.red(endColor), amount), 51 (int) interpolate(Color.green(startColor), Color.green(endColor), amount), 52 (int) interpolate(Color.blue(startColor), Color.blue(endColor), amount));
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.cpp | 682 // side color given by startColor and the right side color given by 683 // endColor. The startColor and endColor values are specified in the format 690 ColorFract startColor, ColorFract endColor) 707 ColorFract color(startColor.c1() + (endColor.c1() - startColor.c1()) 709 startColor.c2() + (endColor.c2() - startColor.c2()) 711 startColor.c3() + (endColor.c3() - startColor.c3()) 689 hwcTestFillColorHBlend(GraphicBuffer *gBuf, uint32_t colorFormat, ColorFract startColor, ColorFract endColor) argument
|
Completed in 132 milliseconds