Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DUnknownAppVisibilityController.java87 void appRemovedOrHidden(@NonNull AppWindowToken appWindow) { in appRemovedOrHidden() argument
89 Slog.d(TAG, "App removed or hidden appWindow=" + appWindow); in appRemovedOrHidden()
91 mUnknownApps.remove(appWindow); in appRemovedOrHidden()
98 void notifyLaunched(@NonNull AppWindowToken appWindow) { in notifyLaunched() argument
100 Slog.d(TAG, "App launched appWindow=" + appWindow); in notifyLaunched()
102 mUnknownApps.put(appWindow, UNKNOWN_STATE_WAITING_RESUME); in notifyLaunched()
108 void notifyAppResumedFinished(@NonNull AppWindowToken appWindow) { in notifyAppResumedFinished() argument
109 if (mUnknownApps.containsKey(appWindow) in notifyAppResumedFinished()
110 && mUnknownApps.get(appWindow) == UNKNOWN_STATE_WAITING_RESUME) { in notifyAppResumedFinished()
112 Slog.d(TAG, "App resume finished appWindow=" + appWindow); in notifyAppResumedFinished()
[all …]
DWindowManagerService.java6323 final AppWindowToken appWindow = mRoot.getAppWindowToken(token); in notifyAppRelaunching() local
6324 if (appWindow != null) { in notifyAppRelaunching()
6325 appWindow.startRelaunching(); in notifyAppRelaunching()
6332 final AppWindowToken appWindow = mRoot.getAppWindowToken(token); in notifyAppRelaunchingFinished() local
6333 if (appWindow != null) { in notifyAppRelaunchingFinished()
6334 appWindow.finishRelaunching(); in notifyAppRelaunchingFinished()
6341 final AppWindowToken appWindow = mRoot.getAppWindowToken(token); in notifyAppRelaunchesCleared() local
6342 if (appWindow != null) { in notifyAppRelaunchesCleared()
6343 appWindow.clearRelaunching(); in notifyAppRelaunchesCleared()
6350 final AppWindowToken appWindow = mRoot.getAppWindowToken(token); in notifyAppResumedFinished() local
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DAppWindowTokenTests.java114 final WindowTestUtils.TestWindowState appWindow = createWindowState(attrs, appWindowToken); in testLandscapeSeascapeRotationByApp() local
115 appWindowToken.addWindow(appWindow); in testLandscapeSeascapeRotationByApp()
122 appWindow.resizeReported = false; in testLandscapeSeascapeRotationByApp()
130 assertTrue(appWindow.resizeReported); in testLandscapeSeascapeRotationByApp()
131 appWindow.removeImmediately(); in testLandscapeSeascapeRotationByApp()
150 final WindowTestUtils.TestWindowState appWindow = createWindowState(attrs, appWindowToken); in testLandscapeSeascapeRotationByPolicy() local
151 appWindowToken.addWindow(appWindow); in testLandscapeSeascapeRotationByPolicy()
155 appWindow.resizeReported = false; in testLandscapeSeascapeRotationByPolicy()
159 assertTrue(appWindow.resizeReported); in testLandscapeSeascapeRotationByPolicy()
160 appWindow.removeImmediately(); in testLandscapeSeascapeRotationByPolicy()
[all …]
DWindowStateTests.java146 final WindowState appWindow = createWindow(null, TYPE_APPLICATION, "appWindow"); in testCanBeImeTarget() local
151 appWindow.mAttrs.flags |= FLAG_NOT_FOCUSABLE; in testCanBeImeTarget()
155 appWindow.setHasSurface(true); in testCanBeImeTarget()
159 assertFalse(appWindow.canBeImeTarget()); in testCanBeImeTarget()
163 appWindow.mAttrs.flags |= (FLAG_NOT_FOCUSABLE | FLAG_ALT_FOCUSABLE_IM); in testCanBeImeTarget()
168 assertTrue(appWindow.canBeImeTarget()); in testCanBeImeTarget()
172 appWindow.hideLw(false /* doAnimation */); in testCanBeImeTarget()
176 assertFalse(appWindow.canBeImeTarget()); in testCanBeImeTarget()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java5395 boolean appWindow = attrs.type >= FIRST_APPLICATION_WINDOW in applyPostLayoutPolicyLw()
5408 appWindow = true; in applyPostLayoutPolicyLw()
5415 if (appWindow && attached == null) { in applyPostLayoutPolicyLw()
5454 if (mTopDockedOpaqueWindowState == null && affectsSystemUi && appWindow && attached == null in applyPostLayoutPolicyLw()