Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java2060 boolean makeActiveIfNeeded(ActivityRecord activeActivity) { in makeActiveIfNeeded() argument
2061 if (shouldResumeActivity(activeActivity)) { in makeActiveIfNeeded()
2065 return getActivityStack().resumeTopActivityUncheckedLocked(activeActivity /* prev */, in makeActiveIfNeeded()
2067 } else if (shouldPauseActivity(activeActivity)) { in makeActiveIfNeeded()
2093 private boolean shouldPauseActivity(ActivityRecord activeActivity) { in shouldPauseActivity() argument
2094 return shouldMakeActive(activeActivity) && !isFocusable() && !isState(PAUSING, PAUSED); in shouldPauseActivity()
2105 boolean shouldResumeActivity(ActivityRecord activeActivity) { in shouldResumeActivity() argument
2106 return shouldMakeActive(activeActivity) && isFocusable() && !isState(RESUMED) in shouldResumeActivity()
2107 && getActivityStack().getVisibility(activeActivity) == STACK_VISIBILITY_VISIBLE; in shouldResumeActivity()
2118 boolean shouldMakeActive(ActivityRecord activeActivity) { in shouldMakeActive() argument
[all …]