Home
last modified time | relevance | path

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

/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/video/
DCameraVideoActivity.java74 private int mPreviewTexHeight; field in CameraVideoActivity
436 mPreviewTexHeight = height; in onSurfaceTextureAvailable()
896 float heightRatio = mNextPreviewSize.height / (float)mPreviewTexHeight; in startPreview()
898 float scaledHeight = (float) mPreviewTexHeight; in startPreview()
905 scaledHeight = mPreviewTexHeight * (heightRatio / widthRatio); in startPreview()
907 transform.postTranslate(0, (mPreviewTexHeight - scaledHeight) / 2); 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
444 mPreviewTexHeight = height; in onSurfaceTextureAvailable()
713 RectF viewRect = new RectF(0, 0, mPreviewTexWidth, mPreviewTexHeight); in configurePreviewTextureTransform()
730 mPreviewTexHeight / (float) effectiveHeight); in configurePreviewTextureTransform()