getDeviceOrientation

Internal use only.