Searched refs:mPreviewTexHeight (Results 1 – 4 of 4) sorted by relevance
74 private int mPreviewTexHeight; field in CameraVideoActivity436 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()
70 private int mPreviewTexHeight; field in CameraFormatsActivity304 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()
74 private int mPreviewTexHeight; field in PhotoCaptureActivity379 mPreviewTexHeight = height; in onSurfaceTextureAvailable()502 mPreviewTexWidth, mPreviewTexHeight, params); in initializeCamera()505 mPreviewTexHeight, mPreviewTexWidth, params); in initializeCamera()
106 private int mPreviewTexWidth, mPreviewTexHeight; field in CameraBokehActivity462 mPreviewTexHeight = height; in onSurfaceTextureAvailable()