Lines Matching refs:primaryCall
95 private DialerCall primaryCall; field in VideoCallPresenter
328 if (sourceVideoDimensions != null && primaryCall != null) { in onVideoCallScreenUiReady()
329 int width = primaryCall.getPeerDimensionWidth(); in onVideoCallScreenUiReady()
330 int height = primaryCall.getPeerDimensionHeight(); in onVideoCallScreenUiReady()
334 onUpdatePeerDimensions(primaryCall, width, height); in onVideoCallScreenUiReady()
361 if (primaryCall != null) { in onVideoCallScreenUiUnready()
362 updateCameraSelection(primaryCall); in onVideoCallScreenUiUnready()
378 maybeAutoEnterFullscreen(primaryCall); in onSurfaceClick()
393 maybeAutoEnterFullscreen(primaryCall); in onSystemUiVisibilityChange()
425 enableCamera(primaryCall, isCameraRequired()); in onCameraPermissionGranted()
427 primaryCall.getVideoState(), in onCameraPermissionGranted()
428 primaryCall.getState(), in onCameraPermissionGranted()
429 primaryCall.getVideoTech().getSessionModificationState(), in onCameraPermissionGranted()
430 primaryCall.isRemotelyHeld()); in onCameraPermissionGranted()
526 final boolean primaryChanged = !Objects.equals(primaryCall, primary); in onStateChange()
532 primaryCall); in onStateChange()
535 } else if (primaryCall != null) { in onStateChange()
556 if (primaryCall != null) { in onFullscreenModeChanged()
558 primaryCall.getState(), primaryCall.getVideoTech().getSessionModificationState()); in onFullscreenModeChanged()
662 primaryCall = null; in updateCallCache()
667 primaryCall = call; in updateCallCache()
685 primaryCall); in onDetailsChanged()
690 if (!call.equals(primaryCall)) { in onDetailsChanged()
772 return primaryCall != null in isCameraRequired()
774 primaryCall.getVideoState(), primaryCall.getVideoTech().getSessionModificationState()); in isCameraRequired()
877 enableCamera(primaryCall, false); in exitVideoMode()
929 if (!call.equals(primaryCall)) { in onUpdatePeerDimensions()
963 if (!call.equals(primaryCall)) { in onCameraDimensionsChange()
1095 if (primaryCall == null) { in shouldShowCameraPermissionToast()
1099 if (primaryCall.didShowCameraPermission()) { in shouldShowCameraPermissionToast()
1116 if (primaryCall != null) { in onCameraPermissionDialogShown()
1117 primaryCall.setDidShowCameraPermission(true); in onCameraPermissionDialogShown()
1186 enableCamera(primaryCall, true); in onSurfaceCreated()
1198 enableCamera(primaryCall, false); in onSurfaceReleased()
1210 enableCamera(primaryCall, false); in onSurfaceDestroyed()