Home
last modified time | relevance | path

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

/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DBitmapInfo.java30 public class BitmapInfo { class
55 public static final BitmapInfo LOW_RES_INFO = fromBitmap(LOW_RES_ICON);
67 private BitmapInfo badgeInfo;
69 public BitmapInfo(Bitmap icon, int color) { in BitmapInfo() method in BitmapInfo
74 public BitmapInfo withBadgeInfo(BitmapInfo badgeInfo) { in withBadgeInfo()
75 BitmapInfo result = clone(); in withBadgeInfo()
83 public BitmapInfo withFlags(@NonNull FlagOp op) { in withFlags()
87 BitmapInfo result = clone(); in withFlags()
92 protected BitmapInfo copyInternalsTo(BitmapInfo target) { in copyInternalsTo()
101 public BitmapInfo clone() { in clone()
[all …]
DBaseIconFactory.java8 import static com.android.launcher3.icons.BitmapInfo.FLAG_INSTANT;
41 import com.android.launcher3.icons.BitmapInfo.Extender;
149 public BitmapInfo createIconBitmap(Intent.ShortcutIconResource iconRes) { in createIconBitmap()
169 public BitmapInfo createIconBitmap(String placeholder, int color) { in createIconBitmap()
174 return BitmapInfo.of(icon, color); in createIconBitmap()
177 public BitmapInfo createIconBitmap(Bitmap icon) { in createIconBitmap()
182 return BitmapInfo.of(icon, mColorExtractor.findDominantColorByHue(icon)); in createIconBitmap()
189 public BitmapInfo createShapedIconBitmap(Bitmap icon, IconOptions options) { in createShapedIconBitmap()
199 public BitmapInfo createBadgedIconBitmap(@NonNull Drawable icon) { in createBadgedIconBitmap()
212 public BitmapInfo createBadgedIconBitmap(@NonNull Drawable icon, in createBadgedIconBitmap()
[all …]
DThemedIconDrawable.java36 final BitmapInfo bitmapInfo;
94 final BitmapInfo bitmapInfo;
97 public ThemedConstantState(BitmapInfo bitmapInfo, int colorBg, int colorFg) { in ThemedConstantState()
110 public static FastBitmapDrawable newDrawable(BitmapInfo info, Context context) { in newDrawable()
DFastBitmapDrawable.java20 import static com.android.launcher3.icons.BitmapInfo.FLAG_NO_BADGE;
21 import static com.android.launcher3.icons.BitmapInfo.FLAG_THEMED;
45 import com.android.launcher3.icons.BitmapInfo.DrawableCreationFlags;
104 public FastBitmapDrawable(BitmapInfo info) { in FastBitmapDrawable()
DPlaceHolderIconDrawable.java40 public PlaceHolderIconDrawable(BitmapInfo info, Context context) { in PlaceHolderIconDrawable()
DClockDrawableWrapper.java57 public class ClockDrawableWrapper extends AdaptiveIconDrawable implements BitmapInfo.Extender {
302 static class ClockBitmapInfo extends BitmapInfo {
361 public BitmapInfo clone() { in clone()
DBubbleIconFactory.java90 public BitmapInfo getBadgeBitmap(Drawable userBadgedAppIcon, boolean isImportantConversation) { in getBadgeBitmap()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/util/
DUserIconInfo.java19 import static com.android.launcher3.icons.BitmapInfo.FLAG_CLONE;
20 import static com.android.launcher3.icons.BitmapInfo.FLAG_PRIVATE;
21 import static com.android.launcher3.icons.BitmapInfo.FLAG_WORK;
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/
DCachingLogic.java27 import com.android.launcher3.icons.BitmapInfo;
47 BitmapInfo loadIcon(@NonNull final Context context, @NonNull final T object); in loadIcon()
DBaseIconCache.java21 import static com.android.launcher3.icons.BitmapInfo.LOW_RES_ICON;
61 import com.android.launcher3.icons.BitmapInfo;
91 public BitmapInfo bitmap = BitmapInfo.LOW_RES_INFO;
122 private BitmapInfo mDefaultIcon;
377 public synchronized BitmapInfo getDefaultIcon(@NonNull final UserHandle user) { in getDefaultIcon()
401 public boolean isDefaultIcon(@NonNull final BitmapInfo icon, @NonNull final UserHandle user) { in isDefaultIcon()
603 BitmapInfo iconInfo = li.createBadgedIconBitmap(appIcon, in getEntryForPackageLocked()
610 ? BitmapInfo.of(LOW_RES_ICON, iconInfo.color) in getEntryForPackageLocked()
663 entry.bitmap = BitmapInfo.of(LOW_RES_ICON, in updateTitleAndIconLocked()
681 entry.bitmap = BitmapInfo.of( in updateTitleAndIconLocked()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleViewInfoTask.java44 import com.android.launcher3.icons.BitmapInfo;
298 BitmapInfo badgeBitmapInfo = iconFactory.getBadgeBitmap(badgedIcon, in populateCommonInfo()