Home
last modified time | relevance | path

Searched refs:runningTaskInfo (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DWindowlessSnapshotWindowCreator.java64 final ActivityManager.RunningTaskInfo runningTaskInfo = info.taskInfo; in makeTaskSnapshotWindow() local
65 final int taskId = runningTaskInfo.taskId; in makeTaskSnapshotWindow()
73 final Display display = mDisplayManager.getDisplay(runningTaskInfo.displayId); in makeTaskSnapshotWindow()
76 runningTaskInfo.configuration, rootSurface); in makeTaskSnapshotWindow()
79 final Rect windowBounds = runningTaskInfo.configuration.windowConfiguration.getBounds(); in makeTaskSnapshotWindow()
88 SnapshotDrawerUtils.getOrCreateTaskDescription(runningTaskInfo); in makeTaskSnapshotWindow()
92 runningTaskInfo.topActivityType, removeExecutor, in makeTaskSnapshotWindow()
DTaskSnapshotWindow.java83 final ActivityManager.RunningTaskInfo runningTaskInfo = info.taskInfo; in create() local
84 final int taskId = runningTaskInfo.taskId; in create()
87 if (runningTaskInfo.getWindowingMode() == WINDOWING_MODE_PINNED) { in create()
106 final int displayId = runningTaskInfo.displayId; in create()
116 SnapshotDrawerUtils.getOrCreateTaskDescription(runningTaskInfo); in create()
DStartingWindowController.java160 final RunningTaskInfo runningTaskInfo = windowInfo.taskInfo; in addStartingWindow() local
171 int taskId = runningTaskInfo.taskId; in addStartingWindow()
/frameworks/base/services/core/java/com/android/server/app/
DGameTaskInfoProvider.java66 final RunningTaskInfo runningTaskInfo = getRunningTaskInfo(taskId); in get() local
67 if (runningTaskInfo == null || runningTaskInfo.baseActivity == null) { in get()
71 return generateGameInfo(taskId, runningTaskInfo.baseActivity); in get()
DGameServiceProviderInstanceImpl.java802 RunningTaskInfo runningTaskInfo = in endGameSessionsForPackageLocked() local
804 if (runningTaskInfo != null && (runningTaskInfo.isVisible)) { in endGameSessionsForPackageLocked()
831 RunningTaskInfo runningTaskInfo = mGameTaskInfoProvider.getRunningTaskInfo(taskId); in createViewHostConfigurationForTask() local
832 if (runningTaskInfo == null) { in createViewHostConfigurationForTask()
836 Rect bounds = runningTaskInfo.configuration.windowConfiguration.getBounds(); in createViewHostConfigurationForTask()
838 runningTaskInfo.displayId, in createViewHostConfigurationForTask()
872 final RunningTaskInfo runningTaskInfo = in takeScreenshot() local
874 if (runningTaskInfo == null) { in takeScreenshot()
878 final Rect crop = runningTaskInfo.configuration.windowConfiguration.getBounds(); in takeScreenshot()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DPhoneStateMonitor.java175 private boolean isLauncherShowing(@Nullable ActivityManager.RunningTaskInfo runningTaskInfo) { in isLauncherShowing() argument
176 if (runningTaskInfo == null || runningTaskInfo.topActivity == null) { in isLauncherShowing()
179 return runningTaskInfo.topActivity.equals(mDefaultHome); in isLauncherShowing()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
DDragSession.java58 ActivityManager.RunningTaskInfo runningTaskInfo; field in DragSession
89 runningTaskInfo = task; in update()
DDragLayout.java275 ActivityManager.RunningTaskInfo taskInfo1 = mSession.runningTaskInfo; in prepare()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/
DShellTaskOrganizer.java786 private TaskListener getTaskListener(RunningTaskInfo runningTaskInfo) { in getTaskListener() argument
787 return getTaskListener(runningTaskInfo, false /*removeLaunchCookieIfNeeded*/); in getTaskListener()
790 private TaskListener getTaskListener(RunningTaskInfo runningTaskInfo, in getTaskListener() argument
793 final int taskId = runningTaskInfo.taskId; in getTaskListener()
797 final ArrayList<IBinder> launchCookies = runningTaskInfo.launchCookies; in getTaskListener()
816 if (runningTaskInfo.hasParentTask()) { in getTaskListener()
817 listener = mTaskListeners.get(runningTaskInfo.parentTaskId); in getTaskListener()
822 final int taskListenerType = taskInfoToTaskListenerType(runningTaskInfo); in getTaskListener()
827 static @TaskListenerType int taskInfoToTaskListenerType(RunningTaskInfo runningTaskInfo) { in taskInfoToTaskListenerType() argument
828 switch (runningTaskInfo.getWindowingMode()) { in taskInfoToTaskListenerType()
/frameworks/base/core/java/android/window/
DSnapshotDrawerUtils.java370 ActivityManager.RunningTaskInfo runningTaskInfo) { in getOrCreateTaskDescription() argument
372 if (runningTaskInfo.taskDescription != null) { in getOrCreateTaskDescription()
373 taskDescription = runningTaskInfo.taskDescription; in getOrCreateTaskDescription()
396 final ActivityManager.RunningTaskInfo runningTaskInfo = info.taskInfo; in drawSnapshotOnSurface() local
398 getOrCreateTaskDescription(runningTaskInfo); in drawSnapshotOnSurface()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DGameServiceProviderInstanceImplTest.java1133 RunningTaskInfo runningTaskInfo = new RunningTaskInfo(); in addRunningTaskInfo() local
1134 runningTaskInfo.taskId = taskId; in addRunningTaskInfo()
1135 runningTaskInfo.baseActivity = componentName; in addRunningTaskInfo()
1136 runningTaskInfo.displayId = 1; in addRunningTaskInfo()
1137 runningTaskInfo.configuration.windowConfiguration.setBounds(new Rect(0, 0, 500, 800)); in addRunningTaskInfo()
1138 mRunningTaskInfos.add(runningTaskInfo); in addRunningTaskInfo()
1142 mRunningTaskInfos.removeIf(runningTaskInfo -> runningTaskInfo.taskId == taskId); in stopTask()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/camera/
DCameraGestureHelperTest.kt160 val runningTaskInfo = ActivityManager.RunningTaskInfo().apply { in prepare() constant
165 runningTaskInfo in prepare()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/recents/
DRecentTasksController.java284 ActivityManager.RunningTaskInfo runningTaskInfo) { in onTaskMovedToFrontThroughTransition() argument
285 notifyTaskMovedToFront(runningTaskInfo); in onTaskMovedToFrontThroughTransition()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/
DPromptViewModelTest.kt128 @Mock private lateinit var runningTaskInfo: RunningTaskInfo in <lambda>() variable in com.android.systemui.biometrics.ui.viewmodel.PromptViewModelTest
1626 runningTaskInfo.topActivity = topActivity in <lambda>()
1627 whenever(activityTaskManager.getTasks(1)).thenReturn(listOf(runningTaskInfo)) in <lambda>()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java7308 ActivityManager.RunningTaskInfo runningTaskInfo; in getMostRecentTaskFromBackground() local
7310 runningTaskInfo = runningTaskInfoList.get(0); in getMostRecentTaskFromBackground()
7325 if (info.id != runningTaskInfo.id) { in getMostRecentTaskFromBackground()