Home
last modified time | relevance | path

Searched refs:chooseOptimalSize (Results 1 – 3 of 3) sorted by relevance

/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DCamera2VideoFragment.java255 private static Size chooseOptimalSize(Size[] choices, int width, int height, Size aspectRatio) { in chooseOptimalSize() method in Camera2VideoFragment
439 mPreviewSize = chooseOptimalSize(map.getOutputSizes(SurfaceTexture.class), in openCamera()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java384 private static Size chooseOptimalSize(Size[] choices, int textureViewWidth, in chooseOptimalSize() method in Camera2BasicFragment
568 mPreviewSize = chooseOptimalSize(map.getOutputSizes(SurfaceTexture.class), in setUpCameraOutputs()
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DCamera2RawFragment.java1084 Size previewSize = chooseOptimalSize(map.getOutputSizes(SurfaceTexture.class), in configureTransform()
1632 private static Size chooseOptimalSize(Size[] choices, int textureViewWidth,