Searched refs:mNumStackTasks (Results 1 – 2 of 2) sorted by relevance
255 int mNumStackTasks; field in TaskStackLayoutAlgorithm445 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 …]
227 float newScrollP = algorithm.getClosestTaskP(pos, mLayoutAlgorithm.mNumStackTasks, in scrollToClosestTask()236 mLayoutAlgorithm.mNumStackTasks, velocity); in scrollToClosestTask()