/frameworks/base/graphics/java/android/graphics/ |
H A D | SweepGradient.java | 73 * @param color0 The color to use at the start of the sweep 76 public SweepGradient(float cx, float cy, int color0, int color1) { argument 80 mColor0 = color0; 82 init(nativeCreate2(cx, cy, color0, color1)); 108 private static native long nativeCreate2(float x, float y, int color0, int color1); argument
|
H A D | LinearGradient.java | 76 @param color0 The color at the start of the gradient line. 80 public LinearGradient(float x0, float y0, float x1, float y1, int color0, int color1, argument 87 mColor0 = color0; 90 init(nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt)); 118 int color0, int color1, int tileMode); 117 nativeCreate2(float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
|
H A D | RadialGradient.java | 123 int color0, int color1, int tileMode); 122 nativeCreate2(float x, float y, float radius, int color0, int color1, int tileMode) argument
|
/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/core/jni/android/graphics/ |
H A D | Shader.cpp | 136 jint color0, jint color1, jint tileMode) 143 colors[0] = color0; 180 jint color0, jint color1, jint tileMode) { 185 colors[0] = color0; 217 int color0, int color1) { 219 colors[0] = color0; 134 LinearGradient_create2(JNIEnv* env, jobject o, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jint color0, jint color1, jint tileMode) argument 179 RadialGradient_create2(JNIEnv* env, jobject, jfloat x, jfloat y, jfloat radius, jint color0, jint color1, jint tileMode) argument 216 SweepGradient_create2(JNIEnv* env, jobject, 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/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | LinearGradient_Delegate.java | 70 int color0, int color1, int tileMode) { 72 x0, y0, x1, y1, new int[] { color0, color1}, null /*positions*/, 68 nativeCreate2(LinearGradient thisGradient, 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(x, y, radius, new int[] { color0, color1 }, null /*positions*/, 67 nativeCreate2(float x, float y, float radius, int color0, int color1, int tileMode) argument
|
H A D | SweepGradient_Delegate.java | 61 /*package*/ static long nativeCreate2(float x, float y, int color0, int color1) { argument 62 return nativeCreate1(x, y, new int[] { color0, color1 }, null /*positions*/);
|