Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DTaskDisplayArea.java1196 ActivityRecord resumedActivity = focusedRootTask.getTopResumedActivity();
1197 if (resumedActivity == null || resumedActivity.app == null) {
1200 resumedActivity = focusedRootTask.getTopPausingActivity();
1201 if (resumedActivity == null || resumedActivity.app == null) {
1204 resumedActivity = focusedRootTask.topRunningActivity(true /* focusableOnly */);
1207 return resumedActivity;
DRootWindowContainer.java1838 final ActivityRecord resumedActivity = focusedRootTask.getTopResumedActivity(); in getTopResumedActivity() local
1839 if (resumedActivity != null && resumedActivity.app != null) { in getTopResumedActivity()
1840 return resumedActivity; in getTopResumedActivity()
3447 final ActivityRecord resumedActivity = rootTask.getTopResumedActivity();
3448 if (resumedActivity == null || !resumedActivity.idle) {
3450 + "not idle", rootTask.getRootTaskId(), resumedActivity);
3453 if (mTransitionController.isTransientLaunch(resumedActivity)) {
3632 final ActivityRecord resumedActivity = taskDisplayArea.getFocusedActivity();
3634 resumedActivity == null ? null : resumedActivity.app;
DTask.java1202 ActivityRecord resumedActivity = mChildren.get(i).asTask().getTopResumedActivity(); in getTopResumedActivity() local
1203 if (resumedActivity != null) { in getTopResumedActivity()
1204 return resumedActivity; in getTopResumedActivity()
1265 final ActivityRecord resumedActivity = getResumedActivity(); in pauseActivityIfNeeded() local
1266 if (resumedActivity != null in pauseActivityIfNeeded()
1277 final ActivityRecord resumedActivity = taskFrag.getResumedActivity(); in pauseActivityIfNeeded() local
1278 if (resumedActivity != null && !taskFrag.canBeResumed(resuming)) { in pauseActivityIfNeeded()
DActivityTaskManagerService.java5363 final ActivityRecord resumedActivity = mRootWindowContainer.getTopResumedActivity(); in startTimeTrackingFocusedActivityLocked() local
5364 if (!mSleeping && mCurAppTimeTracker != null && resumedActivity != null) { in startTimeTrackingFocusedActivityLocked()
5365 mCurAppTimeTracker.start(resumedActivity.packageName); in startTimeTrackingFocusedActivityLocked()