Searched defs:appInfo (Results 1 - 3 of 3) sorted by relevance
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
H A D | Util.java | 57 public static Uri getResourceUri(Context context, ApplicationInfo appInfo, int res) { argument 59 Resources resources = context.getPackageManager().getResourcesForApplication(appInfo); 60 return getResourceUri(resources, appInfo.packageName, res); 62 Log.e(TAG, "Resources not found for " + appInfo.packageName); 65 Log.e(TAG, "Resource not found: " + res + " in " + appInfo.packageName);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
H A D | PackageUtil.java | 93 * @param appInfo ApplicationInfo object of package whose resources are to be loaded 97 ApplicationInfo appInfo, int snippetId) { 99 String pkgName = appInfo.packageName; 101 CharSequence label = appInfo.loadLabel(pm); 102 Drawable icon = appInfo.loadIcon(pm); 115 * @param appInfo ApplicationInfo object of package whose resources are to be loaded 151 * @param appInfo ApplicationInfo object of package whose resources are to be loaded 154 public static AppSnippet getAppSnippet(Activity pContext, ApplicationInfo appInfo, argument 164 if (appInfo.labelRes != 0) { 166 label = res.getText(appInfo 96 initSnippetForInstalledApp(Activity pContext, ApplicationInfo appInfo, int snippetId) argument [all...] |
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/ |
H A D | ApplicationsProvider.java | 494 private static Uri getResourceUri(Context context, ApplicationInfo appInfo, int res) { argument 496 Resources resources = context.getPackageManager().getResourcesForApplication(appInfo); 497 return getResourceUri(resources, appInfo.packageName, res);
|
Completed in 67 milliseconds