/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityDisplay.java | 339 <T extends ActivityStack> T getStack(int windowingMode, int activityType) { in getStack() argument 345 if (windowingMode == WINDOWING_MODE_PINNED) { in getStack() 347 } else if (windowingMode == WINDOWING_MODE_SPLIT_SCREEN_PRIMARY) { in getStack() 353 if (stack.isCompatible(windowingMode, activityType)) { in getStack() 360 private boolean alwaysCreateStack(int windowingMode, int activityType) { in alwaysCreateStack() argument 364 && (windowingMode == WINDOWING_MODE_FULLSCREEN in alwaysCreateStack() 365 || windowingMode == WINDOWING_MODE_FREEFORM in alwaysCreateStack() 366 || windowingMode == WINDOWING_MODE_SPLIT_SCREEN_SECONDARY); in alwaysCreateStack() 375 <T extends ActivityStack> T getOrCreateStack(int windowingMode, int activityType, in getOrCreateStack() argument 377 if (!alwaysCreateStack(windowingMode, activityType)) { in getOrCreateStack() [all …]
|
D | ConfigurationContainer.java | 362 public void setWindowingMode(/*@WindowConfiguration.WindowingMode*/ int windowingMode) { in setWindowingMode() argument 364 mTmpConfig.windowConfiguration.setWindowingMode(windowingMode); in setWindowingMode() 381 void setDisplayWindowingMode(int windowingMode) { in setDisplayWindowingMode() argument 383 mTmpConfig.windowConfiguration.setDisplayWindowingMode(windowingMode); in setDisplayWindowingMode() 392 /*@WindowConfiguration.WindowingMode*/ int windowingMode = in inMultiWindowMode() local 394 return windowingMode != WINDOWING_MODE_FULLSCREEN in inMultiWindowMode() 395 && windowingMode != WINDOWING_MODE_UNDEFINED; in inMultiWindowMode() 400 /*@WindowConfiguration.WindowingMode*/ int windowingMode = in inSplitScreenWindowingMode() local 403 return windowingMode == WINDOWING_MODE_SPLIT_SCREEN_PRIMARY in inSplitScreenWindowingMode() 404 || windowingMode == WINDOWING_MODE_SPLIT_SCREEN_SECONDARY; in inSplitScreenWindowingMode() [all …]
|
D | ActivityMetricsLogger.java | 294 @WindowingMode int windowingMode = stack.getWindowingMode(); in logWindowState() local 295 if (windowingMode == WINDOWING_MODE_PINNED) { in logWindowState() 297 windowingMode = stack.getWindowingMode(); in logWindowState() 299 switch (windowingMode) { in logWindowState() 311 if (windowingMode != WINDOWING_MODE_UNDEFINED) { in logWindowState() 313 + " windowingMode=" + windowingMode); in logWindowState() 381 final @WindowingMode int windowingMode = launchedActivity != null in notifyActivityLaunched() local 384 final WindowingModeTransitionInfo info = mWindowingModeTransitionInfo.get(windowingMode); in notifyActivityLaunched() 408 || windowingMode == WINDOWING_MODE_UNDEFINED) && !otherWindowModesLaunching) { in notifyActivityLaunched() 425 mWindowingModeTransitionInfo.put(windowingMode, newInfo); in notifyActivityLaunched() [all …]
|
D | RootActivityContainer.java | 1268 private <T extends ActivityStack> T getStack(int windowingMode, int activityType) { in getStack() argument 1270 final T stack = mActivityDisplays.get(i).getStack(windowingMode, activityType); in getStack() 1326 ActivityManager.StackInfo getStackInfo(int windowingMode, int activityType) { in getStackInfo() argument 1327 final ActivityStack stack = getStack(windowingMode, activityType); in getStackInfo() 1757 int windowingMode = launchParams != null ? launchParams.mWindowingMode in getLaunchStack() local 1759 if (windowingMode == WindowConfiguration.WINDOWING_MODE_UNDEFINED) { in getLaunchStack() 1760 windowingMode = display.resolveWindowingMode(r, options, candidateTask, in getLaunchStack() 1763 if (stack.isCompatible(windowingMode, activityType)) { in getLaunchStack() 1766 if (windowingMode == WINDOWING_MODE_FULLSCREEN_OR_SPLIT_SCREEN_SECONDARY in getLaunchStack() 1822 int windowingMode; in getValidLaunchStackOnDisplay() local [all …]
|
D | ActivityStack.java | 510 int windowingMode, int activityType, boolean onTop) { in ActivityStack() argument 523 setWindowingMode(windowingMode, false /* animate */, false /* showRecents */, in ActivityStack() 669 public void setWindowingMode(int windowingMode) { in setWindowingMode() argument 670 setWindowingMode(windowingMode, false /* animate */, false /* showRecents */, in setWindowingMode() 682 private static boolean isTransientWindowingMode(int windowingMode) { in isTransientWindowingMode() argument 684 return windowingMode == WINDOWING_MODE_SPLIT_SCREEN_PRIMARY in isTransientWindowingMode() 685 || windowingMode == WINDOWING_MODE_SPLIT_SCREEN_SECONDARY; in isTransientWindowingMode() 717 int windowingMode = preferredWindowingMode; in setWindowingModeInSurfaceTransaction() local 721 windowingMode = mRestoreOverrideWindowingMode; in setWindowingModeInSurfaceTransaction() 723 mTmpOptions.setLaunchWindowingMode(windowingMode); in setWindowingModeInSurfaceTransaction() [all …]
|
D | TaskRecord.java | 1919 final int windowingMode = getWindowingMode(); in saveLaunchingStateIfNeeded() local 1920 if (windowingMode != WindowConfiguration.WINDOWING_MODE_FULLSCREEN in saveLaunchingStateIfNeeded() 1921 && windowingMode != WindowConfiguration.WINDOWING_MODE_FREEFORM) { in saveLaunchingStateIfNeeded() 2089 int windowingMode = inOutConfig.windowConfiguration.getWindowingMode(); in computeConfigResourceOverrides() local 2090 if (windowingMode == WINDOWING_MODE_UNDEFINED) { in computeConfigResourceOverrides() 2091 windowingMode = parentConfig.windowConfiguration.getWindowingMode(); in computeConfigResourceOverrides() 2109 if (insideParentBounds && windowingMode != WINDOWING_MODE_FREEFORM) { in computeConfigResourceOverrides() 2162 if (WindowConfiguration.isFloating(windowingMode)) { in computeConfigResourceOverrides() 2166 } else if (WindowConfiguration.isSplitScreenWindowingMode(windowingMode)) { in computeConfigResourceOverrides() 2202 int windowingMode = in resolveOverrideConfiguration() local [all …]
|
D | DisplayWindowSettings.java | 273 int windowingMode = entry != null ? entry.mWindowingMode in getWindowingModeLocked() local 277 if (windowingMode == WindowConfiguration.WINDOWING_MODE_FREEFORM in getWindowingModeLocked() 282 if (windowingMode == WindowConfiguration.WINDOWING_MODE_UNDEFINED) { in getWindowingModeLocked() 285 windowingMode = mService.mSupportsFreeformWindowManagement in getWindowingModeLocked() 290 return windowingMode; in getWindowingModeLocked()
|
D | TaskSnapshotLoader.java | 98 reducedResolution, scale, proto.isRealSnapshot, proto.windowingMode, in loadTask()
|
D | DisplayContent.java | 2025 TaskStack getTopStackInWindowingMode(int windowingMode) { in getTopStackInWindowingMode() argument 2026 return getStack(windowingMode, ACTIVITY_TYPE_UNDEFINED); in getTopStackInWindowingMode() 2033 TaskStack getStack(int windowingMode, int activityType) { in getStack() argument 2034 return mTaskStackContainers.getStack(windowingMode, activityType); in getStack() 2114 public void setWindowingMode(int windowingMode) { in setWindowingMode() argument 2115 super.setWindowingMode(windowingMode); in setWindowingMode() 2116 super.setDisplayWindowingMode(windowingMode); in setWindowingMode() 2120 void setDisplayWindowingMode(int windowingMode) { in setDisplayWindowingMode() argument 2121 setWindowingMode(windowingMode); in setDisplayWindowingMode() 2967 boolean isStackVisible(int windowingMode) { in isStackVisible() argument [all …]
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
D | Task.java | 60 public int windowingMode; field in Task.TaskKey 86 this.windowingMode = t.configuration.windowConfiguration.getWindowingMode(); in TaskKey() 95 public TaskKey(int id, int windowingMode, Intent intent, in TaskKey() argument 98 this.windowingMode = windowingMode; in TaskKey() 107 public TaskKey(int id, int windowingMode, Intent intent, in TaskKey() argument 110 this.windowingMode = windowingMode; in TaskKey() 119 public void setWindowingMode(int windowingMode) { in setWindowingMode() argument 120 this.windowingMode = windowingMode; in setWindowingMode() 142 && windowingMode == otherKey.windowingMode in equals() 153 return "id=" + id + " windowingMode=" + windowingMode + " user=" + userId in toString() [all …]
|
D | ThumbnailData.java | 38 public int windowingMode; field in ThumbnailData 50 windowingMode = WINDOWING_MODE_UNDEFINED; in ThumbnailData() 62 windowingMode = snapshot.getWindowingMode(); in ThumbnailData()
|
D | TaskKeyCache.java | 48 if ((lastKey.windowingMode != key.windowingMode) || in getAndInvalidateIfModified()
|
/frameworks/base/core/java/android/app/ |
D | WindowConfiguration.java | 329 public void setWindowingMode(@WindowingMode int windowingMode) { in setWindowingMode() argument 330 mWindowingMode = windowingMode; in setWindowingMode() 339 public void setDisplayWindowingMode(@WindowingMode int windowingMode) { in setDisplayWindowingMode() argument 340 mDisplayWindowingMode = windowingMode; in setDisplayWindowingMode() 681 public static boolean isFloating(int windowingMode) { in isFloating() argument 682 return windowingMode == WINDOWING_MODE_FREEFORM || windowingMode == WINDOWING_MODE_PINNED; in isFloating() 689 public static boolean isSplitScreenWindowingMode(int windowingMode) { in isSplitScreenWindowingMode() argument 690 return windowingMode == WINDOWING_MODE_SPLIT_SCREEN_PRIMARY in isSplitScreenWindowingMode() 691 || windowingMode == WINDOWING_MODE_SPLIT_SCREEN_SECONDARY; in isSplitScreenWindowingMode() 763 public static String windowingModeToString(@WindowingMode int windowingMode) { in windowingModeToString() argument [all …]
|
D | ActivityTaskManager.java | 168 public void setTaskWindowingMode(int taskId, int windowingMode, boolean toTop) in setTaskWindowingMode() argument 171 getService().setTaskWindowingMode(taskId, windowingMode, toTop); in setTaskWindowingMode()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | RecentsTransitionComposer.java | 96 final TaskStackView stackView, int windowingMode, int activityType, Rect windowRect) { in composeAnimationSpecs() argument 108 if (windowingMode == WINDOWING_MODE_FULLSCREEN in composeAnimationSpecs() 109 || windowingMode == WINDOWING_MODE_SPLIT_SCREEN_PRIMARY in composeAnimationSpecs() 110 || windowingMode == WINDOWING_MODE_SPLIT_SCREEN_SECONDARY in composeAnimationSpecs() 112 || windowingMode == WINDOWING_MODE_UNDEFINED) { in composeAnimationSpecs()
|
D | RecentsView.java | 926 final boolean screenPinningRequested, final int windowingMode, final int activityType) { 938 return mTransitionHelper.composeAnimationSpecs(task, stackView, windowingMode, 1007 windowingMode, activityType); 1012 startTaskActivity(stack, task, taskView, opts, transitionFuture, windowingMode, 1026 int windowingMode, int activityType) { 1028 windowingMode, activityType, succeeded -> {
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowTestsBase.java | 258 DisplayContent dc, int windowingMode, int activityType, int type) { in createWindowToken() argument 264 return createAppWindowToken(dc, windowingMode, activityType); in createWindowToken() 268 AppWindowToken createAppWindowToken(DisplayContent dc, int windowingMode, int activityType) { in createAppWindowToken() argument 269 return createTestAppWindowToken(dc, windowingMode, activityType); in createAppWindowToken() 273 windowingMode, int activityType) { in createTestAppWindowToken() argument 274 final TaskStack stack = createTaskStackOnDisplay(windowingMode, activityType, dc); in createTestAppWindowToken() 298 WindowState createWindowOnStack(WindowState parent, int windowingMode, int activityType, in createWindowOnStack() argument 301 final WindowToken token = createWindowToken(dc, windowingMode, activityType, type); in createWindowOnStack() 387 TaskStack createTaskStackOnDisplay(int windowingMode, int activityType, DisplayContent dc) { in createTaskStackOnDisplay() argument 390 overrideConfig.windowConfiguration.setWindowingMode(windowingMode); in createTaskStackOnDisplay()
|
D | TaskSnapshotPersisterTestBase.java | 140 TaskSnapshotBuilder setWindowingMode(int windowingMode) { in setWindowingMode() argument 141 mWindowingMode = windowingMode; in setWindowingMode()
|
D | ActivityTestsBase.java | 719 ActivityStack createStackUnchecked(int windowingMode, int activityType, in createStackUnchecked() argument 722 .setWindowingMode(windowingMode).setActivityType(activityType) in createStackUnchecked() 784 int windowingMode, int activityType, boolean onTop, boolean createActivity) { in TestActivityStack() argument 785 super(display, stackId, supervisor, windowingMode, activityType, onTop); in TestActivityStack() 882 StackBuilder setWindowingMode(int windowingMode) { in setWindowingMode() argument 883 mWindowingMode = windowingMode; in setWindowingMode()
|
D | LaunchParamsControllerTests.java | 298 final int windowingMode = WINDOWING_MODE_FREEFORM; in testLayoutTaskWindowingModeChange() local 299 params.mWindowingMode = windowingMode; in testLayoutTaskWindowingModeChange() 306 assertNotEquals(windowingMode, beforeWindowMode); in testLayoutTaskWindowingModeChange() 311 assertEquals(windowingMode, afterWindowMode); in testLayoutTaskWindowingModeChange()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/events/activity/ |
D | LaunchTaskEvent.java | 47 boolean screenPinningRequested, int windowingMode, int activityType) { in LaunchTaskEvent() argument 51 this.targetWindowingMode = windowingMode; in LaunchTaskEvent()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/ |
D | RecentsTaskLoadPlan.java | 114 final int windowingMode = t.configuration.windowConfiguration.getWindowingMode(); in preloadPlan() local 115 TaskKey taskKey = new TaskKey(t.persistentId, windowingMode, t.baseIntent, in preloadPlan() 118 boolean isFreeformTask = windowingMode == WINDOWING_MODE_FREEFORM; in preloadPlan()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/misc/ |
D | SystemServicesProxy.java | 215 final int windowingMode = winConfig.getWindowingMode(); in isRecentsActivityVisible() local 219 && (windowingMode == WINDOWING_MODE_FULLSCREEN in isRecentsActivityVisible() 220 || windowingMode == WINDOWING_MODE_SPLIT_SCREEN_SECONDARY)) { in isRecentsActivityVisible() 329 public void setTaskWindowingMode(int taskId, int windowingMode) { in setTaskWindowingMode() argument 333 mIatm.setTaskWindowingMode(taskId, windowingMode, false /* onTop */); in setTaskWindowingMode()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | ActivityManagerWrapper.java | 294 int windowingMode, int activityType, final Consumer<Boolean> resultCallback, in startActivityFromRecentsAsync() argument 296 if (taskKey.windowingMode == WINDOWING_MODE_SPLIT_SCREEN_PRIMARY) { in startActivityFromRecentsAsync() 303 } else if (windowingMode != WINDOWING_MODE_UNDEFINED in startActivityFromRecentsAsync() 308 options.setLaunchWindowingMode(windowingMode); in startActivityFromRecentsAsync()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | InstantAppNotifier.java | 161 final int windowingMode = in updateForegroundInstantApps() local 164 if (windowingMode == WINDOWING_MODE_FULLSCREEN in updateForegroundInstantApps() 165 || windowingMode == WINDOWING_MODE_SPLIT_SCREEN_SECONDARY) { in updateForegroundInstantApps()
|