/frameworks/base/libs/hwui/ |
D | SkiaShader.cpp | 181 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 …]
|
D | SkiaShader.h | 189 uint32_t* mColors; member 214 uint32_t* mColors; member
|
/frameworks/base/core/java/android/content/res/ |
D | ColorStateList.java | 65 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/ |
D | Gradient_Delegate.java | 26 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()
|
D | RadialGradient_Delegate.java | 104 mJavaPaint = new RadialGradientPaint(x, y, radius, mColors, mPositions, tile); in RadialGradient_Delegate()
|
D | SweepGradient_Delegate.java | 98 mJavaPaint = new SweepGradientPaint(cx, cy, mColors, mPositions); in SweepGradient_Delegate()
|
D | LinearGradient_Delegate.java | 108 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile); in LinearGradient_Delegate()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | BitmapMeshActivity.java | 41 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()
|
D | BitmapMeshLayerActivity.java | 42 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/ |
D | ILEDArray.c | 73 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/ |
D | TestLatencyView.java | 126 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/ |
D | GradientDrawable.java | 694 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/ |
D | itfstruct.h | 364 SLHSL mColors[MAX_LED_COUNT]; member
|