Searched refs:getResourceUri (Results 1 – 11 of 11) sorted by relevance
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | BitmapWorkerTask.java | 82 } else if (workerOptions.getResourceUri() != null) { in retrieveBitmap() 83 if (UriUtils.isAndroidResourceUri(workerOptions.getResourceUri()) in retrieveBitmap() 84 || UriUtils.isShortcutIconResourceUri(workerOptions.getResourceUri())) { in retrieveBitmap() 87 UriUtils.getIconResource(workerOptions.getResourceUri()), in retrieveBitmap() 89 } else if (UriUtils.isWebUri(workerOptions.getResourceUri())) { in retrieveBitmap() 91 } else if (UriUtils.isContentUri(workerOptions.getResourceUri())) { in retrieveBitmap() 93 } else if (UriUtils.isAccountImageUri(workerOptions.getResourceUri())) { in retrieveBitmap() 97 + workerOptions.getResourceUri()); in retrieveBitmap() 103 Log.e(TAG, "Error loading url " + workerOptions.getResourceUri(), e); in retrieveBitmap() 106 Log.e(TAG, "Critical Error loading url " + workerOptions.getResourceUri(), e); in retrieveBitmap() [all …]
|
D | DrawableLoader.java | 98 } else if (workerOptions.getResourceUri() != null) { in retrieveDrawable() 99 if (UriUtils.isAndroidResourceUri(workerOptions.getResourceUri()) in retrieveDrawable() 100 || UriUtils.isShortcutIconResourceUri(workerOptions.getResourceUri())) { in retrieveDrawable() 103 UriUtils.getIconResource(workerOptions.getResourceUri()), in retrieveDrawable() 105 } else if (UriUtils.isWebUri(workerOptions.getResourceUri())) { in retrieveDrawable() 107 } else if (UriUtils.isContentUri(workerOptions.getResourceUri())) { in retrieveDrawable() 109 } else if (UriUtils.isAccountImageUri(workerOptions.getResourceUri())) { in retrieveDrawable() 113 + workerOptions.getResourceUri()); in retrieveDrawable() 119 Log.e(TAG, "Error loading url " + workerOptions.getResourceUri(), e); in retrieveDrawable() 122 Log.e(TAG, "Critical Error loading url " + workerOptions.getResourceUri(), e); in retrieveDrawable() [all …]
|
D | BitmapWorkerOptions.java | 159 public Uri getResourceUri() { in getResourceUri() method in BitmapWorkerOptions 177 UriUtils.isAndroidResourceUri(getResourceUri()) in isFromResource() 178 || UriUtils.isShortcutIconResourceUri(getResourceUri()); in isFromResource()
|
D | BitmapDownloader.java | 126 final boolean hasAccountImageUri = UriUtils.isAccountImageUri(options.getResourceUri()); in loadBitmapBlocking() 156 final boolean hasAccountImageUri = UriUtils.isAccountImageUri(options.getResourceUri()); in loadBitmap() 189 final boolean hasAccountImageUri = UriUtils.isAccountImageUri(options.getResourceUri()); in getBitmap()
|
D | DrawableDownloader.java | 219 final boolean hasAccountImageUri = UriUtils.isAccountImageUri(options.getResourceUri()); in loadBitmapBlocking() 248 final boolean hasAccountImageUri = UriUtils.isAccountImageUri(options.getResourceUri()); in loadBitmap() 281 final boolean hasAccountImageUri = UriUtils.isAccountImageUri(options.getResourceUri()); in getBitmap()
|
D | AccountImageChangeObserver.java | 112 Uri imageUri = options.getResourceUri(); in registerChangeUriIfPresent()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | Util.java | 47 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/apps/DeskClock/src/com/android/deskclock/ |
D | AsyncRingtonePlayer.java | 173 return Utils.getResourceUri(context, R.raw.alarm_expire); 180 return Utils.getResourceUri(context, R.raw.alarm_expire);
|
D | Utils.java | 163 public static Uri getResourceUri(Context context, @AnyRes int resourceId) { in getResourceUri() method in Utils
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | SettingsModel.java | 110 mDefaultTimerRingtoneUri = Utils.getResourceUri(mContext, R.raw.timer_expire); in getDefaultTimerRingtoneUri()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | PackageIconLoader.java | 131 return Util.getResourceUri(mPackageContext, resourceId); in getIconUri()
|