Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DImeInsetsSourceProviderTest.java60 final WindowState appWin = createWindow(null, TYPE_APPLICATION, "app"); in testTransparentControlTargetWindowCanShowIme() local
61 final WindowState popup = createWindow(appWin, TYPE_APPLICATION, "popup"); in testTransparentControlTargetWindowCanShowIme()
63 mDisplayContent.setImeLayeringTarget(appWin); in testTransparentControlTargetWindowCanShowIme()
67 mImeProvider.scheduleShowImePostLayout(appWin, ImeTracker.Token.empty()); in testTransparentControlTargetWindowCanShowIme()
DWallpaperControllerTests.java279 final WindowState appWin = createWindow(null, TYPE_BASE_APPLICATION, "app"); in testUpdateWallpaperTarget() local
281 doReturn(true).when(recentsController).isWallpaperVisible(eq(appWin)); in testUpdateWallpaperTarget()
285 assertEquals(appWin, dc.mWallpaperController.getWallpaperTarget()); in testUpdateWallpaperTarget()
287 appWin.removeImmediately(); in testUpdateWallpaperTarget()
361 final WindowState appWin = createWindow(null, TYPE_BASE_APPLICATION, "app"); in testFixedRotationRecentsAnimatingTask() local
362 makeWindowVisible(appWin); in testFixedRotationRecentsAnimatingTask()
363 final ActivityRecord r = appWin.mActivityRecord; in testFixedRotationRecentsAnimatingTask()
365 doReturn(true).when(recentsController).isWallpaperVisible(eq(appWin)); in testFixedRotationRecentsAnimatingTask()
378 assertEquals(appWin, mDisplayContent.mWallpaperController.getWallpaperTarget()); in testFixedRotationRecentsAnimatingTask()
390 assertNotEquals(appWin, mDisplayContent.mWallpaperController.getWallpaperTarget()); in testFixedRotationRecentsAnimatingTask()
[all …]
DDisplayContentTests.java313 final WindowState appWin = createWindow(null, TYPE_APPLICATION, mDisplayContent, "appWin"); in testComputeImeTarget() local
314 appWin.setHasSurface(true); in testComputeImeTarget()
315 assertTrue(appWin.canBeImeTarget()); in testComputeImeTarget()
317 assertEquals(appWin, imeTarget); in testComputeImeTarget()
318 appWin.mHidden = false; in testComputeImeTarget()
321 final WindowState childWin = createWindow(appWin, in testComputeImeTarget()
345 final WindowState appWin = createWindow(null, TYPE_BASE_APPLICATION, activity, "appWin"); in testComputeImeTarget_startingWindow() local
346 appWin.setHasSurface(true); in testComputeImeTarget_startingWindow()
347 assertTrue(appWin.canBeImeTarget()); in testComputeImeTarget_startingWindow()
351 appWin.mHidden = false; in testComputeImeTarget_startingWindow()
[all …]