Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DCameraComposerFragment.java79 private int cameraDirection = CameraInfo.CAMERA_FACING_BACK; field in CameraComposerFragment
124 cameraDirection = bundle.getInt(CAMERA_DIRECTION_KEY); in onCreateView()
139 CameraManager.get().selectCamera(cameraDirection); in setupCamera()
180 cameraDirection = CameraManager.get().getCameraInfo().facing; in onClick()
340 previewImageView.setScaleX(cameraDirection == CameraInfo.CAMERA_FACING_FRONT ? -1 : 1); in updateViewState()
345 if (cameraDirection == CameraInfo.CAMERA_FACING_FRONT) { in updateViewState()
383 outState.putInt(CAMERA_DIRECTION_KEY, cameraDirection); in onSaveInstanceState()
/packages/apps/Dialer/java/com/android/incallui/call/
DDialerCall.java182 private int cameraDirection = CameraDirection.CAMERA_DIRECTION_UNKNOWN; field in DialerCall
525 return cameraDirection; in getCameraDir()
531 cameraDirection = cameraDir; in setCameraDir()
533 cameraDirection = CameraDirection.CAMERA_DIRECTION_UNKNOWN; in setCameraDir()