Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperCropUtils.java130 Point relativePosition = new Point(); in calculateCenterPosition() local
133 relativePosition.x = isRtl ? outer.x - inner.x : 0; in calculateCenterPosition()
135 relativePosition.x = Math.round((outer.x - inner.x) / 2f); in calculateCenterPosition()
137 relativePosition.y = Math.round((outer.y - inner.y) / 2f); in calculateCenterPosition()
139 return relativePosition; in calculateCenterPosition()