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.java93 public BitmapInfo createIconBitmap(Intent.ShortcutIconResource iconRes) { in createIconBitmap()
110 public BitmapInfo createIconBitmap(Bitmap icon) { in createIconBitmap()
115 return BitmapInfo.fromBitmap(icon, mDisableColorExtractor ? null : mColorExtractor); in createIconBitmap()
118 public BitmapInfo createBadgedIconBitmap(Drawable icon, UserHandle user, in createBadgedIconBitmap()
123 public BitmapInfo createBadgedIconBitmap(Drawable icon, UserHandle user, in createBadgedIconBitmap()
128 public BitmapInfo createBadgedIconBitmap(Drawable icon, UserHandle user, in createBadgedIconBitmap()
133 public BitmapInfo createBadgedIconBitmap(Drawable icon, UserHandle user, in createBadgedIconBitmap()
157 public BitmapInfo createBadgedIconBitmap(Drawable icon, UserHandle user, in createBadgedIconBitmap()
182 return BitmapInfo.fromBitmap(bitmap, mDisableColorExtractor ? null : mColorExtractor); in createBadgedIconBitmap()
318 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.java59 ComponentWithLabel object, BitmapInfo target) { in loadIcon()
61 target.icon = BitmapInfo.LOW_RES_ICON; in loadIcon()
DLauncherActivtiyCachingLogic.java50 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;
46 import com.android.launcher3.icons.BitmapInfo;
72 public static class CacheEntry extends BitmapInfo {
77 private final HashMap<UserHandle, BitmapInfo> mDefaultIcons = new HashMap<>();
183 private BitmapInfo makeDefaultIcon(UserHandle user) { in makeDefaultIcon()
289 public synchronized BitmapInfo getDefaultIcon(UserHandle user) { in getDefaultIcon()
435 BitmapInfo iconInfo = li.createBadgedIconBitmap( in getEntryForPackageLocked()
546 … private ContentValues newContentValues(BitmapInfo bitmapInfo, String label, String packageName) { in newContentValues()
DCachingLogic.java22 import com.android.launcher3.icons.BitmapInfo;
32 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;
124 public void applyFrom(BitmapInfo info) { in applyFrom()
DFastBitmapDrawable.java38 import com.android.launcher3.icons.BitmapInfo;
97 public FastBitmapDrawable(BitmapInfo info) { in FastBitmapDrawable()
DInstallShortcutReceiver.java44 import com.android.launcher3.icons.BitmapInfo;
645 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.java37 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.java20 import com.android.launcher3.icons.BitmapInfo;
140 .thenReturn(BitmapInfo.fromBitmap(icon)); in loadSimpleShortcut()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DPackageUpdatedTask.java42 import com.android.launcher3.icons.BitmapInfo;
194 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()