density. • getOrientation() - API 7 (deprecated) • getRotation() - API 8 • Returns the rotation of the screen from its "natural" orientation. • For example, if a device has a naturally tall screen, and the user has turned it on its side to go into a landscape orientation, the value returned here may be either Surface. ROTATION_90 or Surface.ROTATION_270 depending on the direction it was turned.