/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/ |
D | FastBitmapDrawable.java | 37 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 …]
|
D | BitmapInfo.java | 92 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()
|
D | ThemedIconDrawable.java | 56 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()
|
D | ClockDrawableWrapper.java | 303 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()
|
D | PlaceHolderIconDrawable.java | 35 public class PlaceHolderIconDrawable extends FastBitmapDrawable {
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/folder/ |
D | PreviewItemManagerTest.kt | 29 import com.android.launcher3.icons.FastBitmapDrawable 144 assert((drawingParams.drawable as FastBitmapDrawable).isThemed) in checkThemedIconWithThemingOn_iconShouldBeThemed() 154 assert(!(drawingParams.drawable as FastBitmapDrawable).isThemed) in checkThemedIconWithThemingOff_iconShouldNotBeThemed() 164 assert(!(drawingParams.drawable as FastBitmapDrawable).isThemed) in checkUnthemedIconWithThemingOn_iconShouldNotBeThemed() 174 assert(!(drawingParams.drawable as FastBitmapDrawable).isThemed) in checkUnthemedIconWithThemingOff_iconShouldNotBeThemed() 184 assert((drawingParams.drawable as FastBitmapDrawable).isThemed) in checkThemedIconWithBadgeWithThemingOn_iconAndBadgeShouldBeThemed() 186 ((drawingParams.drawable as FastBitmapDrawable).badge as UserBadgeDrawable).mIsThemed in checkThemedIconWithBadgeWithThemingOn_iconAndBadgeShouldBeThemed() 197 assert(!(drawingParams.drawable as FastBitmapDrawable).isThemed) in checkUnthemedIconWithBadgeWithThemingOn_badgeShouldBeThemed() 199 ((drawingParams.drawable as FastBitmapDrawable).badge as UserBadgeDrawable).mIsThemed in checkUnthemedIconWithBadgeWithThemingOn_badgeShouldBeThemed() 210 assert(!(drawingParams.drawable as FastBitmapDrawable).isThemed) in checkUnthemedIconWithBadgeWithThemingOff_iconAndBadgeShouldNotBeThemed() [all …]
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/icons/ |
D | FastBitmapDrawableTest.java | 18 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; 61 FastBitmapDrawable mFastBitmapDrawable = 62 spy(new FastBitmapDrawable(Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888))); 68 FastBitmapDrawable.setFlagHoverEnabled(true); in setUp() 123 FastBitmapDrawable.setFlagHoverEnabled(false); in testOnStateChange_stateHoveredFlagDisabled()
|
/packages/apps/Launcher3/src/com/android/launcher3/apppairs/ |
D | AppPairIconDrawable.java | 29 import com.android.launcher3.icons.FastBitmapDrawable; 38 private final FastBitmapDrawable mIcon1; 39 private final FastBitmapDrawable mIcon2; 50 AppPairIconDrawingParams p, FastBitmapDrawable icon1, FastBitmapDrawable icon2) { in AppPairIconDrawable()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/data/ |
D | ItemInfoWithIcon.java | 29 import com.android.launcher3.icons.FastBitmapDrawable; 315 public FastBitmapDrawable newIcon(Context context) { 322 public FastBitmapDrawable newIcon(Context context, @DrawableCreationFlags int creationFlags) { 323 FastBitmapDrawable drawable = bitmap.newIcon(context, creationFlags);
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | IconButtonView.java | 39 import com.android.launcher3.icons.FastBitmapDrawable; 99 FastBitmapDrawable icon = getIcon(); in setForegroundTint() 117 private static class IconDrawable extends FastBitmapDrawable {
|
D | FloatingIconView.java | 57 import com.android.launcher3.icons.FastBitmapDrawable; 317 boolean shouldThemeIcon = (btvIcon instanceof FastBitmapDrawable fbd) in getIconResult() 382 FastBitmapDrawable.setBadgeBounds(mBadge, badgeBounds); in setIcon() 558 final FastBitmapDrawable btvIcon; in fetchIcon()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | DragPreviewProvider.java | 35 import com.android.launcher3.icons.FastBitmapDrawable; 107 FastBitmapDrawable icon = ((BubbleTextView) mView).getIcon(); in createDrawable() 114 return new FastBitmapDrawable( in createDrawable()
|
D | PreloadIconDrawable.java | 42 import com.android.launcher3.icons.FastBitmapDrawable; 50 public class PreloadIconDrawable extends FastBitmapDrawable {
|
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/data/ |
D | DockAppItem.kt | 24 import com.android.launcher3.icons.FastBitmapDrawable 49 FastBitmapDrawable.WHITE_SCRIM_ALPHA
|
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
D | ShortcutDragPreviewProvider.java | 28 import com.android.launcher3.icons.FastBitmapDrawable; 47 return new FastBitmapDrawable( in createDrawable()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | PendingItemDragHelper.java | 44 import com.android.launcher3.icons.FastBitmapDrawable; 136 Drawable p = new FastBitmapDrawable(new DatabaseWidgetPreviewLoader(launcher) in startDrag() 179 preview = new FastBitmapDrawable( in startDrag()
|
D | PendingAppWidgetHostView.java | 24 import static com.android.launcher3.icons.FastBitmapDrawable.getDisabledColorFilter; 58 import com.android.launcher3.icons.FastBitmapDrawable; 309 FastBitmapDrawable disabledIcon = info.newIcon(getContext()); in reapplyItemInfo()
|
D | WidgetCell.java | 60 import com.android.launcher3.icons.FastBitmapDrawable; 398 new FastBitmapDrawable(bitmap), mEnforcedCornerRadius); in applyPreview()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | BubbleTextView.java | 69 import com.android.launcher3.icons.FastBitmapDrawable; 152 private FastBitmapDrawable mIcon; 226 FastBitmapDrawable.setFlagHoverEnabled(enableCursorHoverStates()); in BubbleTextView() 454 FastBitmapDrawable iconDrawable = info.newIcon(getContext(), flags); in applyIconAndLabel() 525 public FastBitmapDrawable getIcon() { in getIcon() 965 FastBitmapDrawable originalIcon = mIcon; in updateProgressBarUi() 1035 if (mIcon instanceof FastBitmapDrawable) { in applyDotState() 1093 protected void setIcon(FastBitmapDrawable icon) { in setIcon()
|
D | Workspace.java | 95 import com.android.launcher3.icons.FastBitmapDrawable; 1681 if (icon instanceof FastBitmapDrawable) { in beginDragShared() 1682 iconScale = ((FastBitmapDrawable) icon).getAnimatedScale(); in beginDragShared() 2935 return new FastBitmapDrawable(b);
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragView.java | 23 import static com.android.launcher3.icons.FastBitmapDrawable.getDisabledColorFilter; 63 import com.android.launcher3.icons.FastBitmapDrawable; 263 FastBitmapDrawable.setBadgeBounds(mBadge, bounds); in setItemInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/ |
D | SecondaryDisplayLauncher.java | 47 import com.android.launcher3.icons.FastBitmapDrawable; 374 FastBitmapDrawable icon = ((BubbleTextView) child).getIcon(); in beginDragShared()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | PredictedAppIcon.java | 20 import static com.android.launcher3.icons.FastBitmapDrawable.getDisabledColorFilter;
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
D | QuickstepTransitionManager.java | 130 import com.android.launcher3.icons.FastBitmapDrawable; 1967 if (dr instanceof FastBitmapDrawable) { in AnimOpenProperties() 1968 iconStartScale = ((FastBitmapDrawable) dr).getAnimatedScale(); in AnimOpenProperties()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/ |
D | BubbleBarController.java | 24 import static com.android.launcher3.icons.FastBitmapDrawable.WHITE_SCRIM_ALPHA;
|