Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVCameraPreview.java120 int totalRotation = getRequiredRotation(); in surfaceChanged() local
121 mCamera.setDisplayOrientation(totalRotation); in surfaceChanged()
123 if (adjustLayoutParamsIfNeeded(totalRotation)) { in surfaceChanged()
191 private boolean adjustLayoutParamsIfNeeded(int totalRotation) { in adjustLayoutParamsIfNeeded() argument
197 if (totalRotation % 180 != 0) { in adjustLayoutParamsIfNeeded()