Searched refs:outToResize (Results 1 – 1 of 1) sorted by relevance
288 public static void fitRect(Rect outToResize, int largestSide) { in fitRect() argument289 if (outToResize.isEmpty()) { in fitRect()292 float maxSize = Math.max(outToResize.width(), outToResize.height()); in fitRect()293 outToResize.scale(largestSide / maxSize); in fitRect()