Home
last modified time | relevance | path

Searched refs:topRunningActivityLocked (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityStackSupervisorTests.java263 assertEquals(null, mSupervisor.topRunningActivityLocked()); in testTopRunningActivityLockedWithNonExistentDisplay()
351 assertEquals(activity, mService.mStackSupervisor.topRunningActivityLocked()); in testTopRunningActivity()
352 assertEquals(activity, mService.mStackSupervisor.topRunningActivityLocked( in testTopRunningActivity()
357 assertEquals(activity, mService.mStackSupervisor.topRunningActivityLocked()); in testTopRunningActivity()
358 assertEquals(null, mService.mStackSupervisor.topRunningActivityLocked( in testTopRunningActivity()
363 assertEquals(activity, mService.mStackSupervisor.topRunningActivityLocked()); in testTopRunningActivity()
364 assertEquals(null, mService.mStackSupervisor.topRunningActivityLocked( in testTopRunningActivity()
375 assertEquals(showWhenLockedActivity, mService.mStackSupervisor.topRunningActivityLocked()); in testTopRunningActivity()
376 assertEquals(showWhenLockedActivity, mService.mStackSupervisor.topRunningActivityLocked( in testTopRunningActivity()
382 assertEquals(showWhenLockedActivity, mService.mStackSupervisor.topRunningActivityLocked()); in testTopRunningActivity()
[all …]
DActivityStackTests.java300 final ActivityRecord topRunningHomeActivity = homeStack.topRunningActivityLocked(); in testShouldBeVisible_Finishing()
303 translucentStack.topRunningActivityLocked(); in testShouldBeVisible_Finishing()
/frameworks/base/services/core/java/com/android/server/am/
DCompatModePackages.java223 ActivityRecord r = mService.getFocusedStack().topRunningActivityLocked(); in getFrontActivityAskCompatModeLocked()
235 ActivityRecord r = mService.getFocusedStack().topRunningActivityLocked(); in setFrontActivityAskCompatModeLocked()
259 ActivityRecord r = mService.getFocusedStack().topRunningActivityLocked(); in getFrontActivityScreenCompatModeLocked()
267 ActivityRecord r = mService.getFocusedStack().topRunningActivityLocked(); in setFrontActivityScreenCompatModeLocked()
DActivityStack.java829 ActivityRecord topRunningActivityLocked() { in topRunningActivityLocked() method in ActivityStack
830 return topRunningActivityLocked(false /* focusableOnly */); in topRunningActivityLocked()
840 private ActivityRecord topRunningActivityLocked(boolean focusableOnly) { in topRunningActivityLocked() method in ActivityStack
842 ActivityRecord r = mTaskHistory.get(taskNdx).topRunningActivityLocked(); in topRunningActivityLocked()
887 final ActivityRecord topRunningActivityLocked(IBinder token, int taskId) { in topRunningActivityLocked() method in ActivityStack
1082 final ActivityRecord r = topRunningActivityLocked(); in isFocusable()
1609 ActivityRecord top = topStack.topRunningActivityLocked(); in completePauseLocked()
1739 final ActivityRecord top = topRunningActivityLocked(); in shouldBeVisible()
1823 ActivityRecord r = task.topRunningActivityLocked(); in rankTaskLayers()
1855 ActivityRecord top = topRunningActivityLocked(); in ensureActivitiesVisibleLocked()
[all …]
DActivityStackSupervisor.java722 final ActivityRecord r = topRunningActivityLocked(); in setFocusStackUnchecked()
965 resumedActivity = stack.topRunningActivityLocked(); in getResumedActivityLocked()
982 final ActivityRecord top = stack.topRunningActivityLocked(); in attachApplicationLocked()
1217 ActivityRecord topRunningActivityLocked() { in topRunningActivityLocked() method in ActivityStackSupervisor
1218 return topRunningActivityLocked(false /* considerKeyguardState */); in topRunningActivityLocked()
1229 ActivityRecord topRunningActivityLocked(boolean considerKeyguardState) { in topRunningActivityLocked() method in ActivityStackSupervisor
1231 ActivityRecord r = focusedStack.topRunningActivityLocked(); in topRunningActivityLocked()
1258 final ActivityRecord topActivity = topStack.topRunningActivityLocked(); in topRunningActivityLocked()
2225 final ActivityRecord r = mFocusedStack.topRunningActivityLocked(); in resumeFocusedStackTopActivityLocked()
2294 final ActivityRecord prev = topRunningActivityLocked(); in findTaskToMoveToFront()
[all …]
DTaskRecord.java539 final ActivityRecord r = topRunningActivityLocked(); in resize()
651 final ActivityRecord r = topRunningActivityLocked(); in reparent()
653 && (topRunningActivityLocked() == r); in reparent()
661 && (sourceStack.topRunningActivityLocked() == r); in reparent()
1062 ActivityRecord topRunningActivityLocked() { in topRunningActivityLocked() method in TaskRecord
1143 || topRunningActivityLocked() != null; in okToShowLocked()
DKeyguardController.java283 && stack.topRunningActivityLocked() == topDismissing in visibilitiesUpdated()
DLockTaskController.java644 final ActivityRecord r = mSupervisor.topRunningActivityLocked(); in updateLockTaskPackages()
DActivityStarter.java1443 mStartActivity.getTask().topRunningActivityLocked(); in startActivityUnchecked()
DActivityRecord.java2997 return mStackSupervisor.topRunningActivityLocked() == this; in isTopRunningActivity()
DActivityManagerService.java3599 final ActivityRecord r = stack.topRunningActivityLocked(); in setFocusedStack()
3620 final ActivityRecord r = task.topRunningActivityLocked(); in setFocusedTask()
5670 ActivityRecord next = r.getStack().topRunningActivityLocked(token, 0); in finishActivity()
14557 ActivityRecord r = getFocusedStack().topRunningActivityLocked(); in isTopActivityImmersive()
22800 starting = mainStack.topRunningActivityLocked(); in ensureConfigAndVisibilityAfterUpdate()