Searched refs:color0 (Results 1 – 4 of 4) sorted by relevance
/cts/tests/vr/jni/ |
D | VrExtensionsJni.cpp | 350 static uint32_t LerpColor(uint32_t color0, uint32_t color1, float t) { in LerpColor() argument 351 float r0 = (color0 & 0xff) / 255.0f; in LerpColor() 352 float g0 = ((color0 >> 8) & 0xff) / 255.0f; in LerpColor() 353 float b0 = ((color0 >> 16) & 0xff) / 255.0f; in LerpColor() 354 float a0 = ((color0 >> 24) & 0xff) / 255.0f; in LerpColor()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | RadialGradientTest.java | 180 long color0 = Color.pack(Color.BLUE); in testMismatchColorLongs2() local 182 new RadialGradient(0.5f, 0.5f, 1, color0, color1, TileMode.CLAMP); in testMismatchColorLongs2()
|
D | LinearGradientTest.java | 202 long color0 = Color.pack(Color.BLUE); 204 new LinearGradient(0.5f, 0, 1.5f, 0, color0, color1, TileMode.CLAMP);
|
D | SweepGradientTest.java | 217 long color0 = Color.pack(Color.BLUE); in testMismatchColorLongs2() local 219 new SweepGradient(1, 0.5f, color0, color1); in testMismatchColorLongs2()
|