33 lines
1.1 KiB
Java
33 lines
1.1 KiB
Java
|
package com.google.android.material.datepicker;
|
||
|
|
||
|
import android.util.DisplayMetrics;
|
||
|
import androidx.recyclerview.widget.LinearLayoutManager;
|
||
|
import androidx.recyclerview.widget.RecyclerView;
|
||
|
import o.C11786els;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
class SmoothCalendarLayoutManager extends LinearLayoutManager {
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public SmoothCalendarLayoutManager(int i) {
|
||
|
super(i, false);
|
||
|
}
|
||
|
|
||
|
@Override // androidx.recyclerview.widget.LinearLayoutManager, androidx.recyclerview.widget.RecyclerView.tOB
|
||
|
public final void d(RecyclerView recyclerView, int i) {
|
||
|
C11786els c11786els = new C11786els(this, recyclerView.getContext()) { // from class: com.google.android.material.datepicker.SmoothCalendarLayoutManager.1
|
||
|
private SmoothCalendarLayoutManager a;
|
||
|
|
||
|
{
|
||
|
this.a = this;
|
||
|
}
|
||
|
|
||
|
@Override // o.C11786els
|
||
|
public final float aoq_(DisplayMetrics displayMetrics) {
|
||
|
return 100.0f / displayMetrics.densityDpi;
|
||
|
}
|
||
|
};
|
||
|
c11786els.f = i;
|
||
|
b(c11786els);
|
||
|
}
|
||
|
}
|