Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java74 private int mPreviewTexHeight; field in CameraVideoActivity
436 mPreviewTexHeight = height; in onSurfaceTextureAvailable()
547 if (potentialHeight > mPreviewTexHeight) { in setUpCaptureButton()
550 float scaleY = potentialHeight / (float) mPreviewTexHeight; in setUpCaptureButton()
916 float heightRatio = mNextPreviewSize.height / (float)mPreviewTexHeight; in startPreview()
918 float scaledHeight = (float) mPreviewTexHeight; in startPreview()
925 scaledHeight = mPreviewTexHeight * (heightRatio / widthRatio); in startPreview()
927 transform.postTranslate(0, (mPreviewTexHeight - scaledHeight) / 2); in startPreview()
944 (float) mPreviewTexWidth / 2, (float) mPreviewTexHeight / 2); in startPreview()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java70 private int mPreviewTexHeight; field in CameraFormatsActivity
304 mPreviewTexHeight = mFormatView.getMeasuredHeight(); in onSurfaceTextureAvailable()
307 mPreviewTexHeight = height; in onSurfaceTextureAvailable()
499 float heightRatio = mNextPreviewSize.height / (float) mPreviewTexHeight; in concatPreviewTransform()
501 float scaledHeight = (float) mPreviewTexHeight; in concatPreviewTransform()
504 scaledHeight = mPreviewTexHeight * (heightRatio / widthRatio); in concatPreviewTransform()
507 mPreviewTexHeight * (1 - heightRatio / widthRatio) / 2); in concatPreviewTransform()
518 (float) mPreviewTexWidth / 2, (float) mPreviewTexHeight / 2); in concatPreviewTransform()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DPhotoCaptureActivity.java74 private int mPreviewTexHeight; field in PhotoCaptureActivity
379 mPreviewTexHeight = height; in onSurfaceTextureAvailable()
502 mPreviewTexWidth, mPreviewTexHeight, params); in initializeCamera()
505 mPreviewTexHeight, mPreviewTexWidth, params); in initializeCamera()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/
DCameraBokehActivity.java106 private int mPreviewTexWidth, mPreviewTexHeight; field in CameraBokehActivity
462 mPreviewTexHeight = height; in onSurfaceTextureAvailable()