Home | History | Annotate | Download | only in am

Lines Matching defs:starting

171     // is short because it directly impacts the responsiveness of starting the
263 * When we are in the process of pausing an activity, before starting the
824 * Returns the first activity (starting from the top of the stack) that
899 if (DEBUG_STATES) Slog.v(TAG_STATES, "Moving to RESUMED: " + r + " (starting new instance)"
1528 * starting (about to be visible) activity that is fullscreen (opaque).
1529 * @param starting The currently starting activity or null if there is none.
1532 private boolean isStackTranslucent(ActivityRecord starting, int stackBehindId) {
1545 if (!r.visible && r != starting) {
1546 // Also ignore invisible activities that are not the currently starting
1571 * @param starting The currently starting activity or null if there is none.
1573 int getStackVisibilityLocked(ActivityRecord starting) {
1632 && focusedStack.isStackTranslucent(starting, stackBehindFocusedId)) {
1667 if (!stack.isStackTranslucent(starting, INVALID_STACK_ID)) {
1693 final void ensureActivitiesVisibleLocked(ActivityRecord starting, int configChanges,
1705 final int stackVisibility = getStackVisibilityLocked(starting);
1710 && (isInStackLocked(starting) == null);
1740 if (r != starting) {
1745 if (makeVisibleAndRestartIfNeeded(starting, configChanges, isTop,
1763 makeVisibleIfNeeded(starting, r);
1862 private boolean makeVisibleAndRestartIfNeeded(ActivityRecord starting, int configChanges,
1872 if (r != starting) {
1876 if (DEBUG_VISIBILITY) Slog.v(TAG_VISIBILITY, "Starting and making visible: " + r);
1879 if (r != starting) {
1946 private void makeVisibleIfNeeded(ActivityRecord starting, ActivityRecord r) {
1949 if (r.state == ActivityState.RESUMED || r == starting) {
1951 "Not making visible, r=" + r + " state=" + r.state + " starting=" + starting);
2043 * starting window displayed then remove that starting window. It is possible that the activity
2044 * in this state will never resumed in which case that starting window will be orphaned. */
2048 // We don't want to clear starting window for activities that aren't behind fullscreen
2049 // activities as we need to display their starting window until they are done initializing.
2067 "Found orphaned starting window " + r);
2336 // We are starting up the next activity, so tell the window manager
2650 // If starting in an existing task, find where that is...
2660 // user, then just add it without starting; it will
2703 // We want to show the starting preview window if we are
2715 "Prepare open transition: starting " + r);
2730 // Even though this activity is starting fresh, we still need
2744 // Don't do a starting window for mLaunchTaskBehind. More importantly make sure we
2750 // "has the same starting icon" as the next one. This allows the
2755 // We don't want to reuse the previous starting preview if:
3874 // Iterate over tasks starting at the back (oldest) first.
5012 ActivityRecord starting = topRunningActivityLocked();
5022 if (starting != null && a == starting && a.visible) {
5023 a.startFreezingScreenLocked(starting.app,
5030 return starting;