Searched refs:win1 (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RecentsAnimationControllerTest.java | 194 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testWallpaperIncluded_expectTarget() local 195 activity.addWindow(win1); in testWallpaperIncluded_expectTarget() 216 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testWallpaperAnimatorCanceled_expectAnimationKeepsRunning() local 217 activity.addWindow(win1); in testWallpaperAnimatorCanceled_expectAnimationKeepsRunning() 243 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testFinish_expectTargetAndWallpaperAdaptersRemoved() local 244 activity.addWindow(win1); in testFinish_expectTargetAndWallpaperAdaptersRemoved() 270 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testDeferCancelAnimation() local 271 activity.addWindow(win1); in testDeferCancelAnimation() 273 assertEquals(activity.findMainWindow(), win1); in testDeferCancelAnimation() local 291 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testDeferCancelAnimationWithScreenShot() local [all …]
|
D | InsetsPolicyTest.java | 450 final WindowState win1 = addWindow(TYPE_APPLICATION, "win1"); in testConsumeImeInsets() local 453 win1.mAboveInsetsState.addSource(imeSource); in testConsumeImeInsets() 454 win1.mHasSurface = true; in testConsumeImeInsets() 459 assertTrue(win1.isVisible()); in testConsumeImeInsets() 463 assertTrue(win1.getInsetsState().isSourceOrDefaultVisible(ID_IME, ime())); in testConsumeImeInsets() 470 displayPolicy.applyPostLayoutPolicyLw(win1, win1.mAttrs, null, null); in testConsumeImeInsets() 475 assertFalse(win1.getInsetsState().isSourceOrDefaultVisible(ID_IME, ime())); in testConsumeImeInsets() 476 assertTrue(win1.getWindowFrames().hasInsetsChanged()); in testConsumeImeInsets() 483 displayPolicy.applyPostLayoutPolicyLw(win1, win1.mAttrs, null, null); in testConsumeImeInsets() 487 assertTrue(win1.getInsetsState().isSourceOrDefaultVisible(ID_IME, ime())); in testConsumeImeInsets() [all …]
|
D | RemoteAnimationControllerTest.java | 283 final WindowState win1 = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin1"); in testOneNotStarted() local 285 mController.createRemoteAnimationRecord(win1.mActivityRecord, in testOneNotStarted() 755 final WindowState win1 = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin1"); in testLaunchRemoteAnimationWithoutImeBehind() local 759 mDisplayContent.setImeLayeringTarget(win1); in testLaunchRemoteAnimationWithoutImeBehind() 760 mDisplayContent.setImeInputTarget(win1); in testLaunchRemoteAnimationWithoutImeBehind() 774 win1.mHasSurface = false; in testLaunchRemoteAnimationWithoutImeBehind() 775 win1.mActivityRecord.setVisibility(false); in testLaunchRemoteAnimationWithoutImeBehind()
|
D | WindowStateTests.java | 178 final WindowState win1 = createWindow(null, TYPE_APPLICATION, "win1"); in testHasChild() local 179 final WindowState win11 = createWindow(win1, FIRST_SUB_WINDOW, "win11"); in testHasChild() 180 final WindowState win12 = createWindow(win1, FIRST_SUB_WINDOW, "win12"); in testHasChild() 185 assertTrue(win1.hasChild(win11)); in testHasChild() 186 assertTrue(win1.hasChild(win12)); in testHasChild() 189 assertFalse(win1.hasChild(win21)); in testHasChild() 190 assertFalse(win1.hasChild(randomWindow)); in testHasChild()
|
D | TaskFragmentTest.java | 836 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity1, "win1"); in testUpdateImeParentForActivityEmbedding() local 840 mDisplayContent.setImeLayeringTarget(win1); in testUpdateImeParentForActivityEmbedding()
|
D | DisplayContentTests.java | 386 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, in testComputeImeTargetReturnsNull_windowDidntRequestIme() local 391 mDisplayContent.setImeInputTarget(win1); in testComputeImeTargetReturnsNull_windowDidntRequestIme()
|
D | ActivityRecordTests.java | 2468 final WindowState win1 = createWindow(null, TYPE_APPLICATION, activity, "win1"); in testAddWindow_Order() local 2476 assertTrue(activity.mChildren.contains(win1)); in testAddWindow_Order()
|