Home
last modified time | relevance | path

Searched refs:getTaskFragmentToken (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/
DSplitPresenterTest.java144 mPresenter.createTaskFragment(mTransaction, container.getTaskFragmentToken(), in testCreateTaskFragment()
155 mPresenter.mFragmentInfos.put(container.getTaskFragmentToken(), mTaskFragmentInfo); in testResizeTaskFragment()
156 mPresenter.resizeTaskFragment(mTransaction, container.getTaskFragmentToken(), TASK_BOUNDS); in testResizeTaskFragment()
163 mPresenter.resizeTaskFragment(mTransaction, container.getTaskFragmentToken(), TASK_BOUNDS); in testResizeTaskFragment()
171 mPresenter.mFragmentInfos.put(container.getTaskFragmentToken(), mTaskFragmentInfo); in testUpdateWindowingMode()
172 mPresenter.updateWindowingMode(mTransaction, container.getTaskFragmentToken(), in testUpdateWindowingMode()
180 mPresenter.updateWindowingMode(mTransaction, container.getTaskFragmentToken(), in testUpdateWindowingMode()
191 mPresenter.setAdjacentTaskFragments(mTransaction, container0.getTaskFragmentToken(), in testSetAdjacentTaskFragments()
192 container1.getTaskFragmentToken(), null /* adjacentParams */); in testSetAdjacentTaskFragments()
193 verify(mTransaction).setAdjacentTaskFragments(container0.getTaskFragmentToken(), in testSetAdjacentTaskFragments()
[all …]
DOverlayPresentationTest.java306 eq(mOverlayContainer1.getTaskFragmentToken()), eq(bounds)); in testCreateOrUpdateOverlay_sameTagTaskAndActivity_updateOverlay()
553 ActivityStack.Token.createFromBinder(container.getTaskFragmentToken()), in testUpdateActivityStackAttributes_nullContainer_earlyReturn()
564 ActivityStack.Token.createFromBinder(container.getTaskFragmentToken()), in testUpdateActivityStackAttributes_notOverlay_earlyReturn()
575 final IBinder token = container.getTaskFragmentToken(); in testUpdateActivityStackAttributes()
634 final IBinder token = container.getTaskFragmentToken(); in testApplyActivityStackAttributesForExpandedContainer()
656 final IBinder token = container.getTaskFragmentToken(); in testApplyActivityStackAttributesForOverlayContainerAssociatedWithActivity()
681 final IBinder token = container.getTaskFragmentToken(); in testApplyActivityStackAttributesForOverlayContainerWithoutAssociatedActivity()
705 final IBinder token = container.getTaskFragmentToken(); in testApplyActivityStackAttributesForExpandedOverlayContainer()
726 final IBinder token = container.getTaskFragmentToken(); in testApplyActivityStackAttributesForOverlayContainer_exceedsMinDimensions()
870 eq(overlayContainer.getTaskFragmentToken()), eq(activityToken)); in testOnActivityReparentedToTask_overlayRestoration()
[all …]
DJetpackTaskFragmentOrganizerTest.java115 mOrganizer.mFragmentInfos.put(container.getTaskFragmentToken(), info); in testExpandTaskFragment()
133 return new TaskFragmentInfo(container.getTaskFragmentToken(), in createMockInfo()
DSplitControllerTest.java202 doReturn(tf.getTaskFragmentToken()).when(mInfo).getFragmentToken(); in testOnTaskFragmentVanished()
381 container.getTaskFragmentToken()); in testOnStartActivityResultError()
459 verify(mSplitPresenter).createTaskFragment(mTransaction, container.getTaskFragmentToken(), in testResolveStartActivityIntent_shouldExpand()
605 verify(mTransaction).reparentActivityToTaskFragment(topContainer.getTaskFragmentToken(), in testPlaceActivityInTopContainer()
637 verify(mSplitPresenter).expandActivity(mTransaction, container.getTaskFragmentToken(), in testResolveActivityToContainer_expandRule_notInTaskFragment()
668 verify(mSplitPresenter).expandActivity(mTransaction, container.getTaskFragmentToken(), in testResolveActivityToContainer_expandRule_inSplitTaskFragment()
1418 mSplitController.finishActivityStacks(Collections.singleton(tf.getTaskFragmentToken())); in testFinishActivityStacks_finishSingleActivityStack()
1420 verify(mSplitPresenter).deleteTaskFragment(any(), eq(tf.getTaskFragmentToken())); in testFinishActivityStacks_finishSingleActivityStack()
1435 topTf.getTaskFragmentToken(), bottomTf.getTaskFragmentToken()}); in testFinishActivityStacks_finishActivityStacksInOrder()
1446 bottomTf.getTaskFragmentToken(), fragmentTokens.get(0)); in testFinishActivityStacks_finishActivityStacksInOrder()
[all …]
DTaskFragmentContainerTest.java147 verify(mPresenter).deleteTaskFragment(mTransaction, container.getTaskFragmentToken()); in testFinish()
167 verify(mPresenter).deleteTaskFragment(mTransaction, container0.getTaskFragmentToken()); in testFinish_notFinishActivityThatIsReparenting()
199 verify(mPresenter).deleteTaskFragment(mTransaction, container0.getTaskFragmentToken()); in testFinish_alwaysFinishPlaceholder()
200 verify(mPresenter).deleteTaskFragment(mTransaction, container1.getTaskFragmentToken()); in testFinish_alwaysFinishPlaceholder()
DTaskContainerTest.java141 taskContainer.mFinishedContainer.add(tf.getTaskFragmentToken()); in testIsEmpty()
DEmbeddingTestUtils.java174 return new TaskFragmentInfo(container.getTaskFragmentToken(), in createMockTaskFragmentInfo()
DDividerPresenterTest.java903 when(container.getTaskFragmentToken()).thenReturn(token); in createMockTaskFragmentContainer()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DSplitPresenter.java196 createTaskFragment(wct, secondaryContainer.getTaskFragmentToken(), in createNewSplitWithEmptySideContainer()
198 updateAnimationParams(wct, secondaryContainer.getTaskFragmentToken(), splitAttributes); in createNewSplitWithEmptySideContainer()
270 createTaskFragment(wct, container.getTaskFragmentToken(), reparentActivityToken, in prepareContainerForActivity()
272 wct.reparentActivityToTaskFragment(container.getTaskFragmentToken(), in prepareContainerForActivity()
280 updateAnimationParams(wct, container.getTaskFragmentToken(), splitAttributes); in prepareContainerForActivity()
327 startActivityToSide(wct, primaryContainer.getTaskFragmentToken(), primaryRelBounds, in startActivityToSide()
328 launchingActivity, secondaryContainer.getTaskFragmentToken(), secondaryRelBounds, in startActivityToSide()
332 wct.requestFocusOnTaskFragment(primaryContainer.getTaskFragmentToken()); in startActivityToSide()
369 wct.requestFocusOnTaskFragment(primaryContainer.getTaskFragmentToken()); in updateSplitContainer()
375 updateAnimationParams(wct, primaryContainer.getTaskFragmentToken(), splitAttributes); in updateSplitContainer()
[all …]
DSplitController.java647 .getTaskFragmentToken()); in getActivityStackToken()
700 lastOverlayToken = change.getTaskFragmentToken(); in onTransactionReady()
962 wct.reparentActivityToTaskFragment(targetContainer.getTaskFragmentToken(), in onActivityReparentedToTask()
1005 wct.reparentActivityToTaskFragment(targetContainer.getTaskFragmentToken(), in onActivityReparentedToTask()
1295 wct.reparentActivityToTaskFragment(targetContainer.getTaskFragmentToken(), in placeActivityInTopContainer()
1337 mPresenter.expandActivity(wct, newContainer.getTaskFragmentToken(), activity); in expandActivity()
1468 secondaryContainer.getTaskFragmentToken(), in putActivitiesIntoSplitIfNecessary()
1759 final IBinder taskFragmentToken = container.getTaskFragmentToken(); in createEmptyContainer()
1916 TaskFragmentContainer::getTaskFragmentToken).toList()); in removeContainers()
2494 return getContainer(container -> fragmentToken.equals(container.getTaskFragmentToken())); in getContainer()
[all …]
DTaskFragmentContainer.java273 IBinder getTaskFragmentToken() { in getTaskFragmentToken() method in TaskFragmentContainer
690 presenter.deleteTaskFragment(wct, getTaskFragmentToken()); in finish()
DJetpackTaskFragmentOrganizer.java173 final IBinder fragmentToken = container.getTaskFragmentToken(); in expandTaskFragment()
DDividerPresenter.java227 mDecorSurfaceOwner, decorSurfaceOwnerContainer.getTaskFragmentToken())) { in updateDivider()
318 mDecorSurfaceOwner = container.getTaskFragmentToken(); in createOrMoveDecorSurfaceLocked()
/frameworks/base/core/java/android/window/
DTaskFragmentTransaction.java340 public IBinder getTaskFragmentToken() { in getTaskFragmentToken() method in TaskFragmentTransaction.Change
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskFragmentOrganizerControllerTest.java1434 changes.get(1).getTaskFragmentToken()); in testSendAllPendingTaskFragmentEventsWhenAnyTaskIsVisible()
1440 assertEquals(visibleTaskFragment.getFragmentToken(), changes.get(3).getTaskFragmentToken()); in testSendAllPendingTaskFragmentEventsWhenAnyTaskIsVisible()
2046 assertEquals(mFragmentToken, change.getTaskFragmentToken()); in assertTaskFragmentAppearedTransaction()
2065 assertEquals(mFragmentToken, change.getTaskFragmentToken()); in assertTaskFragmentInfoChangedTransaction()
2079 assertEquals(mFragmentToken, change.getTaskFragmentToken()); in assertTaskFragmentVanishedTransaction()
/frameworks/base/core/api/
Dtest-current.txt4297 method @Nullable public android.os.IBinder getTaskFragmentToken();