Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentsAnimationControllerTest.java94 final AppWindowToken appWindow = createAppWindowToken(mDisplayContent, in testRemovedBeforeStarted_expectCanceled() local
96 AnimationAdapter adapter = mController.addAnimation(appWindow.getTask(), in testRemovedBeforeStarted_expectCanceled()
101 appWindow.removeImmediately(); in testRemovedBeforeStarted_expectCanceled()
113 final AppWindowToken appWindow = createAppWindowToken(mDisplayContent, in testCancelAfterRemove_expectIgnored() local
115 AnimationAdapter adapter = mController.addAnimation(appWindow.getTask(), in testCancelAfterRemove_expectIgnored()
120 appWindow.removeImmediately(); in testCancelAfterRemove_expectIgnored()
135 final AppWindowToken appWindow = createAppWindowToken(mDisplayContent, in testIncludedApps_expectTargetAndVisible() local
146 assertTrue(mController.isAnimatingTask(appWindow.getTask())); in testIncludedApps_expectTargetAndVisible()
153 final AppWindowToken appWindow = createAppWindowToken(mDisplayContent, in testDeferCancelAnimation() local
155 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, appWindow, "win1"); in testDeferCancelAnimation()
[all …]
DAppWindowTokenTests.java162 final WindowTestUtils.TestWindowState appWindow = createWindowState(attrs, mToken); in testLandscapeSeascapeRotationByApp() local
163 mToken.addWindow(appWindow); in testLandscapeSeascapeRotationByApp()
171 appWindow.mResizeReported = false; in testLandscapeSeascapeRotationByApp()
182 assertTrue(appWindow.mResizeReported); in testLandscapeSeascapeRotationByApp()
183 appWindow.removeImmediately(); in testLandscapeSeascapeRotationByApp()
198 final WindowTestUtils.TestWindowState appWindow = createWindowState(attrs, mToken); in testLandscapeSeascapeRotationByPolicy() local
199 mToken.addWindow(appWindow); in testLandscapeSeascapeRotationByPolicy()
203 appWindow.mResizeReported = false; in testLandscapeSeascapeRotationByPolicy()
207 assertTrue(appWindow.mResizeReported); in testLandscapeSeascapeRotationByPolicy()
209 appWindow.removeImmediately(); in testLandscapeSeascapeRotationByPolicy()
[all …]
DWindowStateTests.java220 final WindowState appWindow = createWindow(null, TYPE_APPLICATION, "appWindow"); in testCanBeImeTarget() local
225 appWindow.mAttrs.flags |= FLAG_NOT_FOCUSABLE; in testCanBeImeTarget()
229 appWindow.setHasSurface(true); in testCanBeImeTarget()
233 assertFalse(appWindow.canBeImeTarget()); in testCanBeImeTarget()
237 appWindow.mAttrs.flags |= (FLAG_NOT_FOCUSABLE | FLAG_ALT_FOCUSABLE_IM); in testCanBeImeTarget()
242 assertTrue(appWindow.canBeImeTarget()); in testCanBeImeTarget()
246 appWindow.hideLw(false /* doAnimation */); in testCanBeImeTarget()
250 assertFalse(appWindow.canBeImeTarget()); in testCanBeImeTarget()
/frameworks/base/services/core/java/com/android/server/wm/
DUnknownAppVisibilityController.java90 void appRemovedOrHidden(@NonNull AppWindowToken appWindow) { in appRemovedOrHidden() argument
92 Slog.d(TAG, "App removed or hidden appWindow=" + appWindow); in appRemovedOrHidden()
94 mUnknownApps.remove(appWindow); in appRemovedOrHidden()
101 void notifyLaunched(@NonNull AppWindowToken appWindow) { in notifyLaunched() argument
103 Slog.d(TAG, "App launched appWindow=" + appWindow); in notifyLaunched()
105 mUnknownApps.put(appWindow, UNKNOWN_STATE_WAITING_RESUME); in notifyLaunched()
111 void notifyAppResumedFinished(@NonNull AppWindowToken appWindow) { in notifyAppResumedFinished() argument
112 if (mUnknownApps.containsKey(appWindow) in notifyAppResumedFinished()
113 && mUnknownApps.get(appWindow) == UNKNOWN_STATE_WAITING_RESUME) { in notifyAppResumedFinished()
115 Slog.d(TAG, "App resume finished appWindow=" + appWindow); in notifyAppResumedFinished()
[all …]
DWindowManagerService.java5887 final AppWindowToken appWindow = mRoot.getAppWindowToken(token); in notifyAppRelaunching() local
5888 if (appWindow != null) { in notifyAppRelaunching()
5889 appWindow.startRelaunching(); in notifyAppRelaunching()
5896 final AppWindowToken appWindow = mRoot.getAppWindowToken(token); in notifyAppRelaunchingFinished() local
5897 if (appWindow != null) { in notifyAppRelaunchingFinished()
5898 appWindow.finishRelaunching(); in notifyAppRelaunchingFinished()
5905 final AppWindowToken appWindow = mRoot.getAppWindowToken(token); in notifyAppRelaunchesCleared() local
5906 if (appWindow != null) { in notifyAppRelaunchesCleared()
5907 appWindow.clearRelaunching(); in notifyAppRelaunchesCleared()
5914 final AppWindowToken appWindow = mRoot.getAppWindowToken(token); in notifyAppResumedFinished() local
[all …]
DDisplayPolicy.java2421 boolean appWindow = attrs.type >= FIRST_APPLICATION_WINDOW in applyPostLayoutPolicyLw()
2437 appWindow = true; in applyPostLayoutPolicyLw()
2444 if (appWindow && attached == null) { in applyPostLayoutPolicyLw()
2483 if (mTopDockedOpaqueWindowState == null && affectsSystemUi && appWindow && attached == null in applyPostLayoutPolicyLw()