Searched refs:targetHostSize (Results 1 – 1 of 1) sorted by relevance
195 Point defaultCropSurfaceSize, Point targetHostSize, int scrollX, int scrollY, in calculateCropRect() argument207 Rect cropRect = new Rect(scrollX, scrollY, scrollX + targetHostSize.x, in calculateCropRect()208 scrollY + targetHostSize.y); in calculateCropRect()210 int extraWidth = defaultCropSurfaceSize.x - targetHostSize.x; in calculateCropRect()211 int extraHeightTopAndBottom = (int) ((defaultCropSurfaceSize.y - targetHostSize.y) / 2f); in calculateCropRect()