Home
last modified time | relevance | path

Searched refs:artUrl (Results 1 – 3 of 3) sorted by relevance

/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DAlbumArtCache.java70 public Bitmap getBigImage(String artUrl) { in getBigImage() argument
71 Bitmap[] result = mCache.get(artUrl); in getBigImage()
75 public Bitmap getIconImage(String artUrl) { in getIconImage() argument
76 Bitmap[] result = mCache.get(artUrl); in getIconImage()
80 public void fetch(final String artUrl, final FetchListener listener) { in fetch() argument
85 Bitmap[] bitmap = mCache.get(artUrl); in fetch()
87 LogHelper.d(TAG, "getOrFetch: album art is in cache, using it", artUrl); in fetch()
88 listener.onFetched(artUrl, bitmap[BIG_BITMAP_INDEX], bitmap[ICON_BITMAP_INDEX]); in fetch()
91 LogHelper.d(TAG, "getOrFetch: starting asynctask to fetch ", artUrl); in fetch()
98 Bitmap bitmap = BitmapHelper.fetchAndRescaleBitmap(artUrl, in fetch()
[all …]
DMediaNotificationManager.java263 String artUrl = description.getIconUri().toString(); in createNotification() local
264 art = AlbumArtCache.getInstance().getBigImage(artUrl); in createNotification()
266 fetchArtUrl = artUrl; in createNotification()
343 public void onFetched(String artUrl, Bitmap bitmap, Bitmap icon) { in fetchBitmapFromURLAsync()
345 artUrl.equals(mMetadata.getDescription().getIconUri().toString())) { in fetchBitmapFromURLAsync()
347 LogHelper.d(TAG, "fetchBitmapFromURLAsync: set bitmap to ", artUrl); in fetchBitmapFromURLAsync()
DMusicService.java570 public void onFetched(String artUrl, Bitmap bitmap, Bitmap icon) { in updateMetadata()