Home
last modified time | relevance | path

Searched refs:visibleRectCenter (Results 1 – 1 of 1) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperCropUtils.java241 PointF visibleRectCenter = new PointF(outer.x / 2f, outer.y / 2f); in calculateVisibleRect() local
245 return new Rect(0, (int) (visibleRectCenter.y - visibleRectHeight / 2), in calculateVisibleRect()
246 outer.x, (int) (visibleRectCenter.y + visibleRectHeight / 2)); in calculateVisibleRect()
250 return new Rect((int) (visibleRectCenter.x - visibleRectWidth / 2), in calculateVisibleRect()
251 0, (int) (visibleRectCenter.x + visibleRectWidth / 2), outer.y); in calculateVisibleRect()