Home
last modified time | relevance | path

Searched refs:artwork (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DMediaArtworkProcessorTest.kt63 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/
DMediaNotificationProcessor.java51 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/
DMediaArtworkProcessor.kt46 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()
DNotificationMediaManager.java839 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/
DMediaData.kt48 val artwork: Icon?, constant in com.android.systemui.media.MediaData
DMediaControlPanel.java307 Drawable artwork = scaleDrawable(data.getArtwork()); in bindPlayer() local
309 albumView.setImageDrawable(artwork); in bindPlayer()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DMediaDataManagerTest.kt168 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()
DMediaResumeListenerTest.kt139 artwork = null, in capture()
DMediaSessionBasedFilterTest.kt65 artwork = null,