Home
last modified time | relevance | path

Searched refs:mActivityRecord (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotControllerTest.java69 closingWindow.mActivityRecord.commitVisibility( in testGetClosingApps_closing()
72 closingApps.add(closingWindow.mActivityRecord); in testGetClosingApps_closing()
76 assertEquals(closingWindow.mActivityRecord.getTask(), closingTasks.valueAt(0)); in testGetClosingApps_closing()
85 closingWindow.mActivityRecord.commitVisibility( in testGetClosingApps_notClosing()
87 openingWindow.mActivityRecord.commitVisibility( in testGetClosingApps_notClosing()
90 closingApps.add(closingWindow.mActivityRecord); in testGetClosingApps_notClosing()
100 closingWindow.mActivityRecord.commitVisibility( in testGetClosingApps_skipClosingAppsSnapshotTasks()
103 closingApps.add(closingWindow.mActivityRecord); in testGetClosingApps_skipClosingAppsSnapshotTasks()
106 Sets.newArraySet(closingWindow.mActivityRecord.getTask())); in testGetClosingApps_skipClosingAppsSnapshotTasks()
115 disabledWindow.mActivityRecord.setDisablePreviewScreenshots(true); in testGetSnapshotMode()
[all …]
DRemoteAnimationControllerTest.java98 mDisplayContent.mOpeningApps.add(win.mActivityRecord); in testRun()
100 … final AnimationAdapter adapter = mController.createRemoteAnimationRecord(win.mActivityRecord, in testRun()
118 assertEquals(win.mActivityRecord.getPrefixOrderIndex(), app.prefixOrderIndex); in testRun()
119 assertEquals(win.mActivityRecord.getTask().mTaskId, app.taskId); in testRun()
137 … final AnimationAdapter adapter = mController.createRemoteAnimationRecord(win.mActivityRecord, in testCancel()
150 … final AnimationAdapter adapter = mController.createRemoteAnimationRecord(win.mActivityRecord, in testTimeout()
171 win.mActivityRecord, new Point(50, 100), null, new Rect(50, 100, 150, 150), in testTimeout_scaled()
202 mController.createRemoteAnimationRecord(win.mActivityRecord, in testNotReallyStarted()
212 mController.createRemoteAnimationRecord(win1.mActivityRecord, in testOneNotStarted()
214 … final AnimationAdapter adapter = mController.createRemoteAnimationRecord(win2.mActivityRecord, in testOneNotStarted()
[all …]
DWindowStateTests.java237 int initialMode = appWindow.mActivityRecord.getWindowingMode(); in testCanBeImeTarget()
238 appWindow.mActivityRecord.setWindowingMode(WINDOWING_MODE_PINNED); in testCanBeImeTarget()
240 appWindow.mActivityRecord.setWindowingMode(initialMode); in testCanBeImeTarget()
395 assertThat(appWindow.mActivityRecord.currentLaunchCanTurnScreenOn(), in testPrepareWindowToDisplayDuringRelayout()
402 app.mActivityRecord.setVisible(true); in testCanAffectSystemUiFlags()
404 app.mActivityRecord.setVisible(false); in testCanAffectSystemUiFlags()
406 app.mActivityRecord.setVisible(true); in testCanAffectSystemUiFlags()
414 app.mActivityRecord.setVisible(true); in testCanAffectSystemUiFlags_disallow()
551 startingApp.mActivityRecord.startingWindow = startingWindow; in testRequestDrawIfNeeded()
554 allDrawnApp.mActivityRecord.allDrawn = true; in testRequestDrawIfNeeded()
[all …]
DWallpaperControllerTests.java279 mAppWindow.mActivityRecord.applyFixedRotationTransform(mDisplayContent.getDisplayInfo(), in testFixedRotationRecentsAnimatingTask()
281 mAppWindow.mActivityRecord.mVisibleRequested = true; in testFixedRotationRecentsAnimatingTask()
286 assertTrue(mAppWindow.mActivityRecord.hasFixedRotationTransform()); in testFixedRotationRecentsAnimatingTask()
288 mAppWindow.mActivityRecord.finishFixedRotationTransform(); in testFixedRotationRecentsAnimatingTask()
290 mAppWindow.mActivityRecord.mVisibleRequested = false; in testFixedRotationRecentsAnimatingTask()
293 assertFalse(mAppWindow.mActivityRecord.hasFixedRotationTransform()); in testFixedRotationRecentsAnimatingTask()
DAnimatingActivityRegistryTest.java69 "activity2").mActivityRecord; in testDeferring()
93 "window2").mActivityRecord; in testContainerRemoved()
DDisplayContentTests.java143 final ActivityRecord exitingApp = exitingAppWindow.mActivityRecord; in testForAllWindows()
444 window1.mActivityRecord.mTargetSdk = targetSdk; in doTestFocusedWindowMultipleDisplays()
457 window2.mActivityRecord.mTargetSdk = targetSdk; in doTestFocusedWindowMultipleDisplays()
471 window1.mActivityRecord.mVisibleRequested = false; in doTestFocusedWindowMultipleDisplays()
472 window1.getDisplayContent().setFocusedApp(window1.mActivityRecord); in doTestFocusedWindowMultipleDisplays()
662 window.mActivityRecord.setOrientation(SCREEN_ORIENTATION_LANDSCAPE); in testOrientationDefinedByKeyguard()
862 assertEquals(dc.mInputMethodTarget.mActivityRecord.getSurfaceControl(), in testComputeImeParent_app()
877 spyOn(mAppWindow.mActivityRecord); in testComputeImeParent_app_notMatchParentBounds()
878 doReturn(false).when(mAppWindow.mActivityRecord).matchParentBounds(); in testComputeImeParent_app_notMatchParentBounds()
929 spyOn(mAppWindow.mActivityRecord); in testComputeImeControlTarget_notMatchParentBounds()
[all …]
DRefreshRatePolicyTest.java113 overrideWindow.mActivityRecord.mSurfaceAnimator.startAnimation( in testAnimatingAppOverride()
129 cameraUsingWindow.mActivityRecord.mSurfaceAnimator.startAnimation( in testAnimatingCamera()
DTaskSnapshotCacheTest.java70 mCache.onAppRemoved(window.mActivityRecord); in testAppRemoved()
81 mCache.onAppDied(window.mActivityRecord); in testAppDied()
DDisplayRotationTests.java641 win.mToken = win.mActivityRecord = mock(ActivityRecord.class); in testShouldRotateSeamlessly()
651 doReturn(true).when(win.mActivityRecord).matchParentBounds(); in testShouldRotateSeamlessly()
657 doReturn(false).when(win.mActivityRecord).matchParentBounds(); in testShouldRotateSeamlessly()
DAppTransitionTests.java192 final ActivityRecord exitingActivity= exitingAppWindow.mActivityRecord; in testCancelRemoteAnimationWhenFreeze()
DAppWindowTokenTests.java271 closingWindow.mActivityRecord.commitVisibility( in testStuckExitingWindow()
346 final ActivityRecord appToken = mAppWindow.mActivityRecord; in testAddRemoveRace()
DWindowFrameTests.java403 … Configuration config = new Configuration(w.mActivityRecord.getRequestedOverrideConfiguration()); in testLayoutLetterboxedWindow()
406 w.mActivityRecord.onRequestedOverrideConfigurationChanged(config); in testLayoutLetterboxedWindow()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java289 ActivityRecord mActivityRecord; field in WindowState
816 && mActivityRecord != null && mActivityRecord.mTargetSdk < Build.VERSION_CODES.Q; in isImplicitlyExcludingAllSystemGestures()
867 mActivityRecord = mToken.asActivityRecord(); in WindowState()
930 if (mActivityRecord != null && mActivityRecord.mShowForAllUsers) { in WindowState()
945 mActivityRecord != null ? mActivityRecord.mInputApplicationHandle : null, in WindowState()
973 || (mActivityRecord != null && mActivityRecord.hasSizeCompatBounds() in inSizeCompatMode()
1091 if (mActivityRecord != null && !mActivityRecord.mFrozenBounds.isEmpty()) { in computeFrameLw()
1095 Rect frozen = mActivityRecord.mFrozenBounds.peek(); in computeFrameLw()
1268 if (mActivityRecord != null) { in getBounds()
1269 return mActivityRecord.getBounds(); in getBounds()
[all …]
DWallpaperController.java129 if (w.mActivityRecord != null && !w.mActivityRecord.isVisible()
130 && !w.mActivityRecord.isAnimating(TRANSITION | PARENTS)) {
147 final WindowContainer animatingContainer = w.mActivityRecord != null
148 ? w.mActivityRecord.getAnimatingContainer() : null;
162 || (w.mActivityRecord != null && !w.mActivityRecord.fillsParent());
253 && (mWallpaperTarget.mActivityRecord == null in isWallpaperTargetAnimating()
254 || !mWallpaperTarget.mActivityRecord.isWaitingForTransitionStart()); in isWallpaperTargetAnimating()
571 final boolean newTargetHidden = wallpaperTarget.mActivityRecord != null in updateWallpaperWindowsTarget()
572 && !wallpaperTarget.mActivityRecord.mVisibleRequested; in updateWallpaperWindowsTarget()
573 final boolean oldTargetHidden = prevWallpaperTarget.mActivityRecord != null in updateWallpaperWindowsTarget()
[all …]
DImeInsetsSourceProvider.java54 && mImeTargetFromIme.getWindow().mActivityRecord in scheduleShowImePostLayout()
55 == imeTarget.getWindow().mActivityRecord; in scheduleShowImePostLayout()
DWindowStateAnimator.java278 … + (mWin.mActivityRecord != null ? mWin.mActivityRecord.reportedVisible : false)); in onAnimationFinished()
298 if (mWin.mActivityRecord != null) { in onAnimationFinished()
299 mWin.mActivityRecord.updateReportedVisibilityLocked(); in onAnimationFinished()
371 final ActivityRecord activity = mWin.mActivityRecord; in commitFinishDrawingLocked()
426 && (mWin.mActivityRecord == null || !mWin.mActivityRecord.isRelaunching())) { in destroyPreservedSurfaceLocked()
446 if (mWin.mActivityRecord == null) { in resetDrawState()
450 if (!mWin.mActivityRecord.isAnimating(TRANSITION)) { in resetDrawState()
451 mWin.mActivityRecord.clearAllDrawn(); in resetDrawState()
598 final ActivityRecord activity = mWin.mActivityRecord; in destroySurfaceLocked()
858 if (!mWin.mActivityRecord.isRootOfTask()) return false; in shouldConsumeMainWindowSizeTransaction()
DTaskPositioningController.java187 && displayContent.mCurrentFocus.mActivityRecord == win.mActivityRecord) { in startPositioningLocked()
DWallpaperWindowToken.java137 } else if ((wallpaperTarget.mActivityRecord == null in updateWallpaperWindows()
139 || wallpaperTarget.mActivityRecord.mVisibleRequested) in updateWallpaperWindows()
DAppTransitionController.java767 && !openingApps.contains(oldWallpaper.mActivityRecord) in maybeUpdateTransitToWallpaper()
768 && closingApps.contains(oldWallpaper.mActivityRecord) in maybeUpdateTransitToWallpaper()
769 && topClosingApp == oldWallpaper.mActivityRecord) { in maybeUpdateTransitToWallpaper()
776 && openingApps.contains(wallpaperTarget.mActivityRecord) in maybeUpdateTransitToWallpaper()
777 && topOpeningApp == wallpaperTarget.mActivityRecord in maybeUpdateTransitToWallpaper()
DLetterbox.java202 … final String name = namePrefix + (win.mActivityRecord != null ? win.mActivityRecord : win); in InputInterceptor()
DInputMonitor.java269 … inputWindowHandle.paused = child.mActivityRecord != null ? child.mActivityRecord.paused : false; in populateInputWindowHandle()
480 && recentsAnimationController.shouldApplyInputConsumer(w.mActivityRecord); in accept()
DRecentsAnimationController.java796 ((w.mActivityRecord != null && mTargetActivityRecord == w.mActivityRecord)
873 return task != null && isAnimatingTask(task) && !isTargetApp(windowState.mActivityRecord);
923 InsetUtils.addInsets(insets, mainWindow.mActivityRecord.getLetterboxInsets());
DEmbeddedWindowController.java154 mHostActivityRecord = (mHostWindowState != null) ? mHostWindowState.mActivityRecord in EmbeddedWindow()
DDisplayContent.java641 final ActivityRecord activity = w.mActivityRecord;
675 final ActivityRecord activity = w.mActivityRecord;
719 final ActivityRecord activity = w.mActivityRecord;
768 if (w.mActivityRecord != null) {
769 w.mActivityRecord.layoutLetterbox(w);
902 final ActivityRecord activity = w.mActivityRecord;
3354 } else if (w.mActivityRecord != null && !w.mActivityRecord.isClientVisible()) { in destroyLeakedSurfaces()
3357 + " token=" + w.mActivityRecord); in destroyLeakedSurfaces()
3427 final ActivityRecord activity = target.mActivityRecord; in computeImeTarget()
3464 ActivityRecord activity = curTarget == null ? null : curTarget.mActivityRecord; in computeImeTarget()
[all …]
DDragState.java425 return targetWin.mActivityRecord == null in targetWindowSupportsGlobalDrag()
426 || targetWin.mActivityRecord.mTargetSdk >= Build.VERSION_CODES.N; in targetWindowSupportsGlobalDrag()

12