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

/frameworks/base/graphics/java/android/graphics/
H A DSweepGradient.java75 * @param color1 The color to use at the end of the sweep
77 public SweepGradient(float cx, float cy, int color0, int color1) { argument
82 mColor1 = color1;
83 native_instance = nativeCreate2(cx, cy, color0, color1);
84 native_shader = nativePostCreate2(native_instance, cx, cy, color0, color1);
110 private static native int nativeCreate2(float x, float y, int color0, int color1); argument
115 int color0, int color1);
114 nativePostCreate2(int native_shader, float cx, float cy, int color0, int color1) argument
H A DLinearGradient.java79 @param color1 The color at the end of the gradient line.
82 public LinearGradient(float x0, float y0, float x1, float y1, int color0, int color1, argument
90 mColor1 = color1;
92 native_instance = nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt);
93 native_shader = nativePostCreate2(native_instance, x0, y0, x1, y1, color0, color1,
122 int color0, int color1, int tileMode);
126 int color0, int color1, int tileMode);
121 nativeCreate2(float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
125 nativePostCreate2(int native_shader, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
H A DRadialGradient.java78 @param color1 The color at the edge of the circle.
82 int color0, int color1, TileMode tile) {
91 mColor1 = color1;
93 native_instance = nativeCreate2(x, y, radius, color0, color1, tile.nativeInt);
94 native_shader = nativePostCreate2(native_instance, x, y, radius, color0, color1,
123 int color0, int color1, int tileMode);
128 int color0, int color1, int tileMode);
81 RadialGradient(float x, float y, float radius, int color0, int color1, TileMode tile) argument
122 nativeCreate2(float x, float y, float radius, int color0, int color1, int tileMode) argument
127 nativePostCreate2(int native_shader, float x, float y, float radius, int color0, int color1, int tileMode) argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
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*/);
74 int color0, int color1) {
73 nativePostCreate2(int native_shader, float cx, float cy, int color0, int color1) argument
H A DLinearGradient_Delegate.java68 int color0, int color1, int tileMode) {
70 x0, y0, x1, y1, new int[] { color0, color1}, null /*positions*/,
85 int color0, int color1, int tileMode) {
66 nativeCreate2(LinearGradient thisGradient, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
83 nativePostCreate2(LinearGradient thisGradient, int native_shader, 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*/,
80 int color0, int color1, int tileMode) {
65 nativeCreate2(float x, float y, float radius, int color0, int color1, int tileMode) argument
79 nativePostCreate2(int native_shader, float x, float y, float radius, int color0, int color1, int tileMode) argument
/frameworks/native/cmds/flatland/
H A DRenderers.cpp69 mColor1UniformLoc = glGetUniformLocation(mGradPgm, "color1");
97 const float* color1 = genColor(); local
114 glUniform4fv(mColor1UniformLoc, 1, color1);
/frameworks/base/core/jni/android/graphics/
H A DShader.cpp216 float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) {
228 storedColors[1] = static_cast<uint32_t>(color1);
242 int color0, int color1, int tileMode)
250 colors[1] = color1;
292 int color0, int color1, int tileMode) {
298 colors[1] = color1;
345 float x, float y, float radius, int color0, int color1, int tileMode) {
353 storedColors[1] = static_cast<uint32_t>(color1);
395 int color0, int color1) {
398 colors[1] = color1;
215 LinearGradient_postCreate2(JNIEnv* env, jobject o, SkShader* shader, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
240 LinearGradient_create2(JNIEnv* env, jobject o, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
291 RadialGradient_create2(JNIEnv* env, jobject, float x, float y, float radius, int color0, int color1, int tileMode) argument
344 RadialGradient_postCreate2(JNIEnv* env, jobject o, SkShader* shader, float x, float y, float radius, int color0, int color1, int tileMode) argument
394 SweepGradient_create2(JNIEnv* env, jobject, float x, float y, int color0, int color1) argument
442 SweepGradient_postCreate2(JNIEnv* env, jobject o, SkShader* shader, float x, float y, int color0, int color1) argument
[all...]
/frameworks/native/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 342 milliseconds