/aosp12/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; 120 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testRun() 163 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testCancel() 176 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testTimeout() 195 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, in testTimeout_scaled() 229 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testNotReallyStarted() 266 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testRemovedBeforeStarted() 281 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "win"); in testOpeningTaskWithTopFinishingActivity() 307 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testChangeToSmallerSize() 361 final WindowState win = createWindow(null /* parent */, TYPE_BASE_APPLICATION, "testWin"); in testChangeTolargerSize() [all …]
|
H A D | RecentsAnimationControllerTest.java | 24 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 172 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testWallpaperIncluded_expectTarget() 194 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testWallpaperAnimatorCanceled_expectAnimationKeepsRunning() 221 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testFinish_expectTargetAndWallpaperAdaptersRemoved() 248 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testDeferCancelAnimation() 269 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testDeferCancelAnimationWithScreenShot() 297 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testShouldAnimateWhenNoCancelWithDeferredScreenshot() 316 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testBinderDiedAfterCancelWithDeferredScreenshot() 383 final WindowState win = createWindow(null, TYPE_BASE_APPLICATION, activity, "win"); in prepareFixedRotationLaunchingAppWithRecentsAnim() 670 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "win1"); in testCleanupAnimation_expectExitAnimationDone() [all …]
|
H A D | WindowContainerTraversalTests.java | 22 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 53 WINDOWING_MODE_SPLIT_SCREEN_PRIMARY, ACTIVITY_TYPE_STANDARD, TYPE_BASE_APPLICATION, in testDockedDividerPosition() 57 TYPE_BASE_APPLICATION, mDisplayContent, "splitScreenSecondaryWindow"); in testDockedDividerPosition()
|
H A D | DisplayContentTests.java | 53 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 175 final WindowState exitingAppWindow = createWindow(null, TYPE_BASE_APPLICATION, in testForAllWindows() 374 final WindowState win1 = createWindow(null, TYPE_BASE_APPLICATION, in testComputeImeTargetReturnsNull_windowDidntRequestIme() 376 final WindowState win2 = createWindow(null, TYPE_BASE_APPLICATION, in testComputeImeTargetReturnsNull_windowDidntRequestIme() 520 createWindow(null, TYPE_BASE_APPLICATION, mDisplayContent, "window1"); in doTestFocusedWindowMultipleDisplays() 1045 dc.setImeLayeringTarget(createWindow(null, TYPE_BASE_APPLICATION, "app")); in testComputeImeParent_app() 1082 WindowState app = createWindow(null, TYPE_BASE_APPLICATION, dc, "app"); in testInputMethodInputTarget_isClearedWhenWindowStateIsRemoved() 1097 dc.setImeInputTarget(createWindow(null, TYPE_BASE_APPLICATION, "app")); in testComputeImeControlTarget() 1105 dc.setImeInputTarget(createWindow(null, TYPE_BASE_APPLICATION, "app")); in testComputeImeControlTarget_splitscreen() 1280 final WindowState app = createWindow(null, TYPE_BASE_APPLICATION, "app"); in testHybridRotationAnimation() [all …]
|
H A D | ZOrderingTests.java | 33 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 228 return createWindow(null, TYPE_BASE_APPLICATION, mDisplayContent, name); in createWindow() 363 ACTIVITY_TYPE_STANDARD, TYPE_BASE_APPLICATION, mDisplayContent, in testStackLayers() 366 WINDOWING_MODE_SPLIT_SCREEN_PRIMARY, ACTIVITY_TYPE_STANDARD, TYPE_BASE_APPLICATION, in testStackLayers() 369 WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_ASSISTANT, TYPE_BASE_APPLICATION, in testStackLayers() 372 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 | DisplayPolicyTests.java | 36 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 72 final WindowState win = createWindow(null, TYPE_BASE_APPLICATION, "opaqueFullscreen"); in createOpaqueFullscreen() 238 final WindowState win = createWindow(null, TYPE_BASE_APPLICATION, "Application"); in createBaseApplicationWindow()
|
H A D | AppTransitionControllerTest.java | 23 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 203 TYPE_BASE_APPLICATION); in testIntraWallpaper_open() 212 TYPE_BASE_APPLICATION); in testIntraWallpaper_open() 234 TYPE_BASE_APPLICATION); in testIntraWallpaper_toFront() 243 TYPE_BASE_APPLICATION); in testIntraWallpaper_toFront() 356 TYPE_BASE_APPLICATION); in testGetAnimationTargets_windowsAreBeingReplaced()
|
H A D | WindowStateTests.java | 42 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 642 TYPE_BASE_APPLICATION, "startingApp"); in testRequestDrawIfNeeded() 836 WindowState sameTokenWindow = createWindow(null, TYPE_BASE_APPLICATION, mAppWindow.mToken, in testNeedsRelativeLayeringToIme_notAttached() 931 WindowState app = createWindow(null, TYPE_BASE_APPLICATION, in testUpdateImeControlTargetWhenLeavingMultiWindow() 957 WindowState app = createWindow(null, TYPE_BASE_APPLICATION, in testNotificationShadeHasImeInsetsWhenSplitscreenActivated()
|
H A D | TaskSnapshotSurfaceTest.java | 24 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 139 createWindow(null, TYPE_BASE_APPLICATION, activityRecord, "window"); in createSurface_asTrustedOverlay()
|
H A D | RefreshRatePolicyTest.java | 19 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 90 WindowState window = createWindow(null, TYPE_BASE_APPLICATION, name); in createWindow()
|
H A D | WallpaperControllerTests.java | 25 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 353 WindowState appWindow = createWindow(null /* parent */, TYPE_BASE_APPLICATION, in createWallpaperTargetWindow()
|
H A D | AppTransitionTests.java | 20 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 376 final WindowState exitingAppWindow = createWindow(null /* parent */, TYPE_BASE_APPLICATION, in testCancelRemoteAnimationWhenFreeze()
|
H A D | DragDropControllerTests.java | 27 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 146 null, TYPE_BASE_APPLICATION, activity, name, ownerId, false, new TestIWindow()); in createDropTargetWindow()
|
H A D | WindowContainerTests.java | 25 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 453 final WindowState windowState = createWindow(null /* parent */, TYPE_BASE_APPLICATION, in testIsAnimating_typesToCheck() 857 createWindow(null, TYPE_BASE_APPLICATION, r, "win"); in testHandleCompleteDeferredRemoval() 1010 final WindowState win = createWindow(null, TYPE_BASE_APPLICATION, activity, "win"); in testFreezeInsets() 1027 final WindowState win = createWindow(null, TYPE_BASE_APPLICATION, activity, "win"); in testFreezeInsetsStateWhenAppTransition()
|
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 | ActivityRecordTests.java | 50 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 2241 final WindowState baseWin = createWindow(null, TYPE_BASE_APPLICATION, activity, "baseWin"); in testAddWindow_Order() 2265 final WindowState window1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "window1"); in testFindMainWindow() 2283 final WindowState window1 = createWindow(null, TYPE_BASE_APPLICATION, activity, "window1"); in testGetTopFullscreenOpaqueWindow() 2303 TYPE_BASE_APPLICATION); in testLandscapeSeascapeRotationByApp() 2341 TYPE_BASE_APPLICATION); in testLandscapeSeascapeRotationByPolicy() 2395 TYPE_BASE_APPLICATION); in testKeyguardFlagsDuringRelaunch()
|
H A D | WindowTestsBase.java | 43 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 327 mAppWindow = createCommonWindow(null, TYPE_BASE_APPLICATION, "mAppWindow"); in createTestDisplay() 841 static final int W_ACTIVITY = TYPE_BASE_APPLICATION;
|
H A D | SizeCompatTests.java | 33 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 342 final WindowState window = createWindow(null, TYPE_BASE_APPLICATION, mActivity, "window"); in testIsLetterboxed_activityShowsWallpaper_returnsFalse() 2230 params.type = WindowManager.LayoutParams.TYPE_BASE_APPLICATION; in addWindowToActivity()
|
/aosp12/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowStateAnimator.java | 22 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 468 if (mAttrType != TYPE_BASE_APPLICATION) return false; in shouldConsumeMainWindowSizeTransaction() 676 if (mAttrType != TYPE_BASE_APPLICATION && !mIsWallpaper) { in applyEnterAnimationLocked()
|
H A D | RecentsAnimationController.java | 28 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 1106 return w != null && w.mAttrs.type == TYPE_BASE_APPLICATION &&
|
H A D | WindowState.java | 77 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 2052 final boolean isAppType = mWinAnimator.mAttrType == TYPE_BASE_APPLICATION in mightAffectAllDrawn() 2518 } else if (mAttrs.type == TYPE_BASE_APPLICATION in removeIfPossible() 3082 if (mAttrs.type == TYPE_BASE_APPLICATION && mActivityRecord != null in adjustStartingWindowFlags() 4502 || ((attrs.type != TYPE_BASE_APPLICATION) && !noLimits); in applyGravityAndUpdateFrame()
|
H A D | DisplayPolicy.java | 65 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 954 case TYPE_BASE_APPLICATION: in adjustWindowParamsLw() 1796 && type != TYPE_BASE_APPLICATION;
|
H A D | ActivityRecord.java | 112 import static android.view.WindowManager.LayoutParams.TYPE_BASE_APPLICATION; 3900 if (type1 == TYPE_BASE_APPLICATION && type2 != TYPE_BASE_APPLICATION) { in isFirstChildWindowGreaterThanSecond() 3902 } else if (type1 != TYPE_BASE_APPLICATION && type2 == TYPE_BASE_APPLICATION) { in isFirstChildWindowGreaterThanSecond() 6801 if (type == TYPE_BASE_APPLICATION in findMainWindow()
|
/aosp12/frameworks/base/core/java/android/view/ |
H A D | WindowManager.java | 1069 @ViewDebug.IntToString(from = TYPE_BASE_APPLICATION, 1170 public static final int TYPE_BASE_APPLICATION = 1; field in WindowManager.LayoutParams 1591 TYPE_BASE_APPLICATION,
|