docs: private void initClipRectForHeader(Rect clipRect, RecyclerView recyclerView, View header) {
      mDimensionCalculator.initMargins(clipRect, header);
      if (mOrientationProvider.getOrientation(recyclerView) == LinearLayout.VERTICAL) {
        clipRect.set(
            recyclerView.getPaddingLeft(),
            recyclerView.getPaddingTop(),
            recyclerView.getWidth() - recyclerView.getPaddingRight() - clipRect.right,
            recyclerView.getHeight() - recyclerView.getPaddingBottom());
      } else {
          clipRect.set(
            recyclerView.getPaddingLeft(),
            recyclerView.getPaddingTop(),
            recyclerView.getWidth() - recyclerView.getPaddingRight(),
            recyclerView.getHeight() - recyclerView.getPaddingBottom() - clipRect.bottom);
      }
    }