Home
last modified time | relevance | path

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

/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java80 private static final SparseIntArray ORIENTATIONS = new SparseIntArray(); field in Camera2BasicFragment
85 ORIENTATIONS.append(Surface.ROTATION_0, 90); in ORIENTATIONS.append()
86 ORIENTATIONS.append(Surface.ROTATION_90, 0); in ORIENTATIONS.append()
87 ORIENTATIONS.append(Surface.ROTATION_180, 270); in ORIENTATIONS.append()
88 ORIENTATIONS.append(Surface.ROTATION_270, 180); in ORIENTATIONS.append()
862 return (ORIENTATIONS.get(rotation) + mSensorOrientation + 270) % 360; in getOrientation()