Home
last modified time | relevance | path

Searched refs:topStack (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tests/testables/src/android/testing/
DTestableInstrumentation.java123 StackTraceElement topStack = t.getStackTrace()[0]; in checkStack() local
124 String className = topStack.getClassName(); in checkStack()
126 topStack = t.getCause().getStackTrace()[0]; in checkStack()
127 className = topStack.getClassName(); in checkStack()
/frameworks/base/services/core/java/com/android/server/wm/
DRecentsAnimation.java282 final ActivityStack topStack = getTopNonAlwaysOnTopStack(); in finishAnimation() local
283 if (topStack != targetStack) { in finishAnimation()
285 + " to be top most but found stack=" + topStack); in finishAnimation()
DActivityStack.java1837 final ActivityStack topStack = mRootActivityContainer.getTopDisplayFocusedStack(); in completePauseLocked() local
1838 if (!topStack.shouldSleepOrShutDownActivities()) { in completePauseLocked()
1839 mRootActivityContainer.resumeFocusedStacksTopActivities(topStack, prev, null); in completePauseLocked()
1842 ActivityRecord top = topStack.topRunningActivityLocked(); in completePauseLocked()
4860 final ActivityStack topStack = getDisplay().getTopStack(); in moveTaskToFrontLocked() local
4861 final ActivityRecord topActivity = topStack != null ? topStack.getTopActivity() : null; in moveTaskToFrontLocked()
4999 ActivityStack topStack = topActivity.getActivityStack(); in moveTaskToBackLocked() local
5000 if (topStack != null && topStack != this && topActivity.isState(RESUMED)) { in moveTaskToBackLocked()
DActivityStarter.java1625 final ActivityStack topStack = mRootActivityContainer.getTopDisplayFocusedStack(); in startActivityUnchecked() local
1626 final ActivityRecord topFocused = topStack.getTopActivity(); in startActivityUnchecked()
1627 final ActivityRecord top = topStack.topRunningNonDelayedActivityLocked(mNotTop); in startActivityUnchecked()
1640 topStack.mLastPausedActivity = null; in startActivityUnchecked()
1656 mPreferredDisplayId, topStack); in startActivityUnchecked() local
DActivityStackSupervisor.java2306 final ActivityStack topStack = mRootActivityContainer.getTopDisplayFocusedStack(); in updateTopResumedActivityIfNeeded() local
2307 if (topStack == null || topStack.mResumedActivity == prevTopActivity) { in updateTopResumedActivityIfNeeded()
2324 mTopResumedActivity = topStack.mResumedActivity; in updateTopResumedActivityIfNeeded()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStarterTests.java779 final ActivityStack topStack = secondaryDisplay.createStack(WINDOWING_MODE_FULLSCREEN, in testBringTaskToFrontOnSecondaryDisplay() local
781 final TaskRecord topTask = new TaskBuilder(mSupervisor).setStack(topStack).build(); in testBringTaskToFrontOnSecondaryDisplay()