Searched refs:window2 (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | AnimatingAppWindowTokenRegistryTest.java | 65 final AppWindowToken window2 = createAppWindow(window1.getTask(), ACTIVITY_TYPE_STANDARD, in testDeferring() local 71 window2.startAnimation(window1.getPendingTransaction(), mAdapter, false /* hidden */); in testDeferring() 73 assertTrue(window2.isSelfAnimating()); in testDeferring() 78 assertFalse(registry.notifyAboutToFinish(window2, mMockEndDeferFinishCallback2)); in testDeferring() 88 final AppWindowToken window2 = createAppWindow(window1.getTask(), ACTIVITY_TYPE_STANDARD, in testContainerRemoved() local 94 window2.startAnimation(window1.getPendingTransaction(), mAdapter, false /* hidden */); in testContainerRemoved() 96 assertTrue(window2.isSelfAnimating()); in testContainerRemoved() 101 window2.setParent(null); in testContainerRemoved()
|
D | WindowTokenTests.java | 55 final WindowState window2 = createWindow(null, TYPE_APPLICATION, token, "window2"); in testAddWindow() local 63 token.addWindow(window2); in testAddWindow() 71 assertTrue(token.hasWindow(window2)); in testAddWindow() 83 final WindowState window2 = createWindow(null, TYPE_APPLICATION, token, "window2"); in testChildRemoval() local 85 window2.removeImmediately(); in testChildRemoval() 108 final WindowState window2 = createWindow(null, TYPE_TOAST, token, "window2"); in testTokenRemovalProcess() local 124 window2.removeImmediately(); in testTokenRemovalProcess()
|
D | DisplayContentTests.java | 377 final WindowState window2 = createWindow(null, TYPE_BASE_APPLICATION, dc, "window2"); in doTestFocusedWindowMultipleDisplays() local 378 window2.mAppToken.mTargetSdk = targetSdk; in doTestFocusedWindowMultipleDisplays() 380 assertTrue(window2.isFocused()); in doTestFocusedWindowMultipleDisplays() 382 assertEquals(window2, mWm.mRoot.getTopFocusedDisplayContent().mCurrentFocus); in doTestFocusedWindowMultipleDisplays() 388 assertEquals(perDisplayFocusEnabled && targetSdk >= Q, window2.isFocused()); in doTestFocusedWindowMultipleDisplays()
|
D | AppWindowTokenTests.java | 130 final WindowState window2 = createWindow(null, TYPE_APPLICATION_STARTING, mToken, in testFindMainWindow() local 132 assertEquals(window2, mToken.findMainWindow()); in testFindMainWindow()
|