Home
last modified time | relevance | path

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

/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/
H A DShellTaskOrganizer.java643 final LocusId prevLocus = mVisibleTasksWithLocusId.get(taskId); in notifyLocusVisibilityIfNeeded() local
644 final boolean sameLocus = Objects.equals(prevLocus, taskInfo.mTopActivityLocusId); in notifyLocusVisibilityIfNeeded()
645 if (prevLocus == null) { in notifyLocusVisibilityIfNeeded()
659 notifyLocusIdChange(taskId, prevLocus, false /* visible */); in notifyLocusVisibilityIfNeeded()
663 notifyLocusIdChange(taskId, prevLocus, false /* visible */); in notifyLocusVisibilityIfNeeded()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
H A DShellTaskOrganizerTests.java562 LocusId prevLocus = task1.mTopActivityLocusId; in testLocusListener_infoChanged() local
571 assertEquals(listener.invisibleLocusTasks.get(task1.taskId), prevLocus); in testLocusListener_infoChanged() local
588 LocusId prevLocus = task1.mTopActivityLocusId; in testLocusListener_infoChanged_notVisible() local
595 assertEquals(listener.invisibleLocusTasks.get(task1.taskId), prevLocus); in testLocusListener_infoChanged_notVisible() local