Home
last modified time | relevance | path

Searched refs:fromBitmap (Results 1 – 10 of 10) sorted by relevance

/aosp14/frameworks/base/tests/Internal/src/android/app/
H A DWallpaperColorsTest.java59 int hints = WallpaperColors.fromBitmap(image).getColorHints(); in whiteSurfaceColorHintsTest()
69 supportsDarkText = (WallpaperColors.fromBitmap(image) in whiteSurfaceColorHintsTest()
84 int hints = WallpaperColors.fromBitmap(xsmall_image).getColorHints(); in xSmallWhiteSurfaceColorHintsTest()
102 int hints = WallpaperColors.fromBitmap(image).getColorHints(); in blackSurfaceColorHintsTest()
119 int hints = WallpaperColors.fromBitmap(image).getColorHints(); in bitmapHintsTest()
121 boolean fromBitmap = (hints & WallpaperColors.HINT_FROM_BITMAP) != 0; in bitmapHintsTest()
123 + "using WallpaperColors#fromBitmap.", fromBitmap); in bitmapHintsTest()
126 fromBitmap = (colors.getColorHints() & WallpaperColors.HINT_FROM_BITMAP) != 0; in bitmapHintsTest()
128 + "HINT_FROM_BITMAP.", fromBitmap); in bitmapHintsTest()
145 WallpaperColors.fromBitmap(image); in wallpaperRecycleBitmapTest()
[all …]
/aosp14/frameworks/base/core/java/android/app/
H A DWallpaperColors.java166 final WallpaperColors colors = WallpaperColors.fromBitmap(bitmap); in fromDrawable()
181 public static WallpaperColors fromBitmap(@NonNull Bitmap bitmap) { in fromBitmap() method in WallpaperColors
185 return fromBitmap(bitmap, 0f /* dimAmount */); in fromBitmap()
198 public static WallpaperColors fromBitmap(@NonNull Bitmap bitmap, in fromBitmap() method in WallpaperColors
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/wallpapers/
H A DWallpaperLocalColorExtractor.java292 return WallpaperColors.fromBitmap(colorImg); in getLocalWallpaperColors()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
H A DMediaOutputBaseDialog.java342 WallpaperColors wallpaperColors = WallpaperColors.fromBitmap(icon.getBitmap()); in refresh()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
H A DMediaOutputAdapterTest.java716 WallpaperColors wallpaperColors = WallpaperColors.fromBitmap( in updateColorScheme_triggerController()
/aosp14/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DWallpaperManagerService.java679 colors = WallpaperColors.fromBitmap(bitmap, dimAmount); in extractColors()
723 colors = WallpaperColors.fromBitmap(bitmap, dimAmount); in extractDefaultImageWallpaperColors()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/
H A DMediaControlPanel.java967 return WallpaperColors.fromBitmap(artworkBitmap); in getWallpaperColor()
/aosp14/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java1919 WallpaperColors color = WallpaperColors.fromBitmap(target, wallpaperDimAmount); in updatePageColors()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt7518 method public static android.app.WallpaperColors fromBitmap(@NonNull android.graphics.Bitmap);