Searched refs:mColors (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DGradient_Delegate.java26 protected final int[] mColors; field in class:Gradient_Delegate
67 mColors = colors;
79 private final int[] mColors; field in class:Gradient_Delegate.GradientPaint
85 mColors = colors;
117 mGradient[i] = computeColor(mColors[prevPos], mColors[nextPos], percent);
H A DLinearGradient_Delegate.java108 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile);
H A DRadialGradient_Delegate.java104 mJavaPaint = new RadialGradientPaint(x, y, radius, mColors, mPositions, tile);
H A DSweepGradient_Delegate.java98 mJavaPaint = new SweepGradientPaint(cx, cy, mColors, mPositions);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DBitmapMeshActivity.java41 private int[] mColors; field in class:BitmapMeshActivity.BitmapMeshView
58 mColors = new int[] {
82 canvas.drawBitmapMesh(mBitmap1, 3, 3, mVertices, 0, mColors, 0, null);
H A DBitmapMeshLayerActivity.java42 private int[] mColors; field in class:BitmapMeshLayerActivity.BitmapMeshView
59 mColors = new int[] {
75 canvas.drawBitmapMesh(mBitmap1, 3, 3, mVertices, 0, mColors, 0, null);
/frameworks/wilhelm/src/itf/
H A DILEDArray.c73 thiz->mColors[index] = color;
92 SLHSL color = thiz->mColors[index];
114 SLHSL *color = thiz->mColors;
/frameworks/base/core/java/android/content/res/
H A DColorStateList.java64 private int[][] mStateSpecs; // must be parallel to mColors
65 private int[] mColors; // must be parallel to mStateSpecs field in class:ColorStateList
80 mColors = colors;
160 int[] colors = new int[mColors.length];
164 colors[i] = (mColors[i] & 0xFFFFFF) | (alpha << 24);
253 mColors = new int[listSize];
255 System.arraycopy(colorList, 0, mColors, 0, listSize);
277 return mColors[i];
295 "mColors=" + Arrays.toString(mColors)
[all...]
/frameworks/base/libs/hwui/
H A DSkiaShader.cpp185 mBounds(bounds), mColors(colors), mPositions(positions), mCount(count) {
201 delete[] mColors;
210 copy->mColors = new uint32_t[mCount];
211 memcpy(copy->mColors, mColors, sizeof(uint32_t) * mCount);
232 Texture* texture = mGradientCache->get(mColors, mPositions, mCount);
238 bindUniformColor(program->getUniform("startColor"), mColors[0]);
239 bindUniformColor(program->getUniform("endColor"), mColors[1]);
275 copy->mColors = new uint32_t[mCount];
276 memcpy(copy->mColors, mColor
[all...]
H A DSkiaShader.h177 uint32_t* mColors; member in struct:android::uirenderer::SkiaLinearGradientShader
202 uint32_t* mColors; member in struct:android::uirenderer::SkiaSweepGradientShader
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
H A DTestLatencyView.java126 mTriangleVerticesData2[i+2] = mColors[cbase];
127 mTriangleVerticesData2[i+3] = mColors[cbase+1];
128 mTriangleVerticesData2[i+4] = mColors[cbase+2];
129 mTriangleVerticesData2[i+5] = mColors[cbase+3];
232 private final float[] mColors = { field in class:TestLatencyView.Renderer
/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java701 final int[] colors = st.mColors;
948 st.mColors = new int[3];
949 st.mColors[0] = startColor;
950 st.mColors[1] = centerColor;
951 st.mColors[2] = endColor;
959 st.mColors = new int[2];
960 st.mColors[0] = startColor;
961 st.mColors[1] = endColor;
1077 public int[] mColors; field in class:GradientDrawable.GradientState
1113 if (state.mColors !
[all...]
/frameworks/wilhelm/src/
H A Ditfstruct.h364 SLHSL mColors[MAX_LED_COUNT]; member in struct:__anon1652

Completed in 2113 milliseconds