Lines Matching refs:image
227 IImage image = getCurrentImage();
228 if (image != null) {
229 return image.fullSizeImageUri();
261 IImage image = getCurrentImage();
262 if (image != null) {
282 // Return if the image file is not available.
340 // image as the Action rather than the Data.
532 // TODO: Only enable slide show if there is at least one image in
543 IImage image = getCurrentImage();
544 return (image != null) && ImageManager.isVideo(image);
548 return type.equals("vnd.android.cursor.dir/image")
549 || type.equals("image/*");
557 // According to the intent, setup what we include (image/video) in the
605 // Returns the image list parameter which contains the subset of image/video
624 private void toggleMultiSelected(IImage image) {
626 if (!mMultiSelected.add(image)) {
627 mMultiSelected.remove(image);
641 IImage image = mAllImages.getImageAt(index);
644 toggleMultiSelected(image);
649 launchCropperOrFinish(image);
652 if (image instanceof VideoObject) {
654 Intent.ACTION_VIEW, image.fullSizeImageUri());
660 intent.setData(image.fullSizeImageUri());
689 IImage image = getCurrentImage();
691 if (image == null) {
695 boolean isImage = ImageManager.isImage(image);
730 r.gettingReadyToOpen(menu, image);
735 menu, MenuHelper.hasLatLngData(image));
745 IImage image = mAllImages.getImageForUri(mCropResultUri);
747 if (image != null) {
748 mSelectedIndex = mAllImages.getImageIndex(image);
786 public void drawImage(Canvas canvas, IImage image,
789 // if the image is close to the target size then crop,
815 Bitmap error = getErrorBitmap(image);
825 if (ImageManager.isVideo(image)) {
827 long size = MenuHelper.getImageFileSize(image);
858 public void drawDecoration(Canvas canvas, IImage image,
863 Drawable checkBox = mMultiSelected.contains(image)
892 public Bitmap getErrorBitmap(IImage image) {
893 if (ImageManager.isImage(image)) {
935 for (IImage image : mMultiSelected) {
936 flag |= ImageManager.isImage(image) ? FLAG_IMAGE : FLAG_VIDEO;
939 ? "image/*"
952 for (IImage image : mMultiSelected) {
953 list.add(image.fullSizeImageUri());
964 IImage image = mMultiSelected.iterator().next();
967 String mimeType = image.getMimeType();
969 intent.putExtra(Intent.EXTRA_STREAM, image.fullSizeImageUri());
970 boolean isImage = ImageManager.isImage(image);
988 for (IImage image : mMultiSelected) {
989 uriList.add(image.fullSizeImageUri());