Searched refs:artwork (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | MediaArtworkProcessor.kt | 45 fun processArtwork(context: Context, artwork: Bitmap): Bitmap { in processArtwork() 52 val rect = Rect(0, 0, artwork.width, artwork.height) in processArtwork() 54 var inBitmap = Bitmap.createScaledBitmap(artwork, rect.width(), rect.height(), in processArtwork() 74 val swatch = MediaNotificationProcessor.findBackgroundSwatch(artwork) in processArtwork()
|
D | NotificationMediaManager.java | 648 private Bitmap processArtwork(Bitmap artwork) { in processArtwork() argument 649 return mMediaArtworkProcessor.processArtwork(mContext, artwork); in processArtwork()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | MediaNotificationProcessor.java | 250 public static Palette.Swatch findBackgroundSwatch(Bitmap artwork) { in findBackgroundSwatch() argument 251 return findBackgroundSwatch(generateArtworkPaletteBuilder(artwork).generate()); in findBackgroundSwatch() 304 private static Palette.Builder generateArtworkPaletteBuilder(Bitmap artwork) { in generateArtworkPaletteBuilder() argument 307 return Palette.from(artwork) in generateArtworkPaletteBuilder() 308 .setRegion(0, 0, artwork.getWidth() / 2, artwork.getHeight()) in generateArtworkPaletteBuilder()
|