Searched refs:newAspectRatio (Results 1 – 3 of 3) sorted by relevance
198 final Rational newAspectRatio = new Rational(1, 2); in onTaskInfoChanged_notInPip_deferUpdatesAspectRatio() local204 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() local222 createPipParams(newAspectRatio))); in onTaskInfoChanged_inPip_updatesAspectRatioIfChanged()225 .notifyAspectRatioChanged(newAspectRatio.floatValue()); in onTaskInfoChanged_inPip_updatesAspectRatioIfChanged()
130 public Rect getAdjustedDestinationBounds(Rect currentBounds, float newAspectRatio) { in getAdjustedDestinationBounds() argument132 "%s: getAdjustedDestinationBounds: %f", TAG, newAspectRatio); in getAdjustedDestinationBounds()
149 public Rect getAdjustedDestinationBounds(Rect currentBounds, float newAspectRatio) { in getAdjustedDestinationBounds() argument150 return transformBoundsToAspectRatioIfValid(currentBounds, newAspectRatio, in getAdjustedDestinationBounds()