Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipBoundsAlgorithmTest.java241 mPipBoundsState.setAspectRatio(MIN_ASPECT_RATIO / 2); in getNormalBounds_invalidAspectRatio_returnsDefaultBounds()
254 mPipBoundsState.setAspectRatio(MIN_ASPECT_RATIO); in getNormalBounds_validAspectRatio_returnsAdjustedDefaultBounds()
268 mPipBoundsState.setAspectRatio(aspectRatio); in getEntryDestinationBounds_returnBoundsMatchesAspectRatio()
283 mPipBoundsState.setAspectRatio(aspectRatio); in getEntryDestinationBounds_invalidAspectRatio_returnsDefaultAspectRatio()
299 mPipBoundsState.setAspectRatio(aspectRatio); in getAdjustedDestinationBounds_returnBoundsMatchesAspectRatio()
324 mPipBoundsState.setAspectRatio(aspectRatio); in getEntryDestinationBounds_withMinSize_returnMinBounds()
346 mPipBoundsState.setAspectRatio(aspectRatio); in getAdjustedDestinationBounds_ignoreMinBounds()
358 mPipBoundsState.setAspectRatio(DEFAULT_ASPECT_RATIO); in getEntryDestinationBounds_reentryStateExists_restoreProportionalSize()
376 mPipBoundsState.setAspectRatio(DEFAULT_ASPECT_RATIO); in getEntryDestinationBounds_reentryStateExists_restoreLastPosition()
391 mPipBoundsState.setAspectRatio(DEFAULT_ASPECT_RATIO); in setShelfHeight_offsetBounds()
[all …]
DPipTaskOrganizerTest.java321 .setAspectRatio(aspectRatio) in createPipParams()
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DPipActivity.java92 .setAspectRatio(RATIO_DEFAULT);
117 mPipParamsBuilder.setAspectRatio(RATIO_TALL);
279 mPipParamsBuilder.setAspectRatio(RATIO_DEFAULT); in onRatioSelected()
283 mPipParamsBuilder.setAspectRatio(RATIO_SQUARE); in onRatioSelected()
287 mPipParamsBuilder.setAspectRatio(RATIO_WIDE); in onRatioSelected()
291 mPipParamsBuilder.setAspectRatio(RATIO_TALL); in onRatioSelected()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DFixedAspectSurfaceView.java55 setAspectRatio(a.getFloat( in FixedAspectSurfaceView()
66 public void setAspectRatio(float aspect) { in setAspectRatio() method in FixedAspectSurfaceView
DCameraView.java147 setAspectRatio((float) outputSize.getWidth() / outputSize.getHeight()); in resume()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DFixedAspectSurfaceView.java55 setAspectRatio(a.getFloat( in FixedAspectSurfaceView()
66 public void setAspectRatio(float aspect) { in setAspectRatio() method in FixedAspectSurfaceView
DCameraView.java146 setAspectRatio((float) outputSize.getWidth() / outputSize.getHeight()); in resume()
/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/
DAutoFitTextureView.java36 public void setAspectRatio(int width, int height) { in setAspectRatio() method in AutoFitTextureView
DMainActivity.java363 mTextureView.setAspectRatio(mPreviewSize.getHeight(), mPreviewSize.getWidth()); in openCamera()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DIllustrationTest.java51 illustration.setAspectRatio(3.0f); in testAspectRatio()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DIllustration.java122 public void setAspectRatio(float aspectRatio) { in setAspectRatio() method in Illustration
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipBoundsState.java300 public void setAspectRatio(float aspectRatio) { in setAspectRatio() method in PipBoundsState
469 setAspectRatio(pipBoundsAlgorithm.getAspectRatioOrDefault(params)); in setBoundsStateForEntry()
DPipBoundsAlgorithm.java72 mPipBoundsState.setAspectRatio(mDefaultAspectRatio); in PipBoundsAlgorithm()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityOptionsTest.java115 .setAspectRatio(new Rational(1, 1)) in testMakeLaunchIntoPip()
DWindowOrganizerTests.java1210 .setAspectRatio(new Rational(1, 2)).build(); in testEnterPipParams()
1232 .setAspectRatio(new Rational(1, 2)).build(); in testChangePipParams()
1246 .setAspectRatio(new Rational(3, 4)).build(); in testChangePipParams()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DSetupWizardLayout.java272 illustration.setAspectRatio(aspectRatio); in setIllustrationAspectRatio()
/frameworks/base/core/java/android/app/
DPictureInPictureParams.java96 public Builder setAspectRatio(Rational aspectRatio) { in setAspectRatio() method in PictureInPictureParams.Builder
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipController.java617 mTvPipBoundsState.setAspectRatio(ratio); in registerPipParamsChangedListener()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipController.java605 mPipBoundsState.setAspectRatio(ratio); in onInit()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt7222 method public android.app.PictureInPictureParams.Builder setAspectRatio(android.util.Rational);