Searched refs:mPreviewTexWidth (Results 1 – 4 of 4) 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()915 float widthRatio = mNextPreviewSize.width / (float)mPreviewTexWidth; in startPreview()917 float scaledWidth = (float) mPreviewTexWidth; in startPreview()932 scaledWidth = mPreviewTexWidth * (widthRatio / heightRatio); in startPreview()934 transform.postTranslate((mPreviewTexWidth - scaledWidth) / 2, 0); in startPreview()944 (float) mPreviewTexWidth / 2, (float) mPreviewTexHeight / 2); in startPreview()
73 private int mPreviewTexWidth; field in PhotoCaptureActivity378 mPreviewTexWidth = width; in onSurfaceTextureAvailable()502 mPreviewTexWidth, mPreviewTexHeight, params); in initializeCamera()505 mPreviewTexHeight, mPreviewTexWidth, params); in initializeCamera()
106 private int mPreviewTexWidth, mPreviewTexHeight; field in CameraBokehActivity461 mPreviewTexWidth = width; in onSurfaceTextureAvailable()