Searched refs:appWindow (Results 1 – 10 of 10) sorted by relevance
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | FrameRateSelectionPriorityTests.java | 111 .getPreferredModeId(appWindow), 0); in testApplicationInFocusWithoutModeId() 126 appWindow.mToken.mDisplayContent.mCurrentFocus = appWindow; in testApplicationInFocusWithoutModeId() 132 appWindow.getSurfaceControl(), 1); in testApplicationInFocusWithoutModeId() 144 appWindow.mToken.mDisplayContent.mCurrentFocus = appWindow; in testApplicationInFocusWithModeId() 150 appWindow.mAttrs.preferredDisplayModeId = 1; in testApplicationInFocusWithModeId() 157 appWindow.mAttrs.preferredDisplayModeId = 0; in testApplicationInFocusWithModeId() 167 appWindow.getSurfaceControl(), 0); in testApplicationInFocusWithModeId() 169 appWindow.getSurfaceControl(), 1); in testApplicationInFocusWithModeId() 198 appWindow.getSurfaceControl(), 2); in testApplicationNotInFocusWithModeId() 254 appWindow.getSurfaceControl(), 60, in testDenyListPreferredRefreshRate() [all …]
|
H A D | WindowStateTests.java | 232 appWindow.setHasSurface(true); in testCanBeImeTarget() 245 assertTrue(appWindow.canBeImeTarget()); in testCanBeImeTarget() 269 spyOn(appWindow); in testCanBeImeTarget() 286 appWindow.setHasSurface(true); in testCanWindowWithEmbeddedDisplayBeImeTarget() 467 makeWindowVisible(appWindow); in testDeferredRemovalByAnimating() 468 spyOn(appWindow.mWinAnimator); in testDeferredRemovalByAnimating() 475 appWindow.removeIfPossible(); in testDeferredRemovalByAnimating() 476 assertTrue(appWindow.mAnimatingExit); in testDeferredRemovalByAnimating() 477 assertFalse(appWindow.mRemoved); in testDeferredRemovalByAnimating() 480 assertFalse(appWindow.mAnimatingExit); in testDeferredRemovalByAnimating() [all …]
|
H A D | WallpaperControllerTests.java | 353 WindowState appWindow = createWindow(null /* parent */, TYPE_BASE_APPLICATION, in createWallpaperTargetWindow() local 355 appWindow.getAttrs().flags |= FLAG_SHOW_WALLPAPER; in createWallpaperTargetWindow() 356 appWindow.mHasSurface = true; in createWallpaperTargetWindow() 357 spyOn(appWindow); in createWallpaperTargetWindow() 358 doReturn(true).when(appWindow).isDrawFinishedLw(); in createWallpaperTargetWindow() 360 homeActivity.addWindow(appWindow); in createWallpaperTargetWindow() 361 return appWindow; in createWallpaperTargetWindow()
|
H A D | ActivityRecordTests.java | 2306 activity.addWindow(appWindow); in testLandscapeSeascapeRotationByApp() 2307 spyOn(appWindow); in testLandscapeSeascapeRotationByApp() 2316 appWindow.mResizeReported = false; in testLandscapeSeascapeRotationByApp() 2327 assertTrue(appWindow.mResizeReported); in testLandscapeSeascapeRotationByApp() 2328 appWindow.removeImmediately(); in testLandscapeSeascapeRotationByApp() 2344 activity.addWindow(appWindow); in testLandscapeSeascapeRotationByPolicy() 2345 spyOn(appWindow); in testLandscapeSeascapeRotationByPolicy() 2350 appWindow.mResizeReported = false; in testLandscapeSeascapeRotationByPolicy() 2356 appWindow.removeImmediately(); in testLandscapeSeascapeRotationByPolicy() 2401 activity.addWindow(appWindow); in testKeyguardFlagsDuringRelaunch() [all …]
|
H A D | SizeCompatTests.java | 300 final WindowState appWindow = addWindowToActivity(mActivity); in testFixedScreenBoundsWhenDisplaySizeChanged() local 303 mActivity.getBounds(), appWindow.getBounds()); in testFixedScreenBoundsWhenDisplaySizeChanged()
|
/aosp12/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/rotation/ |
H A D | SeamlessAppRotationTest.kt | 105 val appWindow = it.windowState(testApp.`package`) regex 106 val flags = appWindow.windowState?.attributes?.flags ?: 0 107 appWindow.verify("isFullScreen") 122 val appWindow = it.windowState(testApp.`package`) regex 123 val rotationAnimation = appWindow.windowState?.attributes?.rotationAnimation ?: 0 124 appWindow.verify("isRotationSeamless")
|
/aosp12/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/ |
H A D | RotaryServiceTest.java | 660 windows.add(appWindow); in testNudgeTo_nudgeToHun() 730 windows.add(appWindow); in testNudgeTo_nudgeToNudgeShortcut_legacy() 794 windows.add(appWindow); in testNudgeTo_nudgeToNudgeShortcut_new() 858 windows.add(appWindow); in testNudgeTo_nudgeToUserSpecifiedTarget() 922 windows.add(appWindow); in testNudgeTo_nudgeToNearestTarget() 992 windows.add(appWindow); in testOnKeyEvents_nudgeUp_moveFocus() 1074 windows.add(appWindow); in testOnKeyEvents_nudgeUp_initFocus() 1156 windows.add(appWindow); in testOnKeyEvents_nudgeToHunEscapeNudgeDirection_leaveTheHun() 1245 windows.add(appWindow); in testOnKeyEvents_nudgeToNonHunEscapeNudgeDirection_stayInTheHun() 1332 windows.add(appWindow); in testOnKeyEvents_centerButtonClick_initFocus() [all …]
|
H A D | NavigatorTest.java | 1031 AccessibilityWindowInfo appWindow = new WindowBuilder() in testFindNudgeTargetFocusArea3() local 1076 windows.add(appWindow); in testFindNudgeTargetFocusArea3() 1137 AccessibilityWindowInfo appWindow = new WindowBuilder() in testFindNudgeTargetFocusArea4() local 1169 windows.add(appWindow); in testFindNudgeTargetFocusArea4() 1173 mNavigator.updateAppWindowTaskId(appWindow); in testFindNudgeTargetFocusArea4() 1234 AccessibilityWindowInfo appWindow = new WindowBuilder() in testFindNudgeTargetFocusArea5() local 1265 windows.add(appWindow); in testFindNudgeTargetFocusArea5() 1269 mNavigator.updateAppWindowTaskId(appWindow); in testFindNudgeTargetFocusArea5()
|
/aosp12/packages/services/Car/service/src/com/android/car/pm/ |
H A D | CarPackageManagerService.java | 1412 WindowDumpParser.Window appWindow = appWindows.get(i); in isActivityShowingADialogOnDisplay() local 1413 if (appWindow.getDisplayId() != displayId) { in isActivityShowingADialogOnDisplay() 1416 if (TextUtils.isEmpty(appWindow.getActivityRecord())) { in isActivityShowingADialogOnDisplay() 1420 firstActivityRecord = appWindow.getActivityRecord(); in isActivityShowingADialogOnDisplay() 1422 if (firstActivityRecord.equals(appWindow.getActivityRecord())) { in isActivityShowingADialogOnDisplay()
|
/aosp12/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DisplayPolicy.java | 1934 boolean appWindow = attrs.type >= FIRST_APPLICATION_WINDOW 1946 appWindow = true; 1950 if (appWindow && attached == null && attrs.isFullscreen() 1957 if ((appWindow && attached == null && attrs.isFullscreen())
|