Searched refs:activeActivity (Results 1 – 1 of 1) sorted by relevance
6358 boolean makeActiveIfNeeded(ActivityRecord activeActivity) { in makeActiveIfNeeded() argument6359 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() argument6410 return shouldMakeActive(activeActivity) && !isFocusable() && !isState(PAUSING, PAUSED) in shouldPauseActivity()6423 boolean shouldResumeActivity(ActivityRecord activeActivity) { in shouldResumeActivity() argument6424 return shouldBeResumed(activeActivity) && !isState(RESUMED); in shouldResumeActivity()6432 private boolean shouldBeResumed(ActivityRecord activeActivity) { in shouldBeResumed() argument6433 return shouldMakeActive(activeActivity) && isFocusable() in shouldBeResumed()[all …]