Home
last modified time | relevance | path

Searched refs:iconDpi (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DIconProvider.java125 public Drawable getIcon(LauncherActivityInfo info, int iconDpi) { in getIcon() argument
126 return getIconWithOverrides(info.getApplicationInfo().packageName, info.getUser(), iconDpi, in getIcon()
127 () -> info.getIcon(iconDpi)); in getIcon()
140 public Drawable getIcon(ActivityInfo info, int iconDpi) { in getIcon() argument
143 iconDpi, () -> loadActivityInfoIcon(info, iconDpi)); in getIcon()
146 private Drawable getIconWithOverrides(String packageName, UserHandle user, int iconDpi, in getIconWithOverrides() argument
152 icon = loadCalendarDrawable(iconDpi); in getIconWithOverrides()
157 icon = loadClockDrawable(iconDpi); in getIconWithOverrides()
225 private Drawable loadCalendarDrawable(int iconDpi) { in loadCalendarDrawable() argument
236 return resources.getDrawableForDensity(id, iconDpi, null /* theme */); in loadCalendarDrawable()
[all …]
DClockDrawableWrapper.java102 public static ClockDrawableWrapper forPackage(Context context, String pkg, int iconDpi) { in forPackage() argument
109 resId -> res.getDrawableForDensity(resId, iconDpi)); in forPackage()
DBaseIconFactory.java416 public static Drawable getFullResDefaultActivityIcon(int iconDpi) { in getFullResDefaultActivityIcon() argument
420 iconDpi); in getFullResDefaultActivityIcon()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DTargetPresentationGetter.java55 public Factory(Context context, int iconDpi) { in Factory() argument
57 mIconDpi = iconDpi; in Factory()
171 private TargetPresentationGetter(Context context, int iconDpi, ApplicationInfo appInfo) { in TargetPresentationGetter() argument
175 mIconDpi = iconDpi; in TargetPresentationGetter()
186 Context context, int iconDpi, ResolveInfo resolveInfo) { in ResolveInfoPresentationGetter() argument
187 super(context, iconDpi, resolveInfo.activityInfo); in ResolveInfoPresentationGetter()
233 Context context, int iconDpi, ActivityInfo activityInfo) { in ActivityInfoPresentationGetter() argument
234 super(context, iconDpi, activityInfo.applicationInfo); in ActivityInfoPresentationGetter()
DSimpleIconFactory.java99 final int iconDpi = (am == null) ? 0 : am.getLauncherLargeIconDensity(); in obtain() local
103 instance = new SimpleIconFactory(ctx, iconDpi, iconSize, badgeSize); in obtain()
322 private static Drawable getFullResDefaultActivityIcon(int iconDpi) { in getFullResDefaultActivityIcon() argument
324 iconDpi); in getFullResDefaultActivityIcon()
DChooserTargetActionsDialogFragment.java280 final int iconDpi = am.getLauncherLargeIconDensity(); in getProvidingAppPresentationGetter() local
283 return new TargetPresentationGetter.Factory(getContext(), iconDpi) in getProvidingAppPresentationGetter()
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java97 int iconDpi, int iconPixelSize, boolean inMemoryCache) { in BaseIconCache() argument
122 mIconDpi = iconDpi; in BaseIconCache()
142 public void updateIconParams(int iconDpi, int iconPixelSize) { in updateIconParams() argument
143 mWorkerHandler.post(() -> updateIconParamsBg(iconDpi, iconPixelSize)); in updateIconParams()
146 private synchronized void updateIconParamsBg(int iconDpi, int iconPixelSize) { in updateIconParamsBg() argument
147 mIconDpi = iconDpi; in updateIconParamsBg()
/packages/modules/Permission/PermissionController/iconloaderlib/src_full_lib/com/android/launcher3/icons/
DSimpleIconCache.java50 public SimpleIconCache(Context context, String dbFileName, Looper bgLooper, int iconDpi, in SimpleIconCache() argument
52 super(context, dbFileName, bgLooper, iconDpi, iconPixelSize, inMemoryCache); in SimpleIconCache()