Searched refs:imageRatio (Results 1 – 2 of 2) sorted by relevance
181 public Point getAdjustedSize(double imageRatio, int requestedWidth, in getAdjustedSize() argument183 if (imageRatio <= 0) { in getAdjustedSize()192 if (requestedWidth == 0 || (requestedHeight != 0 && imageRatio < requiredRatio)) { in getAdjustedSize()193 res.x = (int) (imageRatio * requestedHeight); in getAdjustedSize()195 res.y = (int) (requestedWidth / imageRatio); in getAdjustedSize()
166 public Point getAdjustedSize(double imageRatio, int requestedWidth, in getAdjustedSize() argument168 if (imageRatio <= 0) { in getAdjustedSize()177 if (requestedWidth == 0 || (requestedHeight != 0 && imageRatio < requiredRatio)) { in getAdjustedSize()178 res.x = (int) (imageRatio * requestedHeight); in getAdjustedSize()180 res.y = (int) (requestedWidth / imageRatio); in getAdjustedSize()