Home
last modified time | relevance | path

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

/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
DCamera2RawFragment.java1089 mTextureView.setAspectRatio( in configureTransform()
1092 mTextureView.setAspectRatio( in configureTransform()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DFixedAspectRatioImageView.java46 public void setAspectRatio(Rational aspectRatio) { in setAspectRatio() method in FixedAspectRatioImageView
/development/samples/PictureInPicture/ComposePip/app/src/main/java/com/example/samplepip/
DMainActivity.kt64 .setAspectRatio(Rational(bounds.width(), bounds.height())) in onBoundsChange()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPictureInPicture.java164 mImageView.setAspectRatio(Rational.parseRational(textToParse)); in onCreate()
258 .setAspectRatio(new Rational(bounds.width(), bounds.height())) in enterContentPip()
415 .setAspectRatio(new Rational(imageViewRect.width(), imageViewRect.height())) in updatePictureInPictureParams()
/development/apps/OBJViewer/com/android/objviewer/
DOBJViewer.java197 glView.setAspectRatio(ratio); in onDraw()