Searched refs:recentsActivity (Results 1 – 4 of 4) sorted by relevance
165 ActivityRecord recentsActivity = recentsStack.getTopNonFinishingActivity(); in testPreloadRecentsActivity() local167 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()
800 private void startRecentsInDifferentRotation(ActivityRecord recentsActivity) { in startRecentsInDifferentRotation() argument801 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()
1839 final ActivityRecord recentsActivity = createActivityRecord(mDisplayContent); in testRecentsNotRotatingWithFixedRotation() local1840 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()
2166 ActivityRecord recentsActivity = null; in handleLegacyRecentsStartBehavior() local2181 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()