Searched refs:resumedActivity (Results 1 – 4 of 4) sorted by relevance
1196 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;
1838 final ActivityRecord resumedActivity = focusedRootTask.getTopResumedActivity(); in getTopResumedActivity() local1839 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;
1202 ActivityRecord resumedActivity = mChildren.get(i).asTask().getTopResumedActivity(); in getTopResumedActivity() local1203 if (resumedActivity != null) { in getTopResumedActivity()1204 return resumedActivity; in getTopResumedActivity()1265 final ActivityRecord resumedActivity = getResumedActivity(); in pauseActivityIfNeeded() local1266 if (resumedActivity != null in pauseActivityIfNeeded()1277 final ActivityRecord resumedActivity = taskFrag.getResumedActivity(); in pauseActivityIfNeeded() local1278 if (resumedActivity != null && !taskFrag.canBeResumed(resuming)) { in pauseActivityIfNeeded()
5363 final ActivityRecord resumedActivity = mRootWindowContainer.getTopResumedActivity(); in startTimeTrackingFocusedActivityLocked() local5364 if (!mSleeping && mCurAppTimeTracker != null && resumedActivity != null) { in startTimeTrackingFocusedActivityLocked()5365 mCurAppTimeTracker.start(resumedActivity.packageName); in startTimeTrackingFocusedActivityLocked()