Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DSkiaShader.cpp181 mBounds(bounds), mColors(colors), mPositions(positions), mCount(count) { in SkiaLinearGradientShader()
195 delete[] mColors; in ~SkiaLinearGradientShader()
204 copy->mColors = new uint32_t[mCount]; in copy()
205 memcpy(copy->mColors, mColors, sizeof(uint32_t) * mCount); in copy()
223 Texture* texture = mGradientCache->get(mColors, mPositions, mCount, mTileX); in setupProgram()
267 copy->mColors = new uint32_t[mCount]; in copy()
268 memcpy(copy->mColors, mColors, sizeof(uint32_t) * mCount); in copy()
293 mColors(colors), mPositions(positions), mCount(count) { in SkiaSweepGradientShader()
305 mColors(colors), mPositions(positions), mCount(count) { in SkiaSweepGradientShader()
309 delete[] mColors; in ~SkiaSweepGradientShader()
[all …]
DSkiaShader.h189 uint32_t* mColors; member
214 uint32_t* mColors; member
/frameworks/base/core/java/android/content/res/
DColorStateList.java65 private int[] mColors; // must be parallel to mStateSpecs field in ColorStateList
80 mColors = colors; in ColorStateList()
160 int[] colors = new int[mColors.length]; in withAlpha()
164 colors[i] = (mColors[i] & 0xFFFFFF) | (alpha << 24); in withAlpha()
253 mColors = new int[listSize]; in inflate()
255 System.arraycopy(colorList, 0, mColors, 0, listSize); in inflate()
277 return mColors[i]; in getColorForState()
295 "mColors=" + Arrays.toString(mColors) + in toString()
309 dest.writeIntArray(mColors); in writeToParcel()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DGradient_Delegate.java26 protected final int[] mColors; field in Gradient_Delegate
67 mColors = colors; in Gradient_Delegate()
79 private final int[] mColors; field in Gradient_Delegate.GradientPaint
85 mColors = colors; in GradientPaint()
117 mGradient[i] = computeColor(mColors[prevPos], mColors[nextPos], percent); in precomputeGradientColors()
DRadialGradient_Delegate.java104 mJavaPaint = new RadialGradientPaint(x, y, radius, mColors, mPositions, tile); in RadialGradient_Delegate()
DSweepGradient_Delegate.java98 mJavaPaint = new SweepGradientPaint(cx, cy, mColors, mPositions); in SweepGradient_Delegate()
DLinearGradient_Delegate.java108 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile); in LinearGradient_Delegate()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DBitmapMeshActivity.java41 private int[] mColors; field in BitmapMeshActivity.BitmapMeshView
58 mColors = new int[] { in BitmapMeshView()
75 canvas.drawBitmapMesh(mBitmap1, 3, 3, mVertices, 0, mColors, 0, null); in onDraw()
DBitmapMeshLayerActivity.java42 private int[] mColors; field in BitmapMeshLayerActivity.BitmapMeshView
59 mColors = new int[] { in BitmapMeshView()
75 canvas.drawBitmapMesh(mBitmap1, 3, 3, mVertices, 0, mColors, 0, null); in onDraw()
/frameworks/wilhelm/src/itf/
DILEDArray.c73 thiz->mColors[index] = color; in ILEDArray_SetColor()
92 SLHSL color = thiz->mColors[index]; in ILEDArray_GetColor()
114 SLHSL *color = thiz->mColors; in ILEDArray_init()
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
DTestLatencyView.java126 mTriangleVerticesData2[i+2] = mColors[cbase]; in onDrawFrame()
127 mTriangleVerticesData2[i+3] = mColors[cbase+1]; in onDrawFrame()
128 mTriangleVerticesData2[i+4] = mColors[cbase+2]; in onDrawFrame()
129 mTriangleVerticesData2[i+5] = mColors[cbase+3]; in onDrawFrame()
232 private final float[] mColors = { field in TestLatencyView.Renderer
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java694 final int[] colors = st.mColors;
932 st.mColors = new int[3];
933 st.mColors[0] = startColor;
934 st.mColors[1] = centerColor;
935 st.mColors[2] = endColor;
943 st.mColors = new int[2];
944 st.mColors[0] = startColor;
945 st.mColors[1] = endColor;
1058 public int[] mColors;
1085 mColors = colors;
[all …]
/frameworks/wilhelm/src/
Ditfstruct.h364 SLHSL mColors[MAX_LED_COUNT]; member