Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/wm/
DWindowSurfacePlacer.java105 public AppWindowToken token;
271 final AppWindowToken wtoken = mService.mOpeningApps.valueAt(i); in handleAppTransitionReadyLocked()
303 final AppWindowToken animLpToken = mService.mPolicy.allowAppAnimationsLw() in handleAppTransitionReadyLocked()
320 final AppWindowToken topClosingApp = mTmpLayerAndToken.token; in handleAppTransitionReadyLocked()
321 final AppWindowToken topOpeningApp = handleOpeningApps(transit, animLp, in handleAppTransitionReadyLocked()
361 private static LayoutParams getAnimLp(AppWindowToken wtoken) { in getAnimLp()
370 private void overrideWithRemoteAnimationIfSet(AppWindowToken animLpToken, int transit, in overrideWithRemoteAnimationIfSet()
391 private AppWindowToken findAnimLayoutParamsToken(@TransitionType int transit, in findAnimLayoutParamsToken()
393 AppWindowToken result; in findAnimLayoutParamsToken()
415 private ArraySet<Integer> collectActivityTypes(ArraySet<AppWindowToken> array1, in collectActivityTypes()
[all …]
DAnimatingAppWindowTokenRegistry.java35 private ArraySet<AppWindowToken> mAnimatingTokens = new ArraySet<>();
36 private ArrayMap<AppWindowToken, Runnable> mFinishedTokens = new ArrayMap<>();
45 void notifyStarting(AppWindowToken token) { in notifyStarting()
52 void notifyFinished(AppWindowToken token) { in notifyFinished()
68 boolean notifyAboutToFinish(AppWindowToken token, Runnable endDeferFinishCallback) { in notifyAboutToFinish()
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()
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()
DTaskSnapshotController.java140 void notifyAppVisibilityChanged(AppWindowToken appWindowToken, boolean visible) { in notifyAppVisibilityChanged()
146 private void handleClosingApps(ArraySet<AppWindowToken> closingApps) { in handleClosingApps()
217 StartingSurface createStartingSurface(AppWindowToken token, in createStartingSurface()
223 final AppWindowToken top = task.getTopChild(); in snapshotTask()
306 void getClosingTasks(ArraySet<AppWindowToken> closingApps, ArraySet<Task> outClosingTasks) { in getClosingTasks()
309 final AppWindowToken atoken = closingApps.valueAt(i); in getClosingTasks()
322 final AppWindowToken topChild = task.getTopChild(); in getSnapshotMode()
337 final AppWindowToken topChild = task.getTopChild(); in drawAppThemeSnapshot()
379 void onAppRemoved(AppWindowToken wtoken) { in onAppRemoved()
386 void onAppDied(AppWindowToken wtoken) { in onAppDied()
[all …]
DTask.java53 class Task extends WindowContainer<AppWindowToken> {
141 void addChild(AppWindowToken wtoken, int position) { in addChild()
148 void positionChildAt(int position, AppWindowToken child, boolean includingParents) { in positionChildAt()
243 void removeChild(AppWindowToken token) { in removeChild()
415 final AppWindowToken token = mChildren.get(i); in getMaxVisibleBounds()
581 final AppWindowToken token = getTopVisibleAppToken(); in getTopVisibleAppMainWindow()
585 AppWindowToken getTopFullscreenAppToken() { in getTopFullscreenAppToken()
587 final AppWindowToken token = mChildren.get(i); in getTopFullscreenAppToken()
596 AppWindowToken getTopVisibleAppToken() { in getTopVisibleAppToken()
598 final AppWindowToken token = mChildren.get(i); in getTopVisibleAppToken()
[all …]
DAppWindowContainerController.java56 extends WindowContainerController<AppWindowToken, AppWindowContainerListener> {
121 final AppWindowToken container;
208 AppWindowToken atoken = mRoot.getAppWindowToken(mToken.asBinder()); in AppWindowContainerController()
232 AppWindowToken createAppWindow(WindowManagerService service, IApplicationToken token, in createAppWindow()
237 return new AppWindowToken(service, token, voiceInteraction, dc, in createAppWindow()
326 final AppWindowToken wtoken = mContainer; in setVisibility()
413 final AppWindowToken focusedToken = win.mAppToken; in setVisibility()
DRecentsAnimationController.java90 private AppWindowToken mTargetAppToken;
291 final AppWindowToken recentsComponentAppToken = dc.getStack(WINDOWING_MODE_UNDEFINED, in initialize()
493 boolean hasInputConsumerForApp(AppWindowToken appToken) { in hasInputConsumerForApp()
512 boolean isTargetApp(AppWindowToken token) { in isTargetApp()
532 private boolean isAnimatingApp(AppWindowToken appToken) { in isAnimatingApp()
536 final AppWindowToken app = task.getChildAt(j); in isAnimatingApp()
565 final AppWindowToken topApp = mTask.getTopVisibleAppToken(); in createRemoteAnimationApp()
DStartingData.java40 abstract StartingSurface createStartingSurface(AppWindowToken atoken); in createStartingSurface()
DSnapshotStartingData.java38 StartingSurface createStartingSurface(AppWindowToken atoken) { in createStartingSurface()
DAppWindowThumbnail.java48 private final AppWindowToken mAppToken;
54 AppWindowThumbnail(Transaction t, AppWindowToken appToken, GraphicBuffer thumbnailHeader) { in AppWindowThumbnail()
DSplashScreenStartingData.java55 StartingSurface createStartingSurface(AppWindowToken atoken) { in createStartingSurface()
DRemoteAnimationController.java84 AnimationAdapter createAnimationAdapter(AppWindowToken appWindowToken, Point position, in createAnimationAdapter()
287 private final AppWindowToken mAppWindowToken;
294 RemoteAnimationAdapterWrapper(AppWindowToken appWindowToken, Point position, in RemoteAnimationAdapterWrapper()
DPinnedStackController.java109 private WeakReference<AppWindowToken> mLastPipActivity = null;
264 void saveReentrySnapFraction(final AppWindowToken token, final Rect stackBounds) { in saveReentrySnapFraction()
272 void resetReentrySnapFraction(AppWindowToken token) { in resetReentrySnapFraction()
DWindowManagerService.java457 final ArrayList<AppWindowToken> mFinishedStarting = new ArrayList<>();
463 final ArrayList<AppWindowToken> mWindowReplacementTimeouts = new ArrayList<>();
618 final ArraySet<AppWindowToken> mOpeningApps = new ArraySet<>();
619 final ArraySet<AppWindowToken> mClosingApps = new ArraySet<>();
721 AppWindowToken mFocusedApp = null;
857 final AppWindowToken atoken = mRoot.getAppWindowToken(token);
1186 AppWindowToken atoken = null; in addWindow()
1405 final AppWindowToken aToken = token.asAppWindowToken(); in addWindow()
1578 private boolean prepareWindowReplacementTransition(AppWindowToken atoken) { in prepareWindowReplacementTransition()
1599 private void prepareNoneTransitionForRelaunching(AppWindowToken atoken) { in prepareNoneTransitionForRelaunching()
[all …]
DInputMonitor.java230 AppWindowToken appWindowToken = null; in notifyANR()
241 appWindowToken = (AppWindowToken)inputApplicationHandle.appWindowToken; in notifyANR()
522 public void setFocusedAppLw(AppWindowToken newApp) { in setFocusedAppLw()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DUnknownAppVisibilityControllerTest.java47 final AppWindowToken token = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testFlow()
59 final AppWindowToken token1 = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testMultiple()
60 final AppWindowToken token2 = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testMultiple()
75 final AppWindowToken token = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testClear()
83 final AppWindowToken token = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testAppRemoved()
DWindowSurfacePlacerTest.java50 final AppWindowToken behind = createAppWindowToken(mDisplayContent, in testTranslucentOpen()
52 final AppWindowToken translucentOpening = createAppWindowToken(mDisplayContent, in testTranslucentOpen()
66 final AppWindowToken behind = createAppWindowToken(mDisplayContent, in testTranslucentClose()
68 final AppWindowToken translucentClosing = createAppWindowToken(mDisplayContent, in testTranslucentClose()
DAnimatingAppWindowTokenRegistryTest.java72 final AppWindowToken window1 = createAppWindowToken(mDisplayContent, in testDeferring()
74 final AppWindowToken window2 = createAppWindow(window1.getTask(), ACTIVITY_TYPE_STANDARD, in testDeferring()
94 final AppWindowToken window1 = createAppWindowToken(mDisplayContent, in testContainerRemoved()
96 final AppWindowToken window2 = createAppWindow(window1.getTask(), ACTIVITY_TYPE_STANDARD, in testContainerRemoved()
DTaskSnapshotControllerTest.java52 final ArraySet<AppWindowToken> closingApps = new ArraySet<>(); in testGetClosingApps_closing()
70 final ArraySet<AppWindowToken> closingApps = new ArraySet<>(); in testGetClosingApps_notClosing()
83 final ArraySet<AppWindowToken> closingApps = new ArraySet<>(); in testGetClosingApps_skipClosingAppsSnapshotTasks()
DWindowTestUtils.java114 public static class TestAppWindowToken extends AppWindowToken {
295 AppWindowToken createAppWindow(WindowManagerService service, IApplicationToken token, in createAppWindow()
307 AppWindowToken getAppWindowToken(DisplayContent dc) { in getAppWindowToken()
308 return (AppWindowToken) dc.getWindowToken(mToken.asBinder()); in getAppWindowToken()
DRecentsAnimationControllerTest.java71 final AppWindowToken appWindow = createAppWindowToken(mDisplayContent, in testRemovedBeforeStarted_expectCanceled()
90 final AppWindowToken appWindow = createAppWindowToken(mDisplayContent, in testCancelAfterRemove_expectIgnored()
DAppWindowContainerControllerTests.java88 private void assertHasStartingWindow(AppWindowToken atoken) { in assertHasStartingWindow()
94 private void assertNoStartingWindow(AppWindowToken atoken) { in assertNoStartingWindow()
111 final AppWindowToken atoken = controller.getAppWindowToken(mDisplayContent); in testCreateRemoveStartingWindow()
DTaskWindowContainerControllerTests.java62 final AppWindowToken app = appController.mContainer; in testRemoveContainer_deferRemoval()
DWindowTestsBase.java233 AppWindowToken createAppWindowToken(DisplayContent dc, int windowingMode, int activityType) { in createAppWindowToken()
261 final AppWindowToken token = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in createAppWindow()

12