Searched refs:newFocusTaskViewIndex (Results 1 – 1 of 1) sorted by relevance
490 int newFocusTaskViewIndex = taskViews.indexOf(newFocusedTaskView); in startScrollToFocusedTaskAnimation() local512 if (i < newFocusTaskViewIndex) { in startScrollToFocusedTaskAnimation()513 duration = 150 + ((newFocusTaskViewIndex - i - 1) * 50); in startScrollToFocusedTaskAnimation()515 } else if (i > newFocusTaskViewIndex) { in startScrollToFocusedTaskAnimation()516 duration = Math.max(100, 150 - ((i - newFocusTaskViewIndex - 1) * 50)); in startScrollToFocusedTaskAnimation()