Home
last modified time | relevance | path

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

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DWindowAlignment.java206 int middlePosition; in getSystemScrollPos() local
209 middlePosition = mWindowAlignmentOffset - mPaddingLow; in getSystemScrollPos()
211 middlePosition = mSize + mWindowAlignmentOffset - mPaddingLow; in getSystemScrollPos()
214 middlePosition += (int) (mSize * mWindowAlignmentOffsetPercent / 100); in getSystemScrollPos()
218 middlePosition = mSize - mWindowAlignmentOffset - mPaddingLow; in getSystemScrollPos()
220 middlePosition = - mWindowAlignmentOffset - mPaddingLow; in getSystemScrollPos()
223 middlePosition -= (int) (mSize * mWindowAlignmentOffsetPercent / 100); in getSystemScrollPos()
227 int afterMiddlePosition = clientSize - middlePosition; in getSystemScrollPos()
242 && (isAtMin || scrollCenter - mMinEdge <= middlePosition)) { in getSystemScrollPos()
258 return scrollCenter - middlePosition - mPaddingLow; in getSystemScrollPos()