Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/wm/
DAppTransitionController.java157 final AppWindowToken animLpToken = allowAnimations in handleAppTransitionReady()
160 final AppWindowToken topOpeningApp = allowAnimations in handleAppTransitionReady()
163 final AppWindowToken topClosingApp = allowAnimations in handleAppTransitionReady()
166 final AppWindowToken topChangingApp = allowAnimations in handleAppTransitionReady()
220 private static WindowManager.LayoutParams getAnimLp(AppWindowToken wtoken) { in getAnimLp()
225 RemoteAnimationAdapter getRemoteAnimationOverride(AppWindowToken animLpToken, int transit, in getRemoteAnimationOverride()
244 private void overrideWithRemoteAnimationIfSet(AppWindowToken animLpToken, int transit, in overrideWithRemoteAnimationIfSet()
264 private AppWindowToken findAnimLayoutParamsToken(@WindowManager.TransitionType int transit, in findAnimLayoutParamsToken()
266 AppWindowToken result; in findAnimLayoutParamsToken()
267 final ArraySet<AppWindowToken> closingApps = mDisplayContent.mClosingApps; in findAnimLayoutParamsToken()
[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()
DTaskSnapshotController.java143 void notifyAppVisibilityChanged(AppWindowToken appWindowToken, boolean visible) { in notifyAppVisibilityChanged()
149 private void handleClosingApps(ArraySet<AppWindowToken> closingApps) { in handleClosingApps()
218 StartingSurface createStartingSurface(AppWindowToken token, in createStartingSurface()
228 @Nullable private AppWindowToken findAppTokenForSnapshot(Task task) { in findAppTokenForSnapshot()
230 final AppWindowToken appWindowToken = task.getChildAt(i); in findAppTokenForSnapshot()
278 final AppWindowToken appWindowToken = findAppTokenForSnapshot(task); in snapshotTask()
344 void getClosingTasks(ArraySet<AppWindowToken> closingApps, ArraySet<Task> outClosingTasks) { in getClosingTasks()
347 final AppWindowToken atoken = closingApps.valueAt(i); in getClosingTasks()
360 final AppWindowToken topChild = task.getTopChild(); in getSnapshotMode()
375 final AppWindowToken topChild = task.getTopChild(); in drawAppThemeSnapshot()
[all …]
DUnknownAppVisibilityController.java59 private final ArrayMap<AppWindowToken, Integer> mUnknownApps = new ArrayMap<>();
90 void appRemovedOrHidden(@NonNull AppWindowToken appWindow) { in appRemovedOrHidden()
101 void notifyLaunched(@NonNull AppWindowToken appWindow) { in notifyLaunched()
111 void notifyAppResumedFinished(@NonNull AppWindowToken appWindow) { in notifyAppResumedFinished()
124 void notifyRelayouted(@NonNull AppWindowToken appWindow) { in notifyRelayouted()
DTask.java61 class Task extends WindowContainer<AppWindowToken> implements ConfigurationContainerListener{
163 void addChild(AppWindowToken wtoken, int position) { in addChild()
170 void positionChildAt(int position, AppWindowToken child, boolean includingParents) { in positionChildAt()
272 void removeChild(AppWindowToken token) { in removeChild()
464 final AppWindowToken token = mChildren.get(i); in getMaxVisibleBounds()
638 final AppWindowToken token = getTopVisibleAppToken(); in getTopVisibleAppMainWindow()
642 AppWindowToken getTopFullscreenAppToken() { in getTopFullscreenAppToken()
644 final AppWindowToken token = mChildren.get(i); in getTopFullscreenAppToken()
653 AppWindowToken getTopVisibleAppToken() { in getTopVisibleAppToken()
655 final AppWindowToken token = mChildren.get(i); in getTopVisibleAppToken()
[all …]
DAppWindowThumbnail.java51 private final AppWindowToken mAppToken;
58 AppWindowThumbnail(Transaction t, AppWindowToken appToken, GraphicBuffer thumbnailHeader) { in AppWindowThumbnail()
69 AppWindowThumbnail(Transaction t, AppWindowToken appToken, GraphicBuffer thumbnailHeader, in AppWindowThumbnail()
74 AppWindowThumbnail(Transaction t, AppWindowToken appToken, GraphicBuffer thumbnailHeader, in AppWindowThumbnail()
DStartingData.java40 abstract StartingSurface createStartingSurface(AppWindowToken atoken); in createStartingSurface()
DSnapshotStartingData.java38 StartingSurface createStartingSurface(AppWindowToken atoken) { in createStartingSurface()
DRecentsAnimationController.java102 private AppWindowToken mTargetAppToken;
367 final AppWindowToken recentsComponentAppToken = dc.getStack(WINDOWING_MODE_UNDEFINED, in initialize()
661 boolean shouldApplyInputConsumer(AppWindowToken appToken) { in shouldApplyInputConsumer()
683 boolean isTargetApp(AppWindowToken token) { in isTargetApp()
703 private boolean isAnimatingApp(AppWindowToken appToken) { in isAnimatingApp()
707 final AppWindowToken app = task.getChildAt(j); in isAnimatingApp()
736 final AppWindowToken topApp = mTask.getTopVisibleAppToken(); in createRemoteAnimationApp()
DSplashScreenStartingData.java55 StartingSurface createStartingSurface(AppWindowToken atoken) { in createStartingSurface()
DRemoteAnimationController.java85 RemoteAnimationRecord createRemoteAnimationRecord(AppWindowToken appWindowToken, in createRemoteAnimationRecord()
314 final AppWindowToken mAppWindowToken;
317 RemoteAnimationRecord(AppWindowToken appWindowToken, Point endPos, Rect endBounds, in RemoteAnimationRecord()
DAppWindowToken.java134 class AppTokenList extends ArrayList<AppWindowToken> {
141 class AppWindowToken extends WindowToken implements WindowManagerService.AppFreezeListener, class
338 AppWindowToken(WindowManagerService service, IApplicationToken token, in AppWindowToken() method in AppWindowToken
366 AppWindowToken(WindowManagerService service, IApplicationToken token, in AppWindowToken() method in AppWindowToken
589 final AppWindowToken focusedToken = win.mAppToken; in setVisibility()
830 final AppWindowToken topFocusedAppOfMyProcess = in windowsAreFocusable()
1494 final AppWindowToken fromToken = task.mChildren.get(i); in transferStartingWindowFromHiddenAboveTokenIfNeeded()
1505 final AppWindowToken fromToken = getDisplayContent().getAppWindowToken(transferFrom); in transferStartingWindow()
2049 void forAllAppWindows(Consumer<AppWindowToken> callback) { in forAllAppWindows()
2059 AppWindowToken asAppWindowToken() { in asAppWindowToken()
[all …]
DWallpaperController.java663 void adjustWallpaperWindowsForAppTransitionIfNeeded(ArraySet<AppWindowToken> openingApps, in adjustWallpaperWindowsForAppTransitionIfNeeded()
664 ArraySet<AppWindowToken> changingApps) { in adjustWallpaperWindowsForAppTransitionIfNeeded()
670 final AppWindowToken token = openingApps.valueAt(i); in adjustWallpaperWindowsForAppTransitionIfNeeded()
678 final AppWindowToken token = changingApps.valueAt(i); in adjustWallpaperWindowsForAppTransitionIfNeeded()
DPinnedStackController.java111 private WeakReference<AppWindowToken> mLastPipActivity = null;
266 void saveReentrySnapFraction(final AppWindowToken token, final Rect stackBounds) { in saveReentrySnapFraction()
274 void resetReentrySnapFraction(AppWindowToken token) { in resetReentrySnapFraction()
DDisplayContent.java278 final ArraySet<AppWindowToken> mOpeningApps = new ArraySet<>();
279 final ArraySet<AppWindowToken> mClosingApps = new ArraySet<>();
280 final ArraySet<AppWindowToken> mChangingApps = new ArraySet<>();
466 private final LinkedList<AppWindowToken> mTmpUpdateAllDrawn = new LinkedList();
508 AppWindowToken mFocusedApp = null;
587 final AppWindowToken atoken = w.mAppToken;
634 final AppWindowToken focusedApp = mFocusedApp;
642 final AppWindowToken wtoken = w.mAppToken;
693 final AppWindowToken atoken = w.mAppToken;
866 final AppWindowToken atoken = w.mAppToken;
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DAppTransitionControllerTest.java59 final AppWindowToken behind = createAppWindowToken(mDisplayContent, in testTranslucentOpen()
61 final AppWindowToken translucentOpening = createAppWindowToken(mDisplayContent, in testTranslucentOpen()
77 final AppWindowToken behind = createAppWindowToken(mDisplayContent, in testTranslucentClose()
79 final AppWindowToken translucentClosing = createAppWindowToken(mDisplayContent, in testTranslucentClose()
93 final AppWindowToken behind = createAppWindowToken(mDisplayContent, in testChangeIsNotOverwritten()
95 final AppWindowToken translucentOpening = createAppWindowToken(mDisplayContent, in testChangeIsNotOverwritten()
111 final AppWindowToken opening = createAppWindowToken(mDisplayContent, in testTransitWithinTask()
114 final AppWindowToken closing = createAppWindowToken(mDisplayContent, in testTransitWithinTask()
DUnknownAppVisibilityControllerTest.java45 final AppWindowToken token = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testFlow()
57 final AppWindowToken token1 = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testMultiple()
58 final AppWindowToken token2 = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testMultiple()
73 final AppWindowToken token = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testClear()
81 final AppWindowToken token = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testAppRemoved()
DAnimatingAppWindowTokenRegistryTest.java63 final AppWindowToken window1 = createAppWindowToken(mDisplayContent, in testDeferring()
65 final AppWindowToken window2 = createAppWindow(window1.getTask(), ACTIVITY_TYPE_STANDARD, in testDeferring()
86 final AppWindowToken window1 = createAppWindowToken(mDisplayContent, in testContainerRemoved()
88 final AppWindowToken window2 = createAppWindow(window1.getTask(), ACTIVITY_TYPE_STANDARD, in testContainerRemoved()
DRecentsAnimationControllerTest.java90 final AppWindowToken appWindow = createAppWindowToken(mDisplayContent, in testRemovedBeforeStarted_expectCanceled()
109 final AppWindowToken appWindow = createAppWindowToken(mDisplayContent, in testCancelAfterRemove_expectIgnored()
129 final AppWindowToken homeAppWindow = createAppWindowToken(mDisplayContent, in testIncludedApps_expectTargetAndVisible()
131 final AppWindowToken appWindow = createAppWindowToken(mDisplayContent, in testIncludedApps_expectTargetAndVisible()
133 final AppWindowToken hiddenAppWindow = createAppWindowToken(mDisplayContent, in testIncludedApps_expectTargetAndVisible()
149 final AppWindowToken appWindow = createAppWindowToken(mDisplayContent, in testCancelAnimationWithScreenShot()
176 final AppWindowToken appWindow = createAppWindowToken(mDisplayContent, in testShouldAnimateWhenNoCancelWithDeferredScreenshot()
DTaskSnapshotControllerTest.java53 final ArraySet<AppWindowToken> closingApps = new ArraySet<>(); in testGetClosingApps_closing()
71 final ArraySet<AppWindowToken> closingApps = new ArraySet<>(); in testGetClosingApps_notClosing()
84 final ArraySet<AppWindowToken> closingApps = new ArraySet<>(); in testGetClosingApps_skipClosingAppsSnapshotTasks()
DAppWindowThumbnailTest.java49 final AppWindowToken mockAwt = mock(AppWindowToken.class); in buildThumbnail()
DAppWindowTokenAnimationTests.java87 intThat(layer -> layer >= AppWindowToken.Z_BOOST_BASE)); in clipAfterAnim_boundsLayerZBoosted()
DWindowTestUtils.java64 static class TestAppWindowToken extends AppWindowToken {
DWindowTestsBase.java268 AppWindowToken createAppWindowToken(DisplayContent dc, int windowingMode, int activityType) { in createAppWindowToken()
308 final AppWindowToken token = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in createAppWindow()

12