Home
last modified time | relevance | path

Searched refs:FastBitmapDrawable (Results 1 – 16 of 16) 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.java290 FastBitmapDrawable iconDrawable = DrawableFactory.INSTANCE.get(getContext()) in applyIconAndLabel()
582 if (mIcon instanceof FastBitmapDrawable) { in applyDotState()
DUtilities.java589 return new InsetDrawable(new FastBitmapDrawable(badge), in getBadge()
DWorkspace.java1481 if (icon instanceof FastBitmapDrawable) { in beginDragShared()
1482 iconScale = ((FastBitmapDrawable) icon).getAnimatedScale(); in beginDragShared()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DDrawableFactory.java37 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 {
DDragPreviewProvider.java33 import com.android.launcher3.FastBitmapDrawable;
91 if (d instanceof FastBitmapDrawable) { in drawDragView()
92 ((FastBitmapDrawable) d).setScale(1); in drawDragView()
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.java39 import com.android.launcher3.FastBitmapDrawable;
65 if (drawable instanceof FastBitmapDrawable) {
66 if (scale != ((FastBitmapDrawable) drawable).getScale()) {
77 if (taskViewDrawable instanceof FastBitmapDrawable) {
78 final float currentScale = ((FastBitmapDrawable) taskViewDrawable).getScale();
80 ((FastBitmapDrawable) taskViewDrawable).setScale(scale);
96 private FastBitmapDrawable mMenuIconDrawable;
190 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.java49 import com.android.launcher3.FastBitmapDrawable;
284 FastBitmapDrawable d = new FastBitmapDrawable((Bitmap) null); in setItemInfo()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DLauncherIcons.java30 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.java453 if (dr instanceof FastBitmapDrawable) { in getOpeningWindowAnimators()
454 startScale = ((FastBitmapDrawable) dr).getAnimatedScale(); in getOpeningWindowAnimators()