/frameworks/native/opengl/libagl/ |
H A D | dxt.cpp | 130 * contains a transparent pixel (color0 < color1, code == 3). This 158 uint16_t color0 = colors & 0xffff; local 161 if (color0 < color1) { 224 uint16_t color0 = colors & 0xffff; local 230 if (color0 != prev_color0 || color1 != prev_color1) { 232 prev_color0 = color0; 235 int r0 = red(color0); 236 int g0 = green(color0); 237 int b0 = blue(color0); 247 c[0] = color0; 349 uint16_t color0 = colors & 0xffff; local 506 uint16_t color0 = colors & 0xffff; local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | SweepGradient.java | 76 * @param color0 The color to use at the start of the sweep 79 public SweepGradient(float cx, float cy, @ColorInt int color0, @ColorInt int color1) { argument 83 mColor0 = color0; 117 int color0, int color1); 116 nativeCreate2(long matrix, float x, float y, int color0, int color1) argument
|
H A D | LinearGradient.java | 83 * @param color0 The color at the start of the gradient line. 88 @ColorInt int color0, @ColorInt int color1, 95 mColor0 = color0; 132 int color0, int color1, int tileMode); 87 LinearGradient(float x0, float y0, float x1, float y1, @ColorInt int color0, @ColorInt int color1, @NonNull TileMode tile) argument 131 nativeCreate2(long matrix, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
|
H A D | RadialGradient.java | 132 int color0, int color1, int tileMode); 131 nativeCreate2(long matrix, float x, float y, float radius, int color0, int color1, int tileMode) argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Shader.cpp | 128 jfloat x0, jfloat y0, jfloat x1, jfloat y1, jint color0, jint color1, jint tileMode) { 136 colors[0] = color0; 190 jint color0, jint color1, jint tileMode) { 196 colors[0] = color0; 245 int color0, int color1) { 248 colors[0] = color0; 127 LinearGradient_create2(JNIEnv* env, jobject o, jlong matrixPtr, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jint color0, jint color1, jint tileMode) argument 189 RadialGradient_create2(JNIEnv* env, jobject, jlong matrixPtr, jfloat x, jfloat y, jfloat radius, jint color0, jint color1, jint tileMode) argument 244 SweepGradient_create2(JNIEnv* env, jobject, jlong matrixPtr, jfloat x, jfloat y, int color0, int color1) argument
|
/frameworks/native/cmds/flatland/ |
H A D | Renderers.cpp | 68 mColor0UniformLoc = glGetUniformLocation(mGradPgm, "color0"); 96 const float* color0 = genColor(); local 113 glUniform4fv(mColor0UniformLoc, 1, color0);
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | LinearGradient_Delegate.java | 70 int color0, int color1, int tileMode) { 71 return nativeCreate1(thisGradient, matrix, x0, y0, x1, y1, new int[] { color0, color1}, 68 nativeCreate2(LinearGradient thisGradient, long matrix, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
|
H A D | RadialGradient_Delegate.java | 68 int color0, int color1, int tileMode) { 69 return nativeCreate1(matrix, x, y, radius, new int[] { color0, color1 }, 67 nativeCreate2(long matrix, float x, float y, float radius, int color0, int color1, int tileMode) argument
|
H A D | SweepGradient_Delegate.java | 63 /*package*/ static long nativeCreate2(long matrix, float x, float y, int color0, int color1) { argument 64 return nativeCreate1(matrix, x, y, new int[] { color0, color1 },
|