Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java69 private int mPreviewTexWidth; field in CameraFormatsActivity
303 mPreviewTexWidth = mFormatView.getMeasuredWidth(); in onSurfaceTextureAvailable()
306 mPreviewTexWidth = width; in onSurfaceTextureAvailable()
498 float widthRatio = mNextPreviewSize.width / (float) mPreviewTexWidth; in concatPreviewTransform()
500 float scaledWidth = (float) mPreviewTexWidth; in concatPreviewTransform()
509 scaledWidth = mPreviewTexWidth * (widthRatio / heightRatio); in concatPreviewTransform()
511 transform.postTranslate(mPreviewTexWidth * (1 - widthRatio / heightRatio) / 2, 0); in concatPreviewTransform()
518 (float) mPreviewTexWidth / 2, (float) mPreviewTexHeight / 2); in concatPreviewTransform()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java73 private int mPreviewTexWidth; field in CameraVideoActivity
435 mPreviewTexWidth = width; in onSurfaceTextureAvailable()
895 float widthRatio = mNextPreviewSize.width / (float)mPreviewTexWidth; in startPreview()
897 float scaledWidth = (float) mPreviewTexWidth; in startPreview()
912 scaledWidth = mPreviewTexWidth * (widthRatio / heightRatio); in startPreview()
914 transform.postTranslate((mPreviewTexWidth - scaledWidth) / 2, 0); in startPreview()
924 (float) mPreviewTexWidth / 2, (float) mPreviewTexHeight / 2); in startPreview()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/
DCameraBokehActivity.java105 private int mPreviewTexWidth, mPreviewTexHeight; field in CameraBokehActivity
443 mPreviewTexWidth = width; in onSurfaceTextureAvailable()
713 RectF viewRect = new RectF(0, 0, mPreviewTexWidth, mPreviewTexHeight); in configurePreviewTextureTransform()
729 float scale = Math.min(mPreviewTexWidth / (float) effectiveWidth, in configurePreviewTextureTransform()