Home
last modified time | relevance | path

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

/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DIconProvider.java100 public Drawable getIcon(LauncherActivityInfo info, int iconDpi) { in getIcon() argument
101 return getIconWithOverrides(info.getApplicationInfo().packageName, iconDpi, in getIcon()
102 () -> info.getIcon(iconDpi)); in getIcon()
115 public Drawable getIcon(ActivityInfo info, int iconDpi) { in getIcon() argument
116 return getIconWithOverrides(info.applicationInfo.packageName, iconDpi, in getIcon()
117 () -> loadActivityInfoIcon(info, iconDpi)); in getIcon()
121 private Drawable getIconWithOverrides(String packageName, int iconDpi, in getIconWithOverrides() argument
127 icon = loadCalendarDrawable(iconDpi, td); in getIconWithOverrides()
129 icon = ClockDrawableWrapper.forPackage(mContext, mClock.getPackageName(), iconDpi, td); in getIconWithOverrides()
167 private Drawable loadCalendarDrawable(int iconDpi, @Nullable ThemeData td) { in loadCalendarDrawable() argument
[all …]
DClockDrawableWrapper.java143 public static ClockDrawableWrapper forPackage(Context context, String pkg, int iconDpi, in forPackage() argument
151 resId -> res.getDrawableForDensity(resId, iconDpi)); in forPackage()
DBaseIconFactory.java484 public static Drawable getFullResDefaultActivityIcon(final int iconDpi) { in getFullResDefaultActivityIcon() argument
486 android.R.drawable.sym_def_app_icon, iconDpi)); in getFullResDefaultActivityIcon()
/frameworks/libs/systemui/iconloaderlib/src_full_lib/com/android/launcher3/icons/
DSimpleIconCache.java52 public SimpleIconCache(Context context, String dbFileName, Looper bgLooper, int iconDpi, in SimpleIconCache() argument
54 super(context, dbFileName, bgLooper, iconDpi, iconPixelSize, inMemoryCache); in SimpleIconCache()
/frameworks/base/core/java/com/android/internal/app/
DResolverListAdapter.java830 int iconDpi) {
841 new ResolveInfoPresentationGetter(context, iconDpi, resolveInfo);
1019 public ResolveInfoPresentationGetter(Context ctx, int iconDpi, ResolveInfo ri) {
1020 super(ctx, iconDpi, ri.activityInfo);
1065 public ActivityInfoPresentationGetter(Context ctx, int iconDpi,
1067 super(ctx, iconDpi, activityInfo.applicationInfo);
1121 TargetPresentationGetter(Context ctx, int iconDpi, ApplicationInfo ai) {
1125 mIconDpi = iconDpi;
DSimpleIconFactory.java100 final int iconDpi = (am == null) ? 0 : am.getLauncherLargeIconDensity(); in obtain() local
104 instance = new SimpleIconFactory(ctx, iconDpi, iconSize, badgeSize); in obtain()
323 private static Drawable getFullResDefaultActivityIcon(int iconDpi) { in getFullResDefaultActivityIcon() argument
325 iconDpi); in getFullResDefaultActivityIcon()
DChooserTargetActionsDialogFragment.java283 final int iconDpi = am.getLauncherLargeIconDensity(); in getProvidingAppPresentationGetter() local
286 return new ResolveInfoPresentationGetter(getContext(), iconDpi, in getProvidingAppPresentationGetter()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java138 @NonNull final Looper bgLooper, final int iconDpi, final int iconPixelSize, in BaseIconCache() argument
164 mIconDpi = iconDpi; in BaseIconCache()
185 public void updateIconParams(final int iconDpi, final int iconPixelSize) { in updateIconParams() argument
186 mWorkerHandler.post(() -> updateIconParamsBg(iconDpi, iconPixelSize)); in updateIconParams()
189 private synchronized void updateIconParamsBg(final int iconDpi, final int iconPixelSize) { in updateIconParamsBg() argument
190 mIconDpi = iconDpi; in updateIconParamsBg()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashscreenContentDrawer.java1242 Drawable getIcon(ActivityInfo activityInfo, int currentDpi, int iconDpi) { in getIcon() argument
1245 if (currentDpi < iconDpi && currentDpi < DisplayMetrics.DENSITY_XHIGH) { in getIcon()
1246 drawable = loadFromStandalone(activityInfo, currentDpi, iconDpi); in getIcon()
1248 drawable = mSharedIconProvider.getIcon(activityInfo, iconDpi); in getIcon()
1258 int iconDpi) { in loadFromStandalone() argument
1272 updateResourcesDpi(resources, iconDpi); in loadFromStandalone()
1274 final Drawable drawable = mStandaloneIconProvider.getIcon(activityInfo, iconDpi); in loadFromStandalone()