Lines Matching refs:Resources
28 import android.content.res.Resources;
91 return getFullResIcon(Resources.getSystem(),
95 public Drawable getFullResIcon(Resources resources, int iconId, UserHandle user) {
98 d = resources.getDrawableForDensity(iconId, mIconDpi);
99 } catch (Resources.NotFoundException e) {
110 Resources resources;
115 resources = mPackageManager.getResourcesForApplication(packageName);
117 resources = null;
119 if (resources != null) {
121 return getFullResIcon(resources, iconId, user);
132 Resources resources;
134 resources = mPackageManager.getResourcesForApplication(
137 resources = null;
139 if (resources != null) {
142 return getFullResIcon(resources, iconId, user);