Lines Matching refs:Resources
33 import android.content.res.Resources;
92 * @param pContext context of package that can load the resources
93 * @param appInfo ApplicationInfo object of package whose resources are to be loaded
114 * @param pContext context of package that can load the resources
115 * @param appInfo ApplicationInfo object of package whose resources are to be loaded
150 * @param pContext context of package that can load the resources
151 * @param appInfo ApplicationInfo object of package whose resources are to be loaded
157 Resources pRes = pContext.getResources();
160 Resources res = new Resources(assmgr, pRes.getDisplayMetrics(), pRes.getConfiguration());
162 // Try to load the label from the package's resources. If an app has not explicitly
167 } catch (Resources.NotFoundException e) {
175 // Try to load the icon from the package's resources. If an app has not explicitly
180 } catch (Resources.NotFoundException e) {