Searched refs:mAppWindow (Results 1 – 8 of 8) sorted by relevance
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | TaskSnapshotControllerTest.java | 209 Task task = mAppWindow.mActivityRecord.getTask(); in testCreateTaskSnapshotWithExcludingIme() 218 mWm.mTaskSnapshotController.createSnapshot(mAppWindow.mActivityRecord.getTask(), in testCreateTaskSnapshotWithExcludingIme() 228 Task task = mAppWindow.mActivityRecord.getTask(); in testCreateTaskSnapshotWithIncludingIme() 240 mAppWindow.mActivityRecord.getTask(), 1f /* scaleFraction */, in testCreateTaskSnapshotWithIncludingIme() 256 mAppWindow.mWinAnimator.mLastAlpha = 1f; in testPrepareTaskSnapshot() 257 spyOn(mAppWindow.mWinAnimator); in testPrepareTaskSnapshot() 258 doReturn(true).when(mAppWindow.mWinAnimator).getShown(); in testPrepareTaskSnapshot() 259 doReturn(true).when(mAppWindow.mActivityRecord).isSurfaceShowing(); in testPrepareTaskSnapshot() 264 mAppWindow.mActivityRecord.getTask(), PixelFormat.UNKNOWN, builder); in testPrepareTaskSnapshot() 271 doReturn(true).when(mAppWindow.mActivityRecord).hasFixedRotationTransform(); in testPrepareTaskSnapshot() [all …]
|
H A D | InsetsPolicyTest.java | 266 mAppWindow.setRequestedVisibleTypes( in testShowTransientBars_bothCanBeTransient_appGetsBothFakeControls() 268 policy.updateBarControlTarget(mAppWindow); in testShowTransientBars_bothCanBeTransient_appGetsBothFakeControls() 299 policy.updateBarControlTarget(mAppWindow); in testShowTransientBars_statusBarCanBeTransient_appGetsStatusBarFakeControl() 330 mAppWindow.setRequestedVisibleTypes(0, navigationBars() | statusBars()); in testAbortTransientBars_bothCanBeAborted_appGetsBothRealControls() 331 mAppWindow.mAboveInsetsState.addSource(navBarSource); in testAbortTransientBars_bothCanBeAborted_appGetsBothRealControls() 332 mAppWindow.mAboveInsetsState.addSource(statusBarSource); in testAbortTransientBars_bothCanBeAborted_appGetsBothRealControls() 334 policy.updateBarControlTarget(mAppWindow); in testAbortTransientBars_bothCanBeAborted_appGetsBothRealControls() 347 final InsetsState state = mAppWindow.getInsetsState(); in testAbortTransientBars_bothCanBeAborted_appGetsBothRealControls() 351 final InsetsState clientState = mAppWindow.getInsetsState(); in testAbortTransientBars_bothCanBeAborted_appGetsBothRealControls() 359 mAppWindow.setRequestedVisibleTypes( in testAbortTransientBars_bothCanBeAborted_appGetsBothRealControls() [all …]
|
H A D | ZOrderingTests.java | 246 assertWindowHigher(mImeWindow, mAppWindow); in testAssignWindowLayers_ForImeWithNoTarget() 265 assertWindowHigher(mImeWindow, mAppWindow); in testAssignWindowLayers_ForImeWithAppTarget() 292 assertWindowHigher(mImeWindow, mAppWindow); in testAssignWindowLayers_ForImeWithAppTargetWithChildWindows() 316 assertWindowHigher(mImeWindow, mAppWindow); in testAssignWindowLayers_ForImeWithAppTargetAndAppAbove() 337 assertWindowHigher(mImeWindow, mAppWindow); in testAssignWindowLayers_ForImeNonAppImeTarget() 357 assertWindowHigher(mImeWindow, mAppWindow); in testAssignWindowLayers_ForStatusBarImeTarget() 538 mDisplayContent.setImeLayeringTarget(mAppWindow); in testPopupWindowAndParentIsImeTarget_expectHigherThanIme_inMultiWindow() 539 mDisplayContent.setImeInputTarget(mAppWindow); in testPopupWindowAndParentIsImeTarget_expectHigherThanIme_inMultiWindow() 543 assertWindowHigher(mImeWindow, mAppWindow); in testPopupWindowAndParentIsImeTarget_expectHigherThanIme_inMultiWindow() 562 mDisplayContent.setImeLayeringTarget(mAppWindow); in testSystemDialogWindow_expectHigherThanIme_inMultiWindow() [all …]
|
H A D | WindowStateTests.java | 436 final WindowState app = mAppWindow; in testVisibleWithInsetsProvider() 722 final WindowState allDrawnApp = mAppWindow; in testRequestDrawIfNeeded() 739 final WindowState invisibleApp = mAppWindow; in testRequestDrawIfNeeded() 966 mDisplayContent.setImeLayeringTarget(mAppWindow); in testNeedsRelativeLayeringToIme_notAttached() 978 mAppWindow.mToken, "SameTokenWindow"); in testNeedsRelativeLayeringToIme_startingWindow() 979 mDisplayContent.setImeLayeringTarget(mAppWindow); in testNeedsRelativeLayeringToIme_startingWindow() 991 mDisplayContent.setImeLayeringTarget(mAppWindow); in testNeedsRelativeLayeringToIme_systemDialog() 1141 mAppWindow.mToken, "app"); in testUpdateImeControlTargetWhenLeavingMultiWindow() 1145 mDisplayContent.setImeInputTarget(mAppWindow); in testUpdateImeControlTargetWhenLeavingMultiWindow() 1146 mDisplayContent.setImeLayeringTarget(mAppWindow); in testUpdateImeControlTargetWhenLeavingMultiWindow() [all …]
|
H A D | DisplayPolicyTests.java | 265 final WindowManager.LayoutParams attrs = mAppWindow.mAttrs; in testComputeTopFullscreenOpaqueWindow() 272 mAppWindow, attrs, null /* attached */, null /* imeTarget */); in testComputeTopFullscreenOpaqueWindow() 274 assertEquals(mAppWindow, policy.getTopFullscreenOpaqueWindow()); in testComputeTopFullscreenOpaqueWindow() 491 mAppWindow.mAttrs.insetsFlags.behavior = BEHAVIOR_SHOW_TRANSIENT_BARS_BY_SWIPE; in testCanSystemBarsBeShownByUser() 492 mAppWindow.setRequestedVisibleTypes(0, navigationBars()); in testCanSystemBarsBeShownByUser() 496 navBarProvider.updateControlForTarget(mAppWindow, false); in testCanSystemBarsBeShownByUser()
|
H A D | DisplayContentTests.java | 194 mAppWindow, in testForAllWindows() 223 mAppWindow, in testForAllWindows_WithAppImeTarget() 242 mAppWindow, in testForAllWindows_WithChildWindowImeTarget() 260 mAppWindow, in testForAllWindows_WithStatusBarImeTarget() 278 mAppWindow, in testForAllWindows_WithNotificationShadeImeTarget() 299 mAppWindow, in testForAllWindows_WithInBetweenWindowToken() 1222 spyOn(mAppWindow.mActivityRecord); in testComputeImeParent_app_notMatchParentBounds() 1224 mDisplayContent.setImeLayeringTarget(mAppWindow); in testComputeImeParent_app_notMatchParentBounds() 1353 spyOn(mAppWindow.mActivityRecord); in testComputeImeControlTarget_notMatchParentBounds() 1355 mDisplayContent.setImeInputTarget(mAppWindow); in testComputeImeControlTarget_notMatchParentBounds() [all …]
|
H A D | SyncEngineTests.java | 393 mAppWindow = createWindow(null, TYPE_BASE_APPLICATION, "mAppWindow"); in testNonBlastMethod() 402 bse.addToSyncSet(id, mAppWindow.mToken); in testNonBlastMethod() 403 mAppWindow.prepareSync(); in testNonBlastMethod() 404 assertFalse(mAppWindow.shouldSyncWithBuffers()); in testNonBlastMethod() 406 mAppWindow.removeImmediately(); in testNonBlastMethod()
|
H A D | WindowTestsBase.java | 178 WindowState mAppWindow; field in WindowTestsBase 398 mAppWindow = createCommonWindow(null, TYPE_BASE_APPLICATION, "mAppWindow"); in addCommonWindows() 401 mChildAppWindowAbove = createCommonWindow(mAppWindow, TYPE_APPLICATION_ATTACHED_DIALOG, in addCommonWindows() 405 mChildAppWindowBelow = createCommonWindow(mAppWindow, TYPE_APPLICATION_MEDIA_OVERLAY, in addCommonWindows()
|