Home
last modified time | relevance | path

Searched refs:getTaskFragment (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskFragmentOrganizerControllerTest.java525 assertEquals(mTaskFragment, activity.getTaskFragment()); in testOnActivityReparentedToTask_activityNotInOrganizerProcess_useTemporaryToken()
696 final TaskFragment taskFragment = mWindowOrganizerController.getTaskFragment( in testApplyTransaction_enforceHierarchyChange_createTaskFragment()
921 assertNull(mWindowOrganizerController.getTaskFragment(fragmentToken)); in testApplyTransaction_createTaskFragment_failForDifferentUid()
928 assertNull(mWindowOrganizerController.getTaskFragment(fragmentToken)); in testApplyTransaction_createTaskFragment_failForDifferentUid()
935 assertNotNull(mWindowOrganizerController.getTaskFragment(fragmentToken)); in testApplyTransaction_createTaskFragment_failForDifferentUid()
961 final TaskFragment taskFragment = mWindowOrganizerController.getTaskFragment( in testApplyTransaction_createTaskFragment_withPairedPrimaryFragmentToken()
997 final TaskFragment taskFragment = mWindowOrganizerController.getTaskFragment( in testApplyTransaction_createTaskFragment_overrideBounds()
1027 final TaskFragment taskFragment = mWindowOrganizerController.getTaskFragment( in testApplyTransaction_createTaskFragment_withPairedActivityToken()
1061 final TaskFragment taskFragment = mWindowOrganizerController.getTaskFragment(fragmentToken); in testApplyTransaction_createTaskFragment_overrideOrientation_systemOrganizer()
1087 final TaskFragment taskFragment = mWindowOrganizerController.getTaskFragment(fragmentToken); in testApplyTransaction_createTaskFragment_overrideOrientation_nonSystemOrganizer()
[all …]
DTaskFragmentTest.java267 final TaskFragmentInfo info = activity.getTaskFragment().getTaskFragmentInfo(); in testActivityStillReported_NotYetAssignedToProcess()
DBackNavigationControllerTests.java686 doReturn(primaryTf).when(windowState).getTaskFragment(); in testAdjacentFocusInActivityEmbedding()
DTaskTests.java1626 parentTask.getTaskFragment(TaskFragment::isOrganizedTaskFragment)); in testGetTaskFragment()
1631 tf0, parentTask.getTaskFragment(TaskFragment::isOrganizedTaskFragment)); in testGetTaskFragment()
/frameworks/base/services/core/java/com/android/server/wm/
DEnsureActivitiesVisibleHelper.java103 if (mAboveTop && mTopRunningActivity.getTaskFragment() == childTaskFragment) { in process()
DActivityStarter.java1879 mStartActivity.getTaskFragment().clearLastPausedActivity(); in startActivityInner()
2240 top.getTaskFragment().clearLastPausedActivity(); in deliverToCurrentTopIfNeeded()
2322 if (clearTop != null && clearTop.getTaskFragment() != null in complyActivityFlags()
2323 && clearTop.getTaskFragment().isEmbedded()) { in complyActivityFlags()
2324 mAddingToTaskFragment = clearTop.getTaskFragment(); in complyActivityFlags()
2357 act.getTaskFragment().clearLastPausedActivity(); in complyActivityFlags()
2812 intentActivity.getTaskFragment().clearLastPausedActivity(); in setTargetRootTaskIfNeeded()
2981 if (mStartActivity.getTaskFragment() == null in addOrReparentStartingActivity()
2982 || mStartActivity.getTaskFragment() == newParent) { in addOrReparentStartingActivity()
2996 mSourceRecord != null ? mSourceRecord.getTaskFragment() : null; in findCandidateTaskFragment()
DWindowOrganizerController.java409 final TaskFragment taskFragment = getTaskFragment(tfToken); in isCreatedTaskFragmentReady()
1501 ? focusedApp.getTaskFragment() in applyTaskFragmentOperation()
1512 if (curFocus != null && curFocus.getTaskFragment() == taskFragment) { in applyTaskFragmentOperation()
1551 final TaskFragment topTaskFragment = task.getTaskFragment( in applyTaskFragmentOperation()
1612 ? task.getTaskFragment(transition.mParticipants::contains) in applyTaskFragmentOperation()
2382 final TaskFragment pairedPrimaryTaskFragment = getTaskFragment( in createTaskFragment()
2427 TaskFragment getTaskFragment(IBinder tfToken) { in getTaskFragment() method in WindowOrganizerController
DActivityRecord.java1595 TaskFragment getTaskFragment() { in getTaskFragment() method in ActivityRecord
2438 final TaskFragment tf = getTaskFragment(); in setProcess()
3045 final TaskFragment prevTaskFrag = getTaskFragment(); in reparent()
3152 final TaskFragment parent = getTaskFragment(); in getOrganizedTaskFragment()
3158 final TaskFragment parent = getTaskFragment(); in isEmbedded()
3215 getTaskFragment().getBounds()); in getActivityWindowInfo()
3802 if (getTaskFragment().getPausingActivity() == null) { in finishIfPossible()
3807 getTaskFragment().startPausing(false /* userLeaving */, false /* uiSleeping */, in finishIfPossible()
3948 final TaskFragment taskFragment = getTaskFragment(); in completeFinishing()
3968 && next == next.getTaskFragment().mLastPausedActivity) { in completeFinishing()
[all …]
DDisplayArea.java265 return activity != null && activity.getTaskFragment() != null in shouldRespectOrientationRequestDueToPerAppOverride()
269 && activity.getTaskFragment().getWindowingMode() == WINDOWING_MODE_FULLSCREEN in shouldRespectOrientationRequestDueToPerAppOverride()
DActivitySnapshotController.java497 final TaskFragment currTF = currentActivity.getTaskFragment(); in getActivityBelow()
498 final TaskFragment prevTF = initPrev.getTaskFragment(); in getActivityBelow()
DLockTaskController.java265 final TaskFragment taskFragment = activity.getTaskFragment(); in activityBlockedFromFinish()
284 && a != activity && a.getTaskFragment() != adjacentTaskFragment) != null; in activityBlockedFromFinish()
DBackNavigationController.java416 final TaskFragment currTF = currentActivity.getTaskFragment(); in getAnimatablePrevActivities()
499 final TaskFragment prevTF = prevActivity.getTaskFragment(); in addPreviousAdjacentActivityIfExist()
517 final TaskFragment mainTF = mainActivity.getTaskFragment(); in findAdjacentActivityIfExist()
1219 final TaskFragment fragment = target.asActivityRecord().getTaskFragment(); in createAdaptor()
DTaskFragment.java443 return service.mWindowOrganizerController.getTaskFragment(token); in fromTaskFragmentToken()
616 && topResumed.getTaskFragment().getAdjacentTaskFragment() == this) { in setResumedActivity()
1057 if (r.getTaskFragment() == this) { in containsStoppingActivity()
3199 TaskFragment getTaskFragment(Predicate<TaskFragment> callback) { in getTaskFragment() method in TaskFragment
3200 final TaskFragment taskFragment = super.getTaskFragment(callback); in getTaskFragment()
DActivityClientController.java1690 final TaskFragment taskFragment = r.getTaskFragment(); in isRelativeTaskRootActivity()
1698 return taskRoot.getTaskFragment().getCompanionTaskFragment() == taskFragment; in isRelativeTaskRootActivity()
1702 return activity.getTaskFragment().topRunningActivity() == activity; in isTopActivityInTaskFragment()
DTaskFragmentOrganizerController.java783 && ar.getTaskFragment().getFragmentToken() != parentTfTokenBeforePip); in onActivityReparentedToTask()
785 || candidateAssociatedActivity.getTaskFragment().fillsParent())) { in onActivityReparentedToTask()
DInputMonitor.java312 TaskFragment parent = w.getTaskFragment(); in populateInputWindowHandle()
DBackgroundActivityStartController.java1403 TaskFragment taskFragment = topActivity.getTaskFragment(); in checkTopActivityForAsm()
1800 + ", taskFragment=" + ar.getTaskFragment(); in getDebugStringForActivityRecord()
DWindowProcessController.java946 final TaskFragment taskFrag = mPreQTopResumedActivity.getTaskFragment(); in updateTopResumingActivityInProcessIfNeeded()
1493 final TaskFragment taskFragment = r.getTaskFragment(); in handleAppDied()
DTask.java1267 && (top == null || top.getTaskFragment() != this || !canBeResumed(resuming))) { in pauseActivityIfNeeded()
1422 final TaskFragment taskFragment = newTop.getTaskFragment(); in moveActivityToFront()
2979 TaskFragment parent = r.getTaskFragment(); in getOccludingActivityAbove()
2980 if (parent == activity.getTaskFragment()) { in getOccludingActivityAbove()
3671 getTaskFragment(TaskFragment::isOrganizedTaskFragment);
5225 final TaskFragment topFragment = topActivity.getTaskFragment();
DActivityTaskSupervisor.java809 final TaskFragment taskFragment = r.getTaskFragment(); in realStartActivityLocked()
929 final IBinder fragmentToken = r.getTaskFragment().getFragmentToken(); in realStartActivityLocked()
DLetterboxUiController.java840 ? mActivityRecord.getTaskFragment().getBounds() in layoutLetterboxIfNeeded()
DAppTransitionController.java627 final TaskFragment tf = r.getTaskFragment(); in transitionContainsTaskFragmentWithBoundsOverride()
DWindowState.java1697 @Nullable TaskFragment getTaskFragment() { in getTaskFragment() method in WindowState
1698 return mActivityRecord != null ? mActivityRecord.getTaskFragment() : null; in getTaskFragment()
2771 final TaskFragment taskFragment = getTaskFragment(); in updateRegionForModalActivityWindow()
DWindowContainer.java2359 TaskFragment getTaskFragment(Predicate<TaskFragment> callback) { in getTaskFragment() method in WindowContainer
2361 final TaskFragment tf = mChildren.get(i).getTaskFragment(callback); in getTaskFragment()
DRootWindowContainer.java1863 final TaskFragment tf = r.getTaskFragment(); in attachApplication()
2105 final TaskFragment taskFragment = r.getTaskFragment(); in moveActivityToPinnedRootTask()

12