/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | MediaArtworkProcessorTest.kt | 63 val artwork = Bitmap.createBitmap(WIDTH, HEIGHT, Bitmap.Config.ARGB_8888) in testProcessArtwork() constant 64 Canvas(artwork).drawColor(Color.BLUE) in testProcessArtwork() 66 val background = processor.processArtwork(context, artwork)!! in testProcessArtwork() 76 val artwork = Bitmap.createBitmap(WIDTH, HEIGHT, Bitmap.Config.ARGB_8888) in testCache() constant 77 Canvas(artwork).drawColor(Color.BLUE) in testCache() 79 val background1 = processor.processArtwork(context, artwork)!! in testCache() 80 val background2 = processor.processArtwork(context, artwork)!! in testCache() 89 val artwork = Bitmap.createBitmap(WIDTH, HEIGHT, Bitmap.Config.ALPHA_8) in testConfig() constant 90 Canvas(artwork).drawColor(Color.BLUE) in testConfig() 92 val background = processor.processArtwork(context, artwork)!! in testConfig() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | MediaNotificationProcessor.java | 51 public static Palette.Swatch findBackgroundSwatch(Bitmap artwork) { in findBackgroundSwatch() argument 52 return findBackgroundSwatch(generateArtworkPaletteBuilder(artwork).generate()); in findBackgroundSwatch() 105 public static Palette.Builder generateArtworkPaletteBuilder(Bitmap artwork) { in generateArtworkPaletteBuilder() argument 108 return Palette.from(artwork) in generateArtworkPaletteBuilder() 109 .setRegion(0, 0, artwork.getWidth() / 2, artwork.getHeight()) in generateArtworkPaletteBuilder()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | MediaArtworkProcessor.kt | 46 fun processArtwork(context: Context, artwork: Bitmap): Bitmap? { in processArtwork() 58 val rect = Rect(0, 0, artwork.width, artwork.height) in processArtwork() 60 inBitmap = Bitmap.createScaledBitmap(artwork, rect.width(), rect.height(), in processArtwork() 81 val swatch = MediaNotificationProcessor.findBackgroundSwatch(artwork) in processArtwork()
|
D | NotificationMediaManager.java | 839 private Bitmap processArtwork(Bitmap artwork) { in processArtwork() argument 840 return mMediaArtworkProcessor.processArtwork(mContext, artwork); in processArtwork()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaData.kt | 48 val artwork: Icon?, constant in com.android.systemui.media.MediaData
|
D | MediaControlPanel.java | 307 Drawable artwork = scaleDrawable(data.getArtwork()); in bindPlayer() local 309 albumView.setImageDrawable(artwork); in bindPlayer()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/ |
D | MediaDataManagerTest.kt | 168 appIcon = null, artist = null, song = null, artwork = null, actions = emptyList(), in testSetTimedOut_deactivatesMedia() 338 val artwork = Bitmap.createBitmap(1, 1, Bitmap.Config.ARGB_8888) in testBadArtwork_doesNotUse() constant 344 it.setLargeIcon(artwork) in testBadArtwork_doesNotUse()
|
D | MediaResumeListenerTest.kt | 139 artwork = null, in capture()
|
D | MediaSessionBasedFilterTest.kt | 65 artwork = null,
|