Home
last modified time | relevance | path

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

/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityWindowManager.java393 WindowInfo newWindow = windows.get(i); in shouldUpdateWindowsLocked() local
397 if (windowChangedNoLayer(oldWindow, newWindow)) { in shouldUpdateWindowsLocked()
413 WindowInfo newWindow = windows.get(i); in cacheWindows() local
414 mCachedWindowInfos.add(WindowInfo.obtain(newWindow)); in cacheWindows()
418 private boolean windowChangedNoLayer(WindowInfo oldWindow, WindowInfo newWindow) { in windowChangedNoLayer() argument
419 if (oldWindow == newWindow) { in windowChangedNoLayer()
425 if (newWindow == null) { in windowChangedNoLayer()
428 if (oldWindow.type != newWindow.type) { in windowChangedNoLayer()
431 if (oldWindow.focused != newWindow.focused) { in windowChangedNoLayer()
435 if (newWindow.token != null) { in windowChangedNoLayer()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DInputMonitor.java372 void setInputFocusLw(WindowState newWindow, boolean updateInputWindows) { in setInputFocusLw() argument
374 newWindow, mDisplayId); in setInputFocusLw()
375 final IBinder focus = newWindow != null ? newWindow.mInputChannelToken : null; in setInputFocusLw()
380 if (newWindow != null && newWindow.canReceiveKeys()) { in setInputFocusLw()
384 newWindow.mToken.paused = false; in setInputFocusLw()
DWindowToken.java189 (WindowState newWindow, WindowState existingWindow) -> {
191 if (newWindow.mToken != token) {
192 throw new IllegalArgumentException("newWindow=" + newWindow
201 return isFirstChildWindowGreaterThanSecond(newWindow, existingWindow) ? 1 : -1;
291 protected boolean isFirstChildWindowGreaterThanSecond(WindowState newWindow, in isFirstChildWindowGreaterThanSecond() argument
294 return newWindow.mBaseLayer >= existingWindow.mBaseLayer; in isFirstChildWindowGreaterThanSecond()
DActivityRecord.java3670 protected boolean isFirstChildWindowGreaterThanSecond(WindowState newWindow, in isFirstChildWindowGreaterThanSecond() argument
3672 final int type1 = newWindow.mAttrs.type; in isFirstChildWindowGreaterThanSecond()