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