Home
last modified time | relevance | path

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

/frameworks/base/tests/Internal/src/android/app/
DWallpaperColorsTest.java58 int hints = WallpaperColors.fromBitmap(image).getColorHints(); in colorHintsTest()
61 boolean fromBitmap = (hints & WallpaperColors.HINT_FROM_BITMAP) != 0; in colorHintsTest()
65 + "using WallpaperColors#fromBitmap.", fromBitmap); in colorHintsTest()
68 hints = WallpaperColors.fromBitmap(image).getColorHints(); in colorHintsTest()
79 supportsDarkText = (WallpaperColors.fromBitmap(image) in colorHintsTest()
85 fromBitmap = (colors.getColorHints() & WallpaperColors.HINT_FROM_BITMAP) != 0; in colorHintsTest()
87 + "HINT_FROM_BITMAP.", fromBitmap); in colorHintsTest()
96 WallpaperColors.fromBitmap(image); in wallpaperRecycleBitmapTest()
/frameworks/base/core/java/android/app/
DWallpaperColors.java140 final WallpaperColors colors = WallpaperColors.fromBitmap(bitmap); in fromDrawable()
154 public static WallpaperColors fromBitmap(@NonNull Bitmap bitmap) { in fromBitmap() method in WallpaperColors
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java504 colors = WallpaperColors.fromBitmap(bitmap); in extractColors()
546 colors = WallpaperColors.fromBitmap(bitmap); in extractDefaultImageWallpaperColors()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...