Home
last modified time | relevance | path

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

/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
H A DPipTaskOrganizerTest.java195 final Rational newAspectRatio = new Rational(1, 2); in onTaskInfoChanged_notInPip_deferUpdatesAspectRatio() local
201 createPipParams(newAspectRatio))); in onTaskInfoChanged_notInPip_deferUpdatesAspectRatio()
207 .notifyAspectRatioChanged(newAspectRatio.floatValue()); in onTaskInfoChanged_notInPip_deferUpdatesAspectRatio()
213 final Rational newAspectRatio = new Rational(1, 2); in onTaskInfoChanged_inPip_updatesAspectRatioIfChanged() local
219 createPipParams(newAspectRatio))); in onTaskInfoChanged_inPip_updatesAspectRatioIfChanged()
222 .notifyAspectRatioChanged(newAspectRatio.floatValue()); in onTaskInfoChanged_inPip_updatesAspectRatioIfChanged()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
H A DPipBoundsAlgorithm.java140 public Rect getAdjustedDestinationBounds(Rect currentBounds, float newAspectRatio) { in getAdjustedDestinationBounds() argument
141 return transformBoundsToAspectRatioIfValid(currentBounds, newAspectRatio, in getAdjustedDestinationBounds()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
H A DTvPipBoundsAlgorithm.java112 public Rect getAdjustedDestinationBounds(Rect currentBounds, float newAspectRatio) { in getAdjustedDestinationBounds() argument
114 "%s: getAdjustedDestinationBounds: %f", TAG, newAspectRatio); in getAdjustedDestinationBounds()