/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/ |
H A D | ShellTaskOrganizer.java | 245 info.getTaskInfo().taskId, info.getTaskInfo().baseIntent); in registerOrganizer() 476 final int taskId = info.getTaskInfo().taskId; in onTaskAppeared() 487 notifyLocusVisibilityIfNeeded(info.getTaskInfo()); in onTaskAppeared() 488 notifyCompatUI(info.getTaskInfo(), listener); in onTaskAppeared() 597 RunningTaskInfo taskInfo = mTasks.valueAt(i).getTaskInfo(); in getRunningTasks() 610 return info != null ? info.getTaskInfo() : null; in getRunningTaskInfo() 720 ? getTaskListener(mTasks.get(taskId).getTaskInfo()) in reparentChildSurfaceToTask() 859 if (info.getTaskInfo().baseActivity != null) { in dump() 863 boolean running = info.getTaskInfo().isRunning; in dump() 864 boolean visible = info.getTaskInfo().isVisible; in dump() [all …]
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/taskview/ |
H A D | TaskViewTransitions.java | 214 if (mTaskViews.keyAt(i).getTaskInfo() == null) continue; in findTaskView() 239 if (taskView.getTaskInfo() == null) { in setTaskViewVisible() 245 wct.setHidden(taskView.getTaskInfo().token, !visible /* hidden */); in setTaskViewVisible() 283 wct.setBounds(taskView.getTaskInfo().token, boundsOnScreen); in setTaskBounds() 329 if (chg.getTaskInfo() == null) continue; in startAnimation() 332 TaskViewTaskController tv = findTaskView(chg.getTaskInfo()); in startAnimation() 342 + chg.getTaskInfo().taskId); in startAnimation() 366 tv = findTaskView(chg.getTaskInfo()); in startAnimation() 371 + chg.getTaskInfo().taskId); in startAnimation() 378 chg.getTaskInfo(), chg.getLeash(), wct); in startAnimation() [all …]
|
H A D | TaskView.java | 285 public ActivityManager.RunningTaskInfo getTaskInfo() { in getTaskInfo() method in TaskView 286 return mTaskViewTaskController.getTaskInfo(); in getTaskInfo()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/freeform/ |
H A D | FreeformTaskTransitionObserver.java | 82 final ActivityManager.RunningTaskInfo taskInfo = change.getTaskInfo(); in onTransitionReady() 89 && info.getChange(change.getParent()).getTaskInfo() != null) { in onTransitionReady() 107 taskInfoList.add(change.getTaskInfo()); in onTransitionReady() 125 change.getTaskInfo(), change.getLeash(), startT, finishT); in onOpenTransitionReady() 132 mWindowDecorViewModel.onTaskClosing(change.getTaskInfo(), startT, finishT); in onCloseTransitionReady() 140 change.getTaskInfo(), change.getLeash(), startT, finishT); in onChangeTransitionReady() 148 change.getTaskInfo(), change.getLeash(), startT, finishT); in onToFrontTransitionReady()
|
H A D | FreeformTaskTransitionHandler.java | 141 final ActivityManager.RunningTaskInfo taskInfo = change.getTaskInfo(); in startAnimation() 155 if (change.getTaskInfo().getWindowingMode() == WINDOWING_MODE_FREEFORM) { in startAnimation() 202 final ActivityManager.RunningTaskInfo taskInfo = change.getTaskInfo(); in startChangeTransition() 227 .getDisplayLayout(change.getTaskInfo().displayId).height(); in startCloseTransition() 234 Rect startBounds = new Rect(change.getTaskInfo().configuration.windowConfiguration in startCloseTransition()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/ |
H A D | UnfoldTransitionHandler.java | 114 if (change.getTaskInfo() != null) { in startAnimation() 117 change.getTaskInfo(), TransitionInfo.modeToString(change.getMode()), in startAnimation() 118 animator.isApplicableTask(change.getTaskInfo())); in startAnimation() 120 if (change.getTaskInfo() != null && (change.getMode() == TRANSIT_CHANGE in startAnimation() 122 && animator.isApplicableTask(change.getTaskInfo())) { in startAnimation() 123 animator.onTaskAppeared(change.getTaskInfo(), change.getLeash()); in startAnimation() 185 final ActivityManager.RunningTaskInfo taskInfo = change.getTaskInfo(); in mergeAnimation()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/freeform/ |
H A D | FreeformTaskTransitionObserverTest.java | 108 change.getTaskInfo(), change.getLeash(), startT, finishT); in testCreatesWindowDecorOnOpenTransition_freeform() 125 change.getTaskInfo(), startT, finishT); in testPreparesWindowDecorOnCloseTransition_freeform() 141 verify(mWindowDecorViewModel, never()).destroyWindowDecoration(change.getTaskInfo()); in testDoesntCloseWindowDecorDuringCloseTransition() 160 verify(mWindowDecorViewModel).destroyWindowDecoration(change.getTaskInfo()); in testClosesWindowDecorAfterCloseTransition() 191 verify(mWindowDecorViewModel).destroyWindowDecoration(change2.getTaskInfo()); in testClosesMergedWindowDecorationAfterTransitionFinishes() 222 verify(mWindowDecorViewModel).destroyWindowDecoration(change1.getTaskInfo()); in testClosesAllWindowDecorsOnTransitionMergeAfterCloseTransitions() 223 verify(mWindowDecorViewModel).destroyWindowDecoration(change2.getTaskInfo()); in testClosesAllWindowDecorsOnTransitionMergeAfterCloseTransitions()
|
/aosp14/frameworks/base/core/java/android/window/ |
H A D | TransitionFilter.java | 210 if (change.getTaskInfo() == null in matches() 211 || change.getTaskInfo().getActivityType() != mActivityType) { in matches() 215 if (!matchesTopActivity(change.getTaskInfo())) continue; in matches() 229 if (mMustBeTask && change.getTaskInfo() == null) { in matches()
|
H A D | TaskAppearedInfo.java | 75 public RunningTaskInfo getTaskInfo() { in getTaskInfo() method in TaskAppearedInfo
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
H A D | PipTransition.java | 207 ? currentPipTaskChange.getTaskInfo() in startAnimation() 208 : mPipOrganizer.getTaskInfo(); in startAnimation() 367 final ActivityManager.RunningTaskInfo taskInfo = mPipOrganizer.getTaskInfo(); in onTransitionConsumed() 781 if (change.getTaskInfo() != null in isEnteringPip() 782 && change.getTaskInfo().getWindowingMode() == WINDOWING_MODE_PINNED in isEnteringPip() 815 if (change.getTaskInfo() != null in startEnterAnimation() 816 && change.getTaskInfo().getWindowingMode() == WINDOWING_MODE_PINNED) { in startEnterAnimation() 857 final ActivityManager.RunningTaskInfo taskInfo = pipChange.getTaskInfo(); in startEnterAnimation() 1071 if (mHasFadeOut && prevPipTaskChange.getTaskInfo().isVisible()) { in resetPrevPip() 1085 mPipOrganizer.onExitPipFinished(prevPipTaskChange.getTaskInfo()); in resetPrevPip() [all …]
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/util/ |
H A D | GroupedRecentTaskInfo.java | 147 taskString.append(i + 1).append(": ").append(getTaskInfo(mTasks[i])); in toString() 167 private String getTaskInfo(ActivityManager.RecentTaskInfo taskInfo) { in getTaskInfo() method in GroupedRecentTaskInfo
|
H A D | TransitionUtil.java | 88 return (change.getTaskInfo() == null) in isWallpaper() 95 return (change.getTaskInfo() == null) in isNonApp() 123 final ActivityManager.RunningTaskInfo taskInfo = change.getTaskInfo(); in test() 287 taskInfo = change.getTaskInfo(); in newTarget()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/ |
H A D | DefaultTransitionHandler.java | 232 } else if (change.getTaskInfo() != null) { in getRotationAnimationHint() 234 final ActivityManager.RunningTaskInfo taskInfo = change.getTaskInfo(); in getRotationAnimationHint() 350 final boolean isTask = change.getTaskInfo() != null; in startAnimation() 373 && info.getChange(change.getParent()).getTaskInfo() != null) { in startAnimation() 374 final Point positionInParent = change.getTaskInfo().positionInParent; in startAnimation() 390 if (isTask && change.getTaskInfo().configuration.windowConfiguration in startAnimation() 479 mDisplayController.getDisplayContext(change.getTaskInfo().displayId); in startAnimation() 574 if (change.getTaskInfo() != null in isDreamTransition() 575 && change.getTaskInfo().topActivityType == ACTIVITY_TYPE_DREAM) { in isDreamTransition() 669 final boolean isTask = change.getTaskInfo() != null; in loadAnimation()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/ |
H A D | EnterDesktopTaskTransitionHandler.java | 157 final ActivityManager.RunningTaskInfo taskInfo = change.getTaskInfo(); in startAnimation() 184 final ActivityManager.RunningTaskInfo taskInfo = change.getTaskInfo(); in startChangeTransition() 262 || mMoveToDesktopAnimator.getTaskId() != change.getTaskInfo().taskId) { in animateStartDragToDesktopMode() 350 || mMoveToDesktopAnimator.getTaskId() != change.getTaskInfo().taskId) { in animateCancelDragToDesktopMode()
|
H A D | ExitDesktopTaskTransitionHandler.java | 104 final ActivityManager.RunningTaskInfo taskInfo = change.getTaskInfo(); in startAnimation() 131 final ActivityManager.RunningTaskInfo taskInfo = change.getTaskInfo(); in startChangeTransition()
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | IAppTask.aidl | 28 ActivityManager.RecentTaskInfo getTaskInfo(); in getTaskInfo() method
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/keyguard/ |
H A D | KeyguardTransitionHandler.java | 260 && change.getTaskInfo() != null in hasOpeningDream() 261 && change.getTaskInfo().getActivityType() == ACTIVITY_TYPE_DREAM) { in hasOpeningDream() 292 final ActivityManager.RunningTaskInfo taskInfo = change.getTaskInfo(); in maybeDismissFreeformOccludingKeyguard()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/taskview/ |
H A D | TaskViewTransitionsTest.java | 89 when(mTaskViewTaskController.getTaskInfo()).thenReturn(mTaskInfo); in setUp() 95 when(mTaskViewTaskController2.getTaskInfo()).thenReturn(mTaskInfo2); in setUp() 309 when(change.getTaskInfo()).thenReturn(mTaskInfo); in test_startAnimation_setsTaskNotFound()
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | WindowOrganizerTests.java | 695 RunningTaskInfo info1 = task1.getTaskInfo(); in testCreateDeleteRootTasks() 702 RunningTaskInfo info2 = task2.getTaskInfo(); in testCreateDeleteRootTasks() 722 final RunningTaskInfo info1 = task1.getTaskInfo(); in testSetAdjacentLaunchRoot() 725 final RunningTaskInfo info2 = task2.getTaskInfo(); in testSetAdjacentLaunchRoot() 753 RunningTaskInfo info1 = task.getTaskInfo(); in testTileAddRemoveChild() 766 info1 = infos.get(0).getTaskInfo(); in testTileAddRemoveChild() 783 info1 = infos.get(0).getTaskInfo(); in testTileAddRemoveChild() 851 RunningTaskInfo info1 = task.getTaskInfo(); in testTaskInfoCallback() 908 RunningTaskInfo info1 = task1.getTaskInfo(); in testHierarchyTransaction() 911 RunningTaskInfo info2 = task2.getTaskInfo(); in testHierarchyTransaction() [all …]
|
H A D | WindowContainerTransactionTests.java | 56 WindowContainerToken token = task.getTaskInfo().token; in testRemoveTask()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/recents/ |
H A D | RecentsTransitionHandler.java | 404 final ActivityManager.RunningTaskInfo taskInfo = change.getTaskInfo(); in start() 440 final ActivityManager.RunningTaskInfo taskInfo = change.getTaskInfo(); in start() 574 final ActivityManager.RunningTaskInfo taskInfo = change.getTaskInfo(); in merge() 677 " closing pausing taskId=%d", change.getTaskInfo().taskId); in merge() 683 + " something unexpected: " + change.getTaskInfo().taskId); in merge() 758 " opening new taskId=%d", change.getTaskInfo().taskId); in merge() 1033 mTaskInfo = change.getTaskInfo(); in TaskState()
|
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
H A D | RemoteAnimationRunnerCompat.java | 102 if (change.getTaskInfo() != null in wrap() 103 && change.getTaskInfo().getActivityType() == ACTIVITY_TYPE_HOME) { in wrap()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/ |
H A D | BubbleBarExpandedView.java | 344 if (mTaskView == null || mTaskView.getTaskInfo() == null) return; in updateHandleColor() 346 ActivityManager.TaskDescription taskDescription = mTaskView.getTaskInfo().taskDescription; in updateHandleColor()
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | TaskOrganizerController.java | 122 final RunningTaskInfo taskInfo = task.getTaskInfo(); in onTaskAppeared() 133 final RunningTaskInfo taskInfo = task.getTaskInfo(); in onTaskVanished() 173 mTaskOrganizer.onBackPressedOnTaskRoot(task.getTaskInfo()); in onBackPressedOnTaskRoot() 540 taskInfos.add(new TaskAppearedInfo(task.getTaskInfo(), taskLeash)); in registerTaskOrganizer() 1059 out.add(child.getTaskInfo()); in getChildTasks() 1085 out.add(task.getTaskInfo()); in getRootTasks()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
H A D | DesktopModeWindowDecorViewModel.java | 242 mWindowDecorByTaskId.get(change.getTaskInfo().taskId) in onTransitionReady() 353 .getTaskInfo(SPLIT_POSITION_TOP_OR_LEFT).taskId in onClick() 356 .getTaskInfo(remainingTaskPosition); in onClick() 794 mSplitScreenController.getTaskInfo(SPLIT_POSITION_TOP_OR_LEFT); in getSplitScreenDecor() 796 mSplitScreenController.getTaskInfo(SPLIT_POSITION_BOTTOM_OR_RIGHT); in getSplitScreenDecor()
|