Lines Matching refs:Resources
27 import android.content.res.Resources;
78 * @param pContext context of package that can load the resources
79 * @param componentInfo ComponentInfo object whose resources are to be loaded
93 * @param pContext context of package that can load the resources
94 * @param componentInfo ComponentInfo object whose resources are to be loaded
117 * @param pContext context of package that can load the resources
118 * @param as The resources to be loaded
143 * @param pContext context of package that can load the resources
144 * @param appInfo ApplicationInfo object of package whose resources are to be loaded
150 Resources pRes = pContext.getResources();
153 Resources res = new Resources(assmgr, pRes.getDisplayMetrics(), pRes.getConfiguration());
155 // Try to load the label from the package's resources. If an app has not explicitly
160 } catch (Resources.NotFoundException e) {
168 // Try to load the icon from the package's resources. If an app has not explicitly
174 } catch (Resources.NotFoundException e) {