Searched refs:window1 (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | AnimatingAppWindowTokenRegistryTest.java | 63 final AppWindowToken window1 = createAppWindowToken(mDisplayContent, in testDeferring() local 65 final AppWindowToken window2 = createAppWindow(window1.getTask(), ACTIVITY_TYPE_STANDARD, in testDeferring() 68 window1.getStack().getAnimatingAppWindowTokenRegistry(); in testDeferring() 70 window1.startAnimation(window1.getPendingTransaction(), mAdapter, false /* hidden */); in testDeferring() 71 window2.startAnimation(window1.getPendingTransaction(), mAdapter, false /* hidden */); in testDeferring() 72 assertTrue(window1.isSelfAnimating()); in testDeferring() 77 assertTrue(registry.notifyAboutToFinish(window1, mMockEndDeferFinishCallback1)); in testDeferring() 86 final AppWindowToken window1 = createAppWindowToken(mDisplayContent, in testContainerRemoved() local 88 final AppWindowToken window2 = createAppWindow(window1.getTask(), ACTIVITY_TYPE_STANDARD, in testContainerRemoved() 91 window1.getStack().getAnimatingAppWindowTokenRegistry(); in testContainerRemoved() [all …]
|
D | WindowTokenTests.java | 52 final WindowState window1 = createWindow(null, TYPE_APPLICATION, token, "window1"); in testAddWindow() local 53 final WindowState window11 = createWindow(window1, FIRST_SUB_WINDOW, token, "window11"); in testAddWindow() 54 final WindowState window12 = createWindow(window1, FIRST_SUB_WINDOW, token, "window12"); in testAddWindow() 58 token.addWindow(window1); in testAddWindow() 68 assertTrue(token.hasWindow(window1)); in testAddWindow() 82 final WindowState window1 = createWindow(null, TYPE_APPLICATION, token, "window1"); in testChildRemoval() local 89 window1.removeImmediately(); in testChildRemoval() 107 final WindowState window1 = createWindow(null, TYPE_TOAST, token, "window1"); in testTokenRemovalProcess() local 118 window1.removeImmediately(); in testTokenRemovalProcess()
|
D | DisplayContentTests.java | 363 final WindowState window1 = in doTestFocusedWindowMultipleDisplays() local 365 window1.mAppToken.mTargetSdk = targetSdk; in doTestFocusedWindowMultipleDisplays() 367 assertTrue(window1.isFocused()); in doTestFocusedWindowMultipleDisplays() 368 assertEquals(window1, mWm.mRoot.getTopFocusedDisplayContent().mCurrentFocus); in doTestFocusedWindowMultipleDisplays() 373 assertTrue(window1.isFocused()); in doTestFocusedWindowMultipleDisplays() 374 assertEquals(window1, mWm.mRoot.getTopFocusedDisplayContent().mCurrentFocus); in doTestFocusedWindowMultipleDisplays() 381 assertEquals(perDisplayFocusEnabled && targetSdk >= Q, window1.isFocused()); in doTestFocusedWindowMultipleDisplays() 385 window1.getParent().positionChildAt(POSITION_TOP, window1, true); in doTestFocusedWindowMultipleDisplays() 387 assertTrue(window1.isFocused()); in doTestFocusedWindowMultipleDisplays() 389 assertEquals(window1, mWm.mRoot.getTopFocusedDisplayContent().mCurrentFocus); in doTestFocusedWindowMultipleDisplays() [all …]
|
D | AppWindowTokenTests.java | 124 final WindowState window1 = createWindow(null, TYPE_BASE_APPLICATION, mToken, "window1"); in testFindMainWindow() local 125 final WindowState window11 = createWindow(window1, FIRST_SUB_WINDOW, mToken, "window11"); in testFindMainWindow() 126 final WindowState window12 = createWindow(window1, FIRST_SUB_WINDOW, mToken, "window12"); in testFindMainWindow() 127 assertEquals(window1, mToken.findMainWindow()); in testFindMainWindow() 128 window1.mAnimatingExit = true; in testFindMainWindow() 129 assertEquals(window1, mToken.findMainWindow()); in testFindMainWindow() 141 final WindowState window1 = createWindow(null, TYPE_BASE_APPLICATION, mToken, "window1"); in testGetTopFullscreenWindow() local 148 assertEquals(window1, mToken.getTopFullscreenWindow()); in testGetTopFullscreenWindow()
|