content: package com.google.android.material.datepicker;
  
  import android.content.Context;
  import android.util.DisplayMetrics;
  import androidx.recyclerview.widget.LinearLayoutManager;
  import androidx.recyclerview.widget.LinearSmoothScroller;
  import androidx.recyclerview.widget.RecyclerView;
  
  class SmoothCalendarLayoutManager extends LinearLayoutManager {
      private static final float MILLISECONDS_PER_INCH = 100.0f;
  
      SmoothCalendarLayoutManager(Context context, int orientation, boolean reverseLayout) {
          super(context, orientation, reverseLayout);
      }
  
      public void smoothScrollToPosition(RecyclerView recyclerView, RecyclerView.State state, int position) {
          AnonymousClass1 r0 = new LinearSmoothScroller(recyclerView.getContext()) {
              /* access modifiers changed from: protected */
              public float calculateSpeedPerPixel(DisplayMetrics displayMetrics) {
                  return SmoothCalendarLayoutManager.MILLISECONDS_PER_INCH / ((float) displayMetrics.densityDpi);
              }
          };
          r0.setTargetPosition(position);
          startSmoothScroll(r0);
      }
  }
  