public class CenterSnappingSmoothScroller
extends LinearSmoothScroller
Constructor and Description |
---|
CenterSnappingSmoothScroller(Context context,
int offset) |
Modifier and Type | Method and Description |
---|---|
int |
calculateDtToFit(int viewStart,
int viewEnd,
int boxStart,
int boxEnd,
int snapPreference) |
protected float |
calculateSpeedPerPixel(DisplayMetrics displayMetrics) |