Home
last modified time | relevance | path

Searched refs:RefcountBitmapDrawable (Results 1 – 4 of 4) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DRefcountBitmapDrawable.java23 public class RefcountBitmapDrawable extends BitmapDrawable { class
30 public RefcountBitmapDrawable(Resources res, RefcountObject<Bitmap> bitmap) { in RefcountBitmapDrawable() method in RefcountBitmapDrawable
38 public RefcountBitmapDrawable(Resources res, RefcountBitmapDrawable drawable) { in RefcountBitmapDrawable() method in RefcountBitmapDrawable
DDrawableDownloader.java133 if (d instanceof RefcountBitmapDrawable) { in clear()
134 ((RefcountBitmapDrawable) d).getRefcountObject().releaseRef(); in clear()
369 if (bitmap instanceof RefcountBitmapDrawable) { in addBitmapToMemoryCache()
370 RefcountBitmapDrawable refcountDrawable = (RefcountBitmapDrawable) bitmap; in addBitmapToMemoryCache()
399 if (d instanceof RefcountBitmapDrawable) { in createRefCopy()
400 RefcountBitmapDrawable refcountDrawable = (RefcountBitmapDrawable) d; in createRefCopy()
402 d = new RefcountBitmapDrawable(mContext.getResources(), in createRefCopy()
DDrawableLoader.java144 if (result instanceof RefcountBitmapDrawable) { in onCancelled()
147 RefcountBitmapDrawable d = (RefcountBitmapDrawable) result; in onCancelled()
255 RefcountBitmapDrawable d = new RefcountBitmapDrawable( in decodeBitmap()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DTransitionImageView.java32 import com.android.tv.settings.widget.RefcountBitmapDrawable;
117 if (mBitmapDrawable instanceof RefcountBitmapDrawable) { in onDetachedFromWindow()
118 ((RefcountBitmapDrawable) mBitmapDrawable).getRefcountObject().releaseRef(); in onDetachedFromWindow()