Home
last modified time | relevance | path

Searched refs:MAX_SCROLL_FACTOR (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java71 private static final float MAX_SCROLL_FACTOR = ScrollView.MAX_SCROLL_FACTOR; field in HorizontalScrollView
205 return (int) (MAX_SCROLL_FACTOR * (mRight - mLeft)); in getMaxScrollAmount()
DScrollView.java77 static final float MAX_SCROLL_FACTOR = 0.5f; field in ScrollView
231 return (int) (MAX_SCROLL_FACTOR * (mBottom - mTop)); in getMaxScrollAmount()
DListView.java93 private static final float MAX_SCROLL_FACTOR = 0.33f; field in ListView
205 return (int) (MAX_SCROLL_FACTOR * (mBottom - mTop)); in getMaxScrollAmount()
/frameworks/support/v4/java/android/support/v4/widget/
DNestedScrollView.java67 static final float MAX_SCROLL_FACTOR = 0.5f; field in NestedScrollView
352 return (int) (MAX_SCROLL_FACTOR * getHeight()); in getMaxScrollAmount()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DLinearLayoutManager.java61 private static final float MAX_SCROLL_FACTOR = 1 / 3f; field in LinearLayoutManager
1802 final int maxScroll = (int) (MAX_SCROLL_FACTOR * mOrientationHelper.getTotalSpace()); in onFocusSearchFailed()
DStaggeredGridLayoutManager.java104 private static final float MAX_SCROLL_FACTOR = 1 / 3f; field in StaggeredGridLayoutManager
2195 mLayoutState.mAvailable = (int) (MAX_SCROLL_FACTOR * mPrimaryOrientation.getTotalSpace());