Searched refs:mPreviewTexHeight (Results 1 – 3 of 3) sorted by relevance
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 CameraVideoActivity436 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()
105 private int mPreviewTexWidth, mPreviewTexHeight; field in CameraBokehActivity444 mPreviewTexHeight = height; in onSurfaceTextureAvailable()713 RectF viewRect = new RectF(0, 0, mPreviewTexWidth, mPreviewTexHeight); in configurePreviewTextureTransform()730 mPreviewTexHeight / (float) effectiveHeight); in configurePreviewTextureTransform()