Searched refs:parentTask (Results 1 – 2 of 2) sorted by relevance
70 Task parentTask = mWmState.getRootTask(mOwnerActivity.getTaskId()); in testCreateTaskFragment() local71 final int originalTaskFragCount = parentTask.getTaskFragments().size(); in testCreateTaskFragment()95 parentTask = mWmState.getRootTask(mOwnerActivity.getTaskId()); in testCreateTaskFragment()96 final int curTaskFragCount = parentTask.getTaskFragments().size(); in testCreateTaskFragment()127 final Task parentTask = mWmState.getTaskByActivity(mOwnerActivityName); in testReparentActivity() local134 assertWindowHierarchy(parentTask, taskFragment, mWmState.getActivity(mOwnerActivityName)); in testReparentActivity()160 Task parentTask = mWmState.getTaskByActivity(mOwnerActivityName); in testStartActivityInTaskFragment_reuseTask() local168 assertWindowHierarchy(parentTask, taskFragment, mWmState.getActivity(mLaunchingActivity)); in testStartActivityInTaskFragment_reuseTask()169 assertWindowHierarchy(parentTask, mWmState.getActivity(mOwnerActivityName)); in testStartActivityInTaskFragment_reuseTask()171 + " the launching Activity's Task.").that(parentTask) in testStartActivityInTaskFragment_reuseTask()
183 final Task parentTask = mWmState.getRootTask(mOwnerTaskId); in testUntrustedModeTaskFragment_setRelativeBoundsOutsideOfParentBounds() local184 final Rect parentBounds = new Rect(parentTask.getBounds()); in testUntrustedModeTaskFragment_setRelativeBoundsOutsideOfParentBounds()221 final Task parentTask = mWmState.getRootTask(mOwnerTaskId); in testUntrustedModeTaskFragment_startActivityInTaskFragmentOutsideOfParentBounds() local222 final Rect parentBounds = new Rect(parentTask.getBounds()); in testUntrustedModeTaskFragment_startActivityInTaskFragmentOutsideOfParentBounds()