@Override
  public int computeVerticalScrollRange() {
    return (int) mTransformedImageBounds.height();
  }
Returns whether the scroll can happen in all directions. I.e. the image is not on any edge.
samples/zoomable/src/main/java/com/facebook/samples/zoomable/DefaultZoomableController.java