Home
last modified time | relevance | path

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

123

/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DCloudProviderQueryExtras.java86 long sizeBytes, long generation, int limit, boolean isFavorite, boolean isVideo, in CloudProviderQueryExtras() argument
97 mIsVideo = isVideo; in CloudProviderQueryExtras()
126 final boolean isVideo = isVideo(albumId); in fromMediaStoreBundle()
141 generation, limit, isFavorite, isVideo, isLocalOnly, pageSize, dateTakenBeforeMs, in fromMediaStoreBundle()
162 final boolean isVideo = BOOLEAN_DEFAULT; in fromCloudMediaBundle()
176 generation, limit, isFavorite, isVideo, isLocalOnly, pageSize, dateTakenBeforeMs, in fromCloudMediaBundle()
218 private static boolean isVideo(String albumId) { in isVideo() method in CloudProviderQueryExtras
226 return isFavorite(albumId) || isVideo(albumId); in isMergedAlbum()
253 public boolean isVideo() { in isVideo() method in CloudProviderQueryExtras
DPickerDbFacade.java725 boolean isVideo, boolean isLocalOnly, boolean shouldScreenSelectionUris, in QueryFilter() argument
736 this.mIsVideo = isVideo; in QueryFilter()
858 public QueryFilterBuilder setIsVideo(boolean isVideo) { in setIsVideo() argument
859 this.mIsVideo = isVideo; in setIsVideo()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/model/
DItemTest.java79 assertThat(item.isVideo()).isFalse(); in testConstructor()
108 assertThat(item.isVideo()).isFalse(); in testConstructor_differentUser()
124 assertThat(item.isVideo()).isFalse(); in testIsImage()
138 assertThat(item.isVideo()).isTrue(); in testIsVideo()
159 assertThat(item.isVideo()).isFalse(); in testIsMotionPhoto()
177 assertThat(gifItem.isVideo()).isFalse(); in testIsGifOrAnimatedWebp()
187 assertThat(animatedWebpItem.isVideo()).isFalse(); in testIsGifOrAnimatedWebp()
203 assertThat(item.isVideo()).isFalse(); in testIsGifDoesNotUseMimeType()
/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/services/Telecomm/tests/src/com/android/server/telecom/tests/
DVideoCallTests.java176 assertTrue(VideoProfile.isVideo(call.getVideoStateHistory())); in testIncomingVideoCallMissedCheckVideoHistory()
193 assertTrue(VideoProfile.isVideo(call.getVideoStateHistory())); in testIncomingVideoCallRejectedCheckVideoHistory()
212 assertTrue(VideoProfile.isVideo(call.getVideoStateHistory())); in testOutgoingVideoCallCanceledCheckVideoHistory()
230 assertTrue(VideoProfile.isVideo(call.getVideoStateHistory())); in testOutgoingVideoCallRejectedCheckVideoHistory()
251 assertFalse(VideoProfile.isVideo(call.getVideoStateHistory())); in testOutgoingVideoCallAnsweredAsAudio()
/packages/apps/Dialer/java/com/android/incallui/
DCallButtonPresenter.java453 final boolean isVideo = call.isVideoCall(); in updateButtonsState()
477 final boolean showUpgradeToVideo = !isVideo && (hasVideoCallCapabilities(call)); in updateButtonsState()
478 final boolean showDowngradeToAudio = isVideo && isDowngradeToAudioSupported(call); in updateButtonsState()
482 isVideo && VideoUtils.hasCameraPermissionAndShownPrivacyToast(context); in updateButtonsState()
485 isVideo in updateButtonsState()
515 isVideo && hasCameraPermission && call.getVideoTech().isTransmitting()); in updateButtonsState()
517 if (isVideo) { in updateButtonsState()
/packages/apps/Dialer/java/com/android/incallui/videotech/ims/
DImsVideoCallCallback.java65 boolean wasVideoCall = VideoProfile.isVideo(previousVideoState); in onSessionModifyRequestReceived()
66 boolean isVideoCall = VideoProfile.isVideo(newVideoState); in onSessionModifyRequestReceived()
163 if (VideoProfile.isVideo(call.getDetails().getVideoState())) { in getSessionModificationStateFromTelecomStatus()
DImsVideoTech.java69 if (VideoProfile.isVideo(call.getDetails().getVideoState())) { in isAvailable()
97 return VideoProfile.isVideo(call.getDetails().getVideoState()); in isTransmittingOrReceiving()
/packages/services/Telecomm/src/com/android/server/telecom/
DAnalytics.java207 public void setCallIsVideo(boolean isVideo) { in setCallIsVideo() argument
254 public boolean isVideo = false; field in Analytics.CallInfoImpl
287 this.isVideo = other.isVideo; in CallInfoImpl()
374 public void setCallIsVideo(boolean isVideo) { in setCallIsVideo() argument
375 this.isVideo = isVideo; in setCallIsVideo()
428 + " isVideoCall: " + isVideo + '\n' in toString()
502 .setIsVideoCall(isVideo) in toProto()
DVideoProviderProxy.java169 && VideoProfile.isVideo(videoProfile.getVideoState())) { in receiveSessionModifyRequest()
448 if (!VideoProfile.isVideo(fromProfile.getVideoState()) in onSendSessionModifyRequest()
449 && VideoProfile.isVideo(toProfile.getVideoState())) { in onSendSessionModifyRequest()
DCallsManager.java1463 if (VideoProfile.isVideo(call.getVideoState())) { in hasVideoCall()
1678 if (isSpeakerEnabledForVideoCalls() && VideoProfile.isVideo(videoState)) { in processIncomingCallIntent()
1983 if (VideoProfile.isVideo(videoState)) { in startOutgoingCall()
2015 VideoProfile.isVideo(finalVideoState), in startOutgoingCall()
2570 PhoneAccountHandle targetPhoneAccountHandle, Uri handle, boolean isVideo, in findOutgoingCallPhoneAccount() argument
2572 return findOutgoingCallPhoneAccount(targetPhoneAccountHandle, handle, isVideo, in findOutgoingCallPhoneAccount()
2577 PhoneAccountHandle targetPhoneAccountHandle, Uri handle, boolean isVideo, in findOutgoingCallPhoneAccount() argument
2587 accounts = constructPossiblePhoneAccounts(handle, initiatingUser, isVideo, isEmergency, in findOutgoingCallPhoneAccount()
2589 if (isVideo && accounts.size() == 0) { in findOutgoingCallPhoneAccount()
3209 return VideoProfile.isVideo(videoState) &&
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/
DPreviewAdapter.java79 if (item.isVideo()) { in onViewAttachedToWindow()
92 if (mItemList.get(position).isVideo()) { in getItemViewType()
DMediaItemGridViewHolder.java117 if (item.isVideo()) { in bind()
212 || item.isVideo() in showShowOverlayGradient()
/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()
416 } else if (part.isVideo()) { in updateViewContent()
444 } 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()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DSampleChunkIoHelper.java222 } else if (MimeTypes.isVideo(mMediaFormats.get(i).mimeType)) { in init()
339 } else if (MimeTypes.isVideo(mMediaFormats.get(i).mimeType)) { in release()
420 && (MimeTypes.isVideo(mMediaFormats.get(index).mimeType) in doOpenWrite()
517 && (MimeTypes.isVideo(mMediaFormats.get(index).mimeType) in doWrite()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/model/
DItem.java104 public boolean isVideo() { in isVideo() method in Item
188 if (isVideo()) { in getContentDescription()
/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
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DSampleChunkIoHelper.java214 } else if (MimeTypes.isVideo(mFormats.get(i).sampleMimeType)) { in init()
373 } else if (MimeTypes.isVideo(mFormats.get(i).sampleMimeType)) { in release()
465 && (MimeTypes.isVideo(mFormats.get(index).sampleMimeType) in doOpenWrite()
562 && (MimeTypes.isVideo(mFormats.get(index).sampleMimeType) in doWrite()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestConnectionService.java435 VideoProfile.isVideo(videoState)), null)
615 private String getRandomNumber(boolean isVideo) {
616 int videoDigit = isVideo ? 1 : 0;
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DIncomingCallNotifier.java223 boolean isIncomingVideo = VideoProfile.isVideo(incomingCall.getVideoState()); in getNotificationBuilder()
225 VideoProfile.isVideo(ongoingCall.getVideoState()) : false; in getNotificationBuilder()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/
DFileSampleExtractor.java116 Format videoFormat = Iterables.find(formats, f -> MimeTypes.isVideo(f.sampleMimeType)); in handlePrepare()
180 } else if(MimeTypes.isVideo(mimeType)) { in createFormat()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DDraftMessageData.java460 if (part.isVideo()) { in getVideoAttachmentCount()
465 if (part.isVideo()) { in getVideoAttachmentCount()

123