Searched refs:visibleTasks (Results 1 – 5 of 5) sorted by relevance
47 val visibleTasks: ArraySet<Int> = ArraySet(), in <lambda>() constant in com.android.wm.shell.desktopmode.DesktopModeTaskRepository.DisplayData182 data.visibleTasks.contains(taskId) in <lambda>()239 if (displayData[otherDisplayId].visibleTasks.remove(taskId)) { in <lambda>()242 displayData[otherDisplayId].visibleTasks.size in <lambda>()249 if (data.visibleTasks.remove(taskId)) { in <lambda>()250 notifyVisibleTaskListeners(displayId, data.visibleTasks.size) in <lambda>()258 displayData.getOrCreate(displayId).visibleTasks.add(taskId) in <lambda>()261 displayData[displayId]?.visibleTasks?.remove(taskId) in <lambda>()295 displayData[displayId]?.visibleTasks?.size ?: 0 in <lambda>()297 return displayData[displayId]?.visibleTasks?.size ?: 0 in <lambda>()
412 final ArrayList<Task> visibleTasks = mDisplayContent.getDefaultTaskDisplayArea() in initialize() local418 if (!visibleTasks.contains(t)) { in initialize()419 visibleTasks.add(t); in initialize()424 final int taskCount = visibleTasks.size(); in initialize()426 final Task task = visibleTasks.get(i); in initialize()
1077 ArrayList<Task> visibleTasks = displayArea.getVisibleTasks(); in checkActivityAllowedToStart() local1078 for (int i = 0; i < visibleTasks.size(); i++) { in checkActivityAllowedToStart()1079 Task task = visibleTasks.get(i); in checkActivityAllowedToStart()1080 if (visibleTasks.size() == 1 && task.isActivityTypeHomeOrRecents()) { in checkActivityAllowedToStart()
239 final ArrayList<Task> visibleTasks = new ArrayList<>();242 visibleTasks.add(task);245 return visibleTasks;
1127 final ArrayList<Task> visibleTasks = new ArrayList<>(); in shouldDeferPendingEvents() local1146 && isTaskVisible(task, visibleTasks, invisibleTasks)) { in shouldDeferPendingEvents()