/frameworks/base/services/java/com/android/server/wm/ |
D | StackBox.java | 129 int stackId = mFirst.stackIdFromPoint(x, y); in stackIdFromPoint() local 130 if (stackId >= 0) { in stackIdFromPoint() 131 return stackId; in stackIdFromPoint() 147 Rect getStackBounds(int stackId) { in getStackBounds() argument 149 return mStack.mStackId == stackId ? new Rect(mBounds) : null; in getStackBounds() 151 Rect bounds = mFirst.getStackBounds(stackId); in getStackBounds() 155 return mSecond.getStackBounds(stackId); in getStackBounds() 168 TaskStack split(int stackId, int relativeStackBoxId, int position, float weight) { in split() argument 175 TaskStack stack = mFirst.split(stackId, relativeStackBoxId, position, weight); in split() 179 return mSecond.split(stackId, relativeStackBoxId, position, weight); in split() [all …]
|
D | DisplayContent.java | 231 TaskStack createStack(int stackId, int relativeStackBoxId, int position, float weight) { in createStack() argument 233 if (DEBUG_STACK) Slog.d(TAG, "createStack: stackId=" + stackId + " relativeStackBoxId=" in createStack() 235 if (stackId == HOME_STACK_ID) { in createStack() 249 newStack = new TaskStack(mService, stackId, this); in createStack() 260 newStack = box.split(stackId, relativeStackBoxId, position, weight); in createStack() 274 EventLog.writeEvent(EventLogTags.WM_STACK_CREATED, stackId, relativeStackBoxId, position, in createStack() 316 info.stackId = box.mStack.mStackId; in getStackBoxInfo() 319 info.stackId = -1; in getStackBoxInfo() 370 Rect getStackBounds(int stackId) { in getStackBounds() argument 372 Rect bounds = mStackBoxes.get(stackBoxNdx).getStackBounds(stackId); in getStackBounds()
|
D | TaskStack.java | 71 TaskStack(WindowManagerService service, int stackId, DisplayContent displayContent) { in TaskStack() argument 73 mStackId = stackId; in TaskStack()
|
D | WindowManagerService.java | 3231 public void validateAppTokens(int stackId, List<TaskGroup> tasks) { in validateAppTokens() argument 3248 final ArrayList<Task> localTasks = mStackIdToStack.get(stackId).getTasks(); in validateAppTokens() 3407 private Task createTask(int taskId, int stackId, int userId, AppWindowToken atoken) { in createTask() argument 3408 final TaskStack stack = mStackIdToStack.get(stackId); in createTask() 3410 throw new IllegalArgumentException("addAppToken: invalid stackId=" + stackId); in createTask() 3412 EventLog.writeEvent(EventLogTags.WM_TASK_CREATED, taskId, stackId); in createTask() 3420 public void addAppToken(int addPos, IApplicationToken token, int taskId, int stackId, in addAppToken() argument 3457 + " to stack=" + stackId + " task=" + taskId + " at " + addPos); in addAppToken() 3461 task = createTask(taskId, stackId, userId, atoken); in addAppToken() 4847 public void createStack(int stackId, int relativeStackBoxId, int position, float weight) { in createStack() argument [all …]
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 503 public int stackId; field in ActivityManager.RecentTaskInfo 526 dest.writeInt(stackId); in writeToParcel() 539 stackId = source.readInt(); in readFromParcel() 1301 public int stackId; field in ActivityManager.StackBoxInfo 1315 dest.writeInt(stackId); in writeToParcel() 1329 stackId = source.readInt(); in readFromParcel() 1330 if (stackId == -1) { in readFromParcel() 1388 public int stackId; field in ActivityManager.StackInfo 1400 dest.writeInt(stackId); in writeToParcel() 1410 stackId = source.readInt(); in readFromParcel() [all …]
|
D | IActivityManager.java | 122 public void moveTaskToStack(int taskId, int stackId, boolean toTop) throws RemoteException; in moveTaskToStack() argument 126 public void setFocusedStack(int stackId) throws RemoteException; in setFocusedStack() argument
|
D | ActivityManagerNative.java | 629 int stackId = data.readInt(); in onTransact() local 631 moveTaskToStack(taskId, stackId, toTop); in onTransact() 669 int stackId = data.readInt(); in onTransact() local 670 setFocusedStack(stackId); in onTransact() 2736 public void moveTaskToStack(int taskId, int stackId, boolean toTop) throws RemoteException in moveTaskToStack() argument 2742 data.writeInt(stackId); in moveTaskToStack() 2794 public void setFocusedStack(int stackId) throws RemoteException in setFocusedStack() argument 2799 data.writeInt(stackId); in setFocusedStack()
|
/frameworks/base/services/java/com/android/server/am/ |
D | ActivityStackSupervisor.java | 344 final int stackId = stack.mStackId; in removeTask() local 345 final int nextStackId = mWindowManager.removeStack(stackId); in removeTask() 347 if (mFocusedStack == null || mFocusedStack.mStackId == stackId) { in removeTask() 1307 int stackId = in adjustStackFocus() local 1310 " stackId=" + stackId); in adjustStackFocus() 1311 mFocusedStack = getStack(stackId); in adjustStackFocus() 2064 ActivityStack getStack(int stackId) { in getStack() argument 2067 if (stack.getStackId() == stackId) { in getStack() 2091 void moveTaskToStack(int taskId, int stackId, boolean toTop) { in moveTaskToStack() argument 2096 final ActivityStack stack = getStack(stackId); in moveTaskToStack() [all …]
|
D | ActivityManagerService.java | 2239 public void setFocusedStack(int stackId) { in setFocusedStack() argument 2240 if (DEBUG_FOCUS) Slog.d(TAG, "setFocusedStack: stackId=" + stackId); in setFocusedStack() 2242 ActivityStack stack = mStackSupervisor.getStack(stackId); in setFocusedStack() 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, boolean toTop) { 7134 if (stackId == HOME_STACK_ID) { [all …]
|
D | ActivityStack.java | 330 ActivityStack(ActivityManagerService service, Context context, Looper looper, int stackId) { in ActivityStack() argument 336 mStackId = stackId; in ActivityStack()
|
/frameworks/base/core/java/android/view/ |
D | IWindowManager.aidl | 80 void addAppToken(int addPos, IApplicationToken token, int groupId, int stackId, in addAppToken() argument
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
D | Am.java | 1576 int stackId = mAm.createStack(taskId, relativeTo, position, weight); in runStackCreate() local 1577 System.out.println("createStack returned new stackId=" + stackId + "\n\n"); in runStackCreate() 1586 int stackId = Integer.valueOf(stackIdStr); in runStackMoveTask() local 1599 mAm.moveTaskToStack(taskId, stackId, toTop); in runStackMoveTask()
|