Home
last modified time | relevance | path

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

/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java281 private int mSensorOrientation; field in Camera2BasicFragment
524 mSensorOrientation = characteristics.get(CameraCharacteristics.SENSOR_ORIENTATION); in setUpCameraOutputs()
529 if (mSensorOrientation == 90 || mSensorOrientation == 270) { in setUpCameraOutputs()
535 if (mSensorOrientation == 0 || mSensorOrientation == 180) { in setUpCameraOutputs()
862 return (ORIENTATIONS.get(rotation) + mSensorOrientation + 270) % 360; in getOrientation()
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DCamera2VideoFragment.java218 private Integer mSensorOrientation; field in Camera2VideoFragment
437 mSensorOrientation = characteristics.get(CameraCharacteristics.SENSOR_ORIENTATION); in openCamera()
591 switch (mSensorOrientation) { in setUpMediaRecorder()