Lines Matching defs:stackId

3215     public void validateAppTokens(int stackId, List<TaskGroup> tasks) {
3232 final ArrayList<Task> localTasks = mStackIdToStack.get(stackId).getTasks();
3391 private Task createTask(int taskId, int stackId, int userId, AppWindowToken atoken) {
3392 final TaskStack stack = mStackIdToStack.get(stackId);
3394 throw new IllegalArgumentException("addAppToken: invalid stackId=" + stackId);
3404 public void addAppToken(int addPos, IApplicationToken token, int taskId, int stackId,
3438 + " to stack=" + stackId + " task=" + taskId + " at " + addPos);
3442 task = createTask(taskId, stackId, userId, atoken);
4824 * @param stackId The unique identifier of the new stack.
4835 public void createStack(int stackId, int relativeStackBoxId, int position, float weight) {
4846 TaskStack stack = displayContent.createStack(stackId, relativeStackBoxId, position,
4849 mStackIdToStack.put(stackId, stack);
4859 public int removeStack(int stackId) {
4861 final TaskStack stack = mStackIdToStack.get(stackId);
4863 mStackIdToStack.delete(stackId);
4869 if (DEBUG_STACK) Slog.i(TAG, "removeStack: could not find stackId=" + stackId);
4887 public void addTask(int taskId, int stackId, boolean toTop) {
4893 TaskStack stack = mStackIdToStack.get(stackId);
4926 public Rect getStackBounds(int stackId) {
4929 Rect bounds = mDisplayContents.valueAt(displayNdx).getStackBounds(stackId);
7503 int stackId;
7505 stackId = ((DisplayContent)msg.obj).stackIdFromPoint(msg.arg1, msg.arg2);
7507 if (stackId >= 0) {
7509 mActivityManager.setFocusedStack(stackId);