Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVCameraPreview.java204 int curWidth = getWidth(); in adjustLayoutParamsIfNeeded() local
206 float curAspect = (float)curWidth / (float)curHeight; in adjustLayoutParamsIfNeeded()
211 layoutParams.width = curWidth; in adjustLayoutParamsIfNeeded()
212 layoutParams.height = (int)(curWidth / cameraAspect); in adjustLayoutParamsIfNeeded()
219 if (layoutParams.height != curHeight || layoutParams.width != curWidth) { in adjustLayoutParamsIfNeeded()
220 Log.d(TAG, String.format("Layout (%d, %d) -> (%d, %d)", curWidth, curHeight, in adjustLayoutParamsIfNeeded()