Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskStackLayoutAlgorithm.java255 int mNumStackTasks; field in TaskStackLayoutAlgorithm
445 mNumStackTasks = 0; in update()
458 mNumStackTasks = stackTasks.size(); in update()
472 : mNumStackTasks - 1; in update()
478 mMaxScrollP = Math.max(mMinScrollP, (mNumStackTasks - 1) - in update()
486 } else if (mNumStackTasks == 1) { in update()
502 : Math.max(mMinScrollP, (mNumStackTasks - 1) - in update()
512 mInitialScrollP = mTaskStackLowRamLayoutAlgorithm.getInitialScrollP(mNumStackTasks, in update()
520 mInitialScrollP = Math.max(mMinScrollP, Math.min(mMaxScrollP, (mNumStackTasks - 2)) in update()
538 if (getInitialFocusState() == STATE_UNFOCUSED && mNumStackTasks > 1) { in setTaskOverridesForInitialState()
[all …]
DTaskStackViewScroller.java227 float newScrollP = algorithm.getClosestTaskP(pos, mLayoutAlgorithm.mNumStackTasks, in scrollToClosestTask()
236 mLayoutAlgorithm.mNumStackTasks, velocity); in scrollToClosestTask()