Searched refs:color0 (Results 1 – 4 of 4) sorted by relevance
/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 | 114 public SweepGradient(float cx, float cy, @ColorInt int color0, @ColorInt int color1) { in SweepGradient() argument 115 this(cx, cy, Color.pack(color0), Color.pack(color1)); in SweepGradient() 129 public SweepGradient(float cx, float cy, @ColorLong long color0, @ColorLong long color1) { in SweepGradient() argument 130 this(cx, cy, new long[] {color0, color1}, null); in SweepGradient()
|
D | LinearGradient.java | 129 @ColorInt int color0, @ColorInt int color1, in LinearGradient() argument 131 this(x0, y0, x1, y1, Color.pack(color0), Color.pack(color1), tile); in LinearGradient() 149 @ColorLong long color0, @ColorLong long color1, in LinearGradient() argument 151 this(x0, y0, x1, y1, new long[] {color0, color1}, null, tile); in LinearGradient()
|
/frameworks/native/cmds/flatland/ |
D | Renderers.cpp | 96 const float* color0 = genColor(); in drawGradient() local 113 glUniform4fv(mColor0UniformLoc, 1, color0); in drawGradient()
|