Searched refs:taskFragment1 (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | AppTransitionControllerTest.java | 585 final TaskFragment taskFragment1 = createTaskFragmentWithActivity(parentTask); in testGetAnimationTargets_openingClosingTaskFragment() local 586 final ActivityRecord activity1 = taskFragment1.getTopMostActivity(); in testGetAnimationTargets_openingClosingTaskFragment() 601 assertEquals(new ArraySet<>(new WindowContainer[]{taskFragment1}), in testGetAnimationTargets_openingClosingTaskFragment() 614 final TaskFragment taskFragment1 = createTaskFragmentWithActivity(task1); in testGetAnimationTargets_openingTheOnlyTaskFragmentInTask() local 615 final ActivityRecord activity1 = taskFragment1.getTopMostActivity(); in testGetAnimationTargets_openingTheOnlyTaskFragmentInTask() 643 final TaskFragment taskFragment1 = createTaskFragmentWithActivity(task1); in testGetAnimationTargets_closingTheOnlyTaskFragmentInTask() local 644 final ActivityRecord activity1 = taskFragment1.getTopMostActivity(); in testGetAnimationTargets_closingTheOnlyTaskFragmentInTask() 963 final TaskFragment taskFragment1 = createTaskFragmentWithEmbeddedActivity(task, organizer); in testOverrideTaskFragmentAdapter_overrideEmbeddedActivityWithDiffUid() local 964 final ActivityRecord closingActivity = taskFragment1.getTopMostActivity(); in testOverrideTaskFragmentAdapter_overrideEmbeddedActivityWithDiffUid() 975 prepareAndTriggerAppTransition(openingActivity, closingActivity, taskFragment1); in testOverrideTaskFragmentAdapter_overrideEmbeddedActivityWithDiffUid()
|
D | TaskFragmentTest.java | 350 final TaskFragment taskFragment1 = new TaskFragmentBuilder(mAtm) in testEmbeddedTaskFragmentEnterPip_singleActivity_resetOrganizerOverrideConfig() local 358 taskFragment0.setAdjacentTaskFragment(taskFragment1); in testEmbeddedTaskFragmentEnterPip_singleActivity_resetOrganizerOverrideConfig() 359 taskFragment0.setCompanionTaskFragment(taskFragment1); in testEmbeddedTaskFragmentEnterPip_singleActivity_resetOrganizerOverrideConfig() 366 assertEquals(taskFragment1, taskFragment0.getAdjacentTaskFragment()); in testEmbeddedTaskFragmentEnterPip_singleActivity_resetOrganizerOverrideConfig() 367 assertEquals(taskFragment1, taskFragment0.getCompanionTaskFragment()); in testEmbeddedTaskFragmentEnterPip_singleActivity_resetOrganizerOverrideConfig() 394 final TaskFragment taskFragment1 = createTaskFragmentWithEmbeddedActivity(task, mOrganizer); in testEmbeddedTaskFragmentEnterPip_multiActivities_notifyOrganizer() local 396 final ActivityRecord activity1 = taskFragment1.getTopMostActivity(); in testEmbeddedTaskFragmentEnterPip_multiActivities_notifyOrganizer() 407 assertFalse(taskFragment1.mClearedTaskFragmentForPip); in testEmbeddedTaskFragmentEnterPip_multiActivities_notifyOrganizer()
|
D | ActivityRecordTests.java | 1296 final TaskFragment taskFragment1 = createTaskFragmentWithActivity(task); in testFinishActivityIfPossible_sendResultImmediatelyIfResumed() local 1298 final ActivityRecord resultToActivity = taskFragment1.getTopMostActivity(); in testFinishActivityIfPossible_sendResultImmediatelyIfResumed() 2971 final TaskFragment taskFragment1 = new TaskFragment( in testStartingWindowInTaskFragment() local 2973 fragmentSetup.accept(taskFragment1, new Rect(0, 0, width / 2, height)); in testStartingWindowInTaskFragment() 2974 task.addChild(taskFragment1, POSITION_TOP); in testStartingWindowInTaskFragment() 2987 activity1.reparent(taskFragment1, POSITION_TOP); in testStartingWindowInTaskFragment() 2997 assertEquals(taskFragment1.getBounds(), activity1.getBounds()); in testStartingWindowInTaskFragment()
|