/frameworks/support/v7/palette/src/android/support/v7/graphics/ |
H A D | ColorHistogram.java | 26 private final int[] mColors; field in class:ColorHistogram 43 mColors = new int[mNumberColors]; 61 return mColors; 101 mColors[currentColorIndex] = currentColor; 119 mColors[currentColorIndex] = currentColor;
|
H A D | ColorCutQuantizer.java | 57 private final int[] mColors; field in class:ColorCutQuantizer 97 mColors = new int[rawColorCount]; 101 mColors[validColorCount++] = color; 108 for (final int color : mColors) { 218 final int color = mColors[i]; 300 Arrays.sort(mColors, mLowerIndex, mUpperIndex + 1); 308 final int color = mColors[i]; 342 final int color = mColors[i]; 388 final int color = mColors[i]; 389 mColors[ [all...] |
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
H A D | ColorPickerDialog.java | 48 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/graphics/java/android/graphics/ |
H A D | SweepGradient.java | 32 private int[] mColors; field in class:SweepGradient 63 mColors = colors; 93 copy = new SweepGradient(mCx, mCy, mColors.clone(),
|
H A D | LinearGradient.java | 34 private int[] mColors; field in class:LinearGradient 65 mColors = colors; 101 copy = new LinearGradient(mX0, mY0, mX1, mY1, mColors.clone(),
|
H A D | RadialGradient.java | 36 private int[] mColors; field in class:RadialGradient 69 mColors = colors; 106 copy = new RadialGradient(mX, mY, mRadius, mColors.clone(),
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Gradient_Delegate.java | 26 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 D | LinearGradient_Delegate.java | 92 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile);
|
H A D | RadialGradient_Delegate.java | 90 mJavaPaint = new RadialGradientPaint(x, y, radius, mColors, mPositions, tile);
|
H A D | SweepGradient_Delegate.java | 84 mJavaPaint = new SweepGradientPaint(cx, cy, mColors, mPositions);
|
/frameworks/base/core/java/android/content/res/ |
H A D | ColorStateList.java | 67 private int[][] mStateSpecs; // must be parallel to mColors 68 private int[] mColors; // must be parallel to mStateSpecs field in class:ColorStateList 83 mColors = colors; 162 final int[] colors = new int[mColors.length]; 165 colors[i] = (mColors[i] & 0xFFFFFF) | (alpha << 24); 252 mColors = new int[listSize]; 254 System.arraycopy(colorList, 0, mColors, 0, listSize); 278 final int n = mColors.length; 280 if (Color.alpha(mColors[i]) != 0xFF) { 301 return mColors[ [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | BitmapMeshActivity.java | 41 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 D | BitmapMeshLayerActivity.java | 42 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 D | ILEDArray.c | 73 thiz->mColors[index] = color; 92 SLHSL color = thiz->mColors[index]; 114 SLHSL *color = thiz->mColors;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | SearchOrbView.java | 46 private Colors mColors; field in class:SearchOrbView 306 return mColors.color; 313 mColors = colors; 314 mIcon.setColorFilter(mColors.iconColor); 317 setOrbViewColor(mColors.color); 327 return mColors; 347 mColors.color, mColors.brightColor, mColors.color);
|
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/ |
H A D | TestLatencyView.java | 126 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/libs/hwui/ |
H A D | Patch.h | 70 const uint32_t* mColors; member in class:android::uirenderer::Patch
|
H A D | Patch.cpp | 61 mColors = patch->getColors(); 66 if (mColors[i] == 0x0) { 222 if ((mColors[oldQuadCount] == 0) || x1 >= x2 || y1 >= y2) {
|
H A D | DisplayListOp.h | 810 mVertices(vertices), mColors(colors) {} 814 mVertices, mColors, getPaint(renderer)); 833 const int* mColors; member in class:android::uirenderer::DrawBitmapMeshOp
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | BatteryMeterView.java | 51 private final int[] mColors; field in class:BatteryMeterView 197 mColors = new int[2*N]; 199 mColors[2*i] = levels.getInt(i, 0); 200 mColors[2*i+1] = colors.getColor(i, 0); 234 mWarningTextPaint.setColor(mColors[1]); 289 return mColors[mColors.length-1]; 292 for (int i=0; i<mColors.length; i+=2) { 293 thresh = mColors[i]; 294 color = mColors[ [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | GradientDrawable.java | 896 final int[] colors = st.mColors; 1333 st.mColors = new int[3]; 1334 st.mColors[0] = startColor; 1335 st.mColors[1] = centerColor; 1336 st.mColors[2] = endColor; 1344 st.mColors = new int[2]; 1345 st.mColors[0] = startColor; 1346 st.mColors[1] = endColor; 1541 public int[] mColors; field in class:GradientDrawable.GradientState 1592 if (state.mColors ! [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | MaterialProgressDrawable.java | 410 private int[] mColors; field in class:MaterialProgressDrawable.Ring 411 // mColorIndex represents the offset into the available mColors that the 466 mPaint.setColor(mColors[mColorIndex]); 505 mArrowPaint.setColor(mColors[mColorIndex]); 518 mColors = colors; 536 mColorIndex = (mColorIndex + 1) % (mColors.length);
|
/frameworks/wilhelm/src/ |
H A D | itfstruct.h | 365 SLHSL mColors[MAX_LED_COUNT]; member in struct:__anon1622
|