Home | History | Annotate | Download | only in am

Lines Matching defs:starting

168     // is short because it directly impacts the responsiveness of starting the
281 * When we are in the process of pausing an activity, before starting the
502 mStackSupervisor.ensureActivitiesVisibleLocked(null /* starting */, 0 /* configChanges */,
1018 * Returns the first activity (starting from the top of the stack) that
1084 if (DEBUG_STATES) Slog.v(TAG_STATES, "Moving to RESUMED: " + r + " (starting new instance)"
1583 * starting (about to be visible) activity that is fullscreen (opaque).
1584 * @param starting The currently starting activity or null if there is none.
1587 private boolean isStackTranslucent(ActivityRecord starting, int stackBehindId) {
1600 if (!r.visible && r != starting) {
1601 // Also ignore invisible activities that are not the currently starting
1634 * @param starting The currently starting activity or null if there is none.
1636 int shouldBeVisible(ActivityRecord starting) {
1669 return (topStack.isStackTranslucent(starting, DOCKED_STACK_ID)) ? STACK_VISIBLE
1704 && topStack.isStackTranslucent(starting, stackBehindTopId)) {
1739 if (!stack.isStackTranslucent(starting, INVALID_STACK_ID)) {
1765 final void ensureActivitiesVisibleLocked(ActivityRecord starting, int configChanges,
1781 final int stackVisibility = shouldBeVisible(starting);
1786 && (isInStackLocked(starting) == null);
1832 if (r != starting) {
1837 if (makeVisibleAndRestartIfNeeded(starting, configChanges, isTop,
1855 r.makeVisibleIfNeeded(starting);
2006 private boolean makeVisibleAndRestartIfNeeded(ActivityRecord starting, int configChanges,
2016 if (r != starting) {
2020 if (DEBUG_VISIBILITY) Slog.v(TAG_VISIBILITY, "Starting and making visible: " + r);
2023 if (r != starting) {
2156 * starting window displayed then remove that starting window. It is possible that the activity
2157 * in this state will never resumed in which case that starting window will be orphaned. */
2161 // We don't want to clear starting window for activities that aren't behind fullscreen
2162 // activities as we need to display their starting window until they are done initializing.
2166 // The stack is not visible, so no activity in it should be displaying a starting
2455 // We are starting up the next activity, so tell the window manager
2706 ActivityRecord starting) {
2709 if ((starting != null && starting.okToShowLocked())
2710 || (starting == null && task.okToShowLocked())) {
2711 // If the task or starting activity can be shown, then whatever position is okay.
2737 position = getAdjustedPositionForTask(task, position, null /* starting */);
2745 private void insertTaskAtTop(TaskRecord task, ActivityRecord starting) {
2750 final int position = getAdjustedPositionForTask(task, mTaskHistory.size(), starting);
2821 // If starting in an existing task, find where that is...
2831 // user, then just add it without starting; it will
2873 "Prepare open transition: starting " + r);
2897 // Even though this activity is starting fresh, we still need
2911 // Don't do a starting window for mLaunchTaskBehind. More importantly make sure we
2917 // "has the same starting icon" as the next one. This allows the
2923 // We don't want to reuse the previous starting preview if:
4137 // Iterate over tasks starting at the back (oldest) first.
5094 ActivityRecord starting = topRunningActivityLocked();
5104 if (starting != null && a == starting && a.visible) {
5105 a.startFreezingScreenLocked(starting.app,
5112 return starting;
5230 position = getAdjustedPositionForTask(task, position, null /* starting */);