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.java6358 boolean makeActiveIfNeeded(ActivityRecord activeActivity) { in makeActiveIfNeeded() argument
6359 if (shouldResumeActivity(activeActivity)) { in makeActiveIfNeeded()
6363 return getRootTask().resumeTopActivityUncheckedLocked(activeActivity /* prev */, in makeActiveIfNeeded()
6365 } else if (shouldPauseActivity(activeActivity)) { in makeActiveIfNeeded()
6409 boolean shouldPauseActivity(ActivityRecord activeActivity) { in shouldPauseActivity() argument
6410 return shouldMakeActive(activeActivity) && !isFocusable() && !isState(PAUSING, PAUSED) in shouldPauseActivity()
6423 boolean shouldResumeActivity(ActivityRecord activeActivity) { in shouldResumeActivity() argument
6424 return shouldBeResumed(activeActivity) && !isState(RESUMED); in shouldResumeActivity()
6432 private boolean shouldBeResumed(ActivityRecord activeActivity) { in shouldBeResumed() argument
6433 return shouldMakeActive(activeActivity) && isFocusable() in shouldBeResumed()
[all …]