Searched defs:density (Results 1 - 5 of 5) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/compat/
H A DLauncherActivityInfoCompat.java33 public abstract Drawable getIcon(int density); argument
H A DLauncherActivityInfoCompatVL.java47 public Drawable getIcon(int density) { argument
48 return mLauncherActivityInfo.getIcon(density);
H A DDeferredLauncherActivityInfo.java70 public Drawable getIcon(int density) { argument
71 return getActualInfo().getIcon(density);
H A DLauncherActivityInfoCompatV16.java57 public Drawable getIcon(int density) { argument
61 // Get the preferred density icon from the app's resources
62 if (density != 0 && iconRes != 0) {
65 icon = resources.getDrawableForDensity(iconRes, density);
69 // Get the default density icon
75 icon = resources.getDrawableForDensity(android.R.mipmap.sym_def_app_icon, density);
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
H A DDeepShortcutManager.java153 public Drawable getShortcutIconDrawable(ShortcutInfoCompat shortcutInfo, int density) { argument
157 shortcutInfo.getShortcutInfo(), density);

Completed in 113 milliseconds