Home
last modified time | relevance | path

Searched refs:isVideo (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DSecureAlbum.java66 public void addMediaItem(boolean isVideo, int id) { in addMediaItem() argument
68 if (isVideo) { in addMediaItem()
80 mAllItemTypes.add(isVideo); in addMediaItem()
178 boolean isVideo = mAllItemTypes.get(i); in updateExistingItems()
180 if (isVideo) { in updateExistingItems()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DCallButtonPresenter.java370 final boolean isVideo = VideoUtils.isVideoCall(call); in updateButtonsState()
387 final boolean showUpgradeToVideo = !isVideo && hasVideoCallCapabilities(call); in updateButtonsState()
388 final boolean showDowngradeToAudio = isVideo && isDowngradeToAudioSupported(call); in updateButtonsState()
399 ui.showButton(BUTTON_SWITCH_CAMERA, isVideo); in updateButtonsState()
400 ui.showButton(BUTTON_PAUSE_VIDEO, isVideo); in updateButtonsState()
/packages/apps/Messaging/src/com/android/messaging/widget/
DWidgetConversationService.java182 final boolean videoWithThumbnail = part.isVideo() in getViewAt()
188 remoteViews.setViewVisibility(R.id.playButton, part.isVideo() ? in getViewAt()
197 } else if (part.isVideo()) { in getViewAt()
415 } else if (part.isVideo()) { in updateViewContent()
443 } else if (part.isVideo()) { in getAttachmentBitmap()
/packages/apps/Gallery/src/com/android/camera/
DBitmapManager.java139 BitmapFactory.Options options, boolean isVideo) { in getThumbnail() argument
152 if (isVideo) { in getThumbnail()
DViewImage.java984 boolean isVideo = image instanceof VideoObject; in startShareMediaActivity()
991 isVideo ? R.string.sendVideo : R.string.sendImage))); in startShareMediaActivity()
993 Toast.makeText(this, isVideo in startShareMediaActivity()
DImageGallery.java544 return (image != null) && ImageManager.isVideo(image);
820 if (ImageManager.isVideo(image)) {
DImageManager.java187 public static boolean isVideo(IImage image) { in isVideo() method in ImageManager
DGalleryPicker.java689 if (ImageManager.isVideo(image)) { in makeMiniThumbBitmap()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestConnectionService.java358 VideoProfile.isVideo(videoState)), null) in onCreateIncomingConnection()
504 private String getDummyNumber(boolean isVideo) { in getDummyNumber() argument
505 int videoDigit = isVideo ? 1 : 0; in getDummyNumber()
/packages/apps/Camera2/src/com/android/camera/data/
DMetadataLoader.java46 } else if (data.getAttributes().isVideo()) { in loadMetadata()
DFilmstripItemAttributes.java84 public boolean isVideo() { in isVideo() method in FilmstripItemAttributes
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAppBridge.java67 public void addSecureAlbumItem(boolean isVideo, int id); in addSecureAlbumItem() argument
DSinglePhotoDataAdapter.java225 public boolean isVideo(int offset) { in isVideo() method in SinglePhotoDataAdapter
DPhotoPage.java942 public void addSecureAlbumItem(boolean isVideo, int id) { in addSecureAlbumItem() argument
943 mSecureAlbum.addMediaItem(isVideo, id); in addSecureAlbumItem()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMessagePartData.java315 public boolean isVideo() { in isVideo() method in MessagePartData
499 } else if (isVideo()) { in getMinimumSizeInBytesForSending()
DDraftMessageData.java448 if (part.isVideo()) { in getVideoAttachmentCount()
453 if (part.isVideo()) { in getVideoAttachmentCount()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/
DMpegTsSampleSourceExtractor.java105 if (MimeTypes.isVideo(mime) && mVideoTrackIndex == -1) { in prepare()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoView.java93 public boolean isVideo(int offset); in isVideo() method
609 mIsVideo = mModel.isVideo(0); in reload()
791 mIsVideo = mModel.isVideo(mIndex); in reload()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/cache/
DRecordingSampleBuffer.java399 else if (MimeTypes.isVideo(mime)) { in release()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallLogManager.java288 if (VideoProfile.isVideo(videoState)) { in getCallFeatures()
DCallsManager.java620 if (VideoProfile.isVideo(call.getVideoState())) { in hasVideoCall()
797 if (call.isEmergencyCall() && VideoProfile.isVideo(videoState)) { in startOutgoingCall()
1043 return VideoProfile.isVideo(videoState) && in isSpeakerphoneAutoEnabled()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleNotifications.java726 final boolean isVideo = ContentType.isVideoType(attachmentType); in sendNotification()
729 if (isVideo) { in sendNotification()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java285 if (VideoProfile.isVideo(request.getVideoState()) && isTtyModeEnabled(context) && in onCreateOutgoingConnection()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomSystemTest.java723 if (!VideoProfile.isVideo(videoState)) { in startAndMakeActiveIncomingCall()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java2125 boolean isVideo) { in matchThumbRequest() argument
2131 (req.mIsVideo == isVideo); in matchThumbRequest()
2162 boolean isVideo = "video".equals(uri.getPathSegments().get(1)); in queryThumbnail()
2177 matchThumbRequest(mCurrentThumbRequest, pid, id, gid, isVideo)) { in queryThumbnail()
2184 if (matchThumbRequest(mtq, pid, id, gid, isVideo)) { in queryThumbnail()

12