Searched refs:setAspectRatio (Results 1 – 12 of 12) sorted by relevance
241 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()428 mPipBoundsState.setAspectRatio( in adjustNormalBoundsToFitMenu_alreadyFits()441 mPipBoundsState.setAspectRatio( in adjustNormalBoundsToFitMenu_widthTooSmall()456 mPipBoundsState.setAspectRatio( in adjustNormalBoundsToFitMenu_heightTooSmall()[all …]
318 .setAspectRatio(aspectRatio) in createPipParams()
88 .setAspectRatio(RATIO_DEFAULT);248 mPipParamsBuilder.setAspectRatio(RATIO_DEFAULT); in onRatioSelected()252 mPipParamsBuilder.setAspectRatio(RATIO_SQUARE); in onRatioSelected()256 mPipParamsBuilder.setAspectRatio(RATIO_WIDE); in onRatioSelected()260 mPipParamsBuilder.setAspectRatio(RATIO_TALL); in onRatioSelected()
267 public void setAspectRatio(float aspectRatio) { in setAspectRatio() method in PipBoundsState431 setAspectRatio(pipBoundsAlgorithm.getAspectRatioOrDefault(params)); in setBoundsStateForEntry()
67 mPipBoundsState.setAspectRatio(mDefaultAspectRatio); in PipBoundsAlgorithm()
99 .setAspectRatio(new Rational(1, 1)) in testMakeLaunchIntoPip()
1078 .setAspectRatio(new Rational(1, 2)).build(); in testEnterPipParams()1100 .setAspectRatio(new Rational(1, 2)).build(); in testChangePipParams()1108 .setAspectRatio(new Rational(3, 4)).build(); in testChangePipParams()
96 public Builder setAspectRatio(Rational aspectRatio) { in setAspectRatio() method in PictureInPictureParams.Builder
590 mTvPipBoundsState.setAspectRatio(ratio); in registerPipParamsChangedListener()
600 mPipBoundsState.setAspectRatio(ratio); in onInit()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
7006 method public android.app.PictureInPictureParams.Builder setAspectRatio(android.util.Rational);