Home
last modified time | relevance | path

Searched refs:imageUri (Results 1 – 20 of 20) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DDialogActivity.java113 String breadcrumb, String description, String imageUri, in createIntent() argument
115 return createIntent(context, title, breadcrumb, description, imageUri, in createIntent()
120 String breadcrumb, String description, String imageUri, in createIntent() argument
126 intent.putExtra(EXTRA_DIALOG_IMAGE_URI, imageUri); in createIntent()
134 String breadcrumb, String description, String imageUri, in createIntent() argument
136 return createIntent(context, title, breadcrumb, description, imageUri, Color.TRANSPARENT, in createIntent()
141 String breadcrumb, String description, String imageUri, int imageBackground, in createIntent() argument
147 intent.putExtra(EXTRA_DIALOG_IMAGE_URI, imageUri); in createIntent()
155 String breadcrumb, String description, String imageUri, int imageBackground, in createIntent() argument
162 intent.putExtra(EXTRA_DIALOG_IMAGE_URI, imageUri); in createIntent()
[all …]
/packages/apps/Camera2/src/com/android/camera/
DStorage.java292 public Uri updateImage(Uri imageUri, ContentResolver resolver, String title, long date, in updateImage() argument
296 return updateImage(imageUri, resolver, title, date, location, orientation, jpeg.length, in updateImage()
358 private Uri updateImage(Uri imageUri, ContentResolver resolver, String title, in updateImage() argument
362 Uri resultUri = imageUri; in updateImage()
363 if (isSessionUri(imageUri)) { in updateImage()
367 sSessionsToContentUris.put(imageUri, resultUri); in updateImage()
368 sContentUrisToSessions.put(resultUri, imageUri); in updateImage()
372 resolver.update(imageUri, values, null, null); in updateImage()
373 Log.i(TAG, "Image with uri: " + imageUri + " was updated in the MediaStore"); in updateImage()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/imaging/
DLocalImageFetcher.java257 Uri imageUri = mImageKey.mImageUri; in doInBackground()
262 if (UriUtils.isAndroidResourceUri(imageUri)) { in doInBackground()
265 UriUtils.getIconResource(context, imageUri)); in doInBackground()
266 } else if (UriUtils.isContentUri(imageUri)) { in doInBackground()
270 if (!hasFile(resolver, imageUri)) { in doInBackground()
272 Log.w(TAG, "File not found in uri: " + imageUri); in doInBackground()
277 ImageDecoder.Source src = ImageDecoder.createSource(resolver, imageUri); in doInBackground()
282 URL url = new URL(imageUri.toString()); in doInBackground()
DImageKey.java34 ImageKey(Uri imageUri, Size maxImageSize) { in ImageKey() argument
35 Preconditions.checkArgument(!UriUtils.isEmpty(imageUri), "Empty uri!"); in ImageKey()
36 mImageUri = imageUri; in ImageKey()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetDatabaseHelper.java71 public String imageUri; field in WidgetDatabaseHelper.Entry
82 imageUri = cursor.getString(INDEX_IMAGE_URI); in Entry()
138 entry.imageUri = cursor.getString(2); in saveData()
154 values.put(FIELD_IMAGE_URI, entry.imageUri); in restoreData()
193 public boolean setPhoto(int appWidgetId, Uri imageUri, Bitmap bitmap) { in setPhoto() argument
206 values.put(FIELD_IMAGE_URI, imageUri.toString()); in setPhoto()
288 values.put(FIELD_IMAGE_URI, entry.imageUri); in updateEntry()
DPhotoAppWidgetProvider.java115 if (entry.imageUri != null) { in buildFrameWidget()
117 Uri uri = Uri.parse(entry.imageUri); in buildFrameWidget()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DStandalonePreviewActivity.java56 Uri imageUri = cropAndSetWallpaperIntent.getData(); in onCreate() local
58 if (imageUri == null) { in onCreate()
66 boolean isReadPermissionGrantedForImageUri = isReadPermissionGrantedForImageUri(imageUri); in onCreate()
144 private boolean isReadPermissionGrantedForImageUri(Uri imageUri) { in isReadPermissionGrantedForImageUri() argument
146 imageUri, in isReadPermissionGrantedForImageUri()
DWallpaperPickerDelegate.java432 Uri imageUri = (data == null) ? null : data.getData(); in handleActivityResult() local
433 if (imageUri != null) { in handleActivityResult()
436 ImageWallpaperInfo imageWallpaper = new ImageWallpaperInfo(imageUri); in handleActivityResult()
DTopLevelPickerActivity.java753 Uri imageUri = (data == null) ? null : data.getData(); in onActivityResult() local
754 if (imageUri != null) { in onActivityResult()
757 ImageWallpaperInfo imageWallpaper = new ImageWallpaperInfo(imageUri); in onActivityResult()
/packages/apps/Dialer/java/com/android/dialer/enrichedcall/
DOutgoingCallComposerData.java69 public Builder setImageData(@NonNull Uri imageUri, @NonNull String imageContentType) { in setImageData() argument
70 setImageUri(Assert.isNotNull(imageUri)); in setImageData()
75 abstract Builder setImageUri(Uri imageUri); in setImageUri() argument
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpPlayer.java189 public synchronized boolean notifyImageDownload(String uuid, Uri imageUri) { in notifyImageDownload() argument
190 if (DBG) Log.d(TAG, "Got an image download -- uuid=" + uuid + ", uri=" + imageUri); in notifyImageDownload()
191 if (uuid == null || imageUri == null || mCurrentTrack == null) return false; in notifyImageDownload()
193 mCurrentTrack.setCoverArtLocation(imageUri); in notifyImageDownload()
DAvrcpControllerStateMachine.java1043 Uri imageUri = null; in downloadImageIfNeeded() local
1045 imageUri = mCoverArtManager.getImageUri(mDevice, uuid); in downloadImageIfNeeded()
1046 if (imageUri != null) { in downloadImageIfNeeded()
1047 track.setCoverArtLocation(imageUri); in downloadImageIfNeeded()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DWallpaperCropActivity.java102 final Uri imageUri = cropIntent.getData(); in init() local
104 if (imageUri == null) { in init()
121 cropImageAndSetWallpaper(imageUri, null, false /* shouldFadeOutOnFinish */); in init()
128 new BitmapRegionTileSource.InputStreamSource(this, imageUri); in init()
/packages/apps/Gallery/src/com/android/camera/gallery/
DImageList.java61 public ImageList(ContentResolver resolver, Uri imageUri, in ImageList() argument
63 super(resolver, imageUri, sort, bucketId); in ImageList()
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DTaskJpegEncode.java226 public void onUriResolved(long id, TaskImage input, TaskImage result, final Uri imageUri, in onUriResolved() argument
230 listener.onResultUri(job, imageUri); in onUriResolved()
/packages/apps/Dialer/java/com/android/incallui/sessiondata/
DMultimediaFragment.java82 @Nullable Uri imageUri, in newInstance() argument
89 args.putParcelable(ARG_IMAGE, imageUri); in newInstance()
/packages/apps/TV/src/com/android/tv/search/
DTvProviderSearch.java318 String imageUri = c.getString(1); in fillProgramInfo() local
319 if (imageUri != null) { in fillProgramInfo()
320 builder.setImageUri(imageUri); in fillProgramInfo()
/packages/apps/Messaging/src/com/android/messaging/util/
DImageUtils.java888 public static Rect decodeImageBounds(final Context context, final Uri imageUri) { in decodeImageBounds() argument
891 final InputStream inputStream = cr.openInputStream(imageUri); in decodeImageBounds()
907 LogUtil.e(TAG, "Couldn't open input stream for uri = " + imageUri); in decodeImageBounds()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java457 final Uri imageUri = messagePart.getContentUri(); in addPicturePart() local
469 final int orientation = ImageUtils.getOrientation(context, imageUri); in addPicturePart()
470 int imageSize = getDataLength(context, imageUri); in addPicturePart()
498 part.setDataUri(imageUri); in addPicturePart()
502 width, height, orientation, imageUri, context, contentType); in addPicturePart()
672 … final int orientation, final Uri imageUri, final Context context, final String contentType) { in getResizedImageAsPart() argument
676 widthLimit, heightLimit, byteLimit, imageUri, context, contentType); in getResizedImageAsPart()
686 final String contentTypeOfResizedImage = ImageUtils.isGif(contentType, imageUri) in getResizedImageAsPart()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
DAnswerFragment.java599 Uri imageUri = multimediaData.getImageUri(); in updateDataFragment() local
603 || !Objects.equals(((MultimediaFragment) current).getImageUri(), imageUri) in updateDataFragment()