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

/frameworks/base/core/java/android/app/
H A DITaskStackListener.aidl33 void onActivityPinned(String packageName, int userId, int taskId, int stackId);
H A DTaskStackListener.java34 public void onActivityPinned(String packageName, int userId, int taskId, int stackId) argument
H A DIActivityManager.aidl402 void moveTaskToStack(int taskId, int stackId, boolean toTop);
406 * @param stackId Id of the stack to resize.
417 void resizeStack(int stackId, in Rect bounds, boolean allowResizeInDockedMode,
420 void setFocusedStack(int stackId);
524 void positionTaskInStack(int taskId, int stackId, int position);
544 boolean moveTopActivityToPinnedStack(int stackId, in Rect bounds);
596 void removeStack(int stackId);
648 void moveStackToDisplay(int stackId, int displayId);
H A DActivityManager.java1492 public int stackId; field in class:ActivityManager.RecentTaskInfo
1599 dest.writeInt(stackId);
1627 stackId = source.readInt();
1732 public int stackId; field in class:ActivityManager.RunningTaskInfo
1801 dest.writeInt(stackId);
1821 stackId = source.readInt();
2050 * @param stackId Id of the stack to resize.
2056 public void resizeStack(int stackId, Rect bounds) throws SecurityException { argument
2058 getService().resizeStack(stackId, bounds, false /* allowResizeInDockedMode */,
2620 public int stackId; field in class:ActivityManager.StackInfo
[all...]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DTaskStackChangeListener.java38 public void onActivityPinned(String packageName, int userId, int taskId, int stackId) { } argument
H A DTaskStackChangeListeners.java88 public void onActivityPinned(String packageName, int userId, int taskId, int stackId) argument
92 new PinnedActivityInfo(packageName, userId, taskId, stackId)).sendToTarget();
308 PinnedActivityInfo(String packageName, int userId, int taskId, int stackId) { argument
312 mStackId = stackId;
/frameworks/base/services/core/java/com/android/server/am/
H A DPinnedActivityStack.java38 PinnedActivityStack(ActivityDisplay display, int stackId, ActivityStackSupervisor supervisor, argument
40 super(display, stackId, supervisor, WINDOWING_MODE_PINNED, ACTIVITY_TYPE_STANDARD, onTop);
H A DActivityDisplay.java186 <T extends ActivityStack> T getStack(int stackId) { argument
189 if (stack.mStackId == stackId) {
311 final int stackId = getNextStackId();
312 return createStackUnchecked(windowingMode, activityType, stackId, onTop);
317 int stackId, boolean onTop) {
319 return (T) new PinnedActivityStack(this, stackId, mSupervisor, onTop);
322 this, stackId, mSupervisor, windowingMode, activityType, onTop);
316 createStackUnchecked(int windowingMode, int activityType, int stackId, boolean onTop) argument
H A DRunningTasks.java92 ci.stackId = task.getStackId();
H A DActivityManagerShellCommand.java2420 int stackId = Integer.parseInt(stackIdStr);
2423 mInterface.moveStackToDisplay(stackId, displayId);
2437 final int stackId = mInterface.createStackOnDisplay(displayId);
2438 if (stackId != INVALID_STACK_ID) {
2443 // options.setLaunchStackId(stackId);
2456 int stackId = Integer.parseInt(stackIdStr);
2468 mInterface.moveTaskToStack(taskId, stackId, toTop);
2474 int stackId = Integer.parseInt(stackIdStr);
2480 return resizeStack(stackId, bounds, 0);
2485 int stackId
2499 resizeStackUnchecked(int stackId, Rect bounds, int delayMs, boolean animate) argument
2520 resizeStack(int stackId, Rect bounds, int delayMs) argument
[all...]
H A DActivityStackSupervisor.java2354 protected <T extends ActivityStack> T getStack(int stackId) { argument
2356 final T stack = mActivityDisplays.valueAt(i).getStack(stackId);
3206 * @param stackId Id of stack to move.
3210 void moveStackToDisplayLocked(int stackId, int displayId, boolean onTop) { argument
3216 final ActivityStack stack = getStack(stackId);
3218 throw new IllegalArgumentException("moveStackToDisplayLocked: Unknown stackId="
3219 + stackId);
3244 final int stackId = stack.mStackId;
3248 if (prevStack != null && prevStack.mStackId == stackId) {
3250 + " already in stackId
3289 moveTopStackActivityToPinnedStackLocked(int stackId, Rect destBounds) argument
4449 getStackInfo(int stackId) argument
[all...]
H A DActivityManagerService.java3588 public void setFocusedStack(int stackId) { argument
3590 if (DEBUG_FOCUS) Slog.d(TAG_FOCUS, "setFocusedStack: stackId=" + stackId);
3594 final ActivityStack stack = mStackSupervisor.getStack(stackId);
3596 Slog.w(TAG, "setFocusedStack: No stack with id=" + stackId);
11005 public void removeStack(int stackId) { argument
11010 final ActivityStack stack = mStackSupervisor.getStack(stackId);
11012 Slog.w(TAG, "removeStack: No stack with id=" + stackId);
11059 public void moveStackToDisplay(int stackId, int displayId) { argument
11065 if (DEBUG_STACK) Slog.d(TAG_STACK, "moveStackToDisplay: moving stackId
11340 moveTaskToStack(int taskId, int stackId, boolean toTop) argument
11458 moveTopActivityToPinnedStack(int stackId, Rect bounds) argument
11477 resizeStack(int stackId, Rect destBounds, boolean allowResizeInDockedMode, boolean preserveWindows, boolean animate, int animationDuration) argument
11560 positionTaskInStack(int taskId, int stackId, int position) argument
22817 resizeStackWithBoundsFromWindowManager(int stackId, boolean deferResume) argument
[all...]
H A DRecentTasks.java1532 rti.stackId = tr.getStackId();
H A DActivityStack.java453 ActivityStack(ActivityDisplay display, int stackId, ActivityStackSupervisor supervisor, argument
459 mStackId = stackId;
2067 throw new IllegalStateException("Stack is not attached to any display, stackId="
5310 + " stackId=" + mStackId + " type=" + activityTypeToString(getActivityType())
/frameworks/base/services/core/java/com/android/server/wm/
H A DStackWindowController.java58 public StackWindowController(int stackId, StackWindowListener listener, int displayId, argument
60 this(stackId, listener, displayId, onTop, outBounds, WindowManagerService.getInstance());
64 public StackWindowController(int stackId, StackWindowListener listener, argument
67 mStackId = stackId;
73 throw new IllegalArgumentException("Trying to add stackId=" + stackId
77 dc.createStack(stackId, onTop, this);
95 throw new IllegalArgumentException("Trying to move unknown stackId=" + mStackId
101 throw new IllegalArgumentException("Trying to move stackId=" + mStackId
382 return "{StackWindowController stackId
[all...]
H A DPinnedStackWindowController.java39 public PinnedStackWindowController(int stackId, PinnedStackWindowListener listener, argument
41 super(stackId, listener, displayId, onTop, outBounds, service);
H A DTaskStack.java160 TaskStack(WindowManagerService service, int stackId, StackWindowController controller) { argument
162 mStackId = stackId;
166 EventLog.writeEvent(EventLogTags.WM_STACK_CREATED, stackId);
596 + " to stackId=" + mStackId
597 + ", but it is already attached to stackId=" + task.mStack.mStackId);
796 .setName("animation background stackId=" + mStackId)
1445 return "{stackId=" + mStackId + " tasks=" + mChildren + "}";
H A DDisplayContent.java1831 TaskStack createStack(int stackId, boolean onTop, StackWindowController controller) { argument
1832 if (DEBUG_STACK) Slog.d(TAG_WM, "Create new stackId=" + stackId + " on displayId="
1835 final TaskStack stack = new TaskStack(mService, stackId, controller);
1843 throw new IllegalStateException("Trying to move stackId=" + stack.mStackId
1847 throw new IllegalArgumentException("Trying to move stackId=" + stack.mStackId
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DActivityTestsBase.java459 int stackId, boolean onTop) {
461 return (T) new PinnedActivityStack(this, stackId, mSupervisor, onTop) {
475 this, stackId, mSupervisor, windowingMode, activityType, onTop);
519 TestActivityStack(ActivityDisplay display, int stackId, ActivityStackSupervisor supervisor, argument
521 super(display, stackId, supervisor, windowingMode, activityType, onTop);
458 createStackUnchecked(int windowingMode, int activityType, int stackId, boolean onTop) argument
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DWindowTestUtils.java97 TestTaskStack(WindowManagerService service, int stackId) { argument
98 super(service, stackId, null);
H A DWindowTestsBase.java336 final int stackId = ++sNextStackId;
337 final StackWindowController controller = new StackWindowController(stackId, null,
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
H A DPipManager.java74 public void onActivityPinned(String packageName, int userId, int taskId, int stackId) {
H A DPipMotionHelper.java536 mActivityManager.resizeStack(stackInfo.stackId, toBounds,
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
H A DPipManager.java665 public void onActivityPinned(String packageName, int userId, int taskId, int stackId) {
674 mPinnedStackId = stackInfo.stackId;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecentsImpl.java189 public void onActivityPinned(String packageName, int userId, int taskId, int stackId) { argument

Completed in 145 milliseconds