Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DWindowToken.java95 (WindowState newWindow, WindowState existingWindow) -> {
97 if (newWindow.mToken != token) {
98 throw new IllegalArgumentException("newWindow=" + newWindow
107 return isFirstChildWindowGreaterThanSecond(newWindow, existingWindow) ? 1 : -1;
187 protected boolean isFirstChildWindowGreaterThanSecond(WindowState newWindow, in isFirstChildWindowGreaterThanSecond() argument
190 return newWindow.mBaseLayer >= existingWindow.mBaseLayer; in isFirstChildWindowGreaterThanSecond()
DAccessibilityController.java1183 WindowInfo newWindow = windows.get(i); in computeChangedWindows() local
1187 if (windowChangedNoLayer(oldWindow, newWindow)) { in computeChangedWindows()
1254 WindowInfo newWindow = windows.get(i); in cacheWindows() local
1255 mOldWindows.add(WindowInfo.obtain(newWindow)); in cacheWindows()
1259 private boolean windowChangedNoLayer(WindowInfo oldWindow, WindowInfo newWindow) { in windowChangedNoLayer() argument
1260 if (oldWindow == newWindow) { in windowChangedNoLayer()
1266 if (newWindow == null) { in windowChangedNoLayer()
1269 if (oldWindow.type != newWindow.type) { in windowChangedNoLayer()
1272 if (oldWindow.focused != newWindow.focused) { in windowChangedNoLayer()
1276 if (newWindow.token != null) { in windowChangedNoLayer()
[all …]
DInputMonitor.java500 public void setInputFocusLw(WindowState newWindow, boolean updateInputWindows) { in setInputFocusLw() argument
502 Slog.d(TAG_WM, "Input focus has changed to " + newWindow); in setInputFocusLw()
505 if (newWindow != mInputFocus) { in setInputFocusLw()
506 if (newWindow != null && newWindow.canReceiveKeys()) { in setInputFocusLw()
510 newWindow.mToken.paused = false; in setInputFocusLw()
513 mInputFocus = newWindow; in setInputFocusLw()
DAppWindowToken.java964 protected boolean isFirstChildWindowGreaterThanSecond(WindowState newWindow, in isFirstChildWindowGreaterThanSecond() argument
966 final int type1 = newWindow.mAttrs.type; in isFirstChildWindowGreaterThanSecond()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java3223 final AccessibilityWindowInfo newWindow = mWindows.get(i); in sendEventsForChangedWindowsLocked() local
3224 final AccessibilityWindowInfo oldWindow = oldWindowsById.get(newWindow.getId()); in sendEventsForChangedWindowsLocked()
3227 newWindow.getId(), AccessibilityEvent.WINDOWS_CHANGE_ADDED)); in sendEventsForChangedWindowsLocked()
3229 int changes = newWindow.differenceFrom(oldWindow); in sendEventsForChangedWindowsLocked()
3232 newWindow.getId(), changes)); in sendEventsForChangedWindowsLocked()