Searched refs:color0 (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
H A DSweepGradient.java52 * @param color0 The color to use at the start of the sweep
55 public SweepGradient(float cx, float cy, int color0, int color1) { argument
56 native_instance = nativeCreate2(cx, cy, color0, color1);
62 int color0, int color1);
61 nativeCreate2(float x, float y, int color0, int color1) argument
H A DLinearGradient.java48 @param color0 The color at the start of the gradient line.
53 int color0, int color1, TileMode tile) {
54 native_instance = nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt);
61 int color0, int color1, int tileMode);
52 LinearGradient(float x0, float y0, float x1, float y1, int color0, int color1, TileMode tile) argument
60 nativeCreate2(float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
H A DRadialGradient.java49 @param color0 The color at the center of the circle.
54 int color0, int color1, TileMode tile) {
58 native_instance = nativeCreate2(x, y, radius, color0, color1, tile.nativeInt);
64 int color0, int color1, int tileMode);
53 RadialGradient(float x, float y, float radius, int color0, int color1, TileMode tile) argument
63 nativeCreate2(float x, float y, float radius, int color0, int color1, int tileMode) argument
/frameworks/base/opengl/libagl/
H A Ddxt.cpp130 * 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 DShader.cpp114 int color0, int color1, int tileMode)
121 colors[0] = color0;
166 int color0, int color1, int tileMode)
172 colors[0] = color0;
212 int color0, int color1)
215 colors[0] = color0;
112 LinearGradient_create2(JNIEnv* env, jobject, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
164 RadialGradient_create2(JNIEnv* env, jobject, float x, float y, float radius, int color0, int color1, int tileMode) argument
211 SweepGradient_create2(JNIEnv* env, jobject, float x, float y, int color0, int color1) argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DLinearGradient_Delegate.java68 int color0, int color1, int tileMode) {
69 return nativeCreate1(x0, y0, x1, y1, new int[] { color0, color1}, null /*positions*/,
66 nativeCreate2( float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
H A DRadialGradient_Delegate.java66 int color0, int color1, int tileMode) {
67 return nativeCreate1(x, y, radius, new int[] { color0, color1 }, null /*positions*/,
65 nativeCreate2(float x, float y, float radius, int color0, int color1, int tileMode) argument
H A DSweepGradient_Delegate.java61 /*package*/ static int nativeCreate2(float x, float y, int color0, int color1) { argument
62 return nativeCreate1(x, y, new int[] { color0, color1 }, null /*positions*/);

Completed in 1539 milliseconds