Searched refs:relativePosition (Results 1 – 1 of 1) sorted by relevance
130 Point relativePosition = new Point(); in calculateCenterPosition() local133 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()