Searched refs:BitmapInfo (Results 1 – 17 of 17) sorted by relevance
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/ |
D | BitmapInfo.java | 21 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()
|
D | BaseIconFactory.java | 97 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/ |
D | LauncherIcons.java | 119 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()
|
D | ComponentWithLabel.java | 61 ComponentWithLabel object, BitmapInfo target) { in loadIcon() 63 target.icon = BitmapInfo.LOW_RES_ICON; in loadIcon()
|
D | LauncherActivityCachingLogic.java | 59 BitmapInfo target) { in loadIcon()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | NormalizedIconLoader.java | 31 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/ |
D | BaseIconCache.java | 19 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()
|
D | CachingLogic.java | 25 import com.android.launcher3.icons.BitmapInfo; 35 void loadIcon(Context context, T object, BitmapInfo target); in loadIcon()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | ItemInfoWithIcon.java | 19 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()
|
D | FastBitmapDrawable.java | 38 import com.android.launcher3.icons.BitmapInfo; 97 public FastBitmapDrawable(BitmapInfo info) { in FastBitmapDrawable()
|
D | InstallShortcutReceiver.java | 47 import com.android.launcher3.icons.BitmapInfo; 649 BitmapInfo iconInfo = null; in createWorkspaceItemInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | PlaceHolderIconDrawable.java | 29 import com.android.launcher3.icons.BitmapInfo; 40 public PlaceHolderIconDrawable(BitmapInfo info, Path progressPath, Context context) { in PlaceHolderIconDrawable()
|
D | DrawableFactory.java | 40 import com.android.launcher3.icons.BitmapInfo; 66 public FastBitmapDrawable newIcon(Context context, BitmapInfo info, ActivityInfo target) { in newIcon()
|
D | LauncherPreviewRenderer.java | 59 import com.android.launcher3.icons.BitmapInfo; 102 BitmapInfo iconInfo = iconFactory.createBadgedIconBitmap(new AdaptiveIconDrawable( in LauncherPreviewRenderer()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
D | LoaderCursorTest.java | 19 import com.android.launcher3.icons.BitmapInfo; 140 .thenReturn(BitmapInfo.fromBitmap(icon)); in loadSimpleShortcut()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | PackageUpdatedTask.java | 39 import com.android.launcher3.icons.BitmapInfo; 191 BitmapInfo iconInfo = li.createIconBitmap(si.iconResource); in execute()
|
D | LoaderCursor.java | 46 import com.android.launcher3.icons.BitmapInfo; 184 BitmapInfo iconInfo = li.createIconBitmap(info.iconResource); in loadIcon()
|