docs: private float computeSlideOffset(int topPosition) {
          // Compute the panel top position if the panel is collapsed (offset 0)
          final int topBoundCollapsed = computePanelTopPosition(0);
  
          // Determine the new slide offset based on the collapsed top position and the new required
          // top position
          return (mIsSlidingUp
                  ? (float) (topBoundCollapsed - topPosition) / mSlideRange
                  : (float) (topPosition - topBoundCollapsed) / mSlideRange);
      }