/frameworks/base/services/core/java/com/android/server/wm/ |
D | FadeAnimationController.java | 61 public void fadeWindowToken(boolean show, WindowToken windowToken, int animationType) { in fadeWindowToken() 73 public void fadeWindowToken(boolean show, WindowToken windowToken, int animationType, in fadeWindowToken() 90 boolean show, WindowToken windowToken) { in createAdapter() 136 protected final WindowToken mToken; 140 WindowToken token) { in FadeAnimationAdapter()
|
D | WindowToken.java | 62 class WindowToken extends WindowContainer<WindowState> { class 121 final ArrayList<WindowToken> mAssociatedTokens = new ArrayList<>(3); 152 void disassociate(WindowToken token) { in disassociate() 190 void disassociate(WindowToken token) { in disassociate() 202 final WindowToken token = WindowToken.this; 216 protected WindowToken(WindowManagerService service, IBinder _token, int type, in WindowToken() method in WindowToken 222 protected WindowToken(WindowManagerService service, IBinder _token, int type, in WindowToken() method in WindowToken 411 boolean hasFixedRotationTransform(WindowToken token) { in hasFixedRotationTransform() 476 void linkFixedRotationTransform(WindowToken other) { in linkFixedRotationTransform() 547 final WindowToken token = state.mAssociatedTokens.get(i); in finishFixedRotationTransform() [all …]
|
D | AsyncRotationController.java | 66 private final ArrayMap<WindowToken, Operation> mTargetWindowTokens = new ArrayMap<>(); 70 private WindowToken mNavBarToken; 196 static boolean canBeAsync(WindowToken token) { in canBeAsync() 218 final WindowToken token = mTargetWindowTokens.keyAt(i); in keepAppearanceInPreviousRotation() 250 final WindowToken token = mTargetWindowTokens.keyAt(i); in updateTargetWindows() 267 private void finishOp(WindowToken windowToken) { in finishOp() 336 boolean completeRotation(WindowToken token) { in completeRotation() 377 final WindowToken windowToken = mTargetWindowTokens.keyAt(i); in start() 459 final WindowToken imeWindowToken = mDisplayContent.mInputMethodWindow.mToken; in hideImeImmediately() 465 private void hideImmediately(WindowToken token, @Operation.Action int action) { in hideImmediately() [all …]
|
D | NavBarFadeAnimationController.java | 71 boolean show, WindowToken windowToken) { in createAdapter() 125 WindowToken token, SurfaceControl parent) { in NavFadeAnimationAdapter()
|
D | DisplayArea.java | 731 public static class Tokens extends DisplayArea<WindowToken> { 734 private final Comparator<WindowToken> mWindowComparator = 735 Comparator.comparingInt(WindowToken::getWindowLayerFromType); 779 void addChild(WindowToken token) { in addChild() 886 } else if (c instanceof WindowToken && !(c instanceof ActivityRecord)) { in typeOf() 887 return typeOf((WindowToken) c); in typeOf() 895 private static Type typeOf(WindowToken c) { in typeOf()
|
D | ShellRoot.java | 47 private WindowToken mToken; 78 mToken = new WindowToken.Builder(dc.mWmService, client.asBinder(), mWindowType) in ShellRoot()
|
D | RootDisplayArea.java | 130 DisplayArea.Tokens findAreaForTokenInLayer(WindowToken token) { in findAreaForTokenInLayer()
|
D | DisplayAreaPolicy.java | 79 public abstract void addWindow(WindowToken token); in addWindow()
|
D | WallpaperWindowToken.java | 42 class WallpaperWindowToken extends WindowToken {
|
D | DisplayContent.java | 397 private final HashMap<IBinder, WindowToken> mTokenMap = new HashMap(); 1415 WindowToken getWindowToken(IBinder binder) { in getWindowToken() 1419 void addWindowToken(IBinder binder, WindowToken token) { in addWindowToken() 1453 WindowToken removeWindowToken(IBinder binder, boolean animateExit) { in removeWindowToken() 1454 final WindowToken token = mTokenMap.remove(binder); in removeWindowToken() 1511 void reParentWindowToken(WindowToken token) { in reParentWindowToken() 1534 final WindowToken token = removeWindowToken(binder, true /* animateExit */); in removeAppToken() 2058 private void startFixedRotationTransform(WindowToken token, int rotation) { in startFixedRotationTransform() 2132 void finishAsyncRotation(WindowToken windowToken) { in finishAsyncRotation() 4364 final WindowToken oldToken = mTokenMap.get(mImeTargetTokenListenerPair.first); in setImeInputTarget() [all …]
|
D | WindowContextListenerController.java | 343 final WindowToken windowToken = mContainer.asWindowToken(); in onRemoved()
|
D | DisplayAreaPolicyBuilder.java | 841 public void addWindow(WindowToken token) { in addWindow() 847 DisplayArea.Tokens findAreaForToken(WindowToken token) { in findAreaForToken()
|
D | InputMonitor.java | 531 public void pauseDispatchingLw(WindowToken window) { in pauseDispatchingLw() 542 public void resumeDispatchingLw(WindowToken window) { in resumeDispatchingLw()
|
D | InsetsPolicy.java | 232 void getInsetsForWindowMetrics(@Nullable WindowToken token, in getInsetsForWindowMetrics() 418 private InsetsState adjustInsetsForRoundedCorners(WindowToken token, InsetsState originalState, in adjustInsetsForRoundedCorners()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowTokenTests.java | 169 final WindowToken[] tokens = new WindowToken[3]; in testFinishFixedRotationTransform() 210 final WindowToken fromClientToken = new WindowToken.Builder(mDisplayContent.mWmService, in testSurfaceCreatedForWindowToken() 221 final WindowToken nonClientToken = new WindowToken.Builder(mDisplayContent.mWmService, in testSurfaceCreatedForWindowToken() 236 final WindowToken token1 = new WindowToken.Builder(mDisplayContent.mWmService, in testWindowAttachedWithOptions() 246 final WindowToken token2 = new WindowToken.Builder(mDisplayContent.mWmService, in testWindowAttachedWithOptions()
|
D | DisplayAreaPolicyBuilderTest.java | 575 final WindowToken token = new WindowToken.Builder(mWms, mock(IBinder.class), in testBuilder_addWindow_selectContainerForWindowFunc_defaultFunc() 592 final WindowToken token2 = new WindowToken.Builder(mWms, mock(IBinder.class), in testBuilder_addWindow_selectContainerForWindowFunc_defaultFunc() 626 final WindowToken token1 = new WindowToken.Builder(mWms, mock(IBinder.class), in testBuilder_addWindow_selectContainerForWindowFunc_selectBasedOnType() 632 final WindowToken token2 = new WindowToken.Builder(mWms, mock(IBinder.class), in testBuilder_addWindow_selectContainerForWindowFunc_selectBasedOnType() 681 final WindowToken token0 = new WindowToken.Builder(mWms, mock(IBinder.class), in testBuilder_addWindow_selectContainerForWindowFunc_selectBasedOnOptions() 687 final WindowToken token1 = new WindowToken.Builder(mWms, mock(IBinder.class), in testBuilder_addWindow_selectContainerForWindowFunc_selectBasedOnOptions() 694 final WindowToken token2 = new WindowToken.Builder(mWms, mock(IBinder.class), in testBuilder_addWindow_selectContainerForWindowFunc_selectBasedOnOptions() 950 WindowToken token = tokenOfType(type); in calculateZSets() 995 private WindowToken tokenOfType(int type) { 996 return new WindowToken.Builder(mWms, new Binder(), type)
|
D | WindowContextListenerControllerTests.java | 235 WindowToken windowContextCreatedToken = new WindowToken.Builder(mWm, mClientToken, in testWindowContextCreatedWindowTokenRemoved_SwitchToListenToDA() 272 WindowToken windowContextCreatedToken = new WindowToken.Builder(mWm, mClientToken, in testImeSwitchDialogWindowTokenRemovedOnDualDisplayContent_ListenToImeContainer()
|
D | WindowTestsBase.java | 492 private WindowToken createWindowToken( in createWindowToken() 504 private WindowToken createWallpaperToken(DisplayContent dc) { in createWallpaperToken() 540 private Session getTestSession(WindowToken token) { in getTestSession() 587 final WindowToken token = createWindowToken( in createDreamWindow() 595 final WindowToken token = createWindowToken( in createWindow() 615 final WindowToken token = createWindowToken(dc, windowingMode, activityType, type); in createWindow() 626 final WindowToken token = createWindowToken( in createWindow() 633 final WindowToken token = createWindowToken( in createWindow() 639 WindowState createWindow(WindowState parent, int type, WindowToken token, String name) { in createWindow() 644 WindowState createWindow(WindowState parent, int type, WindowToken token, String name, in createWindow() [all …]
|
D | DualDisplayAreaGroupPolicyTest.java | 365 final WindowToken imeToken = tokenOfType(TYPE_INPUT_METHOD); in testPlaceImeContainer_reparentToTargetDisplayAreaGroup() 415 final WindowToken imeToken = tokenOfType(TYPE_INPUT_METHOD); in testPlaceImeContainer_hidesImeWhenParentChanges() 450 final WindowToken imeToken = tokenOfType(TYPE_INPUT_METHOD); in testPlaceImeContainer_skipReparentForOrganizedImeContainer() 485 final WindowToken imeToken = tokenOfType(TYPE_INPUT_METHOD); in testPlaceImeContainer_noReparentIfRootDoesNotHaveImePlaceholder() 555 private WindowToken tokenOfType(int type) { in tokenOfType() 556 return new WindowToken.Builder(mWm, new Binder(), type) in tokenOfType()
|
D | RecentsAnimationControllerTest.java | 583 final WindowToken navToken = mDefaultDisplay.getDisplayPolicy().getNavigationBar().mToken; in testRestoreNavBarWhenEnteringRecents_expectAnimation() 608 final WindowToken navToken = mDefaultDisplay.getDisplayPolicy().getNavigationBar().mToken; in testRestoreNavBarWhenBackToApp_expectNoAnimation() 636 final WindowToken navToken = mDefaultDisplay.getDisplayPolicy().getNavigationBar().mToken; in testAddTaskToTargets_expectAnimation() 681 final WindowToken navToken = navWindow.mToken; in testAttachNavBarInSplitScreenMode()
|
D | WindowManagerServiceTests.java | 182 WindowToken windowToken = mWm.mRoot.getWindowToken(token); in testAddWindowToken() 520 final WindowToken windowToken = createTestWindowToken(TYPE_INPUT_METHOD_DIALOG, in testMoveWindowTokenToDisplay_SameDisplay_DoNothing() 530 final WindowToken windowToken = createTestWindowToken(TYPE_INPUT_METHOD_DIALOG, in testMoveWindowTokenToDisplay_DifferentDisplay_DoMoveDisplay() 551 final WindowToken windowToken = createTestWindowToken(TYPE_INPUT_METHOD, mDefaultDisplay); in testAttachWindowContextToWindowToken_InvalidWindowType_ThrowException() 562 final WindowToken windowToken = createTestWindowToken(TYPE_INPUT_METHOD, mDefaultDisplay); in testAttachWindowContextToWindowToken_DifferentWindowType_ThrowException() 573 final WindowToken windowToken = createTestWindowToken(TYPE_INPUT_METHOD, mDefaultDisplay); in testAttachWindowContextToWindowToken_CallerNotValid_EarlyReturn() 589 final WindowToken windowToken = createTestWindowToken(TYPE_INPUT_METHOD, mDefaultDisplay); in testAttachWindowContextToWindowToken_CallerValid_DoRegister()
|
D | DisplayAreaTest.java | 416 final WindowToken windowToken = createWindowToken(TYPE_APPLICATION); in testSetMaxBounds() 748 private WindowToken createWindowToken(int type) { in createWindowToken() 749 return new WindowToken.Builder(mWm, new Binder(), type).build(); in createWindowToken()
|
D | RemoteAnimationControllerTest.java | 516 final WindowToken wallpaperWindowToken = new WallpaperWindowToken(mWm, mock(IBinder.class), in testWallpaperIncluded_expectTarget() 549 final WindowToken wallpaperWindowToken = new WallpaperWindowToken(mWm, mock(IBinder.class), in testWallpaperAnimatorCanceled_expectAnimationKeepsRunning() 632 final WindowToken wallpaperWindowToken = new WallpaperWindowToken(mWm, mock(IBinder.class), in testNonAppIncluded_keygaurdGoingAwayToWallpaper()
|
D | InsetsStateControllerTest.java | 209 final WindowToken parent = win.mToken; in testStripForDispatch_imeOrderChanged() 487 final WindowToken imeToken = createTestWindowToken(TYPE_INPUT_METHOD, mDisplayContent); in testUpdateAboveInsetsState_imeTargetOnScreenBehavior()
|
/frameworks/base/core/proto/android/server/ |
D | windowmanagerservice.proto | 258 /* represents a WindowToken child */ 404 /* represents WindowToken */ 545 /* represents a WindowToken child */
|