Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipTaskOrganizerTest.java198 final Rational newAspectRatio = new Rational(1, 2); in onTaskInfoChanged_notInPip_deferUpdatesAspectRatio() local
204 createPipParams(newAspectRatio))); in onTaskInfoChanged_notInPip_deferUpdatesAspectRatio()
210 .notifyAspectRatioChanged(newAspectRatio.floatValue()); in onTaskInfoChanged_notInPip_deferUpdatesAspectRatio()
216 final Rational newAspectRatio = new Rational(1, 2); in onTaskInfoChanged_inPip_updatesAspectRatioIfChanged() local
222 createPipParams(newAspectRatio))); in onTaskInfoChanged_inPip_updatesAspectRatioIfChanged()
225 .notifyAspectRatioChanged(newAspectRatio.floatValue()); in onTaskInfoChanged_inPip_updatesAspectRatioIfChanged()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipBoundsAlgorithm.java130 public Rect getAdjustedDestinationBounds(Rect currentBounds, float newAspectRatio) { in getAdjustedDestinationBounds() argument
132 "%s: getAdjustedDestinationBounds: %f", TAG, newAspectRatio); in getAdjustedDestinationBounds()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipBoundsAlgorithm.java149 public Rect getAdjustedDestinationBounds(Rect currentBounds, float newAspectRatio) { in getAdjustedDestinationBounds() argument
150 return transformBoundsToAspectRatioIfValid(currentBounds, newAspectRatio, in getAdjustedDestinationBounds()