Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java633 WindowState mCurrentFocus = null; field in WindowManagerService
1443 || mCurrentFocus == null in addWindow()
1444 || mCurrentFocus.mOwnerUid != callingUid) { in addWindow()
1454 if (mCurrentFocus == null) { in addWindow()
1577 mInputMonitor.setInputFocusLw(mCurrentFocus, false /*updateInputWindows*/); in addWindow()
1746 if (mCurrentFocus == null) { in postWindowRemoveCleanupLocked()
4619 if (mCurrentFocus != null && mCurrentFocus != win in startPositioningLocked()
4620 && mCurrentFocus.mAppToken == win.mAppToken) { in startPositioningLocked()
4621 transferFocusFromWin = mCurrentFocus; in startPositioningLocked()
4744 return mCurrentFocus; in getFocusedWindowLocked()
[all …]
DWindowState.java1860 if (localLOGV || DEBUG_FOCUS || DEBUG_FOCUS_LIGHT && this == mService.mCurrentFocus) in removeIfPossible()
2288 if (mService.mCurrentFocus == this) { in checkPolicyVisibilityChange()
2545 if (mService.mCurrentFocus == this) { in hideLw()
2554 if (mService.mCurrentFocus == this) { in hideLw()
3256 return mService.mCurrentFocus == this; in isFocused()
DAccessibilityController.java1041 if (mWindowManagerService.mCurrentFocus == null) { in computeChangedWindows()
DDisplayContent.java717 if (isDefaultDisplay && someoneLosingFocus && w == mService.mCurrentFocus
2648 Slog.i(TAG_WM, "Current focus: " + mService.mCurrentFocus); in inputMethodClientHasFocus()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DDisplayContentTests.java282 assertEquals(sWm.mCurrentFocus, dc0.findFocusedWindow()); in testInputEventBringsCorrectDisplayInFocus()
292 assertEquals(sWm.mCurrentFocus, dc1.findFocusedWindow()); in testInputEventBringsCorrectDisplayInFocus()