Home
last modified time | relevance | path

Searched refs:AppWindowToken (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotCache.java37 private final ArrayMap<AppWindowToken, Integer> mAppTaskMap = new ArrayMap<>();
50 final AppWindowToken top = task.getTopChild(); in putSnapshot()
90 void onAppRemoved(AppWindowToken wtoken) { in onAppRemoved()
100 void onAppDied(AppWindowToken wtoken) { in onAppDied()
137 final AppWindowToken topApp;
139 CacheEntry(TaskSnapshot snapshot, AppWindowToken topApp) { in CacheEntry()
DTaskSnapshotController.java113 void notifyAppVisibilityChanged(AppWindowToken appWindowToken, boolean visible) { in notifyAppVisibilityChanged()
119 private void handleClosingApps(ArraySet<AppWindowToken> closingApps) { in handleClosingApps()
172 StartingSurface createStartingSurface(AppWindowToken token, in createStartingSurface()
178 final AppWindowToken top = task.getTopChild(); in snapshotTask()
211 void getClosingTasks(ArraySet<AppWindowToken> closingApps, ArraySet<Task> outClosingTasks) { in getClosingTasks()
214 final AppWindowToken atoken = closingApps.valueAt(i); in getClosingTasks()
227 final AppWindowToken topChild = task.getTopChild(); in getSnapshotMode()
242 final AppWindowToken topChild = task.getTopChild(); in drawAppThemeSnapshot()
277 void onAppRemoved(AppWindowToken wtoken) { in onAppRemoved()
284 void onAppDied(AppWindowToken wtoken) { in onAppDied()
DUnknownAppVisibilityController.java59 private final ArrayMap<AppWindowToken, Integer> mUnknownApps = new ArrayMap<>();
87 void appRemovedOrHidden(@NonNull AppWindowToken appWindow) { in appRemovedOrHidden()
98 void notifyLaunched(@NonNull AppWindowToken appWindow) { in notifyLaunched()
108 void notifyAppResumedFinished(@NonNull AppWindowToken appWindow) { in notifyAppResumedFinished()
121 void notifyRelayouted(@NonNull AppWindowToken appWindow) { in notifyRelayouted()
DWindowSurfacePlacer.java94 public AppWindowToken token;
265 final AppWindowToken wtoken = mService.mOpeningApps.valueAt(i); in handleAppTransitionReadyLocked()
293 final AppWindowToken wtoken; in handleAppTransitionReadyLocked()
341 final AppWindowToken topClosingApp = mTmpLayerAndToken.token; in handleAppTransitionReadyLocked()
344 final AppWindowToken topOpeningApp = handleOpeningApps(transit, in handleAppTransitionReadyLocked()
383 private AppWindowToken handleOpeningApps(int transit, LayoutParams animLp, in handleOpeningApps()
385 AppWindowToken topOpeningApp = null; in handleOpeningApps()
388 AppWindowToken wtoken = mService.mOpeningApps.valueAt(i); in handleOpeningApps()
439 AppWindowToken wtoken = mService.mClosingApps.valueAt(i); in handleClosingApps()
527 AppWindowToken wtoken = mService.mOpeningApps.valueAt(i); in transitionGoodToGo()
[all …]
DTask.java46 class Task extends WindowContainer<AppWindowToken> implements DimLayer.DimLayerUser {
142 void addChild(AppWindowToken wtoken, int position) { in addChild()
149 void positionChildAt(int position, AppWindowToken child, boolean includingParents) { in positionChildAt()
249 void removeChild(AppWindowToken token) { in removeChild()
457 final AppWindowToken token = mChildren.get(i); in getMaxVisibleBounds()
620 final AppWindowToken token = getTopVisibleAppToken(); in getTopVisibleAppMainWindow()
624 AppWindowToken getTopVisibleAppToken() { in getTopVisibleAppToken()
626 final AppWindowToken token = mChildren.get(i); in getTopVisibleAppToken()
725 final AppWindowToken wtoken = mChildren.get(i); in dump()
DAppWindowContainerController.java58 extends WindowContainerController<AppWindowToken, AppWindowContainerListener> {
155 final AppWindowToken container;
236 AppWindowToken atoken = mRoot.getAppWindowToken(mToken.asBinder()); in AppWindowContainerController()
260 AppWindowToken createAppWindow(WindowManagerService service, IApplicationToken token, in createAppWindow()
266 return new AppWindowToken(service, token, voiceInteraction, dc, in createAppWindow()
366 final AppWindowToken wtoken = mContainer; in setVisibility()
469 final AppWindowToken focusedToken = win.mAppToken; in setVisibility()
DStartingData.java40 abstract StartingSurface createStartingSurface(AppWindowToken atoken); in createStartingSurface()
DSnapshotStartingData.java38 StartingSurface createStartingSurface(AppWindowToken atoken) { in createStartingSurface()
DSplashScreenStartingData.java54 StartingSurface createStartingSurface(AppWindowToken atoken) { in createStartingSurface()
DWindowManagerService.java431 final ArrayList<AppWindowToken> mFinishedStarting = new ArrayList<>();
438 final ArrayList<AppWindowToken> mFinishedEarlyAnim = new ArrayList<>();
444 final ArrayList<AppWindowToken> mWindowReplacementTimeouts = new ArrayList<>();
603 final ArraySet<AppWindowToken> mOpeningApps = new ArraySet<>();
604 final ArraySet<AppWindowToken> mClosingApps = new ArraySet<>();
701 AppWindowToken mFocusedApp = null;
943 final AppWindowToken atoken = mRoot.getAppWindowToken(token);
1229 AppWindowToken atoken = null; in addWindow()
1438 final AppWindowToken aToken = token.asAppWindowToken(); in addWindow()
1587 private boolean prepareWindowReplacementTransition(AppWindowToken atoken) { in prepareWindowReplacementTransition()
[all …]
DInputMonitor.java221 AppWindowToken appWindowToken = null; in notifyANR()
232 appWindowToken = (AppWindowToken)inputApplicationHandle.appWindowToken; in notifyANR()
511 public void setFocusedAppLw(AppWindowToken newApp) { in setFocusedAppLw()
DAppWindowToken.java77 class AppTokenList extends ArrayList<AppWindowToken> {
84 class AppWindowToken extends WindowToken implements WindowManagerService.AppFreezeListener { class
196 AppWindowToken(WindowManagerService service, IApplicationToken token, boolean voiceInteraction, in AppWindowToken() method in AppWindowToken
217 AppWindowToken(WindowManagerService service, IApplicationToken token, boolean voiceInteraction, in AppWindowToken() method in AppWindowToken
1168 final AppWindowToken fromToken = getDisplayContent().getAppWindowToken(transferFrom); in transferStartingWindow()
1506 AppWindowToken asAppWindowToken() { in asAppWindowToken()
DAppWindowAnimator.java49 final AppWindowToken mAppToken;
118 public AppWindowAnimator(final AppWindowToken atoken, WindowManagerService service) { in AppWindowAnimator()
DDisplayContent.java304 private final LinkedList<AppWindowToken> mTmpUpdateAllDrawn = new LinkedList();
347 final AppWindowToken atoken = w.mAppToken;
432 final AppWindowToken focusedApp = mService.mFocusedApp;
440 final AppWindowToken wtoken = w.mAppToken;
494 final AppWindowToken atoken = w.mAppToken;
698 final AppWindowToken atoken = w.mAppToken;
772 AppWindowToken getAppWindowToken(IBinder binder) { in getAppWindowToken()
850 final AppWindowToken appToken = token.asAppWindowToken(); in removeAppToken()
2332 final AppWindowToken token = target.mAppToken; in computeImeTarget()
2372 AppWindowToken token = curTarget == null ? null : curTarget.mAppToken; in computeImeTarget()
[all …]
DDockedStackDividerController.java553 void notifyAppTransitionStarting(ArraySet<AppWindowToken> openingApps, int appTransition) { in notifyAppTransitionStarting()
573 private boolean containsAppInDockedStack(ArraySet<AppWindowToken> apps) { in containsAppInDockedStack()
575 final AppWindowToken token = apps.valueAt(i); in containsAppInDockedStack()
DWindowToken.java226 AppWindowToken asAppWindowToken() { in asAppWindowToken()
DTaskWindowContainerController.java109 final AppWindowToken aToken = childController.mContainer; in positionChildAt()
DRootWindowContainer.java151 final AppWindowToken aToken = w.mAppToken;
298 AppWindowToken getAppWindowToken(IBinder binder) { in getAppWindowToken()
301 final AppWindowToken atoken = dc.getAppWindowToken(binder); in getAppWindowToken()
DWallpaperController.java644 ArraySet<AppWindowToken> openingApps) { in adjustWallpaperWindowsForAppTransitionIfNeeded()
650 final AppWindowToken token = openingApps.valueAt(i); in adjustWallpaperWindowsForAppTransitionIfNeeded()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DUnknownAppVisibilityControllerTest.java47 final AppWindowToken token = new WindowTestUtils.TestAppWindowToken(mDisplayContent); in testFlow()
59 final AppWindowToken token1 = new WindowTestUtils.TestAppWindowToken(mDisplayContent); in testMultiple()
60 final AppWindowToken token2 = new WindowTestUtils.TestAppWindowToken(mDisplayContent); in testMultiple()
75 final AppWindowToken token = new WindowTestUtils.TestAppWindowToken(mDisplayContent); in testClear()
83 final AppWindowToken token = new WindowTestUtils.TestAppWindowToken(mDisplayContent); in testAppRemoved()
DWindowTestUtils.java91 public static class TestAppWindowToken extends AppWindowToken {
255 AppWindowToken createAppWindow(WindowManagerService service, IApplicationToken token, in createAppWindow()
268 AppWindowToken getAppWindowToken(DisplayContent dc) { in getAppWindowToken()
269 return (AppWindowToken) dc.getWindowToken(mToken.asBinder()); in getAppWindowToken()
DTaskSnapshotControllerTest.java51 final ArraySet<AppWindowToken> closingApps = new ArraySet<>(); in testGetClosingApps_closing()
69 final ArraySet<AppWindowToken> closingApps = new ArraySet<>(); in testGetClosingApps_notClosing()
DAppWindowContainerControllerTests.java89 private void assertHasStartingWindow(AppWindowToken atoken) { in assertHasStartingWindow()
95 private void assertNoStartingWindow(AppWindowToken atoken) { in assertNoStartingWindow()
112 final AppWindowToken atoken = controller.getAppWindowToken(mDisplayContent); in testCreateRemoveStartingWindow()
DTaskWindowContainerControllerTests.java62 final AppWindowToken app = appController.mContainer; in testRemoveContainer_deferRemoval()
DWindowTestsBase.java195 final AppWindowToken token = new WindowTestUtils.TestAppWindowToken(mDisplayContent); in createAppWindow()

12