Home
last modified time | relevance | path

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

/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
DITaskStackListener.aidl33 void onActivityPinned(String packageName, int userId, int taskId, int stackId); in onActivityPinned() argument
DIActivityManager.aidl399 void moveTaskToStack(int taskId, int stackId, boolean toTop); in moveTaskToStack() argument
415 void resizeStack(int stackId, in Rect bounds, boolean allowResizeInDockedMode, in resizeStack() argument
417 void setFocusedStack(int stackId); in setFocusedStack() argument
484 void positionTaskInStack(int taskId, int stackId, int position); in positionTaskInStack() argument
488 boolean moveTopActivityToPinnedStack(int stackId, in Rect bounds); in moveTopActivityToPinnedStack() argument
518 void removeStack(int stackId); in removeStack() argument
DTaskStackListener.java40 public void onActivityPinned(String packageName, int userId, int taskId, int stackId) in onActivityPinned() argument
DActivityManager.java1512 pw.print(" stackId=" + stackId); in dump()
2418 public int stackId;
2453 dest.writeInt(stackId);
2483 stackId = source.readInt();
2531 sb.append(prefix); sb.append("Stack id="); sb.append(stackId);
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTestsBase.java688 int stackId, boolean onTop) { in createStackUnchecked() argument
691 .setStackId(stackId).setOnTop(onTop).setCreateActivity(false).build(); in createStackUnchecked()
751 TestActivityStack(ActivityDisplay display, int stackId, ActivityStackSupervisor supervisor, in TestActivityStack() argument
753 super(display, stackId, supervisor, windowingMode, activityType, onTop); in TestActivityStack()
860 StackBuilder setStackId(int stackId) { in setStackId() argument
861 mStackId = stackId; in setStackId()
882 final int stackId = mStackId >= 0 ? mStackId : mDisplay.getNextStackId(); in build() local
884 return new ActivityStack(mDisplay, stackId, mRootActivityContainer.mStackSupervisor, in build()
897 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()
382 PinnedActivityInfo(String packageName, int userId, int taskId, int stackId) { in PinnedActivityInfo() argument
386 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.java2518 int stackId = Integer.parseInt(stackIdStr);
2521 mTaskInterface.moveStackToDisplay(stackId, displayId);
2529 int stackId = Integer.parseInt(stackIdStr);
2541 mTaskInterface.moveTaskToStack(taskId, stackId, toTop);
2547 int stackId = Integer.parseInt(stackIdStr);
2553 return resizeStack(stackId, bounds, 0);
2558 int stackId = Integer.parseInt(stackIdStr);
2569 return resizeStackUnchecked(stackId, bounds, 0, true);
2572 int resizeStackUnchecked(int stackId, Rect bounds, int delayMs, boolean animate)
2575 mTaskInterface.resizeStack(stackId, bounds, false, false, animate, -1);
[all …]
DActivityManagerService.java2952 public void setFocusedStack(int stackId) { in setFocusedStack() argument
2953 mActivityTaskManager.setFocusedStack(stackId); in setFocusedStack()
6272 public void removeStack(int stackId) { in removeStack() argument
6273 mActivityTaskManager.removeStack(stackId); in removeStack()
6312 public void moveTaskToStack(int taskId, int stackId, boolean toTop) { in moveTaskToStack() argument
6313 mActivityTaskManager.moveTaskToStack(taskId, stackId, toTop); in moveTaskToStack()
6317 public void resizeStack(int stackId, Rect destBounds, boolean allowResizeInDockedMode, in resizeStack() argument
6319 mActivityTaskManager.resizeStack(stackId, destBounds, allowResizeInDockedMode, in resizeStack()
6339 public boolean moveTopActivityToPinnedStack(int stackId, Rect bounds) { in moveTopActivityToPinnedStack() argument
6340 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.java937 void moveStackToDisplay(int stackId, int displayId, boolean onTop) { in moveStackToDisplay() argument
943 final ActivityStack stack = getStack(stackId); in moveStackToDisplay()
946 + stackId); in moveStackToDisplay()
971 boolean moveTopStackActivityToPinnedStack(int stackId) { in moveTopStackActivityToPinnedStack() argument
972 final ActivityStack stack = getStack(stackId); in moveTopStackActivityToPinnedStack()
975 "moveTopStackActivityToPinnedStack: Unknown stackId=" + stackId); in moveTopStackActivityToPinnedStack()
1247 protected <T extends ActivityStack> T getStack(int stackId) { in getStack() argument
1249 final T stack = mActivityDisplays.get(i).getStack(stackId); in getStack()
1274 info.stackId = stack.mStackId; in getStackInfo()
1308 ActivityManager.StackInfo getStackInfo(int stackId) { in getStackInfo() argument
[all …]
DActivityTaskManagerService.java2040 public void setFocusedStack(int stackId) { in setFocusedStack() argument
2042 if (DEBUG_FOCUS) Slog.d(TAG_FOCUS, "setFocusedStack: stackId=" + stackId); in setFocusedStack()
2046 final ActivityStack stack = mRootActivityContainer.getStack(stackId); in setFocusedStack()
2048 Slog.w(TAG, "setFocusedStack: No stack with id=" + stackId); in setFocusedStack()
2551 public void moveTaskToStack(int taskId, int stackId, boolean toTop) { in moveTaskToStack() argument
2563 + " to stackId=" + stackId + " toTop=" + toTop); in moveTaskToStack()
2565 final ActivityStack stack = mRootActivityContainer.getStack(stackId); in moveTaskToStack()
2568 "moveTaskToStack: No stack for stackId=" + stackId); in moveTaskToStack()
2572 + taskId + " to stack " + stackId); in moveTaskToStack()
2587 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.java1930 final int stackId = stack.mStackId; in getReparentTargetStack() local
1934 if (prevStack != null && prevStack.mStackId == stackId) { in getReparentTargetStack()
1936 + " already in stackId=" + stackId); in getReparentTargetStack()
1951 + " reparent task=" + task + " to stackId=" + stackId); in getReparentTargetStack()
DDisplayContent.java2382 void setStackOnDisplay(int stackId, boolean onTop, TaskStack stack) { in setStackOnDisplay() argument
2384 Slog.d(TAG_WM, "Create new stackId=" + stackId + " on displayId=" + mDisplayId); in setStackOnDisplay()
DActivityStack.java506 ActivityStack(ActivityDisplay display, int stackId, ActivityStackSupervisor supervisor, in ActivityStack() argument
513 mStackId = stackId; in ActivityStack()
DTaskRecord.java2391 info.stackId = getStackId(); in fillTaskInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipManager.java71 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