Home
last modified time | relevance | path

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

12

/packages/apps/Dialer/java/com/android/incallui/
DCallButtonPresenter.java396 final boolean isVideo = call.isVideoCall(); in updateButtonsState()
412 final boolean showUpgradeToVideo = !isVideo && (hasVideoCallCapabilities(call)); in updateButtonsState()
413 final boolean showDowngradeToAudio = isVideo && isDowngradeToAudioSupported(call); in updateButtonsState()
417 isVideo && VideoUtils.hasCameraPermissionAndShownPrivacyToast(mContext); in updateButtonsState()
420 isVideo in updateButtonsState()
434 InCallButtonIds.BUTTON_SWITCH_CAMERA, isVideo && hasCameraPermission); in updateButtonsState()
436 if (isVideo) { in updateButtonsState()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DVideoCallTests.java145 assertTrue(VideoProfile.isVideo(call.getVideoStateHistory())); in testIncomingVideoCallMissedCheckVideoHistory()
161 assertTrue(VideoProfile.isVideo(call.getVideoStateHistory())); in testIncomingVideoCallRejectedCheckVideoHistory()
179 assertTrue(VideoProfile.isVideo(call.getVideoStateHistory())); in testOutgoingVideoCallCanceledCheckVideoHistory()
196 assertTrue(VideoProfile.isVideo(call.getVideoStateHistory())); in testOutgoingVideoCallRejectedCheckVideoHistory()
216 assertFalse(VideoProfile.isVideo(call.getVideoStateHistory())); in testOutgoingVideoCallAnsweredAsAudio()
/packages/services/Telecomm/src/com/android/server/telecom/
DAnalytics.java181 public void setCallIsVideo(boolean isVideo) { in setCallIsVideo() argument
221 public boolean isVideo = false; field in Analytics.CallInfoImpl
251 this.isVideo = other.isVideo; in CallInfoImpl()
323 public void setCallIsVideo(boolean isVideo) { in setCallIsVideo() argument
324 this.isVideo = isVideo; in setCallIsVideo()
367 + " isVideoCall: " + isVideo + '\n' in toString()
438 .setIsVideoCall(isVideo) in toProto()
DCall.java1220 if (!mIsVideoCallingSupported && VideoProfile.isVideo(getVideoState())) { in checkIfVideoCapable()
1686 if (!isVideoCallingSupported() && VideoProfile.isVideo(videoState)) { in answer()
2534 if (VideoProfile.isVideo(videoState)) { in setVideoState()
DCallsManager.java780 if (VideoProfile.isVideo(call.getVideoState())) { in hasVideoCall()
934 if (isSpeakerEnabledForVideoCalls() && VideoProfile.isVideo(videoState)) { in processIncomingCallIntent()
1083 if (VideoProfile.isVideo(videoState)) { in startOutgoingCall()
1386 return VideoProfile.isVideo(videoState) && in isSpeakerphoneAutoEnabledForVideoCalls()
DVideoProviderProxy.java157 VideoProfile.isVideo(videoProfile.getVideoState())) { in receiveSessionModifyRequest()
/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/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/Dialer/java/com/android/incallui/videotech/ims/
DImsVideoCallCallback.java61 boolean wasVideoCall = VideoProfile.isVideo(previousVideoState); in onSessionModifyRequestReceived()
62 boolean isVideoCall = VideoProfile.isVideo(newVideoState); in onSessionModifyRequestReceived()
146 if (VideoProfile.isVideo(call.getDetails().getVideoState())) { in getSessionModificationStateFromTelecomStatus()
DImsVideoTech.java69 if (VideoProfile.isVideo(call.getDetails().getVideoState())) { in isAvailable()
93 return VideoProfile.isVideo(call.getDetails().getVideoState()); in isTransmittingOrReceiving()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestConnectionService.java421 VideoProfile.isVideo(videoState)), null)
563 private String getDummyNumber(boolean isVideo) {
564 int videoDigit = isVideo ? 1 : 0;
/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/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/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/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/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/src/com/android/tv/tuner/exoplayer/
DMpegTsSampleExtractor.java113 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()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnection.java1000 boolean isVideoCall = VideoProfile.isVideo(getVideoState()); in hasHighDefAudioProperty()
1748 boolean isVideoCall = VideoProfile.isVideo(getVideoState()); in refreshConferenceSupported()

12