Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DFastBitmapDrawable.java37 public class FastBitmapDrawable extends Drawable { class
62 private static final Property<FastBitmapDrawable, Float> SCALE
63 = new Property<FastBitmapDrawable, Float>(Float.TYPE, "scale") {
65 public Float get(FastBitmapDrawable fastBitmapDrawable) {
70 public void set(FastBitmapDrawable fastBitmapDrawable, Float value) {
80 public FastBitmapDrawable(Bitmap b) { in FastBitmapDrawable() method in FastBitmapDrawable
84 public FastBitmapDrawable(BitmapInfo info) { in FastBitmapDrawable() method in FastBitmapDrawable
88 protected FastBitmapDrawable(Bitmap b, int iconColor) { in FastBitmapDrawable() method in FastBitmapDrawable
92 protected FastBitmapDrawable(Bitmap b, int iconColor, boolean isDisabled) { in FastBitmapDrawable() method in FastBitmapDrawable
305 public FastBitmapDrawable newDrawable() { in newDrawable()
[all …]
DBitmapInfo.java92 public FastBitmapDrawable newThemedIcon(Context context) { in newThemedIcon()
99 public FastBitmapDrawable newIcon(Context context) { in newIcon()
100 FastBitmapDrawable drawable = isLowRes() in newIcon()
102 : new FastBitmapDrawable(this); in newIcon()
DThemedIconDrawable.java56 public class ThemedIconDrawable extends FastBitmapDrawable {
126 public FastBitmapDrawable newDrawable() { in newDrawable()
146 public FastBitmapDrawable newThemedIcon(Context context) { in newThemedIcon()
148 FastBitmapDrawable drawable = new ThemedConstantState(this, colors[0], colors[1], false) in newThemedIcon()
DClockDrawableWrapper.java303 public FastBitmapDrawable newThemedIcon(Context context) { in newThemedIcon()
318 public FastBitmapDrawable newIcon(Context context) { in newIcon()
341 private static class ClockIconDrawable extends FastBitmapDrawable implements Runnable {
441 public FastBitmapDrawable newDrawable() { in newDrawable()
DPlaceHolderIconDrawable.java35 public class PlaceHolderIconDrawable extends FastBitmapDrawable {
/packages/apps/Launcher3/tests/src/com/android/launcher3/icons/
DFastBitmapDrawableTest.java18 import static com.android.launcher3.icons.FastBitmapDrawable.CLICK_FEEDBACK_DURATION;
19 import static com.android.launcher3.icons.FastBitmapDrawable.HOVERED_SCALE;
20 import static com.android.launcher3.icons.FastBitmapDrawable.HOVER_FEEDBACK_DURATION;
21 import static com.android.launcher3.icons.FastBitmapDrawable.PRESSED_SCALE;
22 import static com.android.launcher3.icons.FastBitmapDrawable.SCALE;
60 FastBitmapDrawable mFastBitmapDrawable =
61 spy(new FastBitmapDrawable(Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888)));
67 FastBitmapDrawable.setFlagHoverEnabled(true); in setUp()
122 FastBitmapDrawable.setFlagHoverEnabled(false); in testOnStateChange_stateHoveredFlagDisabled()
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DItemInfoWithIcon.java26 import com.android.launcher3.icons.FastBitmapDrawable;
243 public FastBitmapDrawable newIcon(Context context) {
250 public FastBitmapDrawable newIcon(Context context, @DrawableCreationFlags int creationFlags) {
251 FastBitmapDrawable drawable = bitmap.newIcon(context, creationFlags);
/packages/apps/Launcher3/src/com/android/launcher3/views/
DIconButtonView.java39 import com.android.launcher3.icons.FastBitmapDrawable;
99 FastBitmapDrawable icon = getIcon(); in setForegroundTint()
117 private static class IconDrawable extends FastBitmapDrawable {
DFloatingIconView.java58 import com.android.launcher3.icons.FastBitmapDrawable;
294 boolean shouldThemeIcon = btvIcon instanceof FastBitmapDrawable in getIconResult()
295 && ((FastBitmapDrawable) btvIcon).isThemed(); in getIconResult()
366 FastBitmapDrawable.setBadgeBounds(mBadge, badgeBounds); in setIcon()
542 final FastBitmapDrawable btvIcon; in fetchIcon()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DDragPreviewProvider.java35 import com.android.launcher3.icons.FastBitmapDrawable;
107 FastBitmapDrawable icon = ((BubbleTextView) mView).getIcon(); in createDrawable()
114 return new FastBitmapDrawable( in createDrawable()
DPreloadIconDrawable.java44 import com.android.launcher3.icons.FastBitmapDrawable;
52 public class PreloadIconDrawable extends FastBitmapDrawable {
/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java67 import com.android.launcher3.icons.FastBitmapDrawable;
150 private FastBitmapDrawable mIcon;
202 FastBitmapDrawable.setFlagHoverEnabled(ENABLE_CURSOR_HOVER_STATES.get()); in BubbleTextView()
394 FastBitmapDrawable iconDrawable = info.newIcon(getContext(), flags); in applyIconAndLabel()
462 public FastBitmapDrawable getIcon() { in getIcon()
874 FastBitmapDrawable originalIcon = mIcon; in updateProgressBarUi()
938 if (mIcon instanceof FastBitmapDrawable) { in applyDotState()
994 protected void setIcon(FastBitmapDrawable icon) { in setIcon()
DWorkspace.java90 import com.android.launcher3.icons.FastBitmapDrawable;
1647 if (icon instanceof FastBitmapDrawable) { in beginDragShared()
1648 iconScale = ((FastBitmapDrawable) icon).getAnimatedScale(); in beginDragShared()
2926 return new FastBitmapDrawable(b);
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DShortcutDragPreviewProvider.java28 import com.android.launcher3.icons.FastBitmapDrawable;
47 return new FastBitmapDrawable( in createDrawable()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingItemDragHelper.java44 import com.android.launcher3.icons.FastBitmapDrawable;
139 Drawable p = new FastBitmapDrawable(new DatabaseWidgetPreviewLoader(launcher) in startDrag()
182 preview = new FastBitmapDrawable( in startDrag()
DPendingAppWidgetHostView.java20 import static com.android.launcher3.icons.FastBitmapDrawable.getDisabledColorFilter;
43 import com.android.launcher3.icons.FastBitmapDrawable;
158 FastBitmapDrawable disabledIcon = info.newIcon(getContext()); in reapplyItemInfo()
DWidgetCell.java49 import com.android.launcher3.icons.FastBitmapDrawable;
324 new FastBitmapDrawable(bitmap), mEnforcedCornerRadius); in applyPreview()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragView.java24 import static com.android.launcher3.icons.FastBitmapDrawable.getDisabledColorFilter;
61 import com.android.launcher3.icons.FastBitmapDrawable;
262 FastBitmapDrawable.setBadgeBounds(mBadge, bounds); in setItemInfo()
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DSecondaryDisplayLauncher.java48 import com.android.launcher3.icons.FastBitmapDrawable;
388 FastBitmapDrawable icon = ((BubbleTextView) child).getIcon(); in beginDragShared()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DPredictedAppIcon.java20 import static com.android.launcher3.icons.FastBitmapDrawable.getDisabledColorFilter;
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepTransitionManager.java120 import com.android.launcher3.icons.FastBitmapDrawable;
1886 if (dr instanceof FastBitmapDrawable) { in AnimOpenProperties()
1887 iconStartScale = ((FastBitmapDrawable) dr).getAnimatedScale(); in AnimOpenProperties()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/
DBubbleBarController.java24 import static com.android.launcher3.icons.FastBitmapDrawable.WHITE_SCRIM_ALPHA;