HomeSort by relevance Sort by last modified time
    Searched refs:getResourceUri (Results 1 - 13 of 13) sorted by null

  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
Util.java 47 public static Uri getResourceUri(Context packageContext, int res) {
50 return getResourceUri(resources, packageContext.getPackageName(), res);
57 public static Uri getResourceUri(Context context, ApplicationInfo appInfo, int res) {
60 return getResourceUri(resources, appInfo.packageName, res);
70 private static Uri getResourceUri(Resources resources, String appPkg, int res)
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
BitmapWorkerTask.java 87 } else if (workerOptions.getResourceUri() != null) {
88 if (UriUtils.isAndroidResourceUri(workerOptions.getResourceUri())
89 || UriUtils.isShortcutIconResourceUri(workerOptions.getResourceUri())) {
92 UriUtils.getIconResource(workerOptions.getResourceUri()),
94 } else if (UriUtils.isWebUri(workerOptions.getResourceUri())) {
96 } else if (UriUtils.isContentUri(workerOptions.getResourceUri())) {
98 } else if (UriUtils.isAccountImageUri(workerOptions.getResourceUri())) {
102 + workerOptions.getResourceUri());
108 Log.e(TAG, "Error loading url " + workerOptions.getResourceUri(), e);
111 Log.e(TAG, "Critical Error loading url " + workerOptions.getResourceUri(), e)
    [all...]
DrawableLoader.java 103 } else if (workerOptions.getResourceUri() != null) {
104 if (UriUtils.isAndroidResourceUri(workerOptions.getResourceUri())
105 || UriUtils.isShortcutIconResourceUri(workerOptions.getResourceUri())) {
108 UriUtils.getIconResource(workerOptions.getResourceUri()),
110 } else if (UriUtils.isWebUri(workerOptions.getResourceUri())) {
112 } else if (UriUtils.isContentUri(workerOptions.getResourceUri())) {
114 } else if (UriUtils.isAccountImageUri(workerOptions.getResourceUri())) {
118 + workerOptions.getResourceUri());
124 Log.e(TAG, "Error loading url " + workerOptions.getResourceUri(), e);
127 Log.e(TAG, "Critical Error loading url " + workerOptions.getResourceUri(), e)
    [all...]
BitmapWorkerOptions.java 164 public Uri getResourceUri() {
182 UriUtils.isAndroidResourceUri(getResourceUri())
183 || UriUtils.isShortcutIconResourceUri(getResourceUri());
BitmapDownloader.java 160 final boolean hasAccountImageUri = UriUtils.isAccountImageUri(options.getResourceUri());
190 final boolean hasAccountImageUri = UriUtils.isAccountImageUri(options.getResourceUri());
223 final boolean hasAccountImageUri = UriUtils.isAccountImageUri(options.getResourceUri());
DrawableDownloader.java 224 final boolean hasAccountImageUri = UriUtils.isAccountImageUri(options.getResourceUri());
253 final boolean hasAccountImageUri = UriUtils.isAccountImageUri(options.getResourceUri());
286 final boolean hasAccountImageUri = UriUtils.isAccountImageUri(options.getResourceUri());
  /frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/utils/
Utils.java 52 public static Uri getResourceUri(Context context, int resID) {
  /packages/apps/Dialer/tests/src/com/android/dialer/contactinfo/
ContactPhotoLoaderTest.java 71 info.photoUri = getResourceUri(R.drawable.phone_icon);
90 private Uri getResourceUri(int resId) {
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
AccountImageChangeObserver.java 114 Uri imageUri = options.getResourceUri();
  /frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
MusicConsumptionExampleFragment.java 105 Uri uri = Utils.getResourceUri(getActivity(), song.getFileResource(getActivity()));
305 Uri uri = Utils.getResourceUri(getActivity(), song.getFileResource(getActivity()));
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
PackageIconLoader.java 131 return Util.getResourceUri(mPackageContext, resourceId);
  /prebuilts/tools/common/google-api-java-client/1.20.0/
google-api-java-client-min-repackaged-1.20.0.jar 
  /prebuilts/tools/common/google-api-java-client/1.8.0-rc/
google-api-java-client-min-repackaged.jar 

Completed in 191 milliseconds