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.java157 PointF visibleRectCenter = new PointF(outer.x / 2f, outer.y / 2f); in calculateVisibleRect() local
161 return new Rect(0, (int) (visibleRectCenter.y - visibleRectHeight / 2), in calculateVisibleRect()
162 outer.x, (int) (visibleRectCenter.y + visibleRectHeight / 2)); in calculateVisibleRect()
166 return new Rect((int) (visibleRectCenter.x - visibleRectWidth / 2), in calculateVisibleRect()
167 0, (int) (visibleRectCenter.x + visibleRectWidth / 2), outer.y); in calculateVisibleRect()