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

/frameworks/base/graphics/java/android/graphics/
H A DSweepGradient.java74 * @param color0 The color to use at the start of the sweep
77 public SweepGradient(float cx, float cy, int color0, int color1) { argument
81 mColor0 = color0;
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.java78 @param color0 The color at the start of the gradient line.
82 public LinearGradient(float x0, float y0, float x1, float y1, int color0, int color1, argument
89 mColor0 = color0;
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.java77 @param color0 The color at the center of the circle.
82 int color0, int color1, TileMode tile) {
90 mColor0 = color0;
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.cpp68 mColor0UniformLoc = glGetUniformLocation(mGradPgm, "color0");
96 const float* color0 = genColor(); local
113 glUniform4fv(mColor0UniformLoc, 1, color0);
/frameworks/base/core/jni/android/graphics/
H A DShader.cpp216 float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) {
227 storedColors[0] = static_cast<uint32_t>(color0);
242 int color0, int color1, int tileMode)
249 colors[0] = color0;
292 int color0, int color1, int tileMode) {
297 colors[0] = color0;
345 float x, float y, float radius, int color0, int color1, int tileMode) {
352 storedColors[0] = static_cast<uint32_t>(color0);
395 int color0, int color1) {
397 colors[0] = color0;
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
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...]

Completed in 378 milliseconds