RotateGestureDetector for Android.