Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackLayoutAlgorithm.java528 int launchTaskIndex = launchTask != null in update() local
539 mInitialScrollP = Utilities.clamp(launchTaskIndex, mMinScrollP, mMaxScrollP); in update()
541 mInitialScrollP = Utilities.clamp(launchTaskIndex - 1, mMinScrollP, mMaxScrollP); in update()
560 mInitialScrollP = Utilities.clamp(launchTaskIndex, mMinScrollP, mMaxScrollP); in update()
562 mInitialScrollP = Utilities.clamp(launchTaskIndex, mMinScrollP, mMaxScrollP); in update()
DTaskStackView.java1665 int launchTaskIndex = mStack.indexOfStackTask(mStack.getLaunchTarget()); in onBusEvent() local
1666 if (launchTaskIndex != -1) { in onBusEvent()
1667 launchTaskIndex = Math.max(0, launchTaskIndex - 1); in onBusEvent()
1669 launchTaskIndex = mStack.getTaskCount() - 1; in onBusEvent()
1671 if (launchTaskIndex != -1) { in onBusEvent()
1675 final Task launchTask = mStack.getStackTasks().get(launchTaskIndex); in onBusEvent()