/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/ |
D | UnfoldBackgroundController.java | 104 int colorInt = context.getResources().getColor(id); in getRGBColorFromId() local 106 (float) red(colorInt) / 255.0F, in getRGBColorFromId() 107 (float) green(colorInt) / 255.0F, in getRGBColorFromId() 108 (float) blue(colorInt) / 255.0F in getRGBColorFromId()
|
/frameworks/base/core/java/android/app/ |
D | WallpaperColors.java | 123 final int colorInt = parcel.readInt(); in WallpaperColors() local 124 Color color = Color.valueOf(colorInt); in WallpaperColors() 129 final int colorInt = parcel.readInt(); in WallpaperColors() local 131 mAllColors.put(colorInt, population); in WallpaperColors() 242 int colorInt = swatch.getInt(); in fromBitmap() local 243 populationByColor.put(colorInt, swatch.getPopulation()); in fromBitmap() 367 for (int colorInt : mainColorInts) { in WallpaperColors() 368 mainColors.add(Color.valueOf(colorInt)); in WallpaperColors()
|
D | Notification.java | 10663 @ColorInt Integer colorInt, @ColorRes int defaultColorRes, PendingIntent intent) { in makeAction() argument 10664 if (colorInt == null || !mBuilder.isCallActionColorCustomizable()) { in makeAction() 10665 colorInt = mBuilder.mContext.getColor(defaultColorRes); in makeAction() 10669 new ForegroundColorSpan(colorInt), in makeAction()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | RippleShader.java | 189 public void setColor(@ColorInt int colorInt, @ColorInt int sparkleColorInt) { in setColor() argument 190 setColorUniform("in_color", colorInt); in setColor()
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/paint/ |
D | PaintBundle.java | 156 private static String colorInt(int color) { in colorInt() method in PaintBundle 161 private static String colorInt(int[] color) { in colorInt() method in PaintBundle 167 str += colorInt(color[i]); in colorInt() 205 ret.append(" Color(" + colorInt(mArray[i++])); in toString() 233 + colorInt(mArray[i++]) in toString() 300 p.append(" colors = " + colorInt(colors) + ",\n"); in callPrintGradient() 333 p.append(" colors = " + colorInt(colors) + ",\n"); in callPrintGradient() 364 p.append(" colors = " + colorInt(colors) + ",\n"); in callPrintGradient()
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/ |
D | ColorExpression.java | 183 String c1 = (mMode & 1) == 1 ? "[" + mColor1 + "]" : Utils.colorInt(mColor1); in toString() 184 String c2 = (mMode & 2) == 2 ? "[" + mColor2 + "]" : Utils.colorInt(mColor2); in toString()
|
D | Utils.java | 119 public static String colorInt(int color) { in colorInt() method in Utils
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | WSMeansQuantizer.java | 120 int colorInt = mPointProvider.toInt(cluster); in quantize() local 121 swatches.add(new Palette.Swatch(colorInt, mClusterPopulations[i])); in quantize()
|
D | Palette.java | 135 public Swatch(@ColorInt int colorInt, int population) { in Swatch() argument 136 mColor = Color.valueOf(colorInt); in Swatch()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskDisplayArea.java | 773 void setBackgroundColor(@ColorInt int colorInt) { 774 setBackgroundColor(colorInt, false /* restore */); 777 void setBackgroundColor(@ColorInt int colorInt, boolean restore) { 778 mBackgroundColor = colorInt; 779 Color color = Color.valueOf(colorInt);
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperDataParser.java | 388 int colorInt = getAttributeInt(parser, "allColorsValue" + i, 0); in parseWallpaperAttributes() local 390 allColors.put(colorInt, population); in parseWallpaperAttributes()
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 1027 int colorInt = atoi(colorString.c_str()); in parseColorDecimalString() local 1028 color[0] = ((float)((colorInt >> 16) & 0xFF)) / 0xFF; // r in parseColorDecimalString() 1029 color[1] = ((float)((colorInt >> 8) & 0xFF)) / 0xFF; // g in parseColorDecimalString() 1030 color[2] = ((float)(colorInt & 0xFF)) / 0xFF; // b in parseColorDecimalString()
|