Searched refs:indexOffset (Results 1 – 2 of 2) sorted by relevance
317 int indexOffset = 0; in getDeviceRotation() local319 indexOffset = 1; in getDeviceRotation()336 int currentOrientation = (currentRotation + indexOffset); in getDeviceRotation()337 int defaultOrientation = indexOffset; in getDeviceRotation()
155 int indexOffset = 0; in lockRotation() local157 indexOffset = 1; in lockRotation()172 setRequestedOrientation(orientationMap[(display.getRotation() + indexOffset) % 4]); in lockRotation()