Home
last modified time | relevance | path

Searched refs:recentsActivity (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentsAnimationTest.java165 ActivityRecord recentsActivity = recentsStack.getTopNonFinishingActivity(); in testPreloadRecentsActivity() local
167 assertThat(recentsActivity).isNotNull(); in testPreloadRecentsActivity()
168 assertThat(recentsActivity.getState()).isEqualTo(STOPPING); in testPreloadRecentsActivity()
169 assertFalse(recentsActivity.isVisibleRequested()); in testPreloadRecentsActivity()
172 recentsActivity.activityStopped(null /* newIcicle */, null /* newPersistentState */, in testPreloadRecentsActivity()
175 spyOn(recentsActivity); in testPreloadRecentsActivity()
180 verify(recentsActivity).ensureActivityConfiguration(eq(true) /* ignoreVisibility */); in testPreloadRecentsActivity()
DRecentsAnimationControllerTest.java800 private void startRecentsInDifferentRotation(ActivityRecord recentsActivity) { in startRecentsInDifferentRotation() argument
801 final DisplayContent displayContent = recentsActivity.mDisplayContent; in startRecentsInDifferentRotation()
802 displayContent.setFixedRotationLaunchingApp(recentsActivity, in startRecentsInDifferentRotation()
806 initializeRecentsAnimationController(mController, recentsActivity); in startRecentsInDifferentRotation()
807 assertTrue(recentsActivity.hasFixedRotationTransform()); in startRecentsInDifferentRotation()
DDisplayContentTests.java1839 final ActivityRecord recentsActivity = createActivityRecord(mDisplayContent); in testRecentsNotRotatingWithFixedRotation() local
1840 recentsActivity.setRequestedOrientation(SCREEN_ORIENTATION_NOSENSOR); in testRecentsNotRotatingWithFixedRotation()
1844 mDisplayContent.mFixedRotationTransitionListener.onStartRecentsAnimation(recentsActivity); in testRecentsNotRotatingWithFixedRotation()
1853 mDisplayContent.mFixedRotationTransitionListener.onStartRecentsAnimation(recentsActivity); in testRecentsNotRotatingWithFixedRotation()
1860 mDisplayContent.mFixedRotationTransitionListener.onStartRecentsAnimation(recentsActivity); in testRecentsNotRotatingWithFixedRotation()
1869 eq(recentsActivity)); in testRecentsNotRotatingWithFixedRotation()
1870 mDisplayContent.mFixedRotationTransitionListener.onStartRecentsAnimation(recentsActivity); in testRecentsNotRotatingWithFixedRotation()
1871 assertFalse(recentsActivity.hasFixedRotationTransform()); in testRecentsNotRotatingWithFixedRotation()
/frameworks/base/services/core/java/com/android/server/wm/
DTransition.java2166 ActivityRecord recentsActivity = null; in handleLegacyRecentsStartBehavior() local
2181 if (isRecents && recentsActivity == null) { in handleLegacyRecentsStartBehavior()
2182 recentsActivity = task.getTopVisibleActivity(); in handleLegacyRecentsStartBehavior()
2187 if (recentsActivity != null && topNonRecentsTask != null) { in handleLegacyRecentsStartBehavior()
2190 dc.getInputMonitor().setActiveRecents(recentsActivity, topNonRecentsTask); in handleLegacyRecentsStartBehavior()
2194 if (recentsActivity == null) { in handleLegacyRecentsStartBehavior()