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