Home
last modified time | relevance | path

Searched refs:stackId (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/app/
DActivityTaskManager.java210 public void resizeStack(int stackId, Rect bounds) throws SecurityException { in resizeStack() argument
212 getService().resizeStack(stackId, bounds, false /* allowResizeInDockedMode */, in resizeStack()
310 public boolean moveTopActivityToPinnedStack(int stackId, Rect bounds) { in moveTopActivityToPinnedStack() argument
312 return getService().moveTopActivityToPinnedStack(stackId, bounds); in moveTopActivityToPinnedStack()
350 public void moveTaskToStack(int taskId, int stackId, boolean toTop) { in moveTaskToStack() argument
352 getService().moveTaskToStack(taskId, stackId, toTop); in moveTaskToStack()
365 public void resizeStack(int stackId, Rect bounds, boolean animate) { in resizeStack() argument
367 getService().resizeStack(stackId, bounds, false, false, animate /* animate */, in resizeStack()
DTaskInfo.java47 public int stackId; field in TaskInfo
168 stackId = source.readInt(); in readFromParcel()
196 dest.writeInt(stackId); in writeToParcel()
228 return "TaskInfo{userId=" + userId + " stackId=" + stackId + " taskId=" + taskId in toString()
DIActivityTaskManager.aidl178 void setFocusedStack(int stackId); in setFocusedStack() argument
223 void moveStackToDisplay(int stackId, int displayId); in moveStackToDisplay() argument
224 void removeStack(int stackId); in removeStack() argument
234 void moveTaskToStack(int taskId, int stackId, boolean toTop); in moveTaskToStack() argument
249 void resizeStack(int stackId, in Rect bounds, boolean allowResizeInDockedMode, in resizeStack() argument
265 void offsetPinnedStackBounds(int stackId, in Rect compareBounds, int xOffset, int yOffset, in offsetPinnedStackBounds() argument
314 void positionTaskInStack(int taskId, int stackId, int position); in positionTaskInStack() argument
332 boolean moveTopActivityToPinnedStack(int stackId, in Rect bounds); in moveTopActivityToPinnedStack() argument
DIActivityManager.aidl412 void moveTaskToStack(int taskId, int stackId, boolean toTop); in moveTaskToStack() argument
428 void resizeStack(int stackId, in Rect bounds, boolean allowResizeInDockedMode, in resizeStack() argument
430 void setFocusedStack(int stackId); in setFocusedStack() argument
497 void positionTaskInStack(int taskId, int stackId, int position); in positionTaskInStack() argument
501 boolean moveTopActivityToPinnedStack(int stackId, in Rect bounds); in moveTopActivityToPinnedStack() argument
531 void removeStack(int stackId); in removeStack() argument
DITaskStackListener.aidl33 void onActivityPinned(String packageName, int userId, int taskId, int stackId); in onActivityPinned() argument
DTaskStackListener.java45 public void onActivityPinned(String packageName, int userId, int taskId, int stackId) in onActivityPinned() argument
DActivityManager.java1519 pw.print(" stackId=" + stackId); in dump()
2424 public int stackId;
2459 dest.writeInt(stackId);
2489 stackId = source.readInt();
2537 sb.append(prefix); sb.append("Stack id="); sb.append(stackId);
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTestsBase.java720 int stackId, boolean onTop) { in createStackUnchecked() argument
723 .setStackId(stackId).setOnTop(onTop).setCreateActivity(false).build(); in createStackUnchecked()
783 TestActivityStack(ActivityDisplay display, int stackId, ActivityStackSupervisor supervisor, in TestActivityStack() argument
785 super(display, stackId, supervisor, windowingMode, activityType, onTop); in TestActivityStack()
892 StackBuilder setStackId(int stackId) { in setStackId() argument
893 mStackId = stackId; in setStackId()
914 final int stackId = mStackId >= 0 ? mStackId : mDisplay.getNextStackId(); in build() local
916 return new ActivityStack(mDisplay, stackId, mRootActivityContainer.mStackSupervisor, in build()
929 return new TestActivityStack(mDisplay, stackId, in build()
DWindowTestsBase.java392 final int stackId = ++sNextStackId; in createTaskStackOnDisplay() local
393 final TaskStack stack = new TaskStack(mWm, stackId, mock(ActivityStack.class)); in createTaskStackOnDisplay()
394 dc.setStackOnDisplay(stackId, true, stack); in createTaskStackOnDisplay()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DTaskStackChangeListeners.java100 public void onActivityPinned(String packageName, int userId, int taskId, int stackId) in onActivityPinned() argument
104 new PinnedActivityInfo(packageName, userId, taskId, stackId)).sendToTarget(); in onActivityPinned()
410 PinnedActivityInfo(String packageName, int userId, int taskId, int stackId) { in PinnedActivityInfo() argument
414 mStackId = stackId; in PinnedActivityInfo()
DTaskStackChangeListener.java39 public void onActivityPinned(String packageName, int userId, int taskId, int stackId) { } in onActivityPinned() argument
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java2582 int stackId = Integer.parseInt(stackIdStr);
2585 mTaskInterface.moveStackToDisplay(stackId, displayId);
2593 int stackId = Integer.parseInt(stackIdStr);
2605 mTaskInterface.moveTaskToStack(taskId, stackId, toTop);
2611 int stackId = Integer.parseInt(stackIdStr);
2617 return resizeStack(stackId, bounds, 0);
2622 int stackId = Integer.parseInt(stackIdStr);
2633 return resizeStackUnchecked(stackId, bounds, 0, true);
2636 int resizeStackUnchecked(int stackId, Rect bounds, int delayMs, boolean animate)
2639 mTaskInterface.resizeStack(stackId, bounds, false, false, animate, -1);
[all …]
DActivityManagerService.java2980 public void setFocusedStack(int stackId) { in setFocusedStack() argument
2981 mActivityTaskManager.setFocusedStack(stackId); in setFocusedStack()
6309 public void removeStack(int stackId) { in removeStack() argument
6310 mActivityTaskManager.removeStack(stackId); in removeStack()
6349 public void moveTaskToStack(int taskId, int stackId, boolean toTop) { in moveTaskToStack() argument
6350 mActivityTaskManager.moveTaskToStack(taskId, stackId, toTop); in moveTaskToStack()
6354 public void resizeStack(int stackId, Rect destBounds, boolean allowResizeInDockedMode, in resizeStack() argument
6356 mActivityTaskManager.resizeStack(stackId, destBounds, allowResizeInDockedMode, in resizeStack()
6376 public boolean moveTopActivityToPinnedStack(int stackId, Rect bounds) { in moveTopActivityToPinnedStack() argument
6377 return mActivityTaskManager.moveTopActivityToPinnedStack(stackId, bounds); in moveTopActivityToPinnedStack()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DActivityDisplay.java324 <T extends ActivityStack> T getStack(int stackId) { in getStack() argument
327 if (stack.mStackId == stackId) { in getStack()
454 final int stackId = getNextStackId(); in createStack() local
455 return createStackUnchecked(windowingMode, activityType, stackId, onTop); in createStack()
460 int stackId, boolean onTop) { in createStackUnchecked() argument
465 return (T) new ActivityStack(this, stackId, in createStackUnchecked()
DRootActivityContainer.java938 void moveStackToDisplay(int stackId, int displayId, boolean onTop) { in moveStackToDisplay() argument
944 final ActivityStack stack = getStack(stackId); in moveStackToDisplay()
947 + stackId); in moveStackToDisplay()
972 boolean moveTopStackActivityToPinnedStack(int stackId) { in moveTopStackActivityToPinnedStack() argument
973 final ActivityStack stack = getStack(stackId); in moveTopStackActivityToPinnedStack()
976 "moveTopStackActivityToPinnedStack: Unknown stackId=" + stackId); in moveTopStackActivityToPinnedStack()
1257 protected <T extends ActivityStack> T getStack(int stackId) { in getStack() argument
1259 final T stack = mActivityDisplays.get(i).getStack(stackId); in getStack()
1284 info.stackId = stack.mStackId; in getStackInfo()
1318 ActivityManager.StackInfo getStackInfo(int stackId) { in getStackInfo() argument
[all …]
DActivityTaskManagerService.java2055 public void setFocusedStack(int stackId) { in setFocusedStack() argument
2057 if (DEBUG_FOCUS) Slog.d(TAG_FOCUS, "setFocusedStack: stackId=" + stackId); in setFocusedStack()
2061 final ActivityStack stack = mRootActivityContainer.getStack(stackId); in setFocusedStack()
2063 Slog.w(TAG, "setFocusedStack: No stack with id=" + stackId); in setFocusedStack()
2573 public void moveTaskToStack(int taskId, int stackId, boolean toTop) { in moveTaskToStack() argument
2585 + " to stackId=" + stackId + " toTop=" + toTop); in moveTaskToStack()
2587 final ActivityStack stack = mRootActivityContainer.getStack(stackId); in moveTaskToStack()
2590 "moveTaskToStack: No stack for stackId=" + stackId); in moveTaskToStack()
2594 + taskId + " to stack " + stackId); in moveTaskToStack()
2609 public void resizeStack(int stackId, Rect destBounds, boolean allowResizeInDockedMode, in resizeStack() argument
[all …]
DTaskStack.java166 TaskStack(WindowManagerService service, int stackId, ActivityStack activityStack) { in TaskStack() argument
168 mStackId = stackId; in TaskStack()
173 EventLog.writeEvent(EventLogTags.WM_STACK_CREATED, stackId); in TaskStack()
DActivityStackSupervisor.java1934 final int stackId = stack.mStackId; in getReparentTargetStack() local
1938 if (prevStack != null && prevStack.mStackId == stackId) { in getReparentTargetStack()
1940 + " already in stackId=" + stackId); in getReparentTargetStack()
1955 + " reparent task=" + task + " to stackId=" + stackId); in getReparentTargetStack()
DDisplayContent.java2389 void setStackOnDisplay(int stackId, boolean onTop, TaskStack stack) { in setStackOnDisplay() argument
2391 Slog.d(TAG_WM, "Create new stackId=" + stackId + " on displayId=" + mDisplayId); in setStackOnDisplay()
DActivityStack.java509 ActivityStack(ActivityDisplay display, int stackId, ActivityStackSupervisor supervisor, in ActivityStack() argument
516 mStackId = stackId; in ActivityStack()
DTaskRecord.java2391 info.stackId = getStackId(); in fillTaskInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipManager.java74 public void onActivityPinned(String packageName, int userId, int taskId, int stackId) {
DPipMotionHelper.java554 mActivityTaskManager.resizeStack(stackInfo.stackId, toBounds, in handleMessage()
578 mActivityTaskManager.offsetPinnedStackBounds(stackInfo.stackId, originalBounds, in handleMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipManager.java673 public void onActivityPinned(String packageName, int userId, int taskId, int stackId) {
682 mPinnedStackId = stackInfo.stackId;
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/
DRecentsImpl.java188 public void onActivityPinned(String packageName, int userId, int taskId, int stackId) { in onActivityPinned() argument

12