Home
last modified time | relevance | path

Searched refs:getTaskInfo (Results 1 – 25 of 45) sorted by relevance

12

/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/
H A DShellTaskOrganizer.java212 info.getTaskInfo().taskId, info.getTaskInfo().baseIntent); in registerOrganizer()
284 listener.onTaskAppeared(data.getTaskInfo(), data.getLeash()); in addListenerForType()
320 updateTaskListenerIfNeeded(data.getTaskInfo(), data.getLeash(), in removeListener()
422 final int taskId = info.getTaskInfo().taskId; in onTaskAppeared()
428 listener.onTaskAppeared(info.getTaskInfo(), info.getLeash()); in onTaskAppeared()
430 notifyLocusVisibilityIfNeeded(info.getTaskInfo()); in onTaskAppeared()
431 notifyCompatUI(info.getTaskInfo(), listener); in onTaskAppeared()
461 if (updated || !taskInfo.equalsForSizeCompat(data.getTaskInfo())) { in onTaskInfoChanged()
519 return info != null ? info.getTaskInfo() : null; in getRunningTaskInfo()
607 restartTaskTopActivityProcessIfVisible(info.getTaskInfo().token); in onSizeCompatRestartButtonClicked()
[all …]
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DRemoteAnimationTargetCompat.java208 taskId = change.getTaskInfo() != null ? change.getTaskInfo().taskId : -1; in RemoteAnimationTargetCompat()
225 if (change.getTaskInfo() != null) { in RemoteAnimationTargetCompat()
226 isNotInRecents = !change.getTaskInfo().isRunning; in RemoteAnimationTargetCompat()
227 activityType = change.getTaskInfo().getActivityType(); in RemoteAnimationTargetCompat()
232 taskInfo = change.getTaskInfo(); in RemoteAnimationTargetCompat()
238 windowConfiguration = change.getTaskInfo() != null in RemoteAnimationTargetCompat()
239 ? change.getTaskInfo().configuration.windowConfiguration in RemoteAnimationTargetCompat()
H A DRemoteAnimationAdapterCompat.java140 if (change.getTaskInfo() != null
141 && change.getTaskInfo().getActivityType() == ACTIVITY_TYPE_HOME) {
H A DRemoteTransitionCompat.java138 final ActivityManager.RunningTaskInfo taskInfo = change.getTaskInfo(); in RemoteTransitionCompat()
235 if (change.getTaskInfo() != null) { in merge()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/util/
H A DGroupedRecentTaskInfo.java55 String taskString = "Task1: " + getTaskInfo(mTaskInfo1) in toString()
56 + ", Task2: " + getTaskInfo(mTaskInfo2); in toString()
63 private String getTaskInfo(ActivityManager.RecentTaskInfo taskInfo) { in getTaskInfo() method in GroupedRecentTaskInfo
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/
H A DLegacySplitScreenTransitions.java216 if (change.getTaskInfo() == null in startAnimation()
217 || change.getTaskInfo().getActivityType() != ACTIVITY_TYPE_HOME) continue; in startAnimation()
256 final boolean isHome = change.getTaskInfo() != null in startAnimation()
257 && change.getTaskInfo().getActivityType() == ACTIVITY_TYPE_HOME; in startAnimation()
304 if (change.getTaskInfo() == null in startAnimation()
305 || change.getTaskInfo().getActivityType() != ACTIVITY_TYPE_HOME) { in startAnimation()
/aosp12/frameworks/base/core/java/android/window/
H A DTransitionFilter.java210 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 DTaskAppearedInfo.java75 public RunningTaskInfo getTaskInfo() { in getTaskInfo() method in TaskAppearedInfo
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
H A DPipTransition.java128 boolean success = startExpandAnimation(change.getTaskInfo(), change.getLeash(), in startAnimation()
162 if (change.getTaskInfo() != null in startAnimation()
163 && change.getTaskInfo().configuration.windowConfiguration.getWindowingMode() in startAnimation()
188 return startEnterAnimation(enterPip.getTaskInfo(), enterPip.getLeash(), in startAnimation()
227 final ActivityManager.RunningTaskInfo taskInfo = mPipOrganizer.getTaskInfo(); in onTransitionMerged()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
H A DDefaultTransitionHandler.java173 } else if (change.getTaskInfo() != null) { in isRotationSeamless()
179 change.getTaskInfo().taskId); in isRotationSeamless()
189 change.getTaskInfo().displayId); in isRotationSeamless()
241 if (change.getTaskInfo() != null) { in getRotationAnimation()
345 if (change.getTaskInfo() != null) { in startAnimation()
395 final boolean isTask = change.getTaskInfo() != null; in loadAnimation()
554 final boolean isTask = change.getTaskInfo() != null; in attachThumbnail()
570 final int thumbnailDrawableRes = change.getTaskInfo().userId == mCurrentUserId in attachCrossProfileThunmbnailAnimation()
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DWindowOrganizerTests.java524 RunningTaskInfo info1 = task1.getTaskInfo(); in testCreateDeleteRootTasks()
531 RunningTaskInfo info2 = task2.getTaskInfo(); in testCreateDeleteRootTasks()
551 final RunningTaskInfo info1 = task1.getTaskInfo(); in testSetAdjacentLaunchRoot()
554 final RunningTaskInfo info2 = task2.getTaskInfo(); in testSetAdjacentLaunchRoot()
581 RunningTaskInfo info1 = task.getTaskInfo(); in testTileAddRemoveChild()
594 info1 = infos.get(0).getTaskInfo(); in testTileAddRemoveChild()
611 info1 = infos.get(0).getTaskInfo(); in testTileAddRemoveChild()
630 RunningTaskInfo info1 = task.getTaskInfo(); in testTaskInfoCallback()
688 RunningTaskInfo info1 = task1.getTaskInfo(); in testHierarchyTransaction()
691 RunningTaskInfo info2 = task2.getTaskInfo(); in testHierarchyTransaction()
[all …]
H A DSizeCompatTests.java580 ActivityManager.RunningTaskInfo taskInfo = mTask.getTaskInfo(); in testHandleActivitySizeCompatModeChanged()
595 taskInfo = mTask.getTaskInfo(); in testHandleActivitySizeCompatModeChanged()
613 ActivityManager.RunningTaskInfo taskInfo = mTask.getTaskInfo(); in testHandleActivitySizeCompatModeChangedOnDifferentTask()
633 taskInfo = secondTask.getTaskInfo(); in testHandleActivitySizeCompatModeChangedOnDifferentTask()
/aosp12/frameworks/base/core/java/android/app/
H A DIAppTask.aidl28 ActivityManager.RecentTaskInfo getTaskInfo(); in getTaskInfo() method
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskOrganizerController.java112 final RunningTaskInfo taskInfo = task.getTaskInfo(); in onTaskAppeared()
124 final RunningTaskInfo taskInfo = task.getTaskInfo(); in onTaskVanished()
164 mTaskOrganizer.onBackPressedOnTaskRoot(task.getTaskInfo()); in onBackPressedOnTaskRoot()
373 new TaskAppearedInfo(task.getTaskInfo(), outSurfaceControl)); in registerTaskOrganizer()
841 out.add(child.getTaskInfo()); in getChildTasks()
867 out.add(task.getTaskInfo()); in getRootTasks()
H A DTransition.java650 if (change.getTaskInfo() == null) continue; in handleLegacyRecentsStartBehavior()
652 info.getChanges().get(i).getTaskInfo().token); in handleLegacyRecentsStartBehavior()
654 final int activityType = change.getTaskInfo().topActivityType; in handleLegacyRecentsStartBehavior()
682 if (c.getTaskInfo() == null || c.getTaskInfo().displayId != displayId in handleLegacyRecentsStartBehavior()
683 || c.getTaskInfo().getActivityType() != ACTIVITY_TYPE_STANDARD in handleLegacyRecentsStartBehavior()
H A DAppTaskImpl.java75 public ActivityManager.RecentTaskInfo getTaskInfo() { in getTaskInfo() method in AppTaskImpl
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardService.java144 final ActivityManager.RunningTaskInfo taskInfo = change.getTaskInfo(); in wrap()
145 final int taskId = taskInfo != null ? change.getTaskInfo().taskId : -1; in wrap()
151 change.getTaskInfo().getConfiguration().windowConfiguration; in wrap()
153 isNotInRecents = !change.getTaskInfo().isRunning; in wrap()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/stagesplit/
H A DStageCoordinator.java1021 final ActivityManager.RunningTaskInfo taskInfo = change.getTaskInfo(); in startAnimation()
1074 final ActivityManager.RunningTaskInfo taskInfo = change.getTaskInfo(); in startPendingEnterAnimation()
1104 if (!mMainStage.containsTask(mainChild.getTaskInfo().taskId)) { in startPendingEnterAnimation()
1106 + " to have been called with " + mainChild.getTaskInfo().taskId in startPendingEnterAnimation()
1109 if (!mSideStage.containsTask(sideChild.getTaskInfo().taskId)) { in startPendingEnterAnimation()
1111 + " to have been called with " + sideChild.getTaskInfo().taskId in startPendingEnterAnimation()
/aosp12/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
H A DTaskViewManager.java93 TaskInfo taskInfo = taskAppearedInfo.getTaskInfo(); in cleanUpExistingTaskViewTasks()
H A DCarLauncher.java239 TaskInfo taskInfo = taskAppearedInfo.getTaskInfo(); in cleanUpExistingTaskViewTasks()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
H A DDragLayout.java196 mSplitScreenController.getTaskInfo(SPLIT_POSITION_TOP_OR_LEFT); in prepare()
198 mSplitScreenController.getTaskInfo(SPLIT_POSITION_BOTTOM_OR_RIGHT); in prepare()
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/files/
H A DLauncherActivity.java89 Intent intent = task.getTaskInfo().baseIntent; in findTask()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
H A DStageCoordinator.java1213 final ActivityManager.RunningTaskInfo taskInfo = change.getTaskInfo(); in startAnimation()
1266 final ActivityManager.RunningTaskInfo taskInfo = change.getTaskInfo(); in startPendingEnterAnimation()
1296 if (!mMainStage.containsTask(mainChild.getTaskInfo().taskId)) { in startPendingEnterAnimation()
1298 + " to have been called with " + mainChild.getTaskInfo().taskId in startPendingEnterAnimation()
1301 if (!mSideStage.containsTask(sideChild.getTaskInfo().taskId)) { in startPendingEnterAnimation()
1303 + " to have been called with " + sideChild.getTaskInfo().taskId in startPendingEnterAnimation()
/aosp12/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DActivityTestMain.java455 ActivityManager.RecentTaskInfo recent = task.getTaskInfo(); in onCreateOptionsMenu()
604 if (task.getTaskInfo().id == taskId) { in setExclude()
616 ActivityManager.RecentTaskInfo recent = task.getTaskInfo(); in findDocTask()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
H A DTaskViewUtils.java397 final int taskId = change.getTaskInfo() != null ? change.getTaskInfo().taskId : -1; in composeRecentsSplitLaunchAnimator()

12