/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
ImageViewBindingAdapter.java | 31 public static void setImageUri(ImageView view, String imageUri) { 32 if (imageUri == null) { 35 view.setImageURI(Uri.parse(imageUri)); 40 public static void setImageUri(ImageView view, Uri imageUri) { 41 view.setImageURI(imageUri);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
AccountImageChangeObserver.java | 114 Uri imageUri = options.getResourceUri(); 117 if (imageUri != null && UriUtils.isAccountImageUri(imageUri)) { 118 Uri changeNotifUri = UriUtils.getAccountImageChangeNotifyUri(imageUri); 119 imageUri = imageUri.buildUpon().clearQuery().build(); 126 String accountName = UriUtils.getAccountName(imageUri);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
DialogActivity.java | 112 String breadcrumb, String description, String imageUri, 114 return createIntent(context, title, breadcrumb, description, imageUri, 119 String breadcrumb, String description, String imageUri, 125 intent.putExtra(EXTRA_DIALOG_IMAGE_URI, imageUri); 133 String breadcrumb, String description, String imageUri, 135 return createIntent(context, title, breadcrumb, description, imageUri, Color.TRANSPARENT, 140 String breadcrumb, String description, String imageUri, int imageBackground, 146 intent.putExtra(EXTRA_DIALOG_IMAGE_URI, imageUri); 154 String breadcrumb, String description, String imageUri, int imageBackground, 161 intent.putExtra(EXTRA_DIALOG_IMAGE_URI, imageUri); [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
AccountSettingsActivity.java | 58 Uri imageUri = UriUtils.getAccountImageUri(getIntent().getStringExtra(EXTRA_ACCOUNT), null); 70 .resource(imageUri).build();
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
WidgetDatabaseHelper.java | 46 private static final String FIELD_IMAGE_URI = "imageUri"; 71 public String imageUri; 82 imageUri = cursor.getString(INDEX_IMAGE_URI); 138 entry.imageUri = cursor.getString(2); 154 values.put(FIELD_IMAGE_URI, entry.imageUri); 193 public boolean setPhoto(int appWidgetId, Uri imageUri, Bitmap bitmap) { 206 values.put(FIELD_IMAGE_URI, imageUri.toString()); 288 values.put(FIELD_IMAGE_URI, entry.imageUri);
|
PhotoAppWidgetProvider.java | 115 if (entry.imageUri != null) { 117 Uri uri = Uri.parse(entry.imageUri);
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
ShareIntentActivity.java | 113 for (final Uri imageUri : imageUris) { 114 final String actualContentType = extractContentType(imageUri, contentType); 115 addSharedImagePartToDraft(actualContentType, imageUri); 160 private void addSharedImagePartToDraft(final String contentType, final Uri imageUri) { 162 imageUri));
|
/packages/apps/Camera2/src/com/android/camera/ |
Storage.java | 256 * @param imageUri The content uri or session uri of the image being updated 269 public static Uri updateImage(Uri imageUri, ContentResolver resolver, String title, long date, 274 return updateImage(imageUri, resolver, title, date, location, orientation, jpeg.length, path, 395 private static Uri updateImage(Uri imageUri, ContentResolver resolver, String title, 404 Uri resultUri = imageUri; 405 if (Storage.isSessionUri(imageUri)) { 409 sSessionsToContentUris.put(imageUri, resultUri); 410 sContentUrisToSessions.put(resultUri, imageUri); 413 resolver.update(imageUri, values, null, null);
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
ImageList.java | 61 public ImageList(ContentResolver resolver, Uri imageUri, 63 super(resolver, imageUri, sort, bucketId);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
MenuItem.java | 83 return imageUri( 87 public Builder imageUri(String uri) {
|
MenuItemPresenter.java | 118 private void prepareImageView(final MenuItemViewHolder menuItemViewHolder, String imageUri) { 121 if (imageUri != null) { 137 .resource(Uri.parse(imageUri)).height(lp.height).width(lp.width).build();
|
BrowseInfo.java | 549 String imageUri = null; 552 imageUri = googleAccountIconUri(mContext); 555 imageUri = Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + "://" + 571 .imageUri(imageUri)
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
WallpaperCropActivity.java | 110 final Uri imageUri = cropIntent.getData(); 112 if (imageUri == null) { 127 cropImageAndSetWallpaper(imageUri, null, finishActivityWhenDone); 134 new BitmapRegionTileSource.UriBitmapSource(getContext(), imageUri);
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
TaskJpegEncode.java | 223 * @param imageUri URI of the saved image. 226 public void onUriResolved(long id, TaskImage input, TaskImage result, final Uri imageUri, 230 listener.onResultUri(job, imageUri);
|
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/ |
ContactDetailFragment.java | 600 Uri imageUri = Uri.withAppendedPath(contactUri, Photo.CONTENT_DIRECTORY); 604 afd = getActivity().getContentResolver().openAssetFileDescriptor(imageUri, "r");
|
/frameworks/support/recommendation/src/android/support/app/recommendation/ |
ContentRecommendation.java | 811 * @param imageUri A Content URI pointing to the recommendation background image. 814 public Builder setBackgroundImageUri(@Nullable String imageUri) { 815 mBuilderBackgroundImageUri = imageUri; [all...] |
/frameworks/base/core/java/android/app/ |
WallpaperManager.java | 663 * @param imageUri The image URI that will be set in the intent. The must be a content 669 public Intent getCropAndSetWallpaperIntent(Uri imageUri) { 670 if (imageUri == null) { 674 if (!ContentResolver.SCHEME_CONTENT.equals(imageUri.getScheme())) { 681 new Intent(ACTION_CROP_AND_SET_WALLPAPER, imageUri); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
GlobalScreenshot.java | 75 Uri imageUri; 84 imageUri = null; 288 params[0].imageUri = uri; 324 launchIntent.setDataAndType(params.imageUri, "image/png"); [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
WallpaperCropActivity.java | 94 final Uri imageUri = cropIntent.getData(); 96 if (imageUri == null) { 111 cropImageAndSetWallpaper(imageUri, null, finishActivityWhenDone); 118 new BitmapRegionTileSource.UriBitmapSource(this, imageUri, 1024); [all...] |
/packages/apps/Messaging/src/com/android/messaging/sms/ |
MmsUtils.java | 452 final Uri imageUri = messagePart.getContentUri(); 464 final int orientation = ImageUtils.getOrientation(context, imageUri); 465 int imageSize = getDataLength(context, imageUri); 493 part.setDataUri(imageUri); 497 width, height, orientation, imageUri, context, contentType); 661 * @param imageUri Uri to the image data 667 final int orientation, final Uri imageUri, final Context context, final String contentType) { 671 widthLimit, heightLimit, byteLimit, imageUri, context, contentType); 681 final String contentTypeOfResizedImage = ImageUtils.isGif(contentType, imageUri) [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
AppsBrowseInfo.java | 231 .imageUri(getAppIconUri(mContext, info))
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
ImageUtils.java | [all...] |
/prebuilts/maven_repo/android/com/android/databinding/adapters/1.0-rc1/ |
adapters-1.0-rc1.jar | |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/21/ |
android.jar | |