Home
last modified time | relevance | path

Searched refs:getResourceUri (Results 1 – 8 of 8) sorted by relevance

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DUtil.java47 public static Uri getResourceUri(Context packageContext, int res) { in getResourceUri() method in Util
50 return getResourceUri(resources, packageContext.getPackageName(), res); in getResourceUri()
57 public static Uri getResourceUri(Context context, ApplicationInfo appInfo, int res) { in getResourceUri() method in Util
60 return getResourceUri(resources, appInfo.packageName, res); in getResourceUri()
70 private static Uri getResourceUri(Resources resources, String appPkg, int res) in getResourceUri() method in Util
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/
DApplicationsProvider.java606 Uri uri = getResourceUri(activityInfo.applicationInfo, icon); in getActivityIconUri()
634 private Uri getResourceUri(ApplicationInfo appInfo, int res) { in getResourceUri() method in ApplicationsProvider
637 return getResourceUri(resources, appInfo.packageName, res); in getResourceUri()
645 private static Uri getResourceUri(Resources resources, String appPkg, int res) in getResourceUri() method in ApplicationsProvider
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSearchableSource.java229 return Util.getResourceUri(getContext(), R.drawable.corpus_icon_default); in getSourceIconUri()
231 return Util.getResourceUri(getContext(), mActivityInfo.applicationInfo, resourceId); in getSourceIconUri()
DAppsCorpus.java62 return Util.getResourceUri(getContext(), R.drawable.corpus_icon_apps); in getCorpusIconUri()
DWebCorpus.java122 return Util.getResourceUri(getContext(), getCorpusIconResource()); in getCorpusIconUri()
DPackageIconLoader.java131 return Util.getResourceUri(mPackageContext, resourceId); in getIconUri()
DShortcutRepositoryImplLog.java110 mSearchSpinner = Util.getResourceUri(mContext, R.drawable.search_spinner).toString(); in ShortcutRepositoryImplLog()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DShortcutRepositoryTest.java247 String spinnerUri = Util.getResourceUri(mContext, R.drawable.search_spinner).toString(); in testSpinnerWhileRefreshing()