Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollController.java496 int middlePosition; in getSystemScrollPos() local
498 middlePosition = mScrollCenterOffset - mPaddingLow; in getSystemScrollPos()
500 middlePosition = (int) (mSize * mScrollCenterOffsetPercent) - mPaddingLow; in getSystemScrollPos()
502 middlePosition = clientSize / 2; in getSystemScrollPos()
504 int afterMiddlePosition = clientSize - middlePosition; in getSystemScrollPos()
531 if (scrollCenter - mMinEdge + extraSpaceLow <= middlePosition) { in getSystemScrollPos()
546 return scrollCenter - middlePosition - mPaddingLow + extraSpaceLow; in getSystemScrollPos()
569 if (scrollCenter + shift - mMinEdge <= middlePosition) { in getSystemScrollPos()
583 return scrollCenter - middlePosition - mPaddingLow + shift; in getSystemScrollPos()