Searched refs:launchTaskIndex (Results 1 – 2 of 2) sorted by relevance
528 int launchTaskIndex = launchTask != null in update() local539 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()
1665 int launchTaskIndex = mStack.indexOfStackTask(mStack.getLaunchTarget()); in onBusEvent() local1666 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()