Home
last modified time | relevance | path

Searched refs:win2 (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java781 final WindowState win2 = createWindow(null, TYPE_APPLICATION, dc, "win2"); in testCalculateSystemGestureExclusion() local
782 win2.getAttrs().flags |= FLAG_LAYOUT_IN_SCREEN | FLAG_LAYOUT_INSET_DECOR; in testCalculateSystemGestureExclusion()
783 win2.setSystemGestureExclusion(Collections.singletonList(new Rect(20, 30, 40, 50))); in testCalculateSystemGestureExclusion()
789 win2.setHasSurface(true); in testCalculateSystemGestureExclusion()
803 final WindowState win2 = createWindow(null, TYPE_APPLICATION, dc, "modal"); in testCalculateSystemGestureExclusion_modal() local
804 win2.getAttrs().flags |= FLAG_LAYOUT_IN_SCREEN | FLAG_LAYOUT_INSET_DECOR; in testCalculateSystemGestureExclusion_modal()
805 win2.getAttrs().privateFlags |= PRIVATE_FLAG_NO_MOVE_ANIMATION; in testCalculateSystemGestureExclusion_modal()
806 win2.getAttrs().width = 10; in testCalculateSystemGestureExclusion_modal()
807 win2.getAttrs().height = 10; in testCalculateSystemGestureExclusion_modal()
808 win2.setSystemGestureExclusion(Collections.emptyList()); in testCalculateSystemGestureExclusion_modal()
[all …]
DWindowStateTests.java155 final WindowState win2 = createWindow(null, TYPE_APPLICATION, "win2"); in testHasChild() local
156 final WindowState win21 = createWindow(win2, FIRST_SUB_WINDOW, "win21"); in testHasChild()
161 assertTrue(win2.hasChild(win21)); in testHasChild()
166 assertFalse(win2.hasChild(win11)); in testHasChild()
167 assertFalse(win2.hasChild(win12)); in testHasChild()
168 assertFalse(win2.hasChild(randomWindow)); in testHasChild()
DRemoteAnimationControllerTest.java194 final WindowState win2 = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin2"); in testOneNotStarted() local
197 final AnimationAdapter adapter = mController.createRemoteAnimationRecord(win2.mAppToken, in testOneNotStarted()