Home
last modified time | relevance | path

Searched refs:setAspectRatio (Results 1 – 10 of 10) sorted by relevance

/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DFixedAspectSurfaceView.java54 setAspectRatio(a.getFloat( in FixedAspectSurfaceView()
65 public void setAspectRatio(float aspect) { in setAspectRatio() method in FixedAspectSurfaceView
DHdrViewfinderActivity.java496 mPreviewView.setAspectRatio(outputAspect); in configureSurfaces()
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DAutoFitTextureView.java51 public void setAspectRatio(int width, int height) { in setAspectRatio() method in AutoFitTextureView
DCamera2VideoFragment.java444 mTextureView.setAspectRatio(mPreviewSize.getWidth(), mPreviewSize.getHeight()); in openCamera()
446 mTextureView.setAspectRatio(mPreviewSize.getHeight(), mPreviewSize.getWidth()); in openCamera()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DAutoFitTextureView.java51 public void setAspectRatio(int width, int height) { in setAspectRatio() method in AutoFitTextureView
DCamera2BasicFragment.java575 mTextureView.setAspectRatio( in setUpCameraOutputs()
578 mTextureView.setAspectRatio( in setUpCameraOutputs()
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DAutoFitTextureView.java51 public void setAspectRatio(int width, int height) { in setAspectRatio() method in AutoFitTextureView
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPictureInPictureAutoEnter.java134 .setAspectRatio(new Rational(imageViewRect.width(), imageViewRect.height())) in updatePictureInPictureParams()
DPictureInPictureSourceRectHint.java116 .setAspectRatio(new Rational(hint.width(), hint.height())) in onPictureInPictureRequested()
/development/apps/OBJViewer/com/android/objviewer/
DOBJViewer.java197 glView.setAspectRatio(ratio); in onDraw()