Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackLayoutAlgorithm.java311 float mMaxScrollP; field in TaskStackLayoutAlgorithm
491 mMinScrollP = mMaxScrollP = mInitialScrollP = 0; in update()
536 mMaxScrollP = Math.max(mMinScrollP, (mNumStackTasks - 1) - in update()
539 mInitialScrollP = Utilities.clamp(launchTaskIndex, mMinScrollP, mMaxScrollP); in update()
541 mInitialScrollP = Utilities.clamp(launchTaskIndex - 1, mMinScrollP, mMaxScrollP); in update()
546 mMaxScrollP = 0; in update()
555 mMaxScrollP = Math.max(mMinScrollP, (mNumStackTasks - 1) - in update()
560 mInitialScrollP = Utilities.clamp(launchTaskIndex, mMinScrollP, mMaxScrollP); in update()
562 mInitialScrollP = Utilities.clamp(launchTaskIndex, mMinScrollP, mMaxScrollP); in update()
567 mInitialScrollP = Math.max(mMinScrollP, Math.min(mMaxScrollP, (mNumStackTasks - 2)) in update()
[all …]
DTaskStackViewScroller.java171 return Utilities.clamp(scroll, mLayoutAlgorithm.mMinScrollP, mLayoutAlgorithm.mMaxScrollP); in getBoundedStackScroll()
178 } else if (scroll > mLayoutAlgorithm.mMaxScrollP) { in getScrollAmountOutOfBounds()
179 return Math.abs(scroll - mLayoutAlgorithm.mMaxScrollP); in getScrollAmountOutOfBounds()
DTaskStackViewTouchHandler.java291 float maxScrollP = layoutAlgorithm.mMaxScrollP; in handleTouchEvent()
337 layoutAlgorithm.mMaxScrollP); in handleTouchEvent()
DTaskStackView.java1078 event.setMaxScrollY((int) (mLayoutAlgorithm.mMaxScrollP * stackHeight)); in onInitializeAccessibilityEvent()