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.java337 final ActivityStack topStack = getTopNonAlwaysOnTopStack(); in finishAnimation() local
338 if (topStack != targetStack) { in finishAnimation()
340 + " to be top most but found stack=" + topStack); in finishAnimation()
DActivityStack.java1840 final ActivityStack topStack = mRootActivityContainer.getTopDisplayFocusedStack(); in completePauseLocked() local
1841 if (!topStack.shouldSleepOrShutDownActivities()) { in completePauseLocked()
1842 mRootActivityContainer.resumeFocusedStacksTopActivities(topStack, prev, null); in completePauseLocked()
1845 ActivityRecord top = topStack.topRunningActivityLocked(); in completePauseLocked()
4892 final ActivityStack topStack = getDisplay().getTopStack(); in moveTaskToFrontLocked() local
4893 final ActivityRecord topActivity = topStack != null ? topStack.getTopActivity() : null; in moveTaskToFrontLocked()
5031 ActivityStack topStack = topActivity.getActivityStack(); in moveTaskToBackLocked() local
5032 if (topStack != null && topStack != this && topActivity.isState(RESUMED)) { in moveTaskToBackLocked()
DActivityStarter.java1643 final ActivityStack topStack = mRootActivityContainer.getTopDisplayFocusedStack(); in startActivityUnchecked() local
1644 final ActivityRecord topFocused = topStack.getTopActivity(); in startActivityUnchecked()
1645 final ActivityRecord top = topStack.topRunningNonDelayedActivityLocked(mNotTop); in startActivityUnchecked()
1658 topStack.mLastPausedActivity = null; in startActivityUnchecked()
1674 mPreferredDisplayId, topStack); in startActivityUnchecked() local
DActivityStackSupervisor.java2310 final ActivityStack topStack = mRootActivityContainer.getTopDisplayFocusedStack(); in updateTopResumedActivityIfNeeded() local
2311 if (topStack == null || topStack.mResumedActivity == prevTopActivity) { in updateTopResumedActivityIfNeeded()
2328 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()