/**
  * Gets the stack transforms of a list of tasks, and returns the visible range of tasks. This call
  * is less optimal than calling updateStackTransforms directly.
  */
 private ArrayList<TaskViewTransform> getStackTransforms(
     ArrayList<Task> tasks,
     float stackScroll,
     int[] visibleRangeOut,
     boolean boundTranslationsToRect) {
   ArrayList<TaskViewTransform> taskTransforms = new ArrayList<TaskViewTransform>();
   updateStackTransforms(
       taskTransforms, tasks, stackScroll, visibleRangeOut, boundTranslationsToRect);
   return taskTransforms;
 }