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

/frameworks/base/graphics/java/android/graphics/
H A DSweepGradient.java76 * @param color0 The color to use at the start of the sweep
79 public SweepGradient(float cx, float cy, @ColorInt int color0, @ColorInt int color1) { argument
83 mColor0 = color0;
117 int color0, int color1);
116 nativeCreate2(long matrix, float x, float y, int color0, int color1) argument
H A DLinearGradient.java83 * @param color0 The color at the start of the gradient line.
88 @ColorInt int color0, @ColorInt int color1,
95 mColor0 = color0;
132 int color0, int color1, int tileMode);
87 LinearGradient(float x0, float y0, float x1, float y1, @ColorInt int color0, @ColorInt int color1, @NonNull TileMode tile) argument
131 nativeCreate2(long matrix, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
H A DRadialGradient.java132 int color0, int color1, int tileMode);
131 nativeCreate2(long matrix, float x, float y, float radius, int color0, int color1, int tileMode) argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DRadialGradient_Delegate.java68 int color0, int color1, int tileMode) {
69 return nativeCreate1(matrix, x, y, radius, new int[] { color0, color1 },
67 nativeCreate2(long matrix, float x, float y, float radius, int color0, int color1, int tileMode) argument
H A DSweepGradient_Delegate.java63 /*package*/ static long nativeCreate2(long matrix, float x, float y, int color0, int color1) { argument
64 return nativeCreate1(matrix, x, y, new int[] { color0, color1 },
H A DLinearGradient_Delegate.java70 int color0, int color1, int tileMode) {
71 return nativeCreate1(thisGradient, matrix, x0, y0, x1, y1, new int[] { color0, color1},
68 nativeCreate2(LinearGradient thisGradient, long matrix, float x0, float y0, float x1, float y1, 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.cpp125 jfloat x0, jfloat y0, jfloat x1, jfloat y1, jint color0, jint color1, jint tileMode) {
133 colors[0] = color0;
187 jint color0, jint color1, jint tileMode) {
193 colors[0] = color0;
242 int color0, int color1) {
245 colors[0] = color0;
124 LinearGradient_create2(JNIEnv* env, jobject o, jlong matrixPtr, jfloat x0, jfloat y0, jfloat x1, jfloat y1, jint color0, jint color1, jint tileMode) argument
186 RadialGradient_create2(JNIEnv* env, jobject, jlong matrixPtr, jfloat x, jfloat y, jfloat radius, jint color0, jint color1, jint tileMode) argument
241 SweepGradient_create2(JNIEnv* env, jobject, jlong matrixPtr, jfloat x, jfloat y, int color0, int color1) argument
/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 1015 milliseconds