/frameworks/base/services/core/java/com/android/server/wm/ |
DragResizeMode.java | 19 import static android.app.ActivityManager.StackId.DOCKED_STACK_ID; 20 import static android.app.ActivityManager.StackId.FREEFORM_WORKSPACE_STACK_ID; 21 import static android.app.ActivityManager.StackId.FULLSCREEN_WORKSPACE_STACK_ID; 22 import static android.app.ActivityManager.StackId.HOME_STACK_ID; 23 import static android.app.ActivityManager.StackId.RECENTS_STACK_ID; 42 static boolean isModeAllowedForStack(int stackId, int mode) { 45 return stackId == FREEFORM_WORKSPACE_STACK_ID; 47 return stackId == DOCKED_STACK_ID 48 || stackId == FULLSCREEN_WORKSPACE_STACK_ID 49 || stackId == HOME_STACK_I [all...] |
Task.java | 20 import static android.app.ActivityManager.StackId.FREEFORM_WORKSPACE_STACK_ID; 21 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 31 import android.app.ActivityManager.StackId; 239 if (StackId.windowsAreScaleable(mStack.mStackId)) { 423 || !StackId.isTaskResizeableByDockedStack(mStack.mStackId) 530 throw new IllegalArgumentException("Drag resize mode not allow for stack stackId=" 567 if (!StackId.isTaskResizeAllowed(mStack.mStackId)) { 615 return StackId.tasksAreFloating(mStack.mStackId) 681 return mFillsParent || !StackId.isTaskResizeAllowed(mStack.mStackId);
|
WindowLayersController.java | 25 import static android.app.ActivityManager.StackId.ASSISTANT_STACK_ID; 26 import static android.app.ActivityManager.StackId.DOCKED_STACK_ID; 27 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
|
StackWindowController.java | 19 import static android.app.ActivityManager.StackId.DOCKED_STACK_ID; 20 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 22 import android.app.ActivityManager.StackId; 63 public StackWindowController(int stackId, StackWindowListener listener, 65 this(stackId, listener, displayId, onTop, outBounds, WindowManagerService.getInstance()); 69 public StackWindowController(int stackId, StackWindowListener listener, 72 mStackId = stackId; 78 throw new IllegalArgumentException("Trying to add stackId=" + stackId 82 final TaskStack stack = dc.addStackToDisplay(stackId, onTop) [all...] |
TaskStack.java | 21 import static android.app.ActivityManager.StackId.DOCKED_STACK_ID; 22 import static android.app.ActivityManager.StackId.HOME_STACK_ID; 23 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 40 import android.app.ActivityManager.StackId; 145 TaskStack(WindowManagerService service, int stackId) { 147 mStackId = stackId; 150 EventLog.writeEvent(EventLogTags.WM_STACK_CREATED, stackId); 297 || !StackId.isResizeableByDockedStack(mStackId) 558 + " to stackId=" + mStackId 559 + ", but it is already attached to stackId=" + task.mStack.mStackId) [all...] |
PinnedStackWindowController.java | 19 import static android.app.ActivityManager.StackId.FULLSCREEN_WORKSPACE_STACK_ID; 41 public PinnedStackWindowController(int stackId, PinnedStackWindowListener listener, 43 super(stackId, listener, displayId, onTop, outBounds, WindowManagerService.getInstance());
|
TaskSnapshotController.java | 23 import android.app.ActivityManager.StackId; 228 if (StackId.isHomeOrRecentsStack(task.mStack.mStackId)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
PipUtils.java | 19 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
|
PipManager.java | 19 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
|
/frameworks/base/services/core/java/com/android/server/am/ |
ActivityMetricsLogger.java | 5 import static android.app.ActivityManager.StackId.ASSISTANT_STACK_ID; 6 import static android.app.ActivityManager.StackId.DOCKED_STACK_ID; 7 import static android.app.ActivityManager.StackId.FREEFORM_WORKSPACE_STACK_ID; 8 import static android.app.ActivityManager.StackId.FULLSCREEN_WORKSPACE_STACK_ID; 9 import static android.app.ActivityManager.StackId.INVALID_STACK_ID; 10 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 29 import android.app.ActivityManager.StackId; 116 if (StackId.isHomeOrRecentsStack(stack.mStackId) 127 } else if (StackId.isStaticStack(stack.mStackId)) { 196 final int stackId = launchedActivity != null && launchedActivity.getStack() != nul [all...] |
TaskRecord.java | 23 import android.app.ActivityManager.StackId; 75 import static android.app.ActivityManager.StackId.ASSISTANT_STACK_ID; 76 import static android.app.ActivityManager.StackId.DOCKED_STACK_ID; 77 import static android.app.ActivityManager.StackId.FREEFORM_WORKSPACE_STACK_ID; 78 import static android.app.ActivityManager.StackId.FULLSCREEN_WORKSPACE_STACK_ID; 79 import static android.app.ActivityManager.StackId.HOME_STACK_ID; 80 import static android.app.ActivityManager.StackId.INVALID_STACK_ID; 81 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 82 import static android.app.ActivityManager.StackId.RECENTS_STACK_ID; 474 if (!StackId.persistTaskBounds(getStackId())) [all...] |
ActivityStarter.java | 28 import static android.app.ActivityManager.StackId; 29 import static android.app.ActivityManager.StackId.ASSISTANT_STACK_ID; 30 import static android.app.ActivityManager.StackId.DOCKED_STACK_ID; 31 import static android.app.ActivityManager.StackId.FREEFORM_WORKSPACE_STACK_ID; 32 import static android.app.ActivityManager.StackId.FULLSCREEN_WORKSPACE_STACK_ID; 33 import static android.app.ActivityManager.StackId.HOME_STACK_ID; 34 import static android.app.ActivityManager.StackId.INVALID_STACK_ID; 35 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 36 import static android.app.ActivityManager.StackId.RECENTS_STACK_ID; 37 import static android.app.ActivityManager.StackId.isDynamicStack [all...] |
ActivityStackSupervisor.java | 27 import static android.app.ActivityManager.StackId.DOCKED_STACK_ID; 28 import static android.app.ActivityManager.StackId.FIRST_DYNAMIC_STACK_ID; 29 import static android.app.ActivityManager.StackId.FIRST_STATIC_STACK_ID; 30 import static android.app.ActivityManager.StackId.FREEFORM_WORKSPACE_STACK_ID; 31 import static android.app.ActivityManager.StackId.FULLSCREEN_WORKSPACE_STACK_ID; 32 import static android.app.ActivityManager.StackId.HOME_STACK_ID; 33 import static android.app.ActivityManager.StackId.INVALID_STACK_ID; 34 import static android.app.ActivityManager.StackId.LAST_STATIC_STACK_ID; 35 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 36 import static android.app.ActivityManager.StackId.RECENTS_STACK_ID [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
WindowLayersControllerTests.java | 26 import static android.app.ActivityManager.StackId.ASSISTANT_STACK_ID; 27 import static android.app.ActivityManager.StackId.DOCKED_STACK_ID; 28 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
|
AppBoundsTests.java | 78 testStackBoundsConfiguration(null /*stackId*/, mParentBounds, shiftedBounds, 88 testStackBoundsConfiguration(null /*stackId*/, mParentBounds, emptyBounds, 99 testStackBoundsConfiguration(ActivityManager.StackId.FREEFORM_WORKSPACE_STACK_ID, 110 testStackBoundsConfiguration(null /*stackId*/, mParentBounds, insetBounds, insetBounds); 120 testStackBoundsConfiguration(null /*stackId*/, mParentBounds, fullScreenBounds, 125 private void testStackBoundsConfiguration(Integer stackId, Rect parentBounds, Rect bounds, 127 final StackWindowController stackController = stackId != null ? 128 createStackControllerOnStackOnDisplay(stackId, mDisplayContent)
|
TaskStackContainersTests.java | 19 import static android.app.ActivityManager.StackId.PINNED_STACK_ID;
|
WindowTestsBase.java | 36 import static android.app.ActivityManager.StackId.FIRST_DYNAMIC_STACK_ID; 37 import static android.app.ActivityManager.StackId.INVALID_STACK_ID; 168 private WindowToken createWindowToken(DisplayContent dc, int stackId, int type) { 173 final TaskStack stack = stackId == INVALID_STACK_ID 175 : createStackControllerOnStackOnDisplay(stackId, dc).mContainer; 188 WindowState createWindowOnStack(WindowState parent, int stackId, int type, 190 final WindowToken token = createWindowToken(dc, stackId, type); 234 final int stackId = ++sNextStackId; 235 return createStackControllerOnStackOnDisplay(stackId, dc); 238 StackWindowController createStackControllerOnStackOnDisplay(int stackId, [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
ActivityStackSupervisorTests.java | 19 import static android.app.ActivityManager.StackId.FULLSCREEN_WORKSPACE_STACK_ID; 20 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 62 MATCH_TASK_IN_STACKS_OR_RECENT_TASKS_AND_RESTORE, 0 /*stackId*/); 106 private static void ensureStackPlacement(ActivityStackSupervisor supervisor, int stackId, 108 final ActivityStack stack = supervisor.getStack(stackId);
|
ActivityStackTests.java | 111 ActivityManager.StackId.FULLSCREEN_WORKSPACE_STACK_ID); 114 ActivityManager.StackId.HOME_STACK_ID, true /*createStaticStackIfNeeded*/,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
RecentsTransitionHelper.java | 19 import static android.app.ActivityManager.StackId.ASSISTANT_STACK_ID; 20 import static android.app.ActivityManager.StackId.DOCKED_STACK_ID; 21 import static android.app.ActivityManager.StackId.FREEFORM_WORKSPACE_STACK_ID; 22 import static android.app.ActivityManager.StackId.FULLSCREEN_WORKSPACE_STACK_ID; 23 import static android.app.ActivityManager.StackId.INVALID_STACK_ID; 26 import android.app.ActivityManager.StackId; 284 destinationStack : task.key.stackId; 285 if (!StackId.useAnimationSpecForAppTransition(targetStackId)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
CarNavigationBarController.java | 18 import android.app.ActivityManager.StackId; 104 public void taskChanged(String packageName, int stackId) { 119 && stackId != StackId.HOME_STACK_ID) { 120 mStatusBar.startActivityOnStack(mPersistentTaskIntent, StackId.DOCKED_STACK_ID); 378 int stackId = StackId.FULLSCREEN_WORKSPACE_STACK_ID; 380 stackId = StackId.HOME_STACK_ID; 384 mStatusBar.startActivityOnStack(intent, stackId); [all...] |
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
WindowManagerPermissionTests.java | 27 import static android.app.ActivityManager.StackId.INVALID_STACK_ID;
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
Am.java | 21 import static android.app.ActivityManager.StackId.DOCKED_STACK_ID; 22 import static android.app.ActivityManager.StackId.INVALID_STACK_ID;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
SystemServicesProxy.java | 19 import static android.app.ActivityManager.StackId.DOCKED_STACK_ID; 20 import static android.app.ActivityManager.StackId.FREEFORM_WORKSPACE_STACK_ID; 21 import static android.app.ActivityManager.StackId.FULLSCREEN_WORKSPACE_STACK_ID; 22 import static android.app.ActivityManager.StackId.HOME_STACK_ID; 23 import static android.app.ActivityManager.StackId.INVALID_STACK_ID; 24 import static android.app.ActivityManager.StackId.PINNED_STACK_ID; 25 import static android.app.ActivityManager.StackId.RECENTS_STACK_ID; 493 int stackId = task.stackId; 494 if (stackId != RECENTS_STACK_ID && stackId != PINNED_STACK_ID) [all...] |
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
VoiceInteractionManagerServiceImpl.java | 25 import android.app.ActivityManager.StackId; 226 options.setLaunchStackId(StackId.ASSISTANT_STACK_ID);
|