Lines Matching defs:resources
26 import android.content.res.Resources;
67 return getFullResIcon(Resources.getSystem(),
71 public Drawable getFullResIcon(Resources resources, int iconId) {
74 d = resources.getDrawableForDensity(iconId, mIconDpi);
75 } catch (Resources.NotFoundException e) {
83 Resources resources;
85 resources = mPackageManager.getResourcesForApplication(packageName);
87 resources = null;
89 if (resources != null) {
91 return getFullResIcon(resources, iconId);
103 Resources resources;
105 resources = mPackageManager.getResourcesForApplication(
108 resources = null;
110 if (resources != null) {
113 return getFullResIcon(resources, iconId);