Home
last modified time | relevance | path

Searched refs:BitmapInfo (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/
DBitmapInfo.java21 public class BitmapInfo { class
28 public void applyTo(BitmapInfo info) { in applyTo()
37 public static BitmapInfo fromBitmap(Bitmap bitmap) { in fromBitmap()
41 public static BitmapInfo fromBitmap(Bitmap bitmap, ColorExtractor dominantColorExtractor) { in fromBitmap()
42 BitmapInfo info = new BitmapInfo(); in fromBitmap()
DBaseIconFactory.java97 public BitmapInfo createIconBitmap(Intent.ShortcutIconResource iconRes) { in createIconBitmap()
114 public BitmapInfo createIconBitmap(Bitmap icon) { in createIconBitmap()
119 return BitmapInfo.fromBitmap(icon, mDisableColorExtractor ? null : mColorExtractor); in createIconBitmap()
122 public BitmapInfo createBadgedIconBitmap(Drawable icon, UserHandle user, in createBadgedIconBitmap()
127 public BitmapInfo createBadgedIconBitmap(Drawable icon, UserHandle user, in createBadgedIconBitmap()
132 public BitmapInfo createBadgedIconBitmap(Drawable icon, UserHandle user, in createBadgedIconBitmap()
137 public BitmapInfo createBadgedIconBitmap(Drawable icon, UserHandle user, in createBadgedIconBitmap()
161 public BitmapInfo createBadgedIconBitmap(@NonNull Drawable icon, UserHandle user, in createBadgedIconBitmap()
186 return BitmapInfo.fromBitmap(bitmap, mDisableColorExtractor ? null : mColorExtractor); in createBadgedIconBitmap()
325 public BitmapInfo makeDefaultIcon(UserHandle user) { in makeDefaultIcon()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DLauncherIcons.java119 public BitmapInfo createShortcutIcon(ShortcutInfo shortcutInfo) { in createShortcutIcon()
123 public BitmapInfo createShortcutIcon(ShortcutInfo shortcutInfo, boolean badged) { in createShortcutIcon()
127 public BitmapInfo createShortcutIcon(ShortcutInfo shortcutInfo, in createShortcutIcon()
141 BitmapInfo result = new BitmapInfo(); in createShortcutIcon()
150 BitmapInfo result = new BitmapInfo(); in createShortcutIcon()
DComponentWithLabel.java61 ComponentWithLabel object, BitmapInfo target) { in loadIcon()
63 target.icon = BitmapInfo.LOW_RES_ICON; in loadIcon()
DLauncherActivityCachingLogic.java59 BitmapInfo target) { in loadIcon()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DNormalizedIconLoader.java31 import com.android.launcher3.icons.BitmapInfo;
43 private final SparseArray<BitmapInfo> mDefaultIcons = new SparseArray<>();
58 BitmapInfo info = mDefaultIcons.get(userId); in getDefaultIcon()
75 private BitmapInfo getBitmapInfo(Drawable drawable, int userId, in getBitmapInfo()
92 BitmapInfo bitmapInfo = getBitmapInfo( in getBadgedActivityIcon()
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java19 import static com.android.launcher3.icons.BitmapInfo.LOW_RES_ICON;
50 import com.android.launcher3.icons.BitmapInfo;
74 public static class CacheEntry extends BitmapInfo {
79 private final HashMap<UserHandle, BitmapInfo> mDefaultIcons = new HashMap<>();
186 private BitmapInfo makeDefaultIcon(UserHandle user) { in makeDefaultIcon()
296 public synchronized BitmapInfo getDefaultIcon(UserHandle user) { in getDefaultIcon()
434 BitmapInfo iconInfo = li.createBadgedIconBitmap( in getEntryForPackageLocked()
558 private ContentValues newContentValues(BitmapInfo bitmapInfo, String label, in newContentValues()
DCachingLogic.java25 import com.android.launcher3.icons.BitmapInfo;
35 void loadIcon(Context context, T object, BitmapInfo target); in loadIcon()
/packages/apps/Launcher3/src/com/android/launcher3/
DItemInfoWithIcon.java19 import static com.android.launcher3.icons.BitmapInfo.LOW_RES_ICON;
23 import com.android.launcher3.icons.BitmapInfo;
126 public void applyFrom(BitmapInfo info) { in applyFrom()
DFastBitmapDrawable.java38 import com.android.launcher3.icons.BitmapInfo;
97 public FastBitmapDrawable(BitmapInfo info) { in FastBitmapDrawable()
DInstallShortcutReceiver.java47 import com.android.launcher3.icons.BitmapInfo;
649 BitmapInfo iconInfo = null; in createWorkspaceItemInfo()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DPlaceHolderIconDrawable.java29 import com.android.launcher3.icons.BitmapInfo;
40 public PlaceHolderIconDrawable(BitmapInfo info, Path progressPath, Context context) { in PlaceHolderIconDrawable()
DDrawableFactory.java40 import com.android.launcher3.icons.BitmapInfo;
66 public FastBitmapDrawable newIcon(Context context, BitmapInfo info, ActivityInfo target) { in newIcon()
DLauncherPreviewRenderer.java59 import com.android.launcher3.icons.BitmapInfo;
102 BitmapInfo iconInfo = iconFactory.createBadgedIconBitmap(new AdaptiveIconDrawable( in LauncherPreviewRenderer()
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DLoaderCursorTest.java19 import com.android.launcher3.icons.BitmapInfo;
140 .thenReturn(BitmapInfo.fromBitmap(icon)); in loadSimpleShortcut()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DPackageUpdatedTask.java39 import com.android.launcher3.icons.BitmapInfo;
191 BitmapInfo iconInfo = li.createIconBitmap(si.iconResource); in execute()
DLoaderCursor.java46 import com.android.launcher3.icons.BitmapInfo;
184 BitmapInfo iconInfo = li.createIconBitmap(info.iconResource); in loadIcon()