Home
last modified time | relevance | path

Searched refs:atoken (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DAppWindowContainerControllerTests.java88 private void assertHasStartingWindow(AppWindowToken atoken) { in assertHasStartingWindow() argument
89 assertNotNull(atoken.startingSurface); in assertHasStartingWindow()
90 assertNotNull(atoken.startingData); in assertHasStartingWindow()
91 assertNotNull(atoken.startingWindow); in assertHasStartingWindow()
94 private void assertNoStartingWindow(AppWindowToken atoken) { in assertNoStartingWindow() argument
95 assertNull(atoken.startingSurface); in assertNoStartingWindow()
96 assertNull(atoken.startingWindow); in assertNoStartingWindow()
97 assertNull(atoken.startingData); in assertNoStartingWindow()
98 atoken.forAllWindows(windowState -> { in assertNoStartingWindow()
111 final AppWindowToken atoken = controller.getAppWindowToken(mDisplayContent); in testCreateRemoveStartingWindow() local
[all …]
DTestWindowManagerPolicy.java158 final AppWindowToken atoken; in addSplashScreen() local
161 atoken = wm.mRoot.getAppWindowToken(appToken); in addSplashScreen()
162 window = WindowTestsBase.createWindow(null, TYPE_APPLICATION_STARTING, atoken, in addSplashScreen()
165 atoken.startingWindow = window; in addSplashScreen()
173 atoken.removeChild(window); in addSplashScreen()
174 atoken.startingWindow = null; in addSplashScreen()
/frameworks/base/services/core/java/com/android/server/wm/
DSplashScreenStartingData.java55 StartingSurface createStartingSurface(AppWindowToken atoken) { in createStartingSurface() argument
56 return mService.mPolicy.addSplashScreen(atoken.token, mPkg, mTheme, mCompatInfo, in createStartingSurface()
58 mMergedOverrideConfiguration, atoken.getDisplayContent().getDisplayId()); in createStartingSurface()
DSnapshotStartingData.java38 StartingSurface createStartingSurface(AppWindowToken atoken) { in createStartingSurface() argument
39 return mService.mTaskSnapshotController.createStartingSurface(atoken, mSnapshot); in createStartingSurface()
DStartingData.java40 abstract StartingSurface createStartingSurface(AppWindowToken atoken); in createStartingSurface() argument
DAppWindowContainerController.java208 AppWindowToken atoken = mRoot.getAppWindowToken(mToken.asBinder()); in AppWindowContainerController() local
209 if (atoken != null) { in AppWindowContainerController()
221 atoken = createAppWindow(mService, token, voiceInteraction, task.getDisplayContent(), in AppWindowContainerController()
225 if (DEBUG_TOKEN_MOVEMENT || DEBUG_ADD_REMOVE) Slog.v(TAG_WM, "addAppToken: " + atoken in AppWindowContainerController()
227 task.addChild(atoken, index); in AppWindowContainerController()
DWindowManagerService.java857 final AppWindowToken atoken = mRoot.getAppWindowToken(token);
858 if (atoken == null) {
861 if (atoken.mLaunchTaskBehind) {
863 mActivityManager.notifyLaunchTaskBehindComplete(atoken.token);
866 atoken.mLaunchTaskBehind = false;
868 atoken.updateReportedVisibilityLocked();
869 if (atoken.mEnteringAnimation) {
871 && getRecentsAnimationController().isTargetApp(atoken)) {
878 atoken.mEnteringAnimation = false;
880 mActivityManager.notifyEnterAnimationComplete(atoken.token);
[all …]
DDisplayContent.java405 final AppWindowToken atoken = w.mAppToken;
407 if (atoken == null || atoken.allDrawn) {
447 final AppWindowToken atoken = winAnimator.mWin.mAppToken;
448 final AnimationAdapter animation = atoken != null ? atoken.getAnimation() : null;
535 final AppWindowToken atoken = w.mAppToken;
538 + " hiddenRequested=" + (atoken != null && atoken.hiddenRequested)
542 + " hiddenRequested=" + (atoken != null && atoken.hiddenRequested)
718 final AppWindowToken atoken = w.mAppToken;
719 if (atoken != null) {
720 atoken.updateLetterboxSurface(w);
[all …]
DTaskSnapshotController.java309 final AppWindowToken atoken = closingApps.valueAt(i); in getClosingTasks() local
310 final Task task = atoken.getTask(); in getClosingTasks()
DWindowState.java1546 final AppWindowToken atoken = mAppToken; in isVisibleOrAdding() local
1549 && (atoken == null || !atoken.hiddenRequested) in isVisibleOrAdding()
1562 final AppWindowToken atoken = mAppToken; in isOnScreen() local
1563 if (atoken != null) { in isOnScreen()
1564 return ((!isParentWindowHidden() && !atoken.hiddenRequested) in isOnScreen()
1627 final AppWindowToken atoken = mAppToken; in isDisplayedLw() local
1629 && ((!isParentWindowHidden() && (atoken == null || !atoken.hiddenRequested)) in isDisplayedLw()
1643 final AppWindowToken atoken = mAppToken; in isGoneForLayoutLw() local
1646 || (atoken == null && mToken.isHidden()) in isGoneForLayoutLw()
1647 || (atoken != null && atoken.hiddenRequested) in isGoneForLayoutLw()
DRootWindowContainer.java298 final AppWindowToken atoken = dc.getAppWindowToken(binder); in getAppWindowToken() local
299 if (atoken != null) { in getAppWindowToken()
300 return atoken; in getAppWindowToken()
DWindowStateAnimator.java368 final AppWindowToken atoken = mWin.mAppToken; in commitFinishDrawingLocked() local
369 if (atoken == null || atoken.allDrawn || mWin.mAttrs.type == TYPE_APPLICATION_STARTING) { in commitFinishDrawingLocked()