Home
last modified time | relevance | path

Searched refs:mPreviewView (Results 1 – 5 of 5) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DPhotoCaptureActivity.java71 private TextureView mPreviewView; field in PhotoCaptureActivity
121 mPreviewView = (TextureView) findViewById(R.id.camera_fov_camera_preview); in onCreate()
122 mPreviewView.setSurfaceTextureListener(this); in onCreate()
460 float viewAspectRatio = (float) mPreviewView.getMeasuredWidth() in setPreviewTransform()
461 / (float) mPreviewView.getMeasuredHeight(); in setPreviewTransform()
466 translateY = (float) mPreviewView.getMeasuredHeight() / 2 in setPreviewTransform()
467 - (float) mPreviewView.getMeasuredHeight() * scaleY / 2; in setPreviewTransform()
470 translateX = (float) mPreviewView.getMeasuredWidth() / 2 in setPreviewTransform()
471 - (float) mPreviewView.getMeasuredWidth() * scaleX / 2; in setPreviewTransform()
475 mPreviewView.setTransform(transform); in setPreviewTransform()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/
DCameraBokehActivity.java103 private TextureView mPreviewView; field in CameraBokehActivity
218 mPreviewView = (TextureView) findViewById(R.id.preview_view); in onCreate()
221 mPreviewView.setSurfaceTextureListener(this); in onCreate()
758 mPreviewView.getSurfaceTexture().setDefaultBufferSize(mPreviewSize.getWidth(), in configurePreviewTextureTransform()
760 RectF viewRect = new RectF(0, 0, mPreviewView.getWidth(), mPreviewView.getHeight()); in configurePreviewTextureTransform()
796 mPreviewView.setTransform(matrix); in configurePreviewTextureTransform()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java67 private TextureView mPreviewView; field in CameraFormatsActivity
156 mPreviewView = (TextureView) findViewById(R.id.preview_view); in onCreate()
159 mPreviewView.setSurfaceTextureListener(this); in onCreate()
541 mPreviewView.setTransform(transform); in startPreview()
664 mPreviewView.getMeasuredWidth() / (float) viewRect.height(), in onPostExecute()
665 mPreviewView.getMeasuredHeight() / (float) viewRect.width()); in onPostExecute()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DCameraMuteToggleActivity.java79 private TextureView mPreviewView; field in CameraMuteToggleActivity
119 mPreviewView = findViewById(R.id.preview_view); in onCreate()
122 mPreviewView.setSurfaceTextureListener(this); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java71 private TextureView mPreviewView; field in CameraVideoActivity
287 mPreviewView = (TextureView) findViewById(R.id.video_capture); in onCreate()
297 mPreviewView.setSurfaceTextureListener(this); in onCreate()
947 mPreviewView.setTransform(transform); in startPreview()