Searched refs:artUrl (Results 1 – 3 of 3) sorted by relevance
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/ |
D | AlbumArtCache.java | 72 public Bitmap getBigImage(String artUrl) { in getBigImage() argument 73 Bitmap[] result = mCache.get(artUrl); in getBigImage() 77 public Bitmap getIconImage(String artUrl) { in getIconImage() argument 78 Bitmap[] result = mCache.get(artUrl); in getIconImage() 82 public void fetch(final String artUrl, final FetchListener listener) { in fetch() argument 87 Bitmap[] bitmap = mCache.get(artUrl); in fetch() 89 Log.d(TAG, "getOrFetch: album art is in cache, using it " + artUrl); in fetch() 90 listener.onFetched(artUrl, bitmap[BIG_BITMAP_INDEX], bitmap[ICON_BITMAP_INDEX]); in fetch() 93 Log.d(TAG, "getOrFetch: starting asynctask to fetch " + artUrl); in fetch() 100 Bitmap bitmap = BitmapHelper.fetchAndRescaleBitmap(artUrl, in fetch() [all …]
|
D | MediaNotificationManager.java | 263 String artUrl = description.getIconUri().toString(); in createNotification() local 264 art = AlbumArtCache.getInstance().getBigImage(artUrl); in createNotification() 266 fetchArtUrl = artUrl; in createNotification() 340 public void onFetched(String artUrl, Bitmap bitmap, Bitmap icon) { in fetchBitmapFromURLAsync() 342 artUrl.equals(mMetadata.getDescription().getIconUri().toString())) { in fetchBitmapFromURLAsync() 344 Log.d(TAG, "fetchBitmapFromURLAsync: set bitmap to " + artUrl); in fetchBitmapFromURLAsync()
|
D | MediaBrowserServiceSupport.java | 610 public void onFetched(String artUrl, Bitmap bitmap, Bitmap icon) { in updateMetadata()
|