Searched defs:color1 (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
H A DLinearGradient.java49 @param color1 The color at the end 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.java50 @param color1 The color at the edge 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
H A DSweepGradient.java53 * @param color1 The color to use at the end 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
/frameworks/base/awt/java/awt/
H A DGradientPaint.java55 Color color1; field in class:GradientPaint
83 * @param color1
93 public GradientPaint(Point2D point1, Color color1, Point2D point2, Color color2, boolean cyclic) { argument
98 if (color1 == null || color2 == null) {
105 this.color1 = color1;
118 * @param color1
130 public GradientPaint(float x1, float y1, Color color1, float x2, float y2, Color color2, argument
132 this(new Point2D.Float(x1, y1), color1, new Point2D.Float(x2, y2), color2, cyclic);
143 * @param color1
152 GradientPaint(float x1, float y1, Color color1, float x2, float y2, Color color2) argument
168 GradientPaint(Point2D point1, Color color1, Point2D point2, Color color2) argument
[all...]
H A DGradientPaintContext.java92 * @param color1 - color of the start point
97 GradientPaintContext(ColorModel cm, AffineTransform t, Point2D point1, Color color1, Point2D point2, Color color2, boolean cyclic) { argument
101 c1 = color1.getRGB();
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DLinearGradient.java50 * @param color1 The color at the end of the gradient line.
53 public LinearGradient(float x0, float y0, float x1, float y1, int color0, int color1, argument
55 this(x0, y0, x1, y1, new int[] { color0, color1}, null /*positions*/, tile);
H A DRadialGradient.java55 * @param color1 The color at the edge of the circle.
58 public RadialGradient(float x, float y, float radius, int color0, int color1, TileMode tile) { argument
59 this(x, y, radius, new int[] { color0, color1 }, null /* positions */, tile);
H A DSweepGradient.java50 * @param color1 The color to use at the end of the sweep
52 public SweepGradient(float cx, float cy, int color0, int color1) { argument
53 this(cx, cy, new int[] { color0, color1}, null /*positions*/);
/frameworks/base/core/jni/android/graphics/
H A DShader.cpp114 int color0, int color1, int tileMode)
122 colors[1] = color1;
166 int color0, int color1, int tileMode)
173 colors[1] = color1;
212 int color0, int color1)
216 colors[1] = color1;
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/opengl/libagl/
H A Ddxt.cpp130 * contains a transparent pixel (color0 < color1, code == 3). This
159 uint16_t color1 = colors >> 16; local
161 if (color0 < color1) {
225 uint16_t color1 = colors >> 16; local
230 if (color0 != prev_color0 || color1 != prev_color1) {
233 prev_color1 = color1;
239 int r1 = red(color1);
240 int g1 = green(color1);
241 int b1 = blue(color1);
248 c[1] = color1;
350 uint16_t color1 = colors >> 16; local
507 uint16_t color1 = colors >> 16; local
[all...]

Completed in 151 milliseconds