/frameworks/native/opengl/libagl/ |
D | dxt.cpp | 158 uint16_t color0 = colors & 0xffff; in DXT1HasAlpha() local 161 if (color0 < color1) { in DXT1HasAlpha() 224 uint16_t color0 = colors & 0xffff; in decodeDXT1() local 230 if (color0 != prev_color0 || color1 != prev_color1) { in decodeDXT1() 232 prev_color0 = color0; in decodeDXT1() 235 int r0 = red(color0); in decodeDXT1() 236 int g0 = green(color0); in decodeDXT1() 237 int b0 = blue(color0); in decodeDXT1() 247 c[0] = color0; in decodeDXT1() 258 if (color0 > color1) { in decodeDXT1() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | SweepGradient.java | 76 public SweepGradient(float cx, float cy, int color0, int color1) { in SweepGradient() argument 80 mColor0 = color0; in SweepGradient() 82 init(nativeCreate2(cx, cy, color0, color1)); in SweepGradient() 108 private static native long nativeCreate2(float x, float y, int color0, int color1); in nativeCreate2() argument
|
D | LinearGradient.java | 80 public LinearGradient(float x0, float y0, float x1, float y1, int color0, int color1, in LinearGradient() argument 87 mColor0 = color0; in LinearGradient() 90 init(nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt)); in LinearGradient() 118 int color0, int color1, int tileMode); in nativeCreate2() argument
|
D | RadialGradient.java | 123 int color0, int color1, int tileMode); in nativeCreate2() argument
|
/frameworks/base/core/jni/android/graphics/ |
D | Shader.cpp | 131 jint color0, jint color1, jint tileMode) in LinearGradient_create2() argument 138 colors[0] = color0; in LinearGradient_create2() 175 jint color0, jint color1, jint tileMode) { in RadialGradient_create2() argument 180 colors[0] = color0; in RadialGradient_create2() 212 int color0, int color1) { in SweepGradient_create2() argument 214 colors[0] = color0; in SweepGradient_create2()
|
/frameworks/native/cmds/flatland/ |
D | Renderers.cpp | 96 const float* color0 = genColor(); in drawGradient() local 113 glUniform4fv(mColor0UniformLoc, 1, color0); in drawGradient()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | SweepGradient_Delegate.java | 61 /*package*/ static long nativeCreate2(float x, float y, int color0, int color1) { in nativeCreate2() argument 62 return nativeCreate1(x, y, new int[] { color0, color1 }, null /*positions*/); in nativeCreate2()
|
D | RadialGradient_Delegate.java | 68 int color0, int color1, int tileMode) { in nativeCreate2() argument 69 return nativeCreate1(x, y, radius, new int[] { color0, color1 }, null /*positions*/, in nativeCreate2()
|
D | LinearGradient_Delegate.java | 70 int color0, int color1, int tileMode) { in nativeCreate2() argument 72 x0, y0, x1, y1, new int[] { color0, color1}, null /*positions*/, in nativeCreate2()
|