Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalAlbum.java62 boolean isImage, String name) { in LocalAlbum() argument
68 mIsImage = isImage; in LocalAlbum()
70 if (isImage) { in LocalAlbum()
90 boolean isImage) { in LocalAlbum() argument
91 this(path, application, bucketId, isImage, in LocalAlbum()
145 DataManager dataManager, GalleryApp app, boolean isImage) { in loadOrUpdateItem() argument
149 if (isImage) { in loadOrUpdateItem()
163 GalleryApp application, boolean isImage, ArrayList<Integer> ids) { in getMediaItemById() argument
174 if (isImage) { in getMediaItemById()
213 application, isImage); in getMediaItemById()
DLocalSource.java213 ItemConsumer consumer, boolean isImage) { in processMapMediaItems() argument
236 mApplication, isImage, ids); in processMapMediaItems()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/model/
DItemTest.java70 assertThat(item.isImage()).isTrue(); in testConstructor()
98 assertThat(item.isImage()).isTrue(); in testConstructor_differentUser()
115 assertThat(item.isImage()).isTrue(); in testIsImage()
135 assertThat(item.isImage()).isFalse(); in testIsVideo()
151 assertThat(item.isImage()).isTrue(); in testIsMotionPhoto()
170 assertThat(gifItem.isImage()).isTrue(); in testIsGifOrAnimatedWebp()
181 assertThat(animatedWebpItem.isImage()).isTrue(); in testIsGifOrAnimatedWebp()
198 assertThat(item.isImage()).isTrue(); in testIsGifDoesNotUseMimeType()
/packages/apps/Gallery/src/com/android/camera/
DImageGallery.java691 boolean isImage = ImageManager.isImage(image);
692 if (isImage) {
704 menu.setHeaderTitle(isImage
729 if (isImage) {
889 if (ImageManager.isImage(image)) {
932 flag |= ImageManager.isImage(image) ? FLAG_IMAGE : FLAG_VIDEO;
966 boolean isImage = ImageManager.isImage(image);
969 isImage ? R.string.sendImage : R.string.sendVideo)));
971 Toast.makeText(this, isImage
DMenuHelper.java408 if (ImageManager.isImage(image)) { in onDetailsClicked()
534 boolean isImage = ImageManager.isImage(image); in onImageShareClicked()
537 activity.getText(isImage in onImageShareClicked()
541 Toast.makeText(activity, isImage in onImageShareClicked()
739 list = ImageManager.isImage(image) ? enableList : disableList; in addImageMenuItems()
768 deleteImpl(activity, onDelete, ImageManager.isImage(image));
772 Activity activity, Runnable onDelete, boolean isImage) {
780 String message = activity.getString(isImage
DImageManager.java180 public static boolean isImage(IImage image) { in isImage() method in ImageManager
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMessagePartData.java312 public boolean isImage() { in isImage() method in MessagePartData
470 if (isImage()) { in decodeAndSaveSizeIfImage()
501 } else if (isImage()) { in getMinimumSizeInBytesForSending()
/packages/apps/Messaging/src/com/android/messaging/widget/
DWidgetConversationService.java185 if (part.isImage() || videoWithThumbnail) { in getViewAt()
414 if (part.isImage()) { in updateViewContent()
438 if (part.isImage()) { in getAttachmentBitmap()
/packages/apps/Camera2/src/com/android/camera/data/
DMetadataLoader.java41 if (data.getAttributes().isImage()) { in loadMetadata()
DFilmstripItemAttributes.java80 public boolean isImage() { in isImage() method in FilmstripItemAttributes
/packages/apps/Tag/src/com/android/apps/tag/record/
DImageRecord.java69 public static boolean isImage(NdefRecord record) { in isImage() method in ImageRecord
/packages/apps/Tag/src/com/android/apps/tag/message/
DNdefMessageParser.java60 } else if (ImageRecord.isImage(record)) { in getRecords()
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/
DAttachmentGridView.java67 if (attachment.isImage()) { in onItemClicked()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/model/
DItem.java82 public boolean isImage() { in isImage() method in Item
/packages/apps/Messaging/src/com/android/messaging/ui/
DAttachmentPreview.java337 if (!(attachment instanceof PendingAttachmentData) && attachment.isImage()) { in onAttachmentClick()
/packages/apps/Messaging/src/com/android/messaging/sms/
DDatabaseMessages.java818 public boolean isImage() { in isImage() method in DatabaseMessages.MmsPart
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DComposeMessageView.java776 if (attachment.isImage()) { in updateVisualsOnDraftChanged()
DConversationMessageView.java1096 return part.isImage();
DConversationFragment.java1271 if (attachment.isImage()) { in onAttachmentClick()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessageNotificationState.java1005 if (messagePartData.isImage() && imagePart == null) { in getMostInterestingAttachment()