Home
last modified time | relevance | path

Searched refs:ActivityState (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DActivityStack.java135 enum ActivityState { enum in ActivityStack
640 r.state = ActivityState.RESUMED; in minimalResumeActivityLocked()
734 if (r.state == ActivityState.STOPPING || r.state == ActivityState.STOPPED) { in goToSleep()
807 prev.state = ActivityState.PAUSING; in startPausingLocked()
908 if (r.state != ActivityState.STOPPING) { in activityStoppedLocked()
930 r.state = ActivityState.STOPPED; in activityStoppedLocked()
952 prev.state = ActivityState.PAUSED; in completePauseLocked()
1268 if (r.state != ActivityState.RESUMED && r != starting) { in ensureActivitiesVisibleLocked()
1419 if (r.state == ActivityState.INITIALIZING && r.mStartingWindowShown) { in cancelInitializingActivities()
1471 if ((parent != null && parent.state != ActivityState.RESUMED) || in resumeTopActivityInnerLocked()
[all …]
DActivityRecord.java31 import com.android.server.am.ActivityStack.ActivityState;
142 ActivityState state; // current state we are in
400 state = ActivityState.INITIALIZING; in ActivityRecord()
659 if ((state == ActivityState.RESUMED || (service.isSleeping() in deliverNewIntentLocked()
1028 return visible || nowVisible || state == ActivityState.PAUSING || in isInterestingToUserLocked()
1029 state == ActivityState.RESUMED; in isInterestingToUserLocked()
1086 if (finishing || app == null || state == ActivityState.DESTROYING in isDestroyable()
1087 || state == ActivityState.DESTROYED) { in isDestroyable()
DActivityStackSupervisor.java106 import com.android.server.am.ActivityStack.ActivityState;
595 if (r != null && r.state != ActivityState.RESUMED) { in allResumedActivitiesComplete()
652 if (r != null && r.state != ActivityState.PAUSED in allPausedActivitiesComplete()
653 && r.state != ActivityState.STOPPED in allPausedActivitiesComplete()
654 && r.state != ActivityState.STOPPING) { in allPausedActivitiesComplete()
984 if (r.nowVisible && r.state == ActivityState.RESUMED) { in startActivityMayWait()
1243 r.state = ActivityState.STOPPED; in realStartActivityLocked()
2979 if (r.finishing || r.state == ActivityState.DESTROYING in releaseSomeActivitiesLocked()
2980 || r.state == ActivityState.DESTROYED) { in releaseSomeActivitiesLocked()
2987 || r.state == ActivityState.RESUMED || r.state == ActivityState.PAUSING in releaseSomeActivitiesLocked()
[all …]
DActivityManagerService.java84 import com.android.server.am.ActivityStack.ActivityState;
4534 if (self.state == ActivityState.RESUMED in overridePendingTransition()
4535 || self.state == ActivityState.PAUSING) { in overridePendingTransition()
17064 } else if (r.state == ActivityState.PAUSING || r.state == ActivityState.PAUSED) { in computeOomAdjLocked()
17076 } else if (r.state == ActivityState.STOPPING) { in computeOomAdjLocked()
17380 (a.visible || a.state == ActivityState.RESUMED in computeOomAdjLocked()
17381 || a.state == ActivityState.PAUSING)) { in computeOomAdjLocked()
/frameworks/base/docs/html/guide/components/
Dtasks-and-back-stack.jd11 <li><a href="#ActivityState">Saving Activity State</a></li></li>
146 See the following section about <a href="#ActivityState">Activity state</a>.</p>
187 <h2 id="ActivityState">Saving Activity State</h2>