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