public void setRotationEnabled(boolean enabled) {
    mIsRotationEnabled = enabled;
  }
Sets whether the rotation gesture is enabled or not.
samples/zoomable/src/main/java/com/facebook/samples/zoomable/DefaultZoomableController.java