/frameworks/base/services/java/com/android/server/wm/ |
H A D | StackBox.java | 117 * Return the stackId of the stack that intersects the passed point. 120 * @return -1 if point is outside of mBounds, otherwise the stackId of the containing stack. 129 int stackId = mFirst.stackIdFromPoint(x, y); 130 if (stackId >= 0) { 131 return stackId; 144 * @param stackId the TaskStack to find the bounds of. 145 * @return a new Rect with the bounds of stackId if it is within this StackBox, null otherwise. 147 Rect getStackBounds(int stackId) { argument 149 return mStack.mStackId == stackId ? new Rect(mBounds) : null; 151 Rect bounds = mFirst.getStackBounds(stackId); 168 split(int stackId, int relativeStackBoxId, int position, float weight) argument [all...] |
H A D | DisplayContent.java | 231 TaskStack createStack(int stackId, int relativeStackBoxId, int position, float weight) { argument 233 if (DEBUG_STACK) Slog.d(TAG, "createStack: stackId=" + stackId + " relativeStackBoxId=" 235 if (stackId == HOME_STACK_ID) { 249 newStack = new TaskStack(mService, stackId, this); 260 newStack = box.split(stackId, relativeStackBoxId, position, weight); 274 EventLog.writeEvent(EventLogTags.WM_STACK_CREATED, stackId, relativeStackBoxId, position, 316 info.stackId = box.mStack.mStackId; 319 info.stackId = -1; 370 Rect getStackBounds(int stackId) { argument [all...] |
H A D | TaskStack.java | 71 TaskStack(WindowManagerService service, int stackId, DisplayContent displayContent) { argument 73 mStackId = stackId; 314 return "{stackId=" + mStackId + " tasks=" + mTasks + "}";
|
H A D | WindowManagerService.java | 3231 public void validateAppTokens(int stackId, List<TaskGroup> tasks) { argument 3248 final ArrayList<Task> localTasks = mStackIdToStack.get(stackId).getTasks(); 3407 private Task createTask(int taskId, int stackId, int userId, AppWindowToken atoken) { argument 3408 final TaskStack stack = mStackIdToStack.get(stackId); 3410 throw new IllegalArgumentException("addAppToken: invalid stackId=" + stackId); 3412 EventLog.writeEvent(EventLogTags.WM_TASK_CREATED, taskId, stackId); 3420 public void addAppToken(int addPos, IApplicationToken token, int taskId, int stackId, argument 3457 + " to stack=" + stackId + " task=" + taskId + " at " + addPos); 3461 task = createTask(taskId, stackId, userI 4847 createStack(int stackId, int relativeStackBoxId, int position, float weight) argument 4870 removeStack(int stackId) argument 4899 addTask(int taskId, int stackId, boolean toTop) argument 4938 getStackBounds(int stackId) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityManager.java | 503 public int stackId; field in class:ActivityManager.RecentTaskInfo 526 dest.writeInt(stackId); 539 stackId = source.readInt(); 1301 public int stackId; field in class:ActivityManager.StackBoxInfo 1315 dest.writeInt(stackId); 1329 stackId = source.readInt(); 1330 if (stackId == -1) { 1388 public int stackId; field in class:ActivityManager.StackInfo 1400 dest.writeInt(stackId); 1410 stackId [all...] |
H A D | IActivityManager.java | 122 public void moveTaskToStack(int taskId, int stackId, boolean toTop) throws RemoteException; argument 126 public void setFocusedStack(int stackId) throws RemoteException; argument
|
H A D | ActivityManagerNative.java | 629 int stackId = data.readInt(); 631 moveTaskToStack(taskId, stackId, toTop); 669 int stackId = data.readInt(); 670 setFocusedStack(stackId); 2736 public void moveTaskToStack(int taskId, int stackId, boolean toTop) throws RemoteException argument 2742 data.writeInt(stackId); 2794 public void setFocusedStack(int stackId) throws RemoteException argument 2799 data.writeInt(stackId);
|
/frameworks/base/core/java/android/view/ |
H A D | IWindowManager.aidl | 80 void addAppToken(int addPos, IApplicationToken token, int groupId, int stackId,
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityStackSupervisor.java | 344 final int stackId = stack.mStackId; 345 final int nextStackId = mWindowManager.removeStack(stackId); 347 if (mFocusedStack == null || mFocusedStack.mStackId == stackId) { 1307 int stackId = 1310 " stackId=" + stackId); 1311 mFocusedStack = getStack(stackId); 2064 ActivityStack getStack(int stackId) { argument 2067 if (stack.getStackId() == stackId) { 2091 void moveTaskToStack(int taskId, int stackId, boolea argument [all...] |
H A D | ActivityManagerService.java | 2239 public void setFocusedStack(int stackId) { argument 2240 if (DEBUG_FOCUS) Slog.d(TAG, "setFocusedStack: stackId=" + stackId); 2242 ActivityStack stack = mStackSupervisor.getStack(stackId); 6839 rti.stackId = tr.stack.mStackId; 7118 int stackId = mStackSupervisor.createStack(); 7119 mWindowManager.createStack(stackId, relativeStackBoxId, position, weight); 7121 moveTaskToStack(taskId, stackId, true); 7123 return stackId; 7131 public void moveTaskToStack(int taskId, int stackId, boolea argument [all...] |
H A D | ActivityStack.java | 330 ActivityStack(ActivityManagerService service, Context context, Looper looper, int stackId) { argument 336 mStackId = stackId; 3627 + " stackId=" + mStackId + ", " + mTaskHistory.size() + " tasks}";
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
H A D | Am.java | 1576 int stackId = mAm.createStack(taskId, relativeTo, position, weight); 1577 System.out.println("createStack returned new stackId=" + stackId + "\n\n"); 1586 int stackId = Integer.valueOf(stackIdStr); 1599 mAm.moveTaskToStack(taskId, stackId, toTop);
|