Searched refs:mPreviewTexWidth (Results 1 – 3 of 3) sorted by relevance
69 private int mPreviewTexWidth; field in CameraFormatsActivity303 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()
73 private int mPreviewTexWidth; field in CameraVideoActivity435 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()
105 private int mPreviewTexWidth, mPreviewTexHeight; field in CameraBokehActivity443 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()