| /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/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; 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/ |
| D | ItemInfoWithIcon.java | 26 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/ |
| 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 | 58 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/ |
| 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 | 44 import com.android.launcher3.icons.FastBitmapDrawable; 52 public class PreloadIconDrawable extends FastBitmapDrawable {
|
| /packages/apps/Launcher3/src/com/android/launcher3/ |
| D | BubbleTextView.java | 67 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()
|
| D | Workspace.java | 90 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/ |
| 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; 139 Drawable p = new FastBitmapDrawable(new DatabaseWidgetPreviewLoader(launcher) in startDrag() 182 preview = new FastBitmapDrawable( in startDrag()
|
| D | PendingAppWidgetHostView.java | 20 import static com.android.launcher3.icons.FastBitmapDrawable.getDisabledColorFilter; 43 import com.android.launcher3.icons.FastBitmapDrawable; 158 FastBitmapDrawable disabledIcon = info.newIcon(getContext()); in reapplyItemInfo()
|
| D | WidgetCell.java | 49 import com.android.launcher3.icons.FastBitmapDrawable; 324 new FastBitmapDrawable(bitmap), mEnforcedCornerRadius); in applyPreview()
|
| /packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
| D | DragView.java | 24 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/ |
| D | SecondaryDisplayLauncher.java | 48 import com.android.launcher3.icons.FastBitmapDrawable; 388 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 | 120 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/ |
| D | BubbleBarController.java | 24 import static com.android.launcher3.icons.FastBitmapDrawable.WHITE_SCRIM_ALPHA;
|