Home
last modified time | relevance | path

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

/frameworks/base/tests/Internal/src/android/app/
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 …]
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DBitmapInfo.java55 public static final BitmapInfo LOW_RES_INFO = fromBitmap(LOW_RES_ICON);
202 public static BitmapInfo fromBitmap(@NonNull Bitmap bitmap) { in fromBitmap() method in BitmapInfo
/frameworks/base/core/java/android/app/
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
DWallpaperManager.java1680 WallpaperColors result = WallpaperColors.fromBitmap(croppedBitmap, dimAmount); in getWallpaperColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallpapers/
DWallpaperLocalColorExtractor.java252 return WallpaperColors.fromBitmap(bitmap, dimAmount); in getWallpaperColors()
366 return WallpaperColors.fromBitmap(colorImg); in getLocalWallpaperColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/util/
DMediaArtworkHelper.kt58 WallpaperColors.fromBitmap(artworkBitmap) in <lambda>()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DDynamicRenderResources.java166 WallpaperColors wallpaperColors = WallpaperColors.fromBitmap(wallpaper); in createDynamicColorMap()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputBaseDialog.java354 WallpaperColors wallpaperColors = WallpaperColors.fromBitmap(icon.getBitmap()); in refresh()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputAdapterTest.java717 WallpaperColors wallpaperColors = WallpaperColors.fromBitmap( in updateColorScheme_triggerController()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java566 colors = WallpaperColors.fromBitmap(bitmap, dimAmount); in extractColors()
612 colors = WallpaperColors.fromBitmap(bitmap, dimAmount); in extractDefaultImageWallpaperColors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaControlPanel.java1058 return WallpaperColors.fromBitmap(artworkBitmap); in getWallpaperColor()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java1991 WallpaperColors color = WallpaperColors.fromBitmap(target, wallpaperDimAmount); in updatePageColors()
/frameworks/base/core/api/
Dcurrent.txt7736 method public static android.app.WallpaperColors fromBitmap(@NonNull android.graphics.Bitmap);