/developers/build/prebuilts/gradle/Camera2Video/kotlinApp/Application/src/main/java/com/example/android/camera2video/ |
D | Camera2VideoFragment.kt | 126 private lateinit var previewSize: Size in onSurfaceTextureDestroyed() variable in com.example.android.camera2video.Camera2VideoFragment 344 previewSize = chooseOptimalSize(map.getOutputSizes(SurfaceTexture::class.java), in openCamera() 348 textureView.setAspectRatio(previewSize.width, previewSize.height) in openCamera() 350 textureView.setAspectRatio(previewSize.height, previewSize.width) in openCamera() 395 texture.setDefaultBufferSize(previewSize.width, previewSize.height) in startPreview() 453 val bufferRect = RectF(0f, 0f, previewSize.height.toFloat(), previewSize.width.toFloat()) in configureTransform() 461 viewHeight.toFloat() / previewSize.height, in configureTransform() 462 viewWidth.toFloat() / previewSize.width) in configureTransform() 519 setDefaultBufferSize(previewSize.width, previewSize.height) in startRecordingVideo()
|
/developers/samples/android/media/Camera2Video/kotlinApp/Application/src/main/java/com/example/android/camera2video/ |
D | Camera2VideoFragment.kt | 126 private lateinit var previewSize: Size in onSurfaceTextureDestroyed() variable in com.example.android.camera2video.Camera2VideoFragment 344 previewSize = chooseOptimalSize(map.getOutputSizes(SurfaceTexture::class.java), in openCamera() 348 textureView.setAspectRatio(previewSize.width, previewSize.height) in openCamera() 350 textureView.setAspectRatio(previewSize.height, previewSize.width) in openCamera() 395 texture.setDefaultBufferSize(previewSize.width, previewSize.height) in startPreview() 453 val bufferRect = RectF(0f, 0f, previewSize.height.toFloat(), previewSize.width.toFloat()) in configureTransform() 461 viewHeight.toFloat() / previewSize.height, in configureTransform() 462 viewWidth.toFloat() / previewSize.width) in configureTransform() 519 setDefaultBufferSize(previewSize.width, previewSize.height) in startRecordingVideo()
|
/developers/build/prebuilts/gradle/Camera2Basic/kotlinApp/Application/src/main/java/com/example/android/camera2basic/ |
D | Camera2BasicFragment.kt | 106 private lateinit var previewSize: Size in onSurfaceTextureDestroyed() variable in com.example.android.camera2basic.Camera2BasicFragment 361 previewSize = chooseOptimalSize(map.getOutputSizes(SurfaceTexture::class.java), in setUpCameraOutputs() 368 textureView.setAspectRatio(previewSize.width, previewSize.height) in setUpCameraOutputs() 370 textureView.setAspectRatio(previewSize.height, previewSize.width) in setUpCameraOutputs() 497 texture.setDefaultBufferSize(previewSize.width, previewSize.height) in createCameraPreviewSession() 558 val bufferRect = RectF(0f, 0f, previewSize.height.toFloat(), previewSize.width.toFloat()) in configureTransform() 565 viewHeight.toFloat() / previewSize.height, in configureTransform() 566 viewWidth.toFloat() / previewSize.width) in configureTransform()
|
/developers/samples/android/media/Camera2Basic/kotlinApp/Application/src/main/java/com/example/android/camera2basic/ |
D | Camera2BasicFragment.kt | 106 private lateinit var previewSize: Size in onSurfaceTextureDestroyed() variable in com.example.android.camera2basic.Camera2BasicFragment 361 previewSize = chooseOptimalSize(map.getOutputSizes(SurfaceTexture::class.java), in setUpCameraOutputs() 368 textureView.setAspectRatio(previewSize.width, previewSize.height) in setUpCameraOutputs() 370 textureView.setAspectRatio(previewSize.height, previewSize.width) in setUpCameraOutputs() 497 texture.setDefaultBufferSize(previewSize.width, previewSize.height) in createCameraPreviewSession() 558 val bufferRect = RectF(0f, 0f, previewSize.height.toFloat(), previewSize.width.toFloat()) in configureTransform() 565 viewHeight.toFloat() / previewSize.height, in configureTransform() 566 viewWidth.toFloat() / previewSize.width) in configureTransform()
|
/developers/build/prebuilts/gradle/Camera2Raw/Application/src/main/java/com/example/android/camera2raw/ |
D | Camera2RawFragment.java | 1086 Size previewSize = chooseOptimalSize(map.getOutputSizes(SurfaceTexture.class), in configureTransform() local 1092 previewSize.getHeight(), previewSize.getWidth()); in configureTransform() 1095 previewSize.getWidth(), previewSize.getHeight()); in configureTransform() 1107 RectF bufferRect = new RectF(0, 0, previewSize.getHeight(), previewSize.getWidth()); in configureTransform() 1131 (float) viewHeight / previewSize.getHeight(), in configureTransform() 1132 (float) viewWidth / previewSize.getWidth()); in configureTransform() 1142 if (mPreviewSize == null || !checkAspectsEqual(previewSize, mPreviewSize)) { in configureTransform() 1143 mPreviewSize = previewSize; in configureTransform()
|
/developers/samples/android/media/Camera2Raw/Application/src/main/java/com/example/android/camera2raw/ |
D | Camera2RawFragment.java | 1086 Size previewSize = chooseOptimalSize(map.getOutputSizes(SurfaceTexture.class), in configureTransform() local 1092 previewSize.getHeight(), previewSize.getWidth()); in configureTransform() 1095 previewSize.getWidth(), previewSize.getHeight()); in configureTransform() 1107 RectF bufferRect = new RectF(0, 0, previewSize.getHeight(), previewSize.getWidth()); in configureTransform() 1131 (float) viewHeight / previewSize.getHeight(), in configureTransform() 1132 (float) viewWidth / previewSize.getWidth()); in configureTransform() 1142 if (mPreviewSize == null || !checkAspectsEqual(previewSize, mPreviewSize)) { in configureTransform() 1143 mPreviewSize = previewSize; in configureTransform()
|