Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DActivityStack.java138 enum ActivityState { enum in ActivityStack
665 r.state = ActivityState.RESUMED; in minimalResumeActivityLocked()
770 if (r.state == ActivityState.STOPPING || r.state == ActivityState.STOPPED) { in goToSleep()
849 prev.state = ActivityState.PAUSING; in startPausingLocked()
944 if (r.finishing && r.state == ActivityState.PAUSING) { in activityPausedLocked()
955 if (r.state != ActivityState.STOPPING) { in activityStoppedLocked()
977 r.state = ActivityState.STOPPED; in activityStoppedLocked()
999 prev.state = ActivityState.PAUSED; in completePauseLocked()
1347 if (r.state == ActivityState.RESUMED) { in ensureActivitiesVisibleLocked()
1354 if (r.state != ActivityState.RESUMED && r != starting) { in ensureActivitiesVisibleLocked()
[all …]
DActivityRecord.java31 import com.android.server.am.ActivityStack.ActivityState;
151 ActivityState state; // current state we are in
459 state = ActivityState.INITIALIZING; in ActivityRecord()
727 if ((state == ActivityState.RESUMED in deliverNewIntentLocked()
1079 return visible || nowVisible || state == ActivityState.PAUSING || in isInterestingToUserLocked()
1080 state == ActivityState.RESUMED; in isInterestingToUserLocked()
1134 if (finishing || app == null || state == ActivityState.DESTROYING in isDestroyable()
1135 || state == ActivityState.DESTROYED) { in isDestroyable()
DPendingIntentRecord.java215 != ActivityStack.ActivityState.RESUMED) { in sendInner()
DActivityStackSupervisor.java34 import static com.android.server.am.ActivityStack.ActivityState.*;
118 import com.android.server.am.ActivityStack.ActivityState;
3477 final ActivityState state = r == null ? DESTROYED : r.state; in validateTopActivitiesLocked()
DActivityManagerService.java103 import com.android.server.am.ActivityStack.ActivityState;
4499 if (self.state == ActivityState.RESUMED in overridePendingTransition()
4500 || self.state == ActivityState.PAUSING) { in overridePendingTransition()
8314 if (top == null || (top.state == ActivityState.INITIALIZING)) {
17694 } else if (r.state == ActivityState.PAUSING || r.state == ActivityState.PAUSED) { in computeOomAdjLocked()
17706 } else if (r.state == ActivityState.STOPPING) { in computeOomAdjLocked()
18021 (a.visible || a.state == ActivityState.RESUMED in computeOomAdjLocked()
18022 || 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>