/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/ |
D | WindowlessSnapshotWindowCreator.java | 64 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()
|
D | TaskSnapshotWindow.java | 83 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()
|
D | StartingWindowController.java | 160 final RunningTaskInfo runningTaskInfo = windowInfo.taskInfo; in addStartingWindow() local 171 int taskId = runningTaskInfo.taskId; in addStartingWindow()
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameTaskInfoProvider.java | 66 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()
|
D | GameServiceProviderInstanceImpl.java | 802 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/ |
D | PhoneStateMonitor.java | 175 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/ |
D | DragSession.java | 58 ActivityManager.RunningTaskInfo runningTaskInfo; field in DragSession 89 runningTaskInfo = task; in update()
|
D | DragLayout.java | 275 ActivityManager.RunningTaskInfo taskInfo1 = mSession.runningTaskInfo; in prepare()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/ |
D | ShellTaskOrganizer.java | 786 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/ |
D | SnapshotDrawerUtils.java | 370 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/ |
D | GameServiceProviderInstanceImplTest.java | 1133 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/ |
D | CameraGestureHelperTest.kt | 160 val runningTaskInfo = ActivityManager.RunningTaskInfo().apply { in prepare() constant 165 runningTaskInfo in prepare()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/recents/ |
D | RecentTasksController.java | 284 ActivityManager.RunningTaskInfo runningTaskInfo) { in onTaskMovedToFrontThroughTransition() argument 285 notifyTaskMovedToFront(runningTaskInfo); in onTaskMovedToFrontThroughTransition()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/ |
D | PromptViewModelTest.kt | 128 @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/ |
D | ActivityTaskManagerService.java | 7308 ActivityManager.RunningTaskInfo runningTaskInfo; in getMostRecentTaskFromBackground() local 7310 runningTaskInfo = runningTaskInfoList.get(0); in getMostRecentTaskFromBackground() 7325 if (info.id != runningTaskInfo.id) { in getMostRecentTaskFromBackground()
|