Home
last modified time | relevance | path

Searched refs:isVideo (Results 1 – 25 of 40) 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.java454 final boolean isVideo = call.isVideoCall(); in updateButtonsState()
478 final boolean showUpgradeToVideo = !isVideo && (hasVideoCallCapabilities(call)); in updateButtonsState()
479 final boolean showDowngradeToAudio = isVideo && isDowngradeToAudioSupported(call); in updateButtonsState()
483 isVideo && VideoUtils.hasCameraPermissionAndShownPrivacyToast(context); in updateButtonsState()
486 isVideo in updateButtonsState()
516 isVideo && hasCameraPermission && call.getVideoTech().isTransmitting()); in updateButtonsState()
518 if (isVideo) { in updateButtonsState()
DExternalCallNotifier.java230 boolean isVideoCall = VideoProfile.isVideo(info.getCall().getDetails().getVideoState()); in postNotification()
/packages/services/Telecomm/src/com/android/server/telecom/
DAnalytics.java193 public void setCallIsVideo(boolean isVideo) { in setCallIsVideo() argument
236 public boolean isVideo = false; field in Analytics.CallInfoImpl
267 this.isVideo = other.isVideo; in CallInfoImpl()
346 public void setCallIsVideo(boolean isVideo) { in setCallIsVideo() argument
347 this.isVideo = isVideo; in setCallIsVideo()
396 + " isVideoCall: " + isVideo + '\n' in toString()
470 .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.java1007 if (VideoProfile.isVideo(call.getVideoState())) { in hasVideoCall()
1162 if (isSpeakerEnabledForVideoCalls() && VideoProfile.isVideo(videoState)) { in processIncomingCallIntent()
1313 if (VideoProfile.isVideo(videoState)) { in startOutgoingCall()
1345 VideoProfile.isVideo(finalVideoState), initiatingUser), in startOutgoingCall()
1626 PhoneAccountHandle targetPhoneAccountHandle, Uri handle, boolean isVideo, in findOutgoingCallPhoneAccount() argument
1635 accounts = constructPossiblePhoneAccounts(handle, initiatingUser, isVideo); in findOutgoingCallPhoneAccount()
1636 if (isVideo && accounts.size() == 0) { in findOutgoingCallPhoneAccount()
1987 return VideoProfile.isVideo(videoState) &&
2210 boolean isVideo) {
2218 isVideo ? PhoneAccount.CAPABILITY_VIDEO_CALLING : 0 /* any */);
[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()
157 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()
415 } else if (part.isVideo()) { in updateViewContent()
443 } else if (part.isVideo()) { in getAttachmentBitmap()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DSampleChunkIoHelper.java199 } else if (MimeTypes.isVideo(mMediaFormats.get(i).mimeType)) { in init()
307 } else if (MimeTypes.isVideo(mMediaFormats.get(i).mimeType)) { in release()
389 && (MimeTypes.isVideo(mMediaFormats.get(index).mimeType) in doOpenWrite()
491 && (MimeTypes.isVideo(mMediaFormats.get(index).mimeType) 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.java449 VideoProfile.isVideo(videoState)), null)
629 private String getDummyNumber(boolean isVideo) {
630 int videoDigit = isVideo ? 1 : 0;
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DIncomingCallNotifier.java209 boolean isIncomingVideo = VideoProfile.isVideo(incomingCall.getVideoState()); in getNotificationBuilder()
211 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/
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/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.java123 if (MimeTypes.isVideo(mime) && mVideoTrackIndex == -1) { in prepare()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleNotifications.java726 final boolean isVideo = ContentType.isVideoType(attachmentType); in sendNotification()
729 if (isVideo) { in sendNotification()

12