Home
last modified time | relevance | path

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

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityWindowManager.java387 WindowInfo oldWindow = mCachedWindowInfos.get(i); in shouldUpdateWindowsLocked() local
392 if (windowChangedNoLayer(oldWindow, newWindow)) { in shouldUpdateWindowsLocked()
413 private boolean windowChangedNoLayer(WindowInfo oldWindow, WindowInfo newWindow) { in windowChangedNoLayer() argument
414 if (oldWindow == newWindow) { in windowChangedNoLayer()
417 if (oldWindow == null) { in windowChangedNoLayer()
423 if (oldWindow.type != newWindow.type) { in windowChangedNoLayer()
426 if (oldWindow.focused != newWindow.focused) { in windowChangedNoLayer()
429 if (oldWindow.token == null) { in windowChangedNoLayer()
433 } else if (!oldWindow.token.equals(newWindow.token)) { in windowChangedNoLayer()
436 if (oldWindow.parentToken == null) { in windowChangedNoLayer()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityWindowManagerTest.java339 final AccessibilityWindowInfo oldWindow = in onWindowsChangedNoForceSend_windowChanged_shouldUpdateWindows() local
351 assertNotEquals(oldWindow, in onWindowsChangedNoForceSend_windowChanged_shouldUpdateWindows()