Searched refs:PreloadIconDrawable (Results 1 – 6 of 6) sorted by relevance
424 if (mIcon instanceof PreloadIconDrawable) { in onAttachedToWindow()425 ((PreloadIconDrawable) mIcon).applyPreloaderTheme(getPreloaderTheme()); in onAttachedToWindow()473 final PreloadIconDrawable preloadDrawable; in applyState()474 if (mIcon instanceof PreloadIconDrawable) { in applyState()475 preloadDrawable = (PreloadIconDrawable) mIcon; in applyState()477 preloadDrawable = new PreloadIconDrawable(mIcon, getPreloaderTheme()); in applyState()
15 class PreloadIconDrawable extends Drawable { class49 public PreloadIconDrawable(Drawable icon, Theme theme) { in PreloadIconDrawable() method in PreloadIconDrawable62 TypedArray ta = t.obtainStyledAttributes(R.styleable.PreloadIconDrawable); in applyPreloaderTheme()
151 mCenterDrawable = new PreloadIconDrawable(drawable, sPreloaderTheme); in updateIcon()211 int outset = (mCenterDrawable instanceof PreloadIconDrawable) ? in updateDrawableBounds()212 ((PreloadIconDrawable) mCenterDrawable).getOutset() : 0; in updateDrawableBounds()
641 return (d instanceof PreloadIconDrawable) ? ((PreloadIconDrawable) d).mIcon : d; in getTopDrawable()
1890 if (d instanceof PreloadIconDrawable) { in getDrawableBounds()1891 int inset = -((PreloadIconDrawable) d).getOutset(); in getDrawableBounds()4346 boolean oldPromiseState = (oldIcon instanceof PreloadIconDrawable)4347 && ((PreloadIconDrawable) oldIcon).hasNotCompleted();
63 -keep class com.android.launcher3.PreloadIconDrawable {