Searched refs:mOrderedTaskList (Results 1 – 1 of 1) sorted by relevance
76 private final LinkedList<RunningTaskInfo> mOrderedTaskList = new LinkedList<>(); field in TopTaskTracker100 mOrderedTaskList.removeIf(rto -> rto.taskId == taskId); in onTaskRemoved()108 if (!mOrderedTaskList.isEmpty() in onTaskMovedToFront()109 && mOrderedTaskList.getFirst().taskId != taskInfo.taskId in onTaskMovedToFront()114 mOrderedTaskList.removeIf(rto -> rto.taskId == taskInfo.taskId); in onTaskMovedToFront()115 mOrderedTaskList.addFirst(taskInfo); in onTaskMovedToFront()121 final RunningTaskInfo topTaskOnHomeDisplay = mOrderedTaskList.stream() in onTaskMovedToFront()129 mOrderedTaskList.removeIf(rto -> rto.taskId == topTaskOnHomeDisplay.taskId); in onTaskMovedToFront()130 mOrderedTaskList.addFirst(topTaskOnHomeDisplay); in onTaskMovedToFront()134 if (mOrderedTaskList.size() >= HISTORY_SIZE) { in onTaskMovedToFront()[all …]