Searched refs:window2 (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowTokenTests.java | 73 final WindowState window2 = createWindow(null, TYPE_APPLICATION, token, "window2"); in testAddWindow() local 81 token.addWindow(window2); in testAddWindow() 89 assertTrue(token.hasWindow(window2)); in testAddWindow() 102 final WindowState window2 = createWindow(null, TYPE_STATUS_BAR, token2, "window2"); in testAddWindow_assignsLayers() local 105 token2.addWindow(window2); in testAddWindow_assignsLayers() 119 final WindowState window2 = createWindow(null, TYPE_APPLICATION, token, "window2"); in testChildRemoval() local 121 window2.removeImmediately(); in testChildRemoval() 144 final WindowState window2 = createWindow(null, TYPE_TOAST, token, "window2"); in testTokenRemovalProcess() local 160 window2.removeImmediately(); in testTokenRemovalProcess()
|
D | AnimatingActivityRegistryTest.java | 89 final ActivityRecord window2 = createAppWindow(window1.getTask(), ACTIVITY_TYPE_STANDARD, in testContainerRemoved() local 96 window2.startAnimation(window1.getPendingTransaction(), mAdapter, false /* hidden */, in testContainerRemoved() 99 assertTrue(window2.isAnimating(TRANSITION)); in testContainerRemoved() 104 window2.setParent(null); in testContainerRemoved()
|
D | BackNavigationControllerTests.java | 926 WindowState window2 = createWindow(null, FIRST_APPLICATION_WINDOW, record2, "window2"); 936 addToWindowMap(window2, true); 938 makeWindowVisibleAndDrawn(window2); 945 testCase.windowFront = window2;
|
D | DisplayContentTests.java | 547 final WindowState window2 = createWindow(null, TYPE_BASE_APPLICATION, app2, "window2"); in doTestFocusedWindowMultipleDisplays() local 548 window2.mActivityRecord.mTargetSdk = targetSdk; in doTestFocusedWindowMultipleDisplays() 550 assertTrue(window2.isFocused()); in doTestFocusedWindowMultipleDisplays() 552 assertEquals(window2, mWm.mRoot.getTopFocusedDisplayContent().mCurrentFocus); in doTestFocusedWindowMultipleDisplays() 558 assertEquals(perDisplayFocusEnabled && targetSdk >= Q, window2.isFocused()); in doTestFocusedWindowMultipleDisplays()
|
D | WindowStateTests.java | 1494 final WindowState window2 = createWindow(null, TYPE_APPLICATION, "window2", ownerId2); in testIsSecureLocked_sensitiveContentProtectionManagerEnabled() local 1498 window2.mAttrs.packageName = testPackage; in testIsSecureLocked_sensitiveContentProtectionManagerEnabled() 1506 assertFalse(window2.isSecureLocked()); in testIsSecureLocked_sensitiveContentProtectionManagerEnabled()
|
D | ActivityRecordTests.java | 2501 final WindowState window2 = createWindow(null, TYPE_APPLICATION_STARTING, activity, in testFindMainWindow() local 2503 assertEquals(window2, activity.findMainWindow()); in testFindMainWindow()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 4086 sp<FakeWindowHandle> window2 = in TEST_F() local 4088 window2->setTouchableRegion(Region{{100, 0, 200, 100}}); in TEST_F() 4090 mDispatcher->onWindowInfosChanged({{*window1->getInfo(), *window2->getInfo()}, {}, 0, 0}); in TEST_F() 4097 window2->assertNoEvents(); in TEST_F() 4102 window2->consumeMotionDown(); in TEST_F() 4114 sp<FakeWindowHandle> window2 = in TEST_F() local 4116 window2->setTouchableRegion(Region{{100, 0, 200, 100}}); in TEST_F() 4118 mDispatcher->onWindowInfosChanged({{*window1->getInfo(), *window2->getInfo()}, {}, 0, 0}); in TEST_F() 4127 window2->assertNoEvents(); in TEST_F() 4134 window2->consumeMotionEvent(AllOf(WithMotionAction(ACTION_DOWN))); in TEST_F() [all …]
|