Searched refs:targetHostSize (Results 1 – 1 of 1) sorted by relevance
194 Point defaultCropSurfaceSize, Point targetHostSize, int scrollX, int scrollY) { in calculateCropRect() argument203 Rect cropRect = new Rect(scrollX, scrollY, scrollX + targetHostSize.x, in calculateCropRect()204 scrollY + targetHostSize.y); in calculateCropRect()206 int extraWidth = defaultCropSurfaceSize.x - targetHostSize.x; in calculateCropRect()207 int extraHeightTopAndBottom = (int) ((defaultCropSurfaceSize.y - targetHostSize.y) / 2f); in calculateCropRect()