Searched refs:shrinkTarget (Results 1 – 1 of 1) sorted by relevance
542 private static Rect shrinkToSameAspectRatioCentered(Rect reference, Rect shrinkTarget) { in shrinkToSameAspectRatioCentered() argument544 float aspectRatioShrinkTarget = shrinkTarget.width() * 1.0f / shrinkTarget.height(); in shrinkToSameAspectRatioCentered()558 RectF shrunkRect = new RectF(shrinkTarget); in shrinkToSameAspectRatioCentered()562 shrinkTarget.exactCenterX(), shrinkTarget.exactCenterY()); in shrinkToSameAspectRatioCentered()