Home
last modified time | relevance | path

Searched refs:appWindow (Results 1 – 8 of 8) sorted by relevance

/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DFrameRateSelectionPriorityTests.java120 .getPreferredModeId(appWindow), 0); in testApplicationInFocusWithoutModeId()
123 .updateFrameRateVote(appWindow)); in testApplicationInFocusWithoutModeId()
134 appWindow.mToken.mDisplayContent.mCurrentFocus = appWindow; in testApplicationInFocusWithoutModeId()
140 appWindow.getSurfaceControl(), 1); in testApplicationInFocusWithoutModeId()
152 appWindow.mToken.mDisplayContent.mCurrentFocus = appWindow; in testApplicationInFocusWithModeId()
175 appWindow.getSurfaceControl(), 0); in testApplicationInFocusWithModeId()
177 appWindow.getSurfaceControl(), 1); in testApplicationInFocusWithModeId()
185 mDisplayContent.mCurrentFocus = appWindow; in testApplicationNotInFocusWithModeId()
204 appWindow.getSurfaceControl(), 2); in testApplicationNotInFocusWithModeId()
212 mDisplayContent.mCurrentFocus = appWindow; in testApplicationNotInFocusWithoutModeId()
[all …]
H A DWindowStateTests.java244 appWindow.setHasSurface(true); in testCanBeImeTarget()
257 assertTrue(appWindow.canBeImeTarget()); in testCanBeImeTarget()
269 assertTrue(appWindow.canBeImeTarget()); in testCanBeImeTarget()
282 spyOn(appWindow); in testCanBeImeTarget()
470 makeWindowVisible(appWindow); in testDeferredRemovalByAnimating()
471 spyOn(appWindow.mWinAnimator); in testDeferredRemovalByAnimating()
478 appWindow.removeIfPossible(); in testDeferredRemovalByAnimating()
479 assertTrue(appWindow.mAnimatingExit); in testDeferredRemovalByAnimating()
480 assertFalse(appWindow.mRemoved); in testDeferredRemovalByAnimating()
483 assertFalse(appWindow.mAnimatingExit); in testDeferredRemovalByAnimating()
[all …]
H A DWallpaperControllerTests.java546 WindowState appWindow = createWindow(null /* parent */, TYPE_BASE_APPLICATION, in createWallpaperTargetWindow() local
548 appWindow.getAttrs().flags |= FLAG_SHOW_WALLPAPER; in createWallpaperTargetWindow()
549 appWindow.mHasSurface = true; in createWallpaperTargetWindow()
550 spyOn(appWindow); in createWallpaperTargetWindow()
551 doReturn(true).when(appWindow).isDrawFinishedLw(); in createWallpaperTargetWindow()
553 homeActivity.addWindow(appWindow); in createWallpaperTargetWindow()
554 return appWindow; in createWallpaperTargetWindow()
H A DBackNavigationControllerTests.java337 WindowState appWindow = task.getTopVisibleAppMainWindow(); in testUnregisterCallbacksWithSystemCallback() local
341 appWindow.setOnBackInvokedCallbackInfo(invocation.getArgument(1)); in testUnregisterCallbacksWithSystemCallback()
343 }).when(appWindow.mSession).setOnBackInvokedCallbackInfo(eq(appWindow.mClient), any()); in testUnregisterCallbacksWithSystemCallback()
345 addToWindowMap(appWindow, true); in testUnregisterCallbacksWithSystemCallback()
346 dispatcher.attachToWindow(appWindow.mSession, appWindow.mClient); in testUnregisterCallbacksWithSystemCallback()
H A DActivityRecordTests.java2572 activity.addWindow(appWindow); in testLandscapeSeascapeRotationByApp()
2573 spyOn(appWindow); in testLandscapeSeascapeRotationByApp()
2581 appWindow.mResizeReported = false; in testLandscapeSeascapeRotationByApp()
2591 assertTrue(appWindow.mResizeReported); in testLandscapeSeascapeRotationByApp()
2592 appWindow.removeImmediately(); in testLandscapeSeascapeRotationByApp()
2608 activity.addWindow(appWindow); in testLandscapeSeascapeRotationByPolicy()
2609 spyOn(appWindow); in testLandscapeSeascapeRotationByPolicy()
2615 appWindow.mResizeReported = false; in testLandscapeSeascapeRotationByPolicy()
2619 assertTrue(appWindow.mResizeReported); in testLandscapeSeascapeRotationByPolicy()
2668 activity.addWindow(appWindow); in testKeyguardFlagsDuringRelaunch()
[all …]
H A DSizeCompatTests.java835 final WindowState appWindow = addWindowToActivity(mActivity); in testFixedScreenBoundsWhenDisplaySizeChanged() local
838 mActivity.getBounds(), appWindow.getBounds()); in testFixedScreenBoundsWhenDisplaySizeChanged()
/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/rotation/
H A DSeamlessAppRotationTest.kt120 val appWindow = regex
123 val flags = appWindow.windowState.attributes.flags
124 appWindow
138 val appWindow = regex
141 val rotationAnimation = appWindow.windowState.attributes.rotationAnimation
142 appWindow
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayPolicy.java1473 boolean appWindow = attrs.type >= FIRST_APPLICATION_WINDOW
1482 appWindow = true;
1486 if (appWindow && attached == null && attrs.isFullscreen()
1493 if ((appWindow && attached == null && attrs.isFullscreen())
1560 } else if (appWindow && attached == null