Searched refs:colorInt (Results 1 – 9 of 9) sorted by relevance
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/ |
H A D | UnfoldBackgroundController.java | 82 int colorInt = context.getResources().getColor(R.color.unfold_transition_background); in getBackgroundColor() local 84 (float) red(colorInt) / 255.0F, in getBackgroundColor() 85 (float) green(colorInt) / 255.0F, in getBackgroundColor() 86 (float) blue(colorInt) / 255.0F in getBackgroundColor()
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | WallpaperColors.java | 116 final int colorInt = parcel.readInt(); in WallpaperColors() local 117 Color color = Color.valueOf(colorInt); in WallpaperColors() 122 final int colorInt = parcel.readInt(); in WallpaperColors() local 124 mAllColors.put(colorInt, population); in WallpaperColors() 209 int colorInt = swatch.getInt(); in fromBitmap() local 210 populationByColor.put(colorInt, swatch.getPopulation()); in fromBitmap() 333 for (int colorInt : mainColorInts) { in WallpaperColors() 334 mainColors.add(Color.valueOf(colorInt)); in WallpaperColors()
|
H A D | Notification.java | 9386 @ColorInt Integer colorInt, @ColorRes int defaultColorRes, PendingIntent intent) { in makeAction() argument 9387 if (colorInt == null || !mBuilder.isCallActionColorCustomizable()) { in makeAction() 9388 colorInt = mBuilder.mContext.getColor(defaultColorRes); in makeAction() 9392 new ForegroundColorSpan(colorInt), in makeAction()
|
/aosp12/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | RippleShader.java | 197 public void setColor(@ColorInt int colorInt, @ColorInt int sparkleColorInt) { in setColor() argument 198 Color color = Color.valueOf(colorInt); in setColor()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/monet/ |
H A D | ColorSchemeTest.java | 97 int colorInt = 0xffB3588A; // H350 C50 T50 in testTertiaryHueWrapsProperly() local 98 ColorScheme colorScheme = new ColorScheme(colorInt, false /* darkTheme */); in testTertiaryHueWrapsProperly()
|
/aosp12/frameworks/base/core/java/com/android/internal/graphics/palette/ |
H A D | WSMeansQuantizer.java | 120 int colorInt = mPointProvider.toInt(cluster); in quantize() local 121 swatches.add(new Palette.Swatch(colorInt, mClusterPopulations[i])); in quantize()
|
H A D | Palette.java | 135 public Swatch(@ColorInt int colorInt, int population) { in Swatch() argument 136 mColor = Color.valueOf(colorInt); in Swatch()
|
/aosp12/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 936 int colorInt = atoi(colorString.c_str()); in parseColorDecimalString() local 937 color[0] = ((float)((colorInt >> 16) & 0xFF)) / 0xFF; // r in parseColorDecimalString() 938 color[1] = ((float)((colorInt >> 8) & 0xFF)) / 0xFF; // g in parseColorDecimalString() 939 color[2] = ((float)(colorInt & 0xFF)) / 0xFF; // b in parseColorDecimalString()
|
/aosp12/frameworks/base/services/core/java/com/android/server/wallpaper/ |
H A D | WallpaperManagerService.java | 3523 int colorInt = getAttributeInt(parser, "allColorsValue" + i, 0); in parseWallpaperAttributes() local 3525 allColors.put(colorInt, population); in parseWallpaperAttributes()
|