Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DDialogActivity.java112 String breadcrumb, String description, String imageUri, in createIntent() argument
114 return createIntent(context, title, breadcrumb, description, imageUri, in createIntent()
119 String breadcrumb, String description, String imageUri, in createIntent() argument
125 intent.putExtra(EXTRA_DIALOG_IMAGE_URI, imageUri); in createIntent()
133 String breadcrumb, String description, String imageUri, in createIntent() argument
135 return createIntent(context, title, breadcrumb, description, imageUri, Color.TRANSPARENT, in createIntent()
140 String breadcrumb, String description, String imageUri, int imageBackground, in createIntent() argument
146 intent.putExtra(EXTRA_DIALOG_IMAGE_URI, imageUri); in createIntent()
154 String breadcrumb, String description, String imageUri, int imageBackground, in createIntent() argument
161 intent.putExtra(EXTRA_DIALOG_IMAGE_URI, imageUri); in createIntent()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DAccountImageChangeObserver.java114 Uri imageUri = options.getResourceUri(); in registerChangeUriIfPresent() local
117 if (imageUri != null && UriUtils.isAccountImageUri(imageUri)) { in registerChangeUriIfPresent()
118 Uri changeNotifUri = UriUtils.getAccountImageChangeNotifyUri(imageUri); in registerChangeUriIfPresent()
119 imageUri = imageUri.buildUpon().clearQuery().build(); in registerChangeUriIfPresent()
126 String accountName = UriUtils.getAccountName(imageUri); in registerChangeUriIfPresent()
/packages/apps/Camera2/src/com/android/camera/
DStorage.java269 public static Uri updateImage(Uri imageUri, ContentResolver resolver, String title, long date, in updateImage() argument
274 … return updateImage(imageUri, resolver, title, date, location, orientation, jpeg.length, path, in updateImage()
395 private static Uri updateImage(Uri imageUri, ContentResolver resolver, String title, in updateImage() argument
404 Uri resultUri = imageUri; in updateImage()
405 if (Storage.isSessionUri(imageUri)) { in updateImage()
409 sSessionsToContentUris.put(imageUri, resultUri); in updateImage()
410 sContentUrisToSessions.put(resultUri, imageUri); in updateImage()
413 resolver.update(imageUri, values, null, null); in updateImage()
/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/Messaging/src/com/android/messaging/ui/conversationlist/
DShareIntentActivity.java113 for (final Uri imageUri : imageUris) { in onAttachFragment()
114 final String actualContentType = extractContentType(imageUri, contentType); in onAttachFragment()
115 addSharedImagePartToDraft(actualContentType, imageUri); in onAttachFragment()
160 private void addSharedImagePartToDraft(final String contentType, final Uri imageUri) { in addSharedImagePartToDraft() argument
162 imageUri)); in addSharedImagePartToDraft()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DWallpaperCropActivity.java110 final Uri imageUri = cropIntent.getData(); in init() local
112 if (imageUri == null) { in init()
127 cropImageAndSetWallpaper(imageUri, null, finishActivityWhenDone); in init()
134 new BitmapRegionTileSource.UriBitmapSource(getContext(), imageUri); in init()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DBrowseInfo.java561 String imageUri = null; in addAccounts() local
564 imageUri = googleAccountIconUri(mContext); in addAccounts()
567 imageUri = Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + "://" + in addAccounts()
583 .imageUri(imageUri) in addAccounts()
DMenuItemPresenter.java118 private void prepareImageView(final MenuItemViewHolder menuItemViewHolder, String imageUri) { in prepareImageView() argument
121 if (imageUri != null) { in prepareImageView()
137 .resource(Uri.parse(imageUri)).height(lp.height).width(lp.width).build(); in prepareImageView()
DMenuItem.java83 return imageUri( in imageResourceId()
87 public Builder imageUri(String uri) { in imageUri() method in MenuItem.Builder
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java452 final Uri imageUri = messagePart.getContentUri(); in addPicturePart() local
464 final int orientation = ImageUtils.getOrientation(context, imageUri); in addPicturePart()
465 int imageSize = getDataLength(context, imageUri); in addPicturePart()
493 part.setDataUri(imageUri); in addPicturePart()
497 width, height, orientation, imageUri, context, contentType); in addPicturePart()
667 … final int orientation, final Uri imageUri, final Context context, final String contentType) { in getResizedImageAsPart() argument
671 widthLimit, heightLimit, byteLimit, imageUri, context, contentType); in getResizedImageAsPart()
681 final String contentTypeOfResizedImage = ImageUtils.isGif(contentType, imageUri) in getResizedImageAsPart()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountSettingsActivity.java58 Uri imageUri = UriUtils.getAccountImageUri(getIntent().getStringExtra(EXTRA_ACCOUNT), null); in onCreate() local
70 .resource(imageUri).build(); in onCreate()
/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/Messaging/src/com/android/messaging/util/
DImageUtils.java885 public static Rect decodeImageBounds(final Context context, final Uri imageUri) { in decodeImageBounds() argument
888 final InputStream inputStream = cr.openInputStream(imageUri); in decodeImageBounds()
904 LogUtil.e(TAG, "Couldn't open input stream for uri = " + imageUri); in decodeImageBounds()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppsBrowseInfo.java231 .imageUri(getAppIconUri(mContext, info))