/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
D | ColorPickerDialog.java | 48 protected int[] mColors = null; field in ColorPickerDialog 97 mColors = savedInstanceState.getIntArray(KEY_COLORS); in onCreate() 111 if (mColors != null) { in onCreateDialog() 138 mPalette.drawPalette(mColors, mSelectedColor); in onColorSelected() 160 if (mColors != colors || mSelectedColor != selectedColor) { in setColors() 161 mColors = colors; in setColors() 168 if (mColors != colors) { in setColors() 169 mColors = colors; in setColors() 182 if (mPalette != null && mColors != null) { in refreshPalette() 183 mPalette.drawPalette(mColors, mSelectedColor); in refreshPalette() [all …]
|
/frameworks/support/v7/palette/src/android/support/v7/graphics/ |
D | ColorHistogram.java | 26 private final int[] mColors; field in ColorHistogram 43 mColors = new int[mNumberColors]; in ColorHistogram() 61 return mColors; in getColors() 101 mColors[currentColorIndex] = currentColor; in countFrequencies() 119 mColors[currentColorIndex] = currentColor; in countFrequencies()
|
D | ColorCutQuantizer.java | 57 private final int[] mColors; field in ColorCutQuantizer 97 mColors = new int[rawColorCount]; in ColorCutQuantizer() 101 mColors[validColorCount++] = color; in ColorCutQuantizer() 108 for (final int color : mColors) { in ColorCutQuantizer() 218 final int color = mColors[i]; in fitBox() 300 Arrays.sort(mColors, mLowerIndex, mUpperIndex + 1); in findSplitPoint() 308 final int color = mColors[i]; in findSplitPoint() 342 final int color = mColors[i]; in getAverageColor() 388 final int color = mColors[i]; in modifySignificantOctet() 389 mColors[i] = Color.rgb((color >> 8) & 0xFF, (color >> 16) & 0xFF, color & 0xFF); in modifySignificantOctet() [all …]
|
/frameworks/base/core/java/android/content/res/ |
D | ColorStateList.java | 68 private int[] mColors; // must be parallel to mStateSpecs field in ColorStateList 83 mColors = colors; in ColorStateList() 162 final int[] colors = new int[mColors.length]; in withAlpha() 165 colors[i] = (mColors[i] & 0xFFFFFF) | (alpha << 24); in withAlpha() 252 mColors = new int[listSize]; in inflate() 254 System.arraycopy(colorList, 0, mColors, 0, listSize); in inflate() 278 final int n = mColors.length; in isOpaque() 280 if (Color.alpha(mColors[i]) != 0xFF) { in isOpaque() 301 return mColors[i]; in getColorForState() 331 return mColors; in getColors() [all …]
|
/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 | 90 mJavaPaint = new RadialGradientPaint(x, y, radius, mColors, mPositions, tile); in RadialGradient_Delegate()
|
D | SweepGradient_Delegate.java | 84 mJavaPaint = new SweepGradientPaint(cx, cy, mColors, mPositions); in SweepGradient_Delegate()
|
D | LinearGradient_Delegate.java | 92 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile); in LinearGradient_Delegate()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | SearchOrbView.java | 46 private Colors mColors; field in SearchOrbView 306 return mColors.color; in getOrbColor() 313 mColors = colors; in setOrbColors() 314 mIcon.setColorFilter(mColors.iconColor); in setOrbColors() 317 setOrbViewColor(mColors.color); in setOrbColors() 327 return mColors; in getOrbColors() 347 mColors.color, mColors.brightColor, mColors.color); in enableOrbColorAnimation()
|
/frameworks/base/graphics/java/android/graphics/ |
D | SweepGradient.java | 32 private int[] mColors; field in SweepGradient 63 mColors = colors; in SweepGradient() 93 copy = new SweepGradient(mCx, mCy, mColors.clone(), in copy()
|
D | LinearGradient.java | 34 private int[] mColors; field in LinearGradient 65 mColors = colors; in LinearGradient() 101 copy = new LinearGradient(mX0, mY0, mX1, mY1, mColors.clone(), in copy()
|
D | RadialGradient.java | 36 private int[] mColors; field in RadialGradient 69 mColors = colors; in RadialGradient() 106 copy = new RadialGradient(mX, mY, mRadius, mColors.clone(), in copy()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
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()
|
D | BitmapMeshActivity.java | 41 private int[] mColors; field in BitmapMeshActivity.BitmapMeshView 58 mColors = new int[] { in BitmapMeshView() 82 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/packages/SystemUI/src/com/android/systemui/ |
D | BatteryMeterView.java | 51 private final int[] mColors; field in BatteryMeterView 197 mColors = new int[2*N]; in BatteryMeterView() 199 mColors[2*i] = levels.getInt(i, 0); in BatteryMeterView() 200 mColors[2*i+1] = colors.getColor(i, 0); in BatteryMeterView() 234 mWarningTextPaint.setColor(mColors[1]); in BatteryMeterView() 289 return mColors[mColors.length-1]; in getColorForLevel() 292 for (int i=0; i<mColors.length; i+=2) { in getColorForLevel() 293 thresh = mColors[i]; in getColorForLevel() 294 color = mColors[i+1]; in getColorForLevel()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | GradientDrawable.java | 871 final int[] colors = st.mColors; 1293 st.mColors = new int[3]; 1294 st.mColors[0] = startColor; 1295 st.mColors[1] = centerColor; 1296 st.mColors[2] = endColor; 1304 st.mColors = new int[2]; 1305 st.mColors[0] = startColor; 1306 st.mColors[1] = endColor; 1490 public int[] mColors; 1537 if (state.mColors != null) { [all …]
|
/frameworks/base/libs/hwui/ |
D | Patch.cpp | 61 mColors = patch->getColors(); in createMesh() 66 if (mColors[i] == 0x0) { in createMesh() 222 if ((mColors[oldQuadCount] == 0) || x1 >= x2 || y1 >= y2) { in generateQuad()
|
D | Patch.h | 70 const uint32_t* mColors; variable
|
D | DisplayListOp.h | 808 mVertices(vertices), mColors(colors) {} in DrawBitmapMeshOp() 812 mVertices, mColors, getPaint(renderer)); in applyDraw() 831 const int* mColors; variable
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | MaterialProgressDrawable.java | 419 private int[] mColors; field in MaterialProgressDrawable.Ring 475 mPaint.setColor(mColors[mColorIndex]); in draw() 514 mArrowPaint.setColor(mColors[mColorIndex]); in drawTriangle() 527 mColors = colors; in setColors() 545 mColorIndex = (mColorIndex + 1) % (mColors.length); in goToNextColor()
|
/frameworks/wilhelm/src/ |
D | itfstruct.h | 364 SLHSL mColors[MAX_LED_COUNT]; member
|