Home
last modified time | relevance | path

Searched refs:focusedTask (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowManagerServiceTests.java128 Task focusedTask = createTaskInStack(focusedStack, 0 /* userId */); in testTaskFocusChange_stackNotHomeType_focusChanges() local
129 WindowState focusedWindow = createAppWindow(focusedTask, TYPE_APPLICATION, "App Window"); in testTaskFocusChange_stackNotHomeType_focusChanges()
149 Task focusedTask = createTaskInStack(focusedStack, 0 /* userId */); in testTaskFocusChange_stackHomeTypeWithSameTaskDisplayArea_focusDoesNotChange() local
150 WindowState focusedWindow = createAppWindow(focusedTask, TYPE_APPLICATION, "App Window"); in testTaskFocusChange_stackHomeTypeWithSameTaskDisplayArea_focusDoesNotChange()
174 Task focusedTask = createTaskInStack(focusedStack, 0 /* userId */); in testTaskFocusChange_stackHomeTypeWithDifferentTaskDisplayArea_focusChanges() local
175 WindowState focusedWindow = createAppWindow(focusedTask, TYPE_APPLICATION, "App Window"); in testTaskFocusChange_stackHomeTypeWithDifferentTaskDisplayArea_focusChanges()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java2629 final Task focusedTask = (mFocusedApp != null ? mFocusedApp.getTask() : null); in updateTouchExcludeRegion() local
2630 if (focusedTask == null) { in updateTouchExcludeRegion()
2640 PooledLambda.__(Task.class), focusedTask, delta); in updateTouchExcludeRegion()
2677 private void processTaskForTouchExcludeRegion(Task task, Task focusedTask, int delta) { in processTaskForTouchExcludeRegion() argument
2698 if (task == focusedTask) { in processTaskForTouchExcludeRegion()
2707 if (task != focusedTask || isFreeformed) { in processTaskForTouchExcludeRegion()
3267 final Task focusedTask = newFocus != null ? newFocus.getTask() : null; in onWindowFocusChanged() local
3269 if (focusedTask == unfocusedTask) { in onWindowFocusChanged()
3272 if (focusedTask != null) { in onWindowFocusChanged()
3273 focusedTask.onWindowFocusChanged(true /* hasFocus */); in onWindowFocusChanged()