Home
last modified time | relevance | path

Searched refs:isCameraRequired (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Dialer/java/com/android/incallui/
DVideoCallPresenter.java151 private static boolean isCameraRequired(int videoState, int sessionModificationState) { in isCameraRequired() method in VideoCallPresenter
425 enableCamera(primaryCall, isCameraRequired()); in onCameraPermissionGranted()
771 private boolean isCameraRequired() { in isCameraRequired() method in VideoCallPresenter
773 && isCameraRequired( in isCameraRequired()
817 call, isCameraRequired(newVideoState, call.getVideoTech().getSessionModificationState())); in adjustVideoMode()
846 private void enableCamera(DialerCall call, boolean isCameraRequired) { in enableCamera() argument
847 LogUtil.v("VideoCallPresenter.enableCamera", "call: %s, enabling: %b", call, isCameraRequired); in enableCamera()
858 } else if (isCameraRequired) { in enableCamera()
1185 } else if (previewSurfaceState == PreviewSurfaceState.NONE && isCameraRequired()) { in onSurfaceCreated()