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.java2062 boolean makeActiveIfNeeded(ActivityRecord activeActivity) { in makeActiveIfNeeded() argument
2063 if (shouldResumeActivity(activeActivity)) { in makeActiveIfNeeded()
2067 return getActivityStack().resumeTopActivityUncheckedLocked(activeActivity /* prev */, in makeActiveIfNeeded()
2069 } else if (shouldPauseActivity(activeActivity)) { in makeActiveIfNeeded()
2095 private boolean shouldPauseActivity(ActivityRecord activeActivity) { in shouldPauseActivity() argument
2096 return shouldMakeActive(activeActivity) && !isFocusable() && !isState(PAUSING, PAUSED); in shouldPauseActivity()
2107 boolean shouldResumeActivity(ActivityRecord activeActivity) { in shouldResumeActivity() argument
2108 return shouldMakeActive(activeActivity) && isFocusable() && !isState(RESUMED) in shouldResumeActivity()
2109 && getActivityStack().getVisibility(activeActivity) == STACK_VISIBILITY_VISIBLE; in shouldResumeActivity()
2120 boolean shouldMakeActive(ActivityRecord activeActivity) { in shouldMakeActive() argument
[all …]