Home
last modified time | relevance | path

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

/frameworks/av/media/libmediaplayerservice/
DMetadataRetrieverClient.cpp278 MediaAlbumArt *albumArt = mRetriever->extractAlbumArt(); in extractAlbumArt() local
279 if (albumArt == NULL) { in extractAlbumArt()
283 size_t size = sizeof(MediaAlbumArt) + albumArt->size(); in extractAlbumArt()
287 delete albumArt; in extractAlbumArt()
293 delete albumArt; in extractAlbumArt()
297 albumArt->size(), albumArt->data()); in extractAlbumArt()
298 delete albumArt; // We've taken our copy. in extractAlbumArt()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/util/
DMediaArtworkHelper.kt86 albumArt: Drawable?, in <lambda>()
97 return LayerDrawable(arrayOf(albumArt, gradient)) in <lambda>()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DConvertTest.java250 int albumArt = 1; in programInfoFromHal_withMetadata() local
254 createIntMetadata(MetadataKey.ALBUM_ART, albumArt), in programInfoFromHal_withMetadata()
270 .isEqualTo(albumArt); in programInfoFromHal_withMetadata()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/
DMediaControlPanelTest.kt636 val albumArt = Icon.createWithResource(context, R.drawable.ic_android) in <lambda>() constant
637 val state = mediaData.copy(artwork = albumArt) in <lambda>()
649 val albumArt = getColorIcon(Color.RED) in <lambda>() constant
650 val state = mediaData.copy(artwork = albumArt) in <lambda>()
2181 val albumArt = getColorIcon(Color.RED) in <lambda>() constant
2188 .setIcon(albumArt) in <lambda>()
2193 .setIcon(albumArt) in <lambda>()
2198 .setIcon(albumArt) in <lambda>()
2218 val albumArt = getColorIcon(Color.RED) in <lambda>() constant
2233 .setIcon(albumArt) in <lambda>()
[all …]
/frameworks/av/media/libmedia/
DIMediaMetadataRetriever.cpp383 sp<IMemory> albumArt = extractAlbumArt(); in onTransact() local
384 if (albumArt != 0) { // Don't send NULL across the binder interface in onTransact()
386 reply->writeStrongBinder(IInterface::asBinder(albumArt)); in onTransact()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/
DMediaRecommendationsViewModel.kt274 val albumArt = in <lambda>() constant
286 albumArt, in <lambda>()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaMetadataRetrieverTest.java75 byte[] albumArt = retriever.getEmbeddedPicture(); in testGetEmbeddedPicture()
80 if (albumArt == null) { // Do we have expect in JUnit? in testGetEmbeddedPicture()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaControlPanel.java1072 Drawable albumArt = getScaledBackground(artworkIcon, width, height); in addGradientToPlayerAlbum() local
1075 return setupGradientColorOnDrawable(albumArt, gradient, mutableColorScheme, in addGradientToPlayerAlbum()
1084 Drawable albumArt = getScaledRecommendationCover(artworkIcon, width, height); in addGradientToRecommendationAlbum() local
1085 if (albumArt == null) { in addGradientToRecommendationAlbum()
1086 albumArt = getScaledBackground(artworkIcon, width, height); in addGradientToRecommendationAlbum()
1090 return setupGradientColorOnDrawable(albumArt, gradient, mutableColorScheme, in addGradientToRecommendationAlbum()
1094 private LayerDrawable setupGradientColorOnDrawable(Drawable albumArt, GradientDrawable gradient, in setupGradientColorOnDrawable() argument
1104 return new LayerDrawable(new Drawable[] { albumArt, gradient }); in setupGradientColorOnDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/binder/
DMediaControlViewBinder.kt520 val albumArt = MediaArtworkHelper.getScaledBackground(context, artworkIcon, width, height) in <lambda>() constant
522 albumArt, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataProcessor.kt1207 val albumArt = loadBitmapFromUri(Uri.parse(uriString)) in <lambda>() constant
1208 if (albumArt != null) { in <lambda>()
1210 return albumArt in <lambda>()
DLegacyMediaDataManagerImpl.kt1262 val albumArt = loadBitmapFromUri(Uri.parse(uriString)) in loadBitmapFromUri() constant
1263 if (albumArt != null) { in loadBitmapFromUri()
1265 return albumArt in loadBitmapFromUri()
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
DConversionUtils.java493 case Metadata.albumArt: in radioMetadataFromHalMetadata()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
DConversionUtilsTest.java172 private static final Metadata TEST_HAL_ALBUM_ART = Metadata.albumArt(TEST_ALBUM_ART);