Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DWindowToken.java89 (WindowState newWindow, WindowState existingWindow) -> {
91 if (newWindow.mToken != token) {
92 throw new IllegalArgumentException("newWindow=" + newWindow
101 return isFirstChildWindowGreaterThanSecond(newWindow, existingWindow) ? 1 : -1;
159 protected boolean isFirstChildWindowGreaterThanSecond(WindowState newWindow, in isFirstChildWindowGreaterThanSecond() argument
162 return newWindow.mBaseLayer >= existingWindow.mBaseLayer; in isFirstChildWindowGreaterThanSecond()
DAccessibilityController.java1183 WindowInfo newWindow = windows.get(i); in computeChangedWindows() local
1187 if (windowChangedNoLayer(oldWindow, newWindow)) { in computeChangedWindows()
1251 WindowInfo newWindow = windows.get(i); in cacheWindows() local
1252 mOldWindows.add(WindowInfo.obtain(newWindow)); in cacheWindows()
1256 private boolean windowChangedNoLayer(WindowInfo oldWindow, WindowInfo newWindow) { in windowChangedNoLayer() argument
1257 if (oldWindow == newWindow) { in windowChangedNoLayer()
1263 if (newWindow == null) { in windowChangedNoLayer()
1266 if (oldWindow.type != newWindow.type) { in windowChangedNoLayer()
1269 if (oldWindow.focused != newWindow.focused) { in windowChangedNoLayer()
1273 if (newWindow.token != null) { in windowChangedNoLayer()
[all …]
DInputMonitor.java489 public void setInputFocusLw(WindowState newWindow, boolean updateInputWindows) { in setInputFocusLw() argument
491 Slog.d(TAG_WM, "Input focus has changed to " + newWindow); in setInputFocusLw()
494 if (newWindow != mInputFocus) { in setInputFocusLw()
495 if (newWindow != null && newWindow.canReceiveKeys()) { in setInputFocusLw()
499 newWindow.mToken.paused = false; in setInputFocusLw()
502 mInputFocus = newWindow; in setInputFocusLw()
DAppWindowToken.java957 protected boolean isFirstChildWindowGreaterThanSecond(WindowState newWindow, in isFirstChildWindowGreaterThanSecond() argument
959 final int type1 = newWindow.mAttrs.type; in isFirstChildWindowGreaterThanSecond()