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

/frameworks/opt/colorpicker/src/com/android/colorpicker/
H A DColorPickerDialog.java48 protected int[] mColors = null; field in class:ColorPickerDialog
97 mColors = savedInstanceState.getIntArray(KEY_COLORS);
111 if (mColors != null) {
138 mPalette.drawPalette(mColors, mSelectedColor);
160 if (mColors != colors || mSelectedColor != selectedColor) {
161 mColors = colors;
168 if (mColors != colors) {
169 mColors = colors;
182 if (mPalette != null && mColors != null) {
183 mPalette.drawPalette(mColors, mSelectedColo
[all...]
/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/graphics/java/android/graphics/
H A DSweepGradient.java32 private int[] mColors; field in class:SweepGradient
63 mColors = colors;
95 copy = new SweepGradient(mCx, mCy, mColors.clone(),
H A DLinearGradient.java34 private int[] mColors; field in class:LinearGradient
65 mColors = colors;
105 copy = new LinearGradient(mX0, mY0, mX1, mY1, mColors.clone(),
H A DRadialGradient.java33 private int[] mColors; field in class:RadialGradient
65 mColors = colors;
106 copy = new RadialGradient(mX, mY, mRadius, mColors.clone(),
/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.cpp189 mBounds(bounds), mColors(colors), mPositions(positions), mCount(count) {
205 delete[] mColors;
214 copy->mColors = new uint32_t[mCount];
215 memcpy(copy->mColors, mColors, sizeof(uint32_t) * mCount);
236 Texture* texture = mCaches->gradientCache.get(mColors, mPositions, mCount);
242 bindUniformColor(program->getUniform("startColor"), mColors[0]);
243 bindUniformColor(program->getUniform("endColor"), mColors[1]);
279 copy->mColors = new uint32_t[mCount];
280 memcpy(copy->mColors, mColor
[all...]
H A DPatch.h69 uint32_t* mColors; member in struct:android::uirenderer::Patch
H A DPatch.cpp60 mColors = patch->colors;
65 if (mColors[i] == 0x0) {
221 if ((mColors[oldQuadCount] == 0) || x1 >= x2 || y1 >= y2) {
H A DSkiaShader.h176 uint32_t* mColors; member in struct:android::uirenderer::SkiaLinearGradientShader
201 uint32_t* mColors; member in struct:android::uirenderer::SkiaSweepGradientShader
H A DDisplayListOp.h925 mVertices(vertices), mColors(colors) {}
929 mVertices, mColors, getPaint(renderer));
948 int* mColors; member in class:android::uirenderer::DrawBitmapMeshOp
/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.java707 final int[] colors = st.mColors;
951 st.mColors = new int[3];
952 st.mColors[0] = startColor;
953 st.mColors[1] = centerColor;
954 st.mColors[2] = endColor;
962 st.mColors = new int[2];
963 st.mColors[0] = startColor;
964 st.mColors[1] = endColor;
1080 public int[] mColors; field in class:GradientDrawable.GradientState
1116 if (state.mColors !
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DBatteryMeterView.java52 int[] mColors; field in class:BatteryMeterView
183 mColors = new int[2*N];
185 mColors[2*i] = levels.getInt(i, 0);
186 mColors[2*i+1] = colors.getColor(i, 0);
214 mWarningTextPaint.setColor(mColors[1]);
253 for (int i=0; i<mColors.length; i+=2) {
254 thresh = mColors[i];
255 color = mColors[i+1];
/frameworks/wilhelm/src/
H A Ditfstruct.h364 SLHSL mColors[MAX_LED_COUNT]; member in struct:__anon1735

Completed in 1901 milliseconds