Searched refs:tf0 (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/ |
D | TaskContainerTest.java | 153 final TaskFragmentContainer tf0 = new TaskFragmentContainer.Builder(mController, in testGetTopTaskFragmentContainer() local 157 assertEquals(tf0, taskContainer.getTopNonFinishingTaskFragmentContainer()); in testGetTopTaskFragmentContainer() 171 final TaskFragmentContainer tf0 = mock(TaskFragmentContainer.class); in testGetTopNonFinishingActivity() local 172 taskContainer.addTaskFragmentContainer(tf0); in testGetTopNonFinishingActivity() 174 doReturn(activity0).when(tf0).getTopNonFinishingActivity(); in testGetTopNonFinishingActivity()
|
D | TaskFragmentContainerTest.java | 551 final TaskFragmentContainer tf0 = createTaskFragmentContainer( in testNewContainerWithPairedPrimaryContainer() local 561 .setPairedPrimaryContainer(tf0) in testNewContainerWithPairedPrimaryContainer() 563 assertEquals(0, taskContainer.indexOf(tf0)); in testNewContainerWithPairedPrimaryContainer() 571 final TaskFragmentContainer tf0 = createTaskFragmentContainer(taskContainer, in testNewContainerWithPairedPendingAppearedActivity() local 580 assertEquals(0, taskContainer.indexOf(tf0)); in testNewContainerWithPairedPendingAppearedActivity()
|
D | SplitControllerTest.java | 1317 final TaskFragmentContainer tf0 = mSplitController.getContainerWithActivity(r0); in testSplitInfoCallback_doNotReportIfInIntermediateState() local 1319 spyOn(tf0); in testSplitInfoCallback_doNotReportIfInIntermediateState() 1323 doReturn(true).when(tf0).isInIntermediateState(); in testSplitInfoCallback_doNotReportIfInIntermediateState() 1327 doReturn(false).when(tf0).isInIntermediateState(); in testSplitInfoCallback_doNotReportIfInIntermediateState()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskFragmentTest.java | 696 final TaskFragment tf0 = new TaskFragmentBuilder(mAtm) in testIgnoreRequestedOrientationForActivityEmbeddingSplit() local 708 tf0.setAdjacentTaskFragment(tf1); in testIgnoreRequestedOrientationForActivityEmbeddingSplit() 709 tf0.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in testIgnoreRequestedOrientationForActivityEmbeddingSplit() 712 tf0.setBounds(0, 0, 600, 1000); in testIgnoreRequestedOrientationForActivityEmbeddingSplit() 714 final ActivityRecord activity0 = tf0.getTopMostActivity(); in testIgnoreRequestedOrientationForActivityEmbeddingSplit() 736 tf0.setResumedActivity(activity0, "test"); in testIgnoreRequestedOrientationForActivityEmbeddingSplit() 757 final TaskFragment tf0 = createTaskFragmentWithActivity(task); in testIsVisibleWithAdjacent_reportOrientationUnspecified() local 759 tf0.setAdjacentTaskFragment(tf1); in testIsVisibleWithAdjacent_reportOrientationUnspecified() 760 tf0.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in testIsVisibleWithAdjacent_reportOrientationUnspecified() 763 tf0.setBounds(0, 0, 600, 1000); in testIsVisibleWithAdjacent_reportOrientationUnspecified() [all …]
|
D | TaskFragmentOrganizerControllerTest.java | 1119 final TaskFragment tf0 = new TaskFragmentBuilder(mAtm) in testApplyTransaction_requestFocusOnTaskFragment() local 1132 mWindowOrganizerController.mLaunchTaskFragments.put(token0, tf0); in testApplyTransaction_requestFocusOnTaskFragment() 1134 final ActivityRecord activity0 = tf0.getTopMostActivity(); in testApplyTransaction_requestFocusOnTaskFragment() 1209 final TaskFragment tf0 = new TaskFragmentBuilder(mAtm) in testOrganizerRemovedWithPendingEvents() local 1219 assertTrue(tf0.isOrganizedTaskFragment()); in testOrganizerRemovedWithPendingEvents() 1221 assertTrue(tf0.isAttached()); in testOrganizerRemovedWithPendingEvents() 1222 assertTrue(tf0.isAttached()); in testOrganizerRemovedWithPendingEvents() 1230 doAnswer(removeImmediately).when(tf0).removeImmediately(); in testOrganizerRemovedWithPendingEvents() 1234 mController.onTaskFragmentAppeared(mIOrganizer, tf0); in testOrganizerRemovedWithPendingEvents() 1245 assertFalse(tf0.isOrganizedTaskFragment()); in testOrganizerRemovedWithPendingEvents() [all …]
|
D | TaskTests.java | 1622 final TaskFragment tf0 = createTaskFragmentWithActivity(parentTask); in testGetTaskFragment() local 1628 doReturn(true).when(tf0).isOrganizedTaskFragment(); in testGetTaskFragment() 1631 tf0, parentTask.getTaskFragment(TaskFragment::isOrganizedTaskFragment)); in testGetTaskFragment()
|