Home
last modified time | relevance | path

Searched refs:clearTop (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/
DEmbeddingTestUtils.java110 @NonNull Intent secondaryIntent, boolean clearTop) { in createSplitRule() argument
121 .setShouldClearTop(clearTop) in createSplitRule()
138 @NonNull Activity secondaryActivity, boolean clearTop) { in createSplitRule() argument
141 clearTop); in createSplitRule()
147 int finishSecondaryWithPrimary, boolean clearTop) { in createSplitRule() argument
160 .setShouldClearTop(clearTop) in createSplitRule()
DSplitControllerTest.java1734 @NonNull Intent secondaryIntent, boolean clearTop) { in setupSplitRule() argument
1735 final SplitRule splitRule = createSplitRule(primaryActivity, secondaryIntent, clearTop); in setupSplitRule()
1747 @NonNull Activity secondaryActivity, boolean clearTop) { in setupSplitRule() argument
1748 final SplitRule splitRule = createSplitRule(primaryActivity, secondaryActivity, clearTop); in setupSplitRule()
1760 @NonNull Activity secondaryActivity, boolean clearTop) { in addSplitTaskFragments() argument
1763 createSplitRule(primaryActivity, secondaryActivity, clearTop)); in addSplitTaskFragments()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStarter.java2301 final ActivityRecord clearTop = targetTask.performClearTop(mStartActivity, in complyActivityFlags() local
2304 if (clearTop != null && !clearTop.finishing) { in complyActivityFlags()
2307 mMovedToTopActivity = clearTop; in complyActivityFlags()
2309 if (clearTop.isRootOfTask()) { in complyActivityFlags()
2312 clearTop.getTask().setIntent(mStartActivity); in complyActivityFlags()
2314 deliverNewIntent(clearTop, intentGrants); in complyActivityFlags()
2322 if (clearTop != null && clearTop.getTaskFragment() != null in complyActivityFlags()
2323 && clearTop.getTaskFragment().isEmbedded()) { in complyActivityFlags()
2324 mAddingToTaskFragment = clearTop.getTaskFragment(); in complyActivityFlags()