Home
last modified time | relevance | path

Searched refs:color0 (Results 1 – 5 of 5) sorted by relevance

/cts/tests/vr/jni/
DVrExtensionsJni.cpp350 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/
DRadialGradientTest.java180 long color0 = Color.pack(Color.BLUE); in testMismatchColorLongs2() local
182 new RadialGradient(0.5f, 0.5f, 1, color0, color1, TileMode.CLAMP); in testMismatchColorLongs2()
DLinearGradientTest.java202 long color0 = Color.pack(Color.BLUE);
204 new LinearGradient(0.5f, 0, 1.5f, 0, color0, color1, TileMode.CLAMP);
DSweepGradientTest.java217 long color0 = Color.pack(Color.BLUE); in testMismatchColorLongs2() local
219 new SweepGradient(1, 0.5f, color0, color1); in testMismatchColorLongs2()
DBitmapTest.java2777 long color0 = Color.pack(0, 0, 1, 1, cs); in drawGradient() local
2779 LinearGradient gradient = new LinearGradient(0, 0, 10, 10, color0, color1, in drawGradient()