Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/qrcode/
DQrCamera.java325 final float ratioPreview = (float) getRatio(previewWidth, previewHeight); in setTransformationMatrix() local
331 scaleY = scaleX / ratioPreview; in setTransformationMatrix()
333 scaleX = scaleY / ratioPreview; in setTransformationMatrix()
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/
DQrCamera.java350 final float ratioPreview = (float) getRatio(previewWidth, previewHeight); in setTransformationMatrix() local
356 scaleY = scaleX / ratioPreview; in setTransformationMatrix()
358 scaleX = scaleY / ratioPreview; in setTransformationMatrix()