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 | 93 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/ |
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 | 59 ComponentWithLabel object, BitmapInfo target) { in loadIcon() 61 target.icon = BitmapInfo.LOW_RES_ICON; in loadIcon()
|
D | LauncherActivtiyCachingLogic.java | 50 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; 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()
|
D | CachingLogic.java | 22 import com.android.launcher3.icons.BitmapInfo; 32 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; 124 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 | 44 import com.android.launcher3.icons.BitmapInfo; 645 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 | 37 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 | 20 import com.android.launcher3.icons.BitmapInfo; 140 .thenReturn(BitmapInfo.fromBitmap(icon)); in loadSimpleShortcut()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | PackageUpdatedTask.java | 42 import com.android.launcher3.icons.BitmapInfo; 194 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()
|