/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
D | Task.java | 74 public int stackId; field in Task.TaskKey 80 public TaskKey(int id, int stackId, Intent intent, int userId, long firstActiveTime, in TaskKey() argument 84 this.stackId = stackId; in TaskKey() 102 return id == otherKey.id && stackId == otherKey.stackId && userId == otherKey.userId; in equals() 107 return Objects.hash(id, stackId, userId); in hashCode() 113 + "s: " + stackId + ", " in toString() 194 public void setStackId(int stackId) { in setStackId() argument 195 key.stackId = stackId; in setStackId()
|
D | RecentsTaskLoadPlan.java | 112 Task.TaskKey taskKey = new Task.TaskKey(t.persistentId, t.stackId, t.baseIntent, in preloadPlan() 165 ArrayList<Task> stackTasks = stacksTasks.get(t.stackId); in preloadPlan() 168 stacksTasks.put(t.stackId, stackTasks); in preloadPlan() 179 int stackId = stacksTasks.keyAt(i); in preloadPlan() local 180 ActivityManager.StackInfo info = stackInfos.get(stackId); in preloadPlan() 182 TaskStack stack = new TaskStack(stackId); in preloadPlan() 190 mStacks.put(stackId, stack); in preloadPlan() 281 public TaskStack getTaskStack(int stackId) { in getTaskStack() argument 282 return mStacks.get(stackId); in getTaskStack()
|
D | TaskStack.java | 194 public TaskStack(int stackId) { in TaskStack() argument 195 id = stackId; in TaskStack()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskStack.java | 99 TaskStack(WindowManagerService service, int stackId) { in TaskStack() argument 101 mStackId = stackId; in TaskStack() 106 EventLog.writeEvent(EventLogTags.WM_STACK_CREATED, stackId, mBounds.left, mBounds.top, in TaskStack()
|
D | WindowManagerService.java | 3526 public void validateAppTokens(int stackId, List<TaskGroup> tasks) { in validateAppTokens() argument 3543 final ArrayList<Task> localTasks = mStackIdToStack.get(stackId).getTasks(); in validateAppTokens() 3706 private Task createTaskLocked(int taskId, int stackId, int userId, AppWindowToken atoken) { in createTaskLocked() argument 3707 if (DEBUG_STACK) Slog.i(TAG, "createTaskLocked: taskId=" + taskId + " stackId=" + stackId in createTaskLocked() 3709 final TaskStack stack = mStackIdToStack.get(stackId); in createTaskLocked() 3711 throw new IllegalArgumentException("addAppToken: invalid stackId=" + stackId); in createTaskLocked() 3713 EventLog.writeEvent(EventLogTags.WM_TASK_CREATED, taskId, stackId); in createTaskLocked() 3721 public void addAppToken(int addPos, IApplicationToken token, int taskId, int stackId, in addAppToken() argument 3758 + " to stack=" + stackId + " task=" + taskId + " at " + addPos); in addAppToken() 3762 task = createTaskLocked(taskId, stackId, userId, atoken); in addAppToken() [all …]
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
D | Am.java | 1889 int stackId = Integer.valueOf(stackIdStr); in runStackMoveTask() local 1902 mAm.moveTaskToStack(taskId, stackId, toTop); in runStackMoveTask() 1909 int stackId = Integer.valueOf(stackIdStr); in runStackResize() local 1917 mAm.resizeStack(stackId, bounds); in runStackResize() 1935 int stackId = Integer.valueOf(stackIdStr); in runStackInfo() local 1936 StackInfo info = mAm.getStackInfo(stackId); in runStackInfo() 1943 final int stackId = Integer.valueOf(nextArgRequired()); in runStackSplit() local 1953 final StackInfo currentStackInfo = mAm.getStackInfo(stackId); in runStackSplit() 1994 mAm.resizeStack(currentStackInfo.stackId, currentStackBounds); in runStackSplit() 1995 mAm.resizeStack(newStackInfo.stackId, newStackBounds); in runStackSplit()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 840 public int stackId; field in ActivityManager.RecentTaskInfo 922 dest.writeInt(stackId); in writeToParcel() 941 stackId = source.readInt(); in readFromParcel() 1772 public int stackId; field in ActivityManager.StackInfo 1785 dest.writeInt(stackId); in writeToParcel() 1796 stackId = source.readInt(); in readFromParcel() 1824 sb.append(prefix); sb.append("Stack id="); sb.append(stackId); in toString()
|
D | IActivityManager.java | 140 public void moveTaskToStack(int taskId, int stackId, boolean toTop) throws RemoteException; in moveTaskToStack() argument 141 public void resizeStack(int stackId, Rect bounds) throws RemoteException; in resizeStack() argument 143 public StackInfo getStackInfo(int stackId) throws RemoteException; in getStackInfo() argument 145 public void setFocusedStack(int stackId) throws RemoteException; in setFocusedStack() argument
|
D | ActivityManagerNative.java | 739 int stackId = data.readInt(); in onTransact() local 741 moveTaskToStack(taskId, stackId, toTop); in onTransact() 748 int stackId = data.readInt(); in onTransact() local 750 resizeStack(stackId, r); in onTransact() 765 int stackId = data.readInt(); in onTransact() local 766 StackInfo info = getStackInfo(stackId); in onTransact() 788 int stackId = data.readInt(); in onTransact() local 789 setFocusedStack(stackId); in onTransact() 3420 public void moveTaskToStack(int taskId, int stackId, boolean toTop) throws RemoteException in moveTaskToStack() argument 3426 data.writeInt(stackId); in moveTaskToStack() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityStackSupervisor.java | 2792 ActivityStack getStack(int stackId) { in getStack() argument 2793 ActivityContainer activityContainer = mActivityContainers.get(stackId); in getStack() 2864 final int stackId = activityContainer.mStackId; in deleteActivityContainer() local 2865 mActivityContainers.remove(stackId); in deleteActivityContainer() 2866 mWindowManager.removeStack(stackId); in deleteActivityContainer() 2870 void resizeStackLocked(int stackId, Rect bounds) { in resizeStackLocked() argument 2871 final ActivityStack stack = getStack(stackId); in resizeStackLocked() 2873 Slog.w(TAG, "resizeStack: stackId " + stackId + " not found."); in resizeStackLocked() 2883 final Configuration overrideConfig = mWindowManager.resizeStack(stackId, bounds); in resizeStackLocked() 2939 ActivityStack createStackOnDisplay(int stackId, int displayId) { in createStackOnDisplay() argument [all …]
|
D | ActivityManagerService.java | 2676 public void setFocusedStack(int stackId) { in setFocusedStack() argument 2677 if (DEBUG_FOCUS) Slog.d(TAG_FOCUS, "setFocusedStack: stackId=" + stackId); in setFocusedStack() 2679 ActivityStack stack = mStackSupervisor.getStack(stackId); in setFocusedStack() 8295 rti.stackId = tr.stack != null ? tr.stack.mStackId : -1; 8877 final int stackId = mStackSupervisor.getNextStackId(); in createStackOnDisplay() local 8878 final ActivityStack stack = mStackSupervisor.createStackOnDisplay(stackId, displayId); in createStackOnDisplay() 8898 public void moveTaskToStack(int taskId, int stackId, boolean toTop) { in moveTaskToStack() argument 8901 if (stackId == HOME_STACK_ID) { in moveTaskToStack() 8909 + " to stackId=" + stackId + " toTop=" + toTop); in moveTaskToStack() 8910 mStackSupervisor.moveTaskToStackLocked(taskId, stackId, toTop); in moveTaskToStack() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
D | SystemServicesProxy.java | 268 public Rect getTaskBounds(int stackId) { in getTaskBounds() argument 269 ActivityManager.StackInfo info = getAllStackInfos().get(stackId); in getTaskBounds() 297 stacks.put(info.stackId, info); in getAllStackInfos()
|
/frameworks/base/core/java/android/view/ |
D | IWindowManager.aidl | 83 void addAppToken(int addPos, IApplicationToken token, int groupId, int stackId, in addAppToken() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | TaskViewHeader.java | 227 Rect taskRect = mSsp.getTaskBounds(t.key.stackId); in updateResizeTaskBarIcon()
|