Searched refs:taskId (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/services/java/com/android/server/wm/
H A DTaskGroup.java24 public int taskId = -1; field in class:TaskGroup
29 return "id=" + taskId + " tokens=" + tokens;
H A DTask.java26 final int taskId; field in class:Task
30 taskId = wtoken.groupId;
47 EventLog.writeEvent(com.android.server.EventLogTags.WM_TASK_REMOVED, taskId,
57 return "{taskId=" + taskId + " appTokens=" + mAppTokens + "}";
H A DWindowManagerService.java3228 int taskId = task.taskId;
3229 Task targetTask = mTaskIdToTask.get(taskId);
3232 Slog.w(TAG, "validateAppTokens: no Display for taskId=" + taskId);
3244 displayContent = mTaskIdToTask.get(taskId).getDisplayContent();
3395 private Task createTask(int taskId, int stackId, int userId, AppWindowToken atoken) { argument
3400 EventLog.writeEvent(EventLogTags.WM_TASK_CREATED, taskId, stackId);
3402 mTaskIdToTask.put(taskId, task);
3408 public void addAppToken(int addPos, IApplicationToken token, int taskId, in argument
4780 moveTaskToTop(int taskId) argument
4803 moveTaskToBottom(int taskId) argument
4873 removeTask(int taskId) argument
4887 addTask(int taskId, int stackId, boolean toTop) argument
[all...]
H A DDisplayContent.java196 EventLog.writeEvent(EventLogTags.WM_TASK_MOVED, task.taskId, toTop ? 1 : 0, taskNdx);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DTaskDescription.java26 final int taskId; // application task id for curating apps field in class:TaskDescription
42 taskId = _taskId;
52 taskId = -1;
H A DRecentTasksLoader.java158 TaskDescription createTaskDescription(int taskId, int persistentTaskId, Intent baseIntent, argument
176 TaskDescription item = new TaskDescription(taskId,
H A DRecentsPanelView.java680 if (ad.taskId >= 0) {
682 am.moveTaskToFront(ad.taskId, ActivityManager.MOVE_TASK_WITH_HOME,
/frameworks/base/services/java/com/android/server/am/
H A DActivityStack.java374 * @param taskId If non-zero, we'll attempt to skip over records with the same task ID.
378 final ActivityRecord topRunningActivityLocked(IBinder token, int taskId) { argument
381 if (task.taskId == taskId) {
387 // Note: the taskId check depends on real taskId fields being non-zero
419 if (task.taskId == id) {
1591 next.task.taskId, next.shortComponentName);
1694 final int taskId = rTask.taskId;
3020 findTaskToMoveToFrontLocked(int taskId, int flags, Bundle options) argument
3093 moveTaskToBackLocked(int taskId, ActivityRecord reason) argument
3613 createTaskRecord(int taskId, ActivityInfo info, Intent intent, boolean toTop) argument
[all...]
H A DTaskRecord.java37 final int taskId; // Unique identifier for this task. field in class:TaskRecord
67 taskId = _taskId;
324 Slog.w(TAG, "removeTaskLocked: unknown taskId " + taskId);
496 sb.append(taskId);
H A DActivityStackSupervisor.java335 mWindowManager.removeTask(task.taskId);
713 hist.task.taskId);
929 r.task.taskId, r.shortComponentName);
1765 EventLog.writeEvent(EventLogTags.AM_CREATE_TASK, r.userId, r.task.taskId);
2039 void findTaskToMoveToFrontLocked(int taskId, int flags, Bundle options) { argument
2041 if (mStacks.get(stackNdx).findTaskToMoveToFrontLocked(taskId, flags, options)) {
2076 void moveTaskToStack(int taskId, int stackId, boolean toTop) { argument
2077 final TaskRecord task = anyTaskForIdLocked(taskId);
2088 mWindowManager.addTask(taskId, stackId, toTop);
2298 mWindowManager.moveTaskToTop(stack.topTask().taskId);
[all...]
H A DActivityRecord.java1020 case 0: return task.taskId;
1021 default: return onlyRoot ? -1 : task.taskId;
1053 return stringName + " t" + (task == null ? -1 : task.taskId) +
H A DActivityManagerService.java6830 rti.id = tr.numActivities > 0 ? tr.taskId : -1;
6831 rti.persistentId = tr.taskId;
6872 if (tr.taskId == id) {
6906 public boolean removeSubTask(int taskId, int subTaskIndex) { argument
6912 TaskRecord tr = recentTaskForIdLocked(taskId);
6984 public boolean removeTask(int taskId, int flags) { argument
6990 TaskRecord tr = recentTaskForIdLocked(taskId);
7003 Slog.w(TAG, "removeTask: task " + taskId
7041 public void moveTaskToBack(int taskId) { argument
7046 TaskRecord tr = recentTaskForIdLocked(taskId);
7110 createStack(int taskId, int relativeStackBoxId, int position, float weight) argument
7131 moveTaskToStack(int taskId, int stackId, boolean toTop) argument
[all...]
/frameworks/base/core/java/android/app/
H A DActivityManager.java813 * @param taskId The identifier of the task.
820 public boolean removeSubTask(int taskId, int subTaskIndex) argument
823 return ActivityManagerNative.getDefault().removeSubTask(taskId, subTaskIndex);
840 * @param taskId Identifier of the task to be removed.
847 public boolean removeTask(int taskId, int flags) argument
850 return ActivityManagerNative.getDefault().removeTask(taskId, flags);
954 * @param taskId The identifier of the task to be moved, as found in
959 public void moveTaskToFront(int taskId, int flags) { argument
960 moveTaskToFront(taskId, flags, null);
969 * @param taskId Th
977 moveTaskToFront(int taskId, int flags, Bundle options) argument
[all...]
H A DIActivityManager.java111 public ActivityManager.TaskThumbnails getTaskThumbnails(int taskId) throws RemoteException; argument
112 public Bitmap getTaskTopThumbnail(int taskId) throws RemoteException; argument
120 public int createStack(int taskId, int relativeStackBoxId, int position, float weight) argument
122 public void moveTaskToStack(int taskId, int stackId, boolean toTop) throws RemoteException; argument
357 public boolean removeSubTask(int taskId, int subTaskIndex) throws RemoteException; argument
359 public boolean removeTask(int taskId, int flags) throws RemoteException; argument
H A DActivityManagerNative.java616 int taskId = data.readInt();
620 int res = createStack(taskId, relativeStackId, position, weight);
628 int taskId = data.readInt();
631 moveTaskToStack(taskId, stackId, toTop);
1764 int taskId = data.readInt();
1766 boolean result = removeSubTask(taskId, subTaskIndex);
1775 int taskId = data.readInt();
1777 boolean result = removeTask(taskId, fl);
2718 public int createStack(int taskId, int relativeStackBoxId, int position, float weight) argument
2724 data.writeInt(taskId);
2736 moveTaskToStack(int taskId, int stackId, boolean toTop) argument
4323 removeSubTask(int taskId, int subTaskIndex) argument
4337 removeTask(int taskId, int flags) argument
[all...]
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java1567 int taskId = Integer.valueOf(taskIdStr);
1576 int stackId = mAm.createStack(taskId, relativeTo, position, weight);
1584 int taskId = Integer.valueOf(taskIdStr);
1599 mAm.moveTaskToStack(taskId, stackId, toTop);
/frameworks/base/media/java/android/media/videoeditor/
H A DMediaArtistNativeHelper.java133 * @param taskId id of the task reporting an update.
137 public void OnProgressUpdate(int taskId, int progress); argument
1767 private void onProgressUpdate(int taskId, int progress) { argument

Completed in 452 milliseconds