Home
last modified time | relevance | path

Searched refs:toArgb (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/com/android/internal/graphics/palette/
DPalette.java143 return mColor.toArgb(); in getInt()
173 return mPopulation == swatch.mPopulation && mColor.toArgb() == swatch.mColor.toArgb(); in equals()
178 return 31 * mColor.toArgb() + mPopulation; in hashCode()
/frameworks/base/core/java/android/app/
DWallpaperColors.java238 ColorUtils.colorToHSL(primaryColor.toArgb(), tmpHsl); in WallpaperColors()
266 mAllColors.put(primaryColor.toArgb(), 0); in WallpaperColors()
269 mAllColors.put(secondaryColor.toArgb(), 0); in WallpaperColors()
277 mAllColors.put(tertiaryColor.toArgb(), 0); in WallpaperColors()
416 dest.writeInt(color.toArgb()); in writeToParcel()
594 colors.append(Integer.toHexString(mMainColors.get(i).toArgb())).append(" "); in toString()
/frameworks/native/services/inputflinger/reader/controller/
DPeripheralController.cpp46 static inline int32_t toArgb(int32_t brightness, int32_t red, int32_t green, int32_t blue) { in toArgb() function
157 return toArgb(brightness.value(), 0 /* red */, 0 /* green */, 0 /* blue */); in getLightColor()
192 return toArgb(brightness, red, green, blue); in getLightColor()
202 int32_t color = toArgb(0 /* brightness */, intensities.at(LightColor::RED) /* red */, in getLightColor()
208 return toArgb(brightness.value() /* A */, 0, 0, 0) | color; in getLightColor()
/frameworks/layoutlib/bridge/src/android/graphics/
DGradient_Delegate.java73 mColors = Arrays.stream(colors).mapToInt(Color::toArgb).toArray(); in Gradient_Delegate()
DBitmap_Delegate.java352 nativeErase(nativeBitmap, Color.toArgb(color)); in nativeErase()
DBaseCanvas_Delegate.java168 nDrawColor(nativeCanvas, Color.toArgb(color), mode); in nDrawColor()
DPaint_Delegate.java386 delegate.mColor = Color.toArgb(color); in nSetColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/
DThemeOverlayController.java411 return wallpaperColors.getPrimaryColor().toArgb(); in getNeutralColor()
422 return accentCandidate.toArgb(); in getAccentColor()
/frameworks/base/graphics/java/android/graphics/
DColor.java467 public int toArgb() { in toArgb() method in Color
838 public static int toArgb(@ColorLong long color) { in toArgb() method in Color
DPaint.java1069 return Color.toArgb(mColor); in getColor()
1595 return Color.toArgb(mShadowLayerColor); in getShadowLayerColor()
/frameworks/base/services/core/java/com/android/server/wm/
DLetterboxUiController.java298 getLetterboxBackgroundColor().toArgb())); in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DKeyButtonDrawable.java319 return mState.mOvalBackgroundColor.toArgb(); in getDrawableBackgroundColor()
/frameworks/base/core/java/com/android/internal/colorextraction/types/
DTonal.java128 int colorValue = bestColor.toArgb(); in runTonalExtraction()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingGroup.java242 alpha).toArgb(); in calculateSendingTextColor()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java3186 out.attributeInt(null, "colorValue" + i, wc.toArgb()); in writeWallpaperAttributes()
/frameworks/base/boot/
Dboot-image-profile.txt6530 HSPLandroid/graphics/Color;->toArgb()I+]Landroid/graphics/ColorSpace;Landroid/graphics/ColorSpace$R…
6531 HSPLandroid/graphics/Color;->toArgb(J)I
/frameworks/base/core/api/
Dcurrent.txt15065 method @ColorInt public int toArgb();
15066 method @ColorInt public static int toArgb(@ColorLong long);
/frameworks/base/config/
Dboot-image-profile.txt6528 HSPLandroid/graphics/Color;->toArgb()I+]Landroid/graphics/ColorSpace;Landroid/graphics/ColorSpace$R…
6529 HSPLandroid/graphics/Color;->toArgb(J)I