Home
last modified time | relevance | path

Searched refs:scrollCenterOffsetPercent (Results 1 – 2 of 2) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollController.java291 final public void setScrollCenterOffsetPercent(int scrollCenterOffsetPercent) { in setScrollCenterOffsetPercent() argument
292 if (scrollCenterOffsetPercent < 0) { in setScrollCenterOffsetPercent()
293 scrollCenterOffsetPercent = 0; in setScrollCenterOffsetPercent()
294 } else if (scrollCenterOffsetPercent > 100) { in setScrollCenterOffsetPercent()
295 scrollCenterOffsetPercent = 100; in setScrollCenterOffsetPercent()
297 mScrollCenterOffsetPercent = ( scrollCenterOffsetPercent / 100.0f); in setScrollCenterOffsetPercent()
DScrollAdapterView.java2005 public void setScrollCenterOffsetPercent(int scrollCenterOffsetPercent) {
2006 mScroll.mainAxis().setScrollCenterOffsetPercent(scrollCenterOffsetPercent);