private @Nullable AnimatedScrollingRunnable cancelAnimatedScrolling(boolean scrollToTarget) {
    AnimatedScrollingRunnable request = currentAnimationRequest;
    currentAnimationRequest = null;
    if (request != null) {
      request.cancel(scrollToTarget);
    }
    return request;
  }
private @Nullable AnimatedScrollingRunnable cancelAnimatedScrolling(boolean scrollToTarget)