Searched refs:taskInfo (Results 1 – 5 of 5) sorted by relevance
204 ActivityManager.RunningTaskInfo taskInfo = getTaskInfo(taskId); in putTaskInSplitPrimary() local207 .setBounds(taskInfo.getToken(), null) in putTaskInSplitPrimary()208 .setWindowingMode(taskInfo.getToken(), WINDOWING_MODE_UNDEFINED) in putTaskInSplitPrimary()209 .reparent(taskInfo.getToken(), mRootPrimary.getToken(), true /* onTop */) in putTaskInSplitPrimary()212 mPrePrimarySplitTaskInfo = taskInfo; in putTaskInSplitPrimary()227 ActivityManager.RunningTaskInfo taskInfo = getTaskInfo(taskId); in putTaskInSplitSecondary() local230 .setBounds(taskInfo.getToken(), null) in putTaskInSplitSecondary()231 .setWindowingMode(taskInfo.getToken(), WINDOWING_MODE_UNDEFINED) in putTaskInSplitSecondary()232 .reparent(taskInfo.getToken(), mRootSecondary.getToken(), true /* onTop */) in putTaskInSplitSecondary()235 mPreSecondarySplitTaskInfo = taskInfo; in putTaskInSplitSecondary()[all …]
92 TaskInfo taskInfo = getTaskInfo(taskId); in testDisplayIdAndUserId() local95 assertThat(taskInfo).isNotNull(); in testDisplayIdAndUserId()96 assertThat(TaskInfoHelper.getDisplayId(taskInfo)).isEqualTo(mTestActivity.getDisplayId()); in testDisplayIdAndUserId()97 assertThat(TaskInfoHelper.getUserId(taskInfo)).isEqualTo(mTestActivity.getUserId()); in testDisplayIdAndUserId()104 TaskInfo taskInfo = getTaskInfo(taskId); in testTaskVisibility() local107 assertThat(TaskInfoHelper.isVisible(taskInfo)).isEqualTo(mTestActivity.isVisible()); in testTaskVisibility()113 taskInfo = getTaskInfo(taskId); in testTaskVisibility()114 assertThat(TaskInfoHelper.isVisible(taskInfo)).isFalse(); in testTaskVisibility()121 TaskInfo taskInfo = getTaskInfo(mTestActivity.getTaskId()); in testToString() local122 String taskInfoString = taskInfo.toString(); in testToString()[all …]
401 for (ActivityManager.RunningTaskInfo taskInfo : runningTasks) { in isAppRunning()402 if (pkgName.equals(taskInfo.baseActivity.getPackageName())) { in isAppRunning()441 for (TaskInfo taskInfo : taskList) { in doesTaskExist()442 if (taskInfo.taskId == taskId) { in doesTaskExist()
183 final ActivityManager.RecentTaskInfo taskInfo = task.getTaskInfo(); in testStartActivityInTask_NoNewTask() local184 assertTrue(taskInfo.numActivities == 2); in testStartActivityInTask_NoNewTask()185 assertTrue(taskInfo.baseActivity.equals(a1.getComponentName())); in testStartActivityInTask_NoNewTask()186 assertTrue(taskInfo.topActivity.equals(intent.getComponent())); in testStartActivityInTask_NoNewTask()202 final ActivityManager.RecentTaskInfo taskInfo = task.getTaskInfo(); in testStartActivityInTask_NewTask() local203 assertTrue(taskInfo.numActivities == 1); in testStartActivityInTask_NewTask()204 assertTrue(taskInfo.baseActivity.equals(a1.getComponentName())); in testStartActivityInTask_NewTask()
547 public void onTaskAppeared(@NonNull ActivityManager.RunningTaskInfo taskInfo) { in onTaskAppeared() argument548 mCurrentTask = taskInfo; in onTaskAppeared()552 public void onTaskInfoChanged(@NonNull ActivityManager.RunningTaskInfo taskInfo) { in onTaskInfoChanged() argument557 mCurrentTask = taskInfo; in onTaskInfoChanged()561 public void onTaskVanished(@NonNull ActivityManager.RunningTaskInfo taskInfo) { in onTaskVanished() argument