Searched refs:newAspectRatio (Results 1 – 3 of 3) sorted by relevance
195 final Rational newAspectRatio = new Rational(1, 2); in onTaskInfoChanged_notInPip_deferUpdatesAspectRatio() local201 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() local219 createPipParams(newAspectRatio))); in onTaskInfoChanged_inPip_updatesAspectRatioIfChanged()222 .notifyAspectRatioChanged(newAspectRatio.floatValue()); in onTaskInfoChanged_inPip_updatesAspectRatioIfChanged()
140 public Rect getAdjustedDestinationBounds(Rect currentBounds, float newAspectRatio) { in getAdjustedDestinationBounds() argument141 return transformBoundsToAspectRatioIfValid(currentBounds, newAspectRatio, in getAdjustedDestinationBounds()
112 public Rect getAdjustedDestinationBounds(Rect currentBounds, float newAspectRatio) { in getAdjustedDestinationBounds() argument114 "%s: getAdjustedDestinationBounds: %f", TAG, newAspectRatio); in getAdjustedDestinationBounds()