Home
last modified time | relevance | path

Searched refs:FastBitmapDrawable (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DFastBitmapDrawable.java40 public class FastBitmapDrawable extends Drawable { class
69 private static final Property<FastBitmapDrawable, Float> SCALE
70 = new Property<FastBitmapDrawable, Float>(Float.TYPE, "scale") {
72 public Float get(FastBitmapDrawable fastBitmapDrawable) {
77 public void set(FastBitmapDrawable fastBitmapDrawable, Float value) {
93 public FastBitmapDrawable(Bitmap b) { in FastBitmapDrawable() method in FastBitmapDrawable
97 public FastBitmapDrawable(BitmapInfo info) { in FastBitmapDrawable() method in FastBitmapDrawable
101 public FastBitmapDrawable(ItemInfoWithIcon info) { in FastBitmapDrawable() method in FastBitmapDrawable
105 protected FastBitmapDrawable(Bitmap b, int iconColor) { in FastBitmapDrawable() method in FastBitmapDrawable
109 protected FastBitmapDrawable(Bitmap b, int iconColor, boolean isDisabled) { in FastBitmapDrawable() method in FastBitmapDrawable
[all …]
DBubbleTextView.java279 FastBitmapDrawable iconDrawable = DrawableFactory.INSTANCE.get(getContext()) in applyIconAndLabel()
564 if (mIcon instanceof FastBitmapDrawable) { in applyDotState()
DUtilities.java726 return new InsetDrawable(new FastBitmapDrawable(badge), in getBadge()
DWorkspace.java1469 if (icon instanceof FastBitmapDrawable) { in beginDragShared()
1470 iconScale = ((FastBitmapDrawable) icon).getAnimatedScale(); in beginDragShared()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DDrawableFactory.java34 import com.android.launcher3.FastBitmapDrawable;
58 public FastBitmapDrawable newIcon(Context context, ItemInfoWithIcon info) { in newIcon()
59 FastBitmapDrawable drawable = info.usingLowResIcon() in newIcon()
61 : new FastBitmapDrawable(info); in newIcon()
66 public FastBitmapDrawable newIcon(Context context, BitmapInfo info, ActivityInfo target) { in newIcon()
69 : new FastBitmapDrawable(info); in newIcon()
89 FastBitmapDrawable d = new FastBitmapDrawable(badgeBitmap); in getBadgeForUser()
DPlaceHolderIconDrawable.java26 import com.android.launcher3.FastBitmapDrawable;
35 public class PlaceHolderIconDrawable extends FastBitmapDrawable {
DPreloadIconDrawable.java36 import com.android.launcher3.FastBitmapDrawable;
45 public class PreloadIconDrawable extends FastBitmapDrawable {
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DTaskMenuView.java38 import com.android.launcher3.FastBitmapDrawable;
63 if (drawable instanceof FastBitmapDrawable) {
64 if (scale != ((FastBitmapDrawable) drawable).getScale()) {
75 if (taskViewDrawable instanceof FastBitmapDrawable) {
76 final float currentScale = ((FastBitmapDrawable) taskViewDrawable).getScale();
78 ((FastBitmapDrawable) taskViewDrawable).setScale(scale);
94 private FastBitmapDrawable mMenuIconDrawable;
188 mMenuIconDrawable = icon instanceof FastBitmapDrawable ? (FastBitmapDrawable) icon : null; in addMenuOptions()
DIconView.java24 import com.android.launcher3.FastBitmapDrawable;
99 if (drawable instanceof FastBitmapDrawable && mScaleListeners != null) { in invalidateDrawable()
101 listener.onScaleUpdate(((FastBitmapDrawable) drawable).getScale()); in invalidateDrawable()
123 if (mDrawable instanceof FastBitmapDrawable) { in addUpdateScaleListener()
124 listener.onScaleUpdate(((FastBitmapDrawable) mDrawable).getScale()); in addUpdateScaleListener()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DNormalizedIconLoader.java30 import com.android.launcher3.FastBitmapDrawable;
65 return new FastBitmapDrawable(info); in getDefaultIcon()
71 return new FastBitmapDrawable(getBitmapInfo(drawable, userId, desc.getPrimaryColor(), in createBadgedDrawable()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DPinShortcutRequestActivityInfo.java31 import com.android.launcher3.FastBitmapDrawable;
79 d = new FastBitmapDrawable(cache.getDefaultIcon(Process.myUserHandle())); in getFullResIcon()
DDragView.java44 import com.android.launcher3.FastBitmapDrawable;
284 FastBitmapDrawable d = new FastBitmapDrawable((Bitmap) null); in setItemInfo()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DLauncherIcons.java28 import com.android.launcher3.FastBitmapDrawable;
163 badgeWithDrawable(c, new FastBitmapDrawable(badge)); in createShortcutIcon()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingAppWidgetHostView.java35 import com.android.launcher3.FastBitmapDrawable;
138 FastBitmapDrawable disabledIcon = drawableFactory.newIcon(getContext(), info); in reapplyItemInfo()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepAppTransitionManagerImpl.java444 if (dr instanceof FastBitmapDrawable) { in getOpeningWindowAnimators()
445 startScale = ((FastBitmapDrawable) dr).getAnimatedScale(); in getOpeningWindowAnimators()