/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/opt/colorpicker/src/com/android/colorpicker/ |
H A D | ColorPickerDialog.java | 49 protected int[] mColors = null; field in class:ColorPickerDialog 99 mColors = savedInstanceState.getIntArray(KEY_COLORS); 115 if (mColors != null) { 142 mPalette.drawPalette(mColors, mSelectedColor); 164 if (mColors != colors || mSelectedColor != selectedColor) { 165 mColors = colors; 172 if (mColors != colors) { 173 mColors = colors; 193 if (mPalette != null && mColors != null) { 194 mPalette.drawPalette(mColors, mSelectedColo [all...] |
/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 | 94 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile);
|
H A D | RadialGradient_Delegate.java | 92 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/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/base/core/java/android/content/res/ |
H A D | ColorStateList.java | 88 private int[] mColors; field in class:ColorStateList 102 mColors = colors; 156 mColors = orig.mColors.clone(); 235 final int[] colors = new int[mColors.length]; 238 colors[i] = (mColors[i] & 0xFFFFFF) | (alpha << 24); 327 mColors = new int[listSize]; 329 System.arraycopy(colorList, 0, mColors, 0, listSize); 377 defaultAlphaMod = Color.alpha(mColors[i]) / 255.0f; 394 R.styleable.ColorStateListItem_color, mColors[ [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | SearchOrbView.java | 47 private Colors mColors; field in class:SearchOrbView 311 return mColors.color; 318 mColors = colors; 319 mIcon.setColorFilter(mColors.iconColor); 322 setOrbViewColor(mColors.color); 332 return mColors; 352 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/support/v7/palette/src/main/java/android/support/v7/graphics/ |
H A D | ColorCutQuantizer.java | 56 final int[] mColors; field in class:ColorCutQuantizer 106 final int[] colors = mColors = new int[distinctColorCount]; 153 pq.offer(new Vbox(0, mColors.length - 1)); 245 final int[] colors = mColors; 341 final int[] colors = mColors; 370 final int[] colors = mColors;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | BatteryMeterView.java | 55 private final int[] mColors; field in class:BatteryMeterView 113 mColors = new int[2*N]; 115 mColors[2*i] = levels.getInt(i, 0); 116 mColors[2*i+1] = colors.getColor(i, 0); 149 mWarningTextPaint.setColor(mColors[1]); 242 return mColors[mColors.length-1]; 245 for (int i=0; i<mColors.length; i+=2) { 246 thresh = mColors[i]; 247 color = mColors[ [all...] |
/frameworks/base/libs/hwui/ |
H A D | Patch.h | 67 const uint32_t* mColors; member in class:android::uirenderer::Patch
|
H A D | Patch.cpp | 42 : mColors(patch->getColors()) { 48 if (mColors[i] == 0x0) { 200 if ((mColors[oldQuadCount] == 0) || x1 >= x2 || y1 >= y2) {
|
H A D | DisplayListOp.h | 763 mVertices(vertices), mColors(colors) {} 767 mVertices, mColors, mPaint); 786 const int* mColors; member in class:android::uirenderer::DrawBitmapMeshOp
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | MaterialProgressDrawable.java | 480 private int[] mColors; field in class:MaterialProgressDrawable.Ring 481 // mColorIndex represents the offset into the available mColors that the 589 mColors = colors; 611 mCurrentColor = mColors[mColorIndex]; 618 return mColors[getNextColorIndex()]; 622 return (mColorIndex + 1) % (mColors.length); 686 return mColors[mColorIndex];
|
/frameworks/wilhelm/src/ |
H A D | itfstruct.h | 366 SLHSL mColors[MAX_LED_COUNT]; member in struct:__anon1694
|