Home
last modified time | relevance | path

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

12

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DVideoCallTests.java174 assertTrue(VideoProfile.isVideo(call.getVideoStateHistory())); in testIncomingVideoCallMissedCheckVideoHistory()
191 assertTrue(VideoProfile.isVideo(call.getVideoStateHistory())); in testIncomingVideoCallRejectedCheckVideoHistory()
210 assertTrue(VideoProfile.isVideo(call.getVideoStateHistory())); in testOutgoingVideoCallCanceledCheckVideoHistory()
228 assertTrue(VideoProfile.isVideo(call.getVideoStateHistory())); in testOutgoingVideoCallRejectedCheckVideoHistory()
249 assertFalse(VideoProfile.isVideo(call.getVideoStateHistory())); in testOutgoingVideoCallAnsweredAsAudio()
/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/java/com/android/incallui/
DCallButtonPresenter.java449 final boolean isVideo = call.isVideoCall(); in updateButtonsState()
473 final boolean showUpgradeToVideo = !isVideo && (hasVideoCallCapabilities(call)); in updateButtonsState()
474 final boolean showDowngradeToAudio = isVideo && isDowngradeToAudioSupported(call); in updateButtonsState()
478 isVideo && VideoUtils.hasCameraPermissionAndShownPrivacyToast(context); in updateButtonsState()
481 isVideo in updateButtonsState()
511 isVideo && hasCameraPermission && call.getVideoTech().isTransmitting()); in updateButtonsState()
513 if (isVideo) { in updateButtonsState()
/packages/services/Telecomm/src/com/android/server/telecom/
DAnalytics.java196 public void setCallIsVideo(boolean isVideo) { in setCallIsVideo() argument
240 public boolean isVideo = false; field in Analytics.CallInfoImpl
271 this.isVideo = other.isVideo; in CallInfoImpl()
350 public void setCallIsVideo(boolean isVideo) { in setCallIsVideo() argument
351 this.isVideo = isVideo; in setCallIsVideo()
403 + " isVideoCall: " + isVideo + '\n' in toString()
477 .setIsVideoCall(isVideo) in toProto()
DVideoProviderProxy.java168 && VideoProfile.isVideo(videoProfile.getVideoState())) { in receiveSessionModifyRequest()
441 if (!VideoProfile.isVideo(fromProfile.getVideoState()) in onSendSessionModifyRequest()
442 && VideoProfile.isVideo(toProfile.getVideoState())) { in onSendSessionModifyRequest()
DCallsManager.java1122 if (VideoProfile.isVideo(call.getVideoState())) { in hasVideoCall()
1294 if (isSpeakerEnabledForVideoCalls() && VideoProfile.isVideo(videoState)) { in processIncomingCallIntent()
1474 if (VideoProfile.isVideo(videoState)) { in startOutgoingCall()
1506 VideoProfile.isVideo(finalVideoState), in startOutgoingCall()
1835 PhoneAccountHandle targetPhoneAccountHandle, Uri handle, boolean isVideo, in findOutgoingCallPhoneAccount() argument
1837 return findOutgoingCallPhoneAccount(targetPhoneAccountHandle, handle, isVideo, in findOutgoingCallPhoneAccount()
1842 PhoneAccountHandle targetPhoneAccountHandle, Uri handle, boolean isVideo, in findOutgoingCallPhoneAccount() argument
1852 accounts = constructPossiblePhoneAccounts(handle, initiatingUser, isVideo, isEmergency, in findOutgoingCallPhoneAccount()
1854 if (isVideo && accounts.size() == 0) { in findOutgoingCallPhoneAccount()
2397 return VideoProfile.isVideo(videoState) &&
[all …]
/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/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/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/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/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)) {
/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/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()
DMpegTsSampleExtractor.java254 if (MimeTypes.isVideo(mime) && mVideoTrackIndex == -1) { in onPrepared()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DIncomingCallNotifier.java218 boolean isIncomingVideo = VideoProfile.isVideo(incomingCall.getVideoState()); in getNotificationBuilder()
220 VideoProfile.isVideo(ongoingCall.getVideoState()) : false; in getNotificationBuilder()
/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
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DDraftMessageData.java460 if (part.isVideo()) { in getVideoAttachmentCount()
465 if (part.isVideo()) { in getVideoAttachmentCount()
/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/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsSampleExtractor.java138 if (MimeTypes.isVideo(mime) && mVideoTrackIndex == -1) { in prepare()

12