/frameworks/base/graphics/java/android/graphics/ |
H A D | SweepGradient.java | 36 private int[] mColors; field in class:SweepGradient 67 mColors = colors.clone(); 85 mColors = null; 92 return nativeCreate1(nativeMatrix, mCx, mCy, mColors, mPositions); 105 copy = new SweepGradient(mCx, mCy, mColors.clone(),
|
H A D | RadialGradient.java | 37 private int[] mColors; field in class:RadialGradient 73 mColors = colors.clone(); 106 mColors, mPositions, mTileMode.nativeInt); 120 copy = new RadialGradient(mX, mY, mRadius, mColors.clone(),
|
H A D | LinearGradient.java | 38 private int[] mColors; field in class:LinearGradient 71 mColors = colors.clone(); 97 mColors = null; 106 mColors, mPositions, mTileMode.nativeInt); 120 copy = new LinearGradient(mX0, mY0, mX1, mY1, 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/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 | 97 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile);
|
H A D | RadialGradient_Delegate.java | 96 mJavaPaint = new RadialGradientPaint(x, y, radius, mColors, mPositions, tile);
|
H A D | SweepGradient_Delegate.java | 92 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.cpp | 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 | 141 private int[] mColors; field in class:ColorStateList 155 mColors = colors; 209 mColors = orig.mColors.clone(); 288 final int[] colors = new int[mColors.length]; 291 colors[i] = (mColors[i] & 0xFFFFFF) | (alpha << 24); 380 mColors = new int[listSize]; 382 System.arraycopy(colorList, 0, mColors, 0, listSize); 431 defaultAlphaMod = Color.alpha(mColors[i]) / 255.0f; 448 R.styleable.ColorStateListItem_color, mColors[ [all...] |
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | SearchOrbView.java | 49 private Colors mColors; field in class:SearchOrbView 309 return mColors.color; 316 mColors = colors; 317 mIcon.setColorFilter(mColors.iconColor); 320 setOrbViewColor(mColors.color); 330 return mColors; 355 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/core/java/com/android/internal/graphics/palette/ |
H A D | ColorCutQuantizer.java | 76 int[] mColors; field in class:ColorCutQuantizer 126 final int[] colors = mColors = new int[distinctColorCount]; 173 pq.offer(new Vbox(0, mColors.length - 1)); 265 final int[] colors = mColors; 361 final int[] colors = mColors; 392 final int[] colors = mColors;
|
/frameworks/support/palette/src/main/java/androidx/palette/graphics/ |
H A D | ColorCutQuantizer.java | 57 final int[] mColors; field in class:ColorCutQuantizer 108 final int[] colors = mColors = new int[distinctColorCount]; 155 pq.offer(new Vbox(0, mColors.length - 1)); 248 final int[] colors = mColors; 344 final int[] colors = mColors; 375 final int[] colors = mColors;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
H A D | BatteryMeterDrawableBase.java | 69 private final int[] mColors; field in class:BatteryMeterDrawableBase 106 mColors = new int[2 * N]; 108 mColors[2 * i] = levels.getInt(i, 0); 110 mColors[2 * i + 1] = Utils.getColorAttr(context, colors.getThemeAttributeId(i, 0)); 112 mColors[2 * i + 1] = colors.getColor(i, 0); 148 if (mColors.length > 1) { 149 mWarningTextPaint.setColor(mColors[1]); 274 for (int i = 0; i < mColors.length; i += 2) { 275 thresh = mColors[i]; 276 color = mColors[ [all...] |
/frameworks/base/libs/hwui/ |
H A D | Patch.h | 66 const uint32_t* mColors; member in class:android::uirenderer::Patch
|
H A D | Patch.cpp | 40 : mColors(patch->getColors()) { 45 if (mColors[i] == 0x0) { 197 if ((mColors[oldQuadCount] == 0) || x1 >= x2 || y1 >= y2) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | ScrimView.java | 53 private final ColorExtractor.GradientColors mColors; field in class:ScrimView 96 mColors = new ColorExtractor.GradientColors(); 236 if (mColors.equals(colors)) { 239 mColors.set(colors); 249 return mColors; 269 int mainTinted = ColorUtils.blendARGB(mColors.getMainColor(), mTintColor, 271 int secondaryTinted = ColorUtils.blendARGB(mColors.getSecondaryColor(), mTintColor,
|
/frameworks/support/swiperefreshlayout/src/main/java/androidx/swiperefreshlayout/widget/ |
H A D | CircularProgressDrawable.java | 629 int[] mColors; field in class:CircularProgressDrawable.Ring 630 // mColorIndex represents the offset into the available mColors that the 757 mColors = colors; 763 return mColors; 794 mCurrentColor = mColors[mColorIndex]; 801 return mColors[getNextColorIndex()]; 805 return (mColorIndex + 1) % (mColors.length); 863 return mColors[mColorIndex];
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
H A D | Hwc2TestProperties.cpp | 157 : Hwc2TestProperty(mColors, mCompositionSupport), 185 mColors = mBaseColors; 189 mColors.clear(); 194 mColors.push_back(baseColor);
|
H A D | Hwc2TestProperties.h | 212 std::vector<hwc_color_t> mColors; member in class:Hwc2TestColor
|
/frameworks/native/cmds/surfacereplayer/replayer/ |
H A D | Replayer.cpp | 303 mLayers[layerId], mColors[layerId], layerId); 621 mColors[create.id()] = HSV(rand() % 360, 1, 1); 628 mLayers[create.id()], mColors[create.id()]); 662 mColors.erase(id);
|
H A D | Replayer.h | 148 std::unordered_map<layer_id, HSV> mColors; member in class:android::Replayer
|