Searched refs:win2 (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | InsetsPolicyTest.java | 451 final WindowState win2 = addWindow(TYPE_APPLICATION, "win2"); in testConsumeImeInsets() local 455 win2.mAboveInsetsState.addSource(imeSource); in testConsumeImeInsets() 456 win2.mHasSurface = true; in testConsumeImeInsets() 460 assertTrue(win2.isVisible()); in testConsumeImeInsets() 464 assertTrue(win2.getInsetsState().isSourceOrDefaultVisible(ID_IME, ime())); in testConsumeImeInsets() 466 win2.mAttrs.privateFlags |= PRIVATE_FLAG_CONSUME_IME_INSETS; in testConsumeImeInsets() 469 displayPolicy.applyPostLayoutPolicyLw(win2, win2.mAttrs, null, null); in testConsumeImeInsets() 474 assertTrue(win2.getInsetsState().isSourceOrDefaultVisible(ID_IME, ime())); in testConsumeImeInsets() 478 win2.mAttrs.privateFlags &= ~PRIVATE_FLAG_CONSUME_IME_INSETS; in testConsumeImeInsets() 479 win2.getWindowFrames().setInsetsChanged(false); in testConsumeImeInsets() [all …]
|
D | RemoteAnimationControllerTest.java | 284 final WindowState win2 = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin2"); in testOneNotStarted() local 288 win2.mActivityRecord, in testOneNotStarted() 756 final WindowState win2 = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin2"); in testLaunchRemoteAnimationWithoutImeBehind() local 776 mDisplayContent.mOpeningApps.add(win2.mActivityRecord); in testLaunchRemoteAnimationWithoutImeBehind() 778 win2.mActivityRecord, new Point(50, 100), null, in testLaunchRemoteAnimationWithoutImeBehind()
|
D | DisplayContentTests.java | 388 final WindowState win2 = createWindow(null, TYPE_BASE_APPLICATION, in testComputeImeTargetReturnsNull_windowDidntRequestIme() local 392 mDisplayContent.setImeLayeringTarget(win2); in testComputeImeTargetReturnsNull_windowDidntRequestIme() 1410 final WindowState win2 = createWindow(null, TYPE_APPLICATION, dc, "win2"); in testCalculateSystemGestureExclusion() local 1411 win2.getAttrs().flags |= FLAG_LAYOUT_IN_SCREEN | FLAG_LAYOUT_INSET_DECOR; in testCalculateSystemGestureExclusion() 1412 win2.setSystemGestureExclusion(Collections.singletonList(new Rect(20, 30, 40, 50))); in testCalculateSystemGestureExclusion() 1417 win2.setHasSurface(true); in testCalculateSystemGestureExclusion() 1438 final WindowState win2 = createWindow(null, TYPE_APPLICATION, dc, "modal"); in testCalculateSystemGestureExclusion_modal() local 1439 win2.getAttrs().flags |= FLAG_LAYOUT_IN_SCREEN | FLAG_LAYOUT_INSET_DECOR; in testCalculateSystemGestureExclusion_modal() 1440 win2.getAttrs().privateFlags |= PRIVATE_FLAG_NO_MOVE_ANIMATION; in testCalculateSystemGestureExclusion_modal() 1441 win2.getAttrs().width = 10; in testCalculateSystemGestureExclusion_modal() [all …]
|
D | WindowStateTests.java | 181 final WindowState win2 = createWindow(null, TYPE_APPLICATION, "win2"); in testHasChild() local 182 final WindowState win21 = createWindow(win2, FIRST_SUB_WINDOW, "win21"); in testHasChild() 187 assertTrue(win2.hasChild(win21)); in testHasChild() 192 assertFalse(win2.hasChild(win11)); in testHasChild() 193 assertFalse(win2.hasChild(win12)); in testHasChild() 194 assertFalse(win2.hasChild(randomWindow)); in testHasChild()
|