Home
last modified time | relevance | path

Searched refs:visibleTasks (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopModeTaskRepository.kt47 val visibleTasks: ArraySet<Int> = ArraySet(), in <lambda>() constant in com.android.wm.shell.desktopmode.DesktopModeTaskRepository.DisplayData
182 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>()
/frameworks/base/services/core/java/com/android/server/wm/
DRecentsAnimationController.java412 final ArrayList<Task> visibleTasks = mDisplayContent.getDefaultTaskDisplayArea() in initialize() local
418 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()
DBackgroundActivityStartController.java1077 ArrayList<Task> visibleTasks = displayArea.getVisibleTasks(); in checkActivityAllowedToStart() local
1078 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()
DTaskDisplayArea.java239 final ArrayList<Task> visibleTasks = new ArrayList<>();
242 visibleTasks.add(task);
245 return visibleTasks;
DTaskFragmentOrganizerController.java1127 final ArrayList<Task> visibleTasks = new ArrayList<>(); in shouldDeferPendingEvents() local
1146 && isTaskVisible(task, visibleTasks, invisibleTasks)) { in shouldDeferPendingEvents()