/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | RemoteAnimationControllerTest.java | 20 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 128 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testForwardsShowBackdrop() 161 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testRun() 205 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testCancel() 219 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testTimeout() 239 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, in testTimeout_scaled() 273 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testNotReallyStarted() 311 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testRemovedBeforeStarted() 327 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "win"); in testOpeningTaskWithTopFinishingActivity() 353 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testChangeToSmallerSize() [all …]
|
H A D | RecentsAnimationControllerTest.java | 22 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 194 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testWallpaperIncluded_expectTarget() 216 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testWallpaperAnimatorCanceled_expectAnimationKeepsRunning() 243 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testFinish_expectTargetAndWallpaperAdaptersRemoved() 270 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testDeferCancelAnimation() 291 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testDeferCancelAnimationWithScreenShot() 317 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testShouldAnimateWhenNoCancelWithDeferredScreenshot() 336 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testBinderDiedAfterCancelWithDeferredScreenshot() 403 final WindowState win = createWindow(null, TYPE_BASE_APPLICATION, activity, "win"); in prepareFixedRotationLaunchingAppWithRecentsAnim() 704 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testCleanupAnimation_expectExitAnimationDone() [all …]
|
H A D | WindowContainerTraversalTests.java | 21 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 52 WINDOWING_MODE_MULTI_WINDOW, ACTIVITY_TYPE_STANDARD, TYPE_BASE_APPLICATION, in testDockedDividerPosition()
|
H A D | DisplayContentTests.java | 62 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 387 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, in testComputeImeTargetReturnsNull_windowDidntRequestIme() 389 final WindowState win2 = createWindow(null, TYPE_BASE_APPLICATION, in testComputeImeTargetReturnsNull_windowDidntRequestIme() 1241 WindowState app1 = createWindow(null, TYPE_BASE_APPLICATION, "app1"); in testComputeImeParent_inputTargetNotUpdate() 1242 WindowState app2 = createWindow(null, TYPE_BASE_APPLICATION, "app2"); in testComputeImeParent_inputTargetNotUpdate() 1259 WindowState app = createWindow(null, TYPE_BASE_APPLICATION, "app"); in testComputeImeParent_updateParentWhenTargetNotUseIme() 1270 WindowState app1 = createWindow(null, TYPE_BASE_APPLICATION, "app1"); in testComputeImeParent_remoteControlTarget() 1271 WindowState app2 = createWindow(null, TYPE_BASE_APPLICATION, "app2"); in testComputeImeParent_remoteControlTarget() 1296 WindowState app = createWindow(null, TYPE_BASE_APPLICATION, dc, "app"); in testInputMethodInputTarget_isClearedWhenWindowStateIsRemoved() 1311 dc.mCurrentFocus = createWindow(null, TYPE_BASE_APPLICATION, "app"); in testComputeImeControlTarget() [all …]
|
H A D | ZOrderingTests.java | 33 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 234 return createWindow(null, TYPE_BASE_APPLICATION, mDisplayContent, name); in createWindow() 368 ACTIVITY_TYPE_STANDARD, TYPE_BASE_APPLICATION, mDisplayContent, in testStackLayers() 371 WINDOWING_MODE_MULTI_WINDOW, ACTIVITY_TYPE_STANDARD, TYPE_BASE_APPLICATION, in testStackLayers() 374 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_ASSISTANT, TYPE_BASE_APPLICATION, in testStackLayers() 377 ACTIVITY_TYPE_HOME, TYPE_BASE_APPLICATION, in testStackLayers()
|
H A D | TaskPositioningControllerTests.java | 21 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 68 mWindow = createWindow(null, TYPE_BASE_APPLICATION, "window"); in setUp()
|
H A D | WallpaperControllerTests.java | 26 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 277 final WindowState appWin = createWindow(null, TYPE_BASE_APPLICATION, "app"); in testUpdateWallpaperTarget() 293 final WindowState behind = createWindow(null, TYPE_BASE_APPLICATION, "behind"); in testShowWhenLockedWallpaperTarget() 294 final WindowState topTranslucent = createWindow(null, TYPE_BASE_APPLICATION, in testShowWhenLockedWallpaperTarget() 336 final WindowState appWin = createWindow(null, TYPE_BASE_APPLICATION, "app"); in testFixedRotationRecentsAnimatingTask() 546 WindowState appWindow = createWindow(null /* parent */, TYPE_BASE_APPLICATION, in createWallpaperTargetWindow()
|
H A D | WindowContainerTests.java | 27 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 1041 createWindow(null, TYPE_BASE_APPLICATION, r, "win"); in testHandleCompleteDeferredRemoval() 1194 final WindowState win = createWindow(null, TYPE_BASE_APPLICATION, activity, "win"); in testFreezeInsets() 1211 final WindowState win = createWindow(null, TYPE_BASE_APPLICATION, activity, "win"); in testFreezeInsetsStateWhenAppTransition() 1431 TYPE_BASE_APPLICATION); in testAddLocalInsetsFrameProvider() 1439 TYPE_BASE_APPLICATION); in testAddLocalInsetsFrameProvider() 1446 TYPE_BASE_APPLICATION); in testAddLocalInsetsFrameProvider() 1505 TYPE_BASE_APPLICATION); in testAddLocalInsetsFrameProvider_sameType_replacesInsets() 1549 TYPE_BASE_APPLICATION); in testRemoveLocalInsetsFrameProvider() 1557 TYPE_BASE_APPLICATION); in testRemoveLocalInsetsFrameProvider() [all …]
|
H A D | DisplayPolicyTests.java | 39 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 82 final WindowState win = createWindow(null, TYPE_BASE_APPLICATION, "opaqueFullscreen"); in createOpaqueFullscreen() 94 final WindowState win = createDreamWindow(null, TYPE_BASE_APPLICATION, "dream"); in createDreamWindow() 298 final WindowState win = createWindow(null, TYPE_BASE_APPLICATION, "Application"); in createBaseApplicationWindow()
|
H A D | TaskFragmentTest.java | 27 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 645 final WindowState win0 = createWindow(null, TYPE_BASE_APPLICATION, activity0, "win0"); in testUpdateImeParentForActivityEmbedding() 646 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity1, "win1"); in testUpdateImeParentForActivityEmbedding()
|
H A D | AppTransitionControllerTest.java | 25 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 233 TYPE_BASE_APPLICATION); in testIntraWallpaper_open() 242 TYPE_BASE_APPLICATION); in testIntraWallpaper_open() 264 TYPE_BASE_APPLICATION); in testIntraWallpaper_toFront() 273 TYPE_BASE_APPLICATION); in testIntraWallpaper_toFront()
|
H A D | SyncEngineTests.java | 19 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 329 final WindowState w = createWindow(null, TYPE_BASE_APPLICATION, "win"); in testReparentIn() 393 mAppWindow = createWindow(null, TYPE_BASE_APPLICATION, "mAppWindow"); in testNonBlastMethod()
|
H A D | WindowStateTests.java | 45 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 717 TYPE_BASE_APPLICATION, "startingApp"); in testRequestDrawIfNeeded() 964 WindowState sameTokenWindow = createWindow(null, TYPE_BASE_APPLICATION, mAppWindow.mToken, in testNeedsRelativeLayeringToIme_notAttached() 1140 WindowState app = createWindow(null, TYPE_BASE_APPLICATION, in testUpdateImeControlTargetWhenLeavingMultiWindow() 1168 WindowState app = createWindow(null, TYPE_BASE_APPLICATION, in testNotificationShadeHasImeInsetsWhenMultiWindow() 1300 final WindowState imeTarget = createWindow(null /* parent */, TYPE_BASE_APPLICATION, in testImeTargetChangeListener_OnImeInputTargetVisibilityChanged()
|
H A D | WindowManagerServiceTests.java | 36 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 225 final WindowState win = createWindow(null, TYPE_BASE_APPLICATION, "appWin"); in testRelayoutExitingWindow() 360 final WindowState win = createWindow(null, TYPE_BASE_APPLICATION, "appWin"); in testRelayoutFlagChanges() 992 createWindow(null, TYPE_BASE_APPLICATION, mDisplayContent, "appWin", window); in testRequestKeyboardShortcuts()
|
H A D | DragDropControllerTests.java | 28 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 147 null, TYPE_BASE_APPLICATION, activity, name, ownerId, false, new TestIWindow()); in createDropTargetWindow()
|
H A D | AppTransitionTests.java | 20 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 349 final WindowState exitingAppWindow = createWindow(null /* parent */, TYPE_BASE_APPLICATION, in testCancelRemoteAnimationWhenFreeze()
|
H A D | TaskPositionerTests.java | 20 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 82 final WindowState win = createWindow(null, TYPE_BASE_APPLICATION, activity, "window"); in setUp()
|
H A D | RefreshRatePolicyTest.java | 20 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 110 WindowState window = createWindow(null, TYPE_BASE_APPLICATION, name); in createWindow()
|
H A D | BackNavigationControllerTests.java | 25 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 312 final WindowState window = createWindow(null, TYPE_BASE_APPLICATION, testActivity, in backAnimationSkipSharedElementTransition()
|
H A D | ActivityRecordTests.java | 61 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 2507 final WindowState baseWin = createWindow(null, TYPE_BASE_APPLICATION, activity, "baseWin"); in testAddWindow_Order() 2531 final WindowState window1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "window1"); in testFindMainWindow() 2549 final WindowState window1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "window1"); in testGetTopFullscreenOpaqueWindow() 2569 TYPE_BASE_APPLICATION); in testLandscapeSeascapeRotationByApp() 2605 TYPE_BASE_APPLICATION); in testLandscapeSeascapeRotationByPolicy() 2662 TYPE_BASE_APPLICATION); in testKeyguardFlagsDuringRelaunch()
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | WindowLayout.java | 33 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 151 && type != TYPE_BASE_APPLICATION; in computeFrames() 256 || ((attrs.type != TYPE_BASE_APPLICATION) && !noLimits); in computeFrames()
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowStateAnimator.java | 22 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 517 if (mAttrType != TYPE_BASE_APPLICATION && !mIsWallpaper) { in applyEnterAnimationLocked()
|
H A D | RecentsAnimationController.java | 25 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 460 if (window.getWindowType() != TYPE_BASE_APPLICATION in isInterestingForAllDrawn() 1029 return w != null && w.mAttrs.type == TYPE_BASE_APPLICATION &&
|
H A D | WallpaperController.java | 24 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 216 return w.mActivityRecord != null && w.mAttrs.type == TYPE_BASE_APPLICATION in isRecentsTransitionTarget()
|
H A D | BackNavigationController.java | 22 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 1326 && w.mAttrs.type == TYPE_BASE_APPLICATION && w.mActivityRecord != null
|