Home | History | Annotate | Download | only in am

Lines Matching refs:activities

173     // This is the maximum number of activities that we would like to have
266 // This is a process only hosting activities that are not visible,
286 // This is a process only hosting activities that are visible to the
382 * running) activities. It contains HistoryRecord objects.
472 * List of activities that are waiting for a new activity
479 * List of activities that are ready to be stopped, but waiting
500 * List of activities that are ready to be finished, but waiting
604 * List of running activities, sorted by recent usage.
845 * activities from being started/resumed.
870 * Task identifier that activities are currently being started
1616 if (app.activities.size() > 0) {
1617 // If this process has activities, we more strongly want to keep
1627 // If this process doesn't have activities, we less strongly
1629 // in front of any very recently used activities.
1792 int idx = app.activities.indexOf(r);
1794 app.activities.add(r);
1840 app.activities.remove(r);
2219 // If we already have a few activities waiting to stop,
2317 * Make sure that all activities that need to be visible (that is, they
2327 // make sure any activities under it are now visible.
2416 // Now for any activities that aren't visible to the user, make
2607 // There are no more activities! Let's just start up the
2951 // existing activities from other tasks in to it.
2997 * activities on top of it and return the instance.
3440 // In this situation we want to remove all activities
4240 // If we already have a few activities waiting to stop,
4443 // This could happen, for example, if we are trimming activities
4512 int idx = r.app.activities.indexOf(r);
4514 r.app.activities.remove(idx);
4519 if (r.app.activities.size() == 0) {
4520 // No longer have activities, so update location in
4612 // Remove this application's activities from active lists.
4665 app.activities.clear();
4680 // activities are running, taking care of restarting this
5710 // hidden by the activities in front of it.
5831 // Stop any activities that are scheduled to do so but have been
5844 // Finish any activities that are scheduled to do so but have been
7069 // for activities that are not the root of the task (since
7095 // correctly ordered with any activities we previously
7219 // task that is not at the top but who has activities above
7223 // up those remaining activities. (This only happens if
7357 // Shift all activities with this task up to the top
7422 * Moves an activity, and all of the other activities within the same task, to the bottom
7444 * activities for a specific task (gathering them if disjoint) into a single group at the
7487 // Shift all activities with this task down to the bottom
8712 // This happens before any activities are started, so we can
9017 // Also terminate an activities below it that aren't yet
9566 pw.println(" activities: activity stack state");
9583 if ("activities".equals(cmd) || "a".equals(cmd)) {
9655 pw.println("Activities in Current Activity Manager State:");
9676 pw.println(" Running activities (most recent first):");
9680 pw.println(" Activities waiting for another to become visible:");
9685 pw.println(" Activities waiting to stop:");
9690 pw.println(" Activities waiting to finish:");
12354 // its activities from the history stack.
13589 // other activities are made visible.
13667 // We don't worry about activities that are finishing.
13828 // Special persistent activities... shouldn't be used these days.
13862 } else if ((N=app.activities.size()) != 0) {
13863 // This app is in the background with paused activities.
13867 app.adjType = "bg-activities";
13868 N = app.activities.size();
13870 if (((HistoryRecord)app.activities.get(j)).visible) {
14382 if (app.activities.size() == 0
14448 // running any activities.
14449 if (!app.persistent && app.activities.size() == 0
14475 // recently used process we start finishing activities.
14485 // all of its activities.
14489 int NUMA = app.activities.size();
14494 HistoryRecord r = (HistoryRecord)app.activities.get(j);
14502 // Finish all of the activities, and then the app itself.
14504 HistoryRecord r = (HistoryRecord)app.activities.get(j);
14540 // Finally, if there are too many activities now running, try to