/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
D | Task.java | 60 public int windowingMode; field in Task.TaskKey 87 this.windowingMode = t.configuration.windowConfiguration.getWindowingMode(); in TaskKey() 96 public TaskKey(int id, int windowingMode, @NonNull Intent intent, in TaskKey() argument 99 this.windowingMode = windowingMode; in TaskKey() 108 public TaskKey(int id, int windowingMode, @NonNull Intent intent, in TaskKey() argument 111 this.windowingMode = windowingMode; in TaskKey() 120 public void setWindowingMode(int windowingMode) { in setWindowingMode() argument 121 this.windowingMode = windowingMode; in setWindowingMode() 147 && windowingMode == otherKey.windowingMode in equals() 158 return "id=" + id + " windowingMode=" + windowingMode + " user=" + userId in toString() [all …]
|
D | ThumbnailData.kt | 38 @JvmField var windowingMode: Int = WindowConfiguration.WINDOWING_MODE_UNDEFINED, in <lambda>() variable in com.android.systemui.shared.recents.model.ThumbnailData 95 windowingMode = snapshot.windowingMode, in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskDisplayArea.java | 116 boolean contains(int windowingMode, int activityType) { in contains() argument 117 return ArrayUtils.contains(windowingModes, windowingMode) in contains() 206 Task getRootTask(int windowingMode, int activityType) { in getRootTask() argument 210 if (windowingMode == WINDOWING_MODE_PINNED) { in getRootTask() 215 && windowingMode == rootTask.getWindowingMode()) { in getRootTask() 220 return rootTask.isCompatible(windowingMode, activityType); in getRootTask() 273 final int windowingMode = rootTask.getWindowingMode(); 274 if (windowingMode == WINDOWING_MODE_PINNED) { 869 Task getOrCreateRootTask(int windowingMode, int activityType, boolean onTop) { 870 return getOrCreateRootTask(windowingMode, activityType, onTop, null /* candidateTask */, [all …]
|
D | DisplayWindowPolicyControllerHelper.java | 75 @WindowConfiguration.WindowingMode int windowingMode) { in canContainActivities() argument 86 return mDisplayWindowPolicyController.canContainActivities(activities, windowingMode); in canContainActivities() 93 Intent intent, @WindowConfiguration.WindowingMode int windowingMode, in canActivityBeLaunched() argument 101 windowingMode, launchingFromDisplayId, isNewTask); in canActivityBeLaunched() 177 @WindowConfiguration.WindowingMode int windowingMode) { in isWindowingModeSupported() 181 return mDisplayWindowPolicyController.isWindowingModeSupported(windowingMode); in isWindowingModeSupported()
|
D | ConfigurationContainer.java | 569 public void setWindowingMode(/*@WindowConfiguration.WindowingMode*/ int windowingMode) { in setWindowingMode() argument 571 mRequestsTmpConfig.windowConfiguration.setWindowingMode(windowingMode); in setWindowingMode() 591 /*@WindowConfiguration.WindowingMode*/ int windowingMode = in inMultiWindowMode() local 593 return WindowConfiguration.inMultiWindowMode(windowingMode); in inMultiWindowMode() 741 public boolean isCompatible(int windowingMode, int activityType) { in isCompatible() argument 745 final boolean sameWindowingMode = thisWindowingMode == windowingMode; in isCompatible() 838 int windowingMode = mFullConfiguration.windowConfiguration.getWindowingMode(); in dumpDebugWindowingMode() local 839 proto.write(WINDOWING_MODE, windowingMode); in dumpDebugWindowingMode()
|
/frameworks/base/core/java/android/window/ |
D | DisplayWindowPolicyController.java | 96 @WindowConfiguration.WindowingMode int windowingMode) { in isWindowingModeSupported() 98 return mSupportedWindowingModes.contains(windowingMode); in isWindowingModeSupported() 128 @WindowConfiguration.WindowingMode int windowingMode) { in canContainActivities() argument 130 if (!canContainActivity(activities.get(i), windowingMode, in canContainActivities() 144 @Nullable Intent intent, @WindowConfiguration.WindowingMode int windowingMode, in canActivityBeLaunched() argument 152 @WindowConfiguration.WindowingMode int windowingMode, in canContainActivity() argument
|
D | TaskFragmentCreationParams.java | 118 @WindowingMode int windowingMode, @Nullable IBinder pairedPrimaryFragmentToken, in TaskFragmentCreationParams() argument 129 mWindowingMode = windowingMode; in TaskFragmentCreationParams() 297 public Builder setWindowingMode(@WindowingMode int windowingMode) { in setWindowingMode() argument 298 mWindowingMode = windowingMode; in setWindowingMode()
|
D | TaskOrganizer.java | 156 public void createRootTask(int displayId, int windowingMode, @Nullable IBinder launchCookie, in createRootTask() argument 159 mTaskOrganizerController.createRootTask(displayId, windowingMode, launchCookie, in createRootTask() 175 public void createRootTask(int displayId, int windowingMode, @Nullable IBinder launchCookie) { in createRootTask() argument 176 createRootTask(displayId, windowingMode, launchCookie, false /* removeWithTaskOrganizer */); in createRootTask()
|
D | TaskSnapshot.java | 97 boolean isRealSnapshot, int windowingMode, in TaskSnapshot() argument 113 mWindowingMode = windowingMode; in TaskSnapshot() 432 public Builder setWindowingMode(int windowingMode) { 433 mWindowingMode = windowingMode;
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/ |
D | DesktopModeWindowDecorViewModelTests.kt | 189 val task = createTask(windowingMode = WINDOWING_MODE_FREEFORM) in testDeleteCaptionOnChangeTransitionWhenNecessary() 216 windowingMode = WINDOWING_MODE_UNDEFINED, in testCreateCaptionOnChangeTransitionWhenNecessary() 253 val task = createTask(windowingMode = WINDOWING_MODE_FREEFORM) in testCreateAndDisposeEventReceiver() 267 val task = createTask(displayId = DEFAULT_DISPLAY, windowingMode = WINDOWING_MODE_FREEFORM) in testEventReceiversOnMultipleDisplays() 270 windowingMode = WINDOWING_MODE_FREEFORM in testEventReceiversOnMultipleDisplays() 274 windowingMode = WINDOWING_MODE_FREEFORM in testEventReceiversOnMultipleDisplays() 295 windowingMode = WINDOWING_MODE_FREEFORM in testBackEventHasRightDisplayId() 326 val task = createTask(windowingMode = WINDOWING_MODE_FULLSCREEN, focused = true) in testCaptionIsNotCreatedWhenKeyguardIsVisible() 348 val task = createTask(windowingMode = WINDOWING_MODE_FULLSCREEN, focused = true).apply { in testDecorationIsNotCreatedForTopTranslucentActivities() 360 val task = createTask(windowingMode = WINDOWING_MODE_FULLSCREEN, focused = true) in testDecorationIsNotCreatedForSystemUIActivities() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/ |
D | DesktopModeVisualIndicator.java | 103 IndicatorType updateIndicatorType(PointF inputCoordinates, int windowingMode) { in updateIndicatorType() argument 113 final Region fullscreenRegion = calculateFullscreenRegion(layout, windowingMode, in updateIndicatorType() 115 final Region splitLeftRegion = calculateSplitLeftRegion(layout, windowingMode, in updateIndicatorType() 117 final Region splitRightRegion = calculateSplitRightRegion(layout, windowingMode, in updateIndicatorType() 119 final Region toDesktopRegion = calculateToDesktopRegion(layout, windowingMode, in updateIndicatorType() 139 @WindowConfiguration.WindowingMode int windowingMode, int captionHeight) { in calculateFullscreenRegion() argument 141 int transitionHeight = windowingMode == WINDOWING_MODE_FREEFORM in calculateFullscreenRegion() 146 if (windowingMode == WINDOWING_MODE_FREEFORM) { in calculateFullscreenRegion() 155 if (windowingMode == WINDOWING_MODE_FULLSCREEN in calculateFullscreenRegion() 156 || windowingMode == WINDOWING_MODE_MULTI_WINDOW) { in calculateFullscreenRegion() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/recents/ |
D | TaskStackTransitionObserverTest.kt | 112 assertThat(listener.taskInfoToBeNotified.windowingMode) in taskCreated_freeformWindow_listenerNotified() 113 .isEqualTo(change.taskInfo?.windowingMode) in taskCreated_freeformWindow_listenerNotified() 135 assertThat(listener.taskInfoToBeNotified.windowingMode) in taskCreated_fullscreenWindow_listenerNotNotified() 167 assertThat(listener.taskInfoToBeNotified.windowingMode) in taskCreated_freeformWindowOnTopOfFreeform_listenerNotified() 168 .isEqualTo(freeformOpenChange.taskInfo?.windowingMode) in taskCreated_freeformWindowOnTopOfFreeform_listenerNotified() 195 fun createTaskInfo(taskId: Int, windowingMode: Int): ActivityManager.RunningTaskInfo { in createTaskInfo() 198 taskInfo.configuration.windowConfiguration.windowingMode = windowingMode in createTaskInfo()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/ |
D | JetpackTaskFragmentOrganizer.java | 131 @WindowingMode int windowingMode, @NonNull SplitAttributes splitAttributes) { in startActivityToSide() argument 137 updateWindowingMode(wct, launchingFragmentToken, windowingMode); in startActivityToSide() 140 launchingRelBounds, windowingMode, launchingActivity); in startActivityToSide() 148 .setWindowingMode(windowingMode) in startActivityToSide() 199 @WindowingMode int windowingMode) { in createTaskFragment() argument 200 createTaskFragment(wct, fragmentToken, ownerToken, relBounds, windowingMode, in createTaskFragment() 212 @NonNull IBinder ownerToken, @NonNull Rect relBounds, @WindowingMode int windowingMode, in createTaskFragment() argument 217 .setWindowingMode(windowingMode) in createTaskFragment() 239 @WindowingMode int windowingMode, @NonNull Activity activity) { in createTaskFragmentAndReparentActivity() argument 241 createTaskFragment(wct, fragmentToken, ownerToken, relBounds, windowingMode, in createTaskFragmentAndReparentActivity() [all …]
|
D | SplitPresenter.java | 194 final int windowingMode = mController.getTaskContainer(taskId) in createNewSplitWithEmptySideContainer() local 197 primaryActivity.getActivityToken(), secondaryRelBounds, windowingMode); in createNewSplitWithEmptySideContainer() 267 final int windowingMode = mController.getTaskContainer(taskId) in prepareContainerForActivity() local 271 relBounds, windowingMode, reparentActivityToken); in prepareContainerForActivity() 276 final int windowingMode = mController.getTaskContainer(taskId) in prepareContainerForActivity() local 278 updateTaskFragmentWindowingModeIfRegistered(wct, container, windowingMode); in prepareContainerForActivity() 323 final int windowingMode = taskContainer.getWindowingModeForTaskFragment( in startActivityToSide() local 329 activityIntent, activityOptions, rule, windowingMode, splitAttributes); in startActivityToSide() 371 final int windowingMode = taskContainer.getWindowingModeForTaskFragment( in updateSplitContainer() local 373 updateTaskFragmentWindowingModeIfRegistered(wct, primaryContainer, windowingMode); in updateSplitContainer() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/ |
D | RootDisplayAreaOrganizer.java | 127 @WindowConfiguration.WindowingMode int windowingMode) { in prepareWindowingModeChange() argument 139 windowingMode); in prepareWindowingModeChange() 141 wct.setWindowingMode(displayAreaInfo.token, windowingMode); in prepareWindowingModeChange() 153 int windowingMode = in dump() local 155 pw.println(innerPrefix + "# displayId=" + displayId + " wmMode=" + windowingMode); in dump()
|
/frameworks/base/services/core/java/com/android/server/media/projection/ |
D | FrameworkStatsLogWrapper.java | 52 int windowingMode) { in writeTargetChanged() argument 59 windowingMode); in writeTargetChanged()
|
D | MediaProjectionMetricsLogger.java | 198 int contentToRecord, int hostUid, int targetUid, int windowingMode) { in logChangedWindowingMode() argument 205 windowingModeToTargetWindowingMode(windowingMode)); in logChangedWindowingMode() 221 public int windowingModeToTargetWindowingMode(@WindowingMode int windowingMode) { in windowingModeToTargetWindowingMode() argument 222 return switch (windowingMode) { in windowingModeToTargetWindowingMode()
|
/frameworks/base/core/java/android/app/ |
D | WindowConfiguration.java | 396 public void setWindowingMode(@WindowingMode int windowingMode) { in setWindowingMode() argument 397 mWindowingMode = windowingMode; in setWindowingMode() 808 public static boolean isFloating(@WindowingMode int windowingMode) { in isFloating() argument 809 return windowingMode == WINDOWING_MODE_FREEFORM || windowingMode == WINDOWING_MODE_PINNED; in isFloating() 817 public static boolean inMultiWindowMode(int windowingMode) { in inMultiWindowMode() argument 818 return windowingMode != WINDOWING_MODE_FULLSCREEN in inMultiWindowMode() 819 && windowingMode != WINDOWING_MODE_UNDEFINED; in inMultiWindowMode() 892 public static String windowingModeToString(@WindowingMode int windowingMode) { in windowingModeToString() argument 893 switch (windowingMode) { in windowingModeToString() 900 return String.valueOf(windowingMode); in windowingModeToString()
|
D | FullscreenRequestHandler.java | 99 private static int earlyCheckRequestMatchesWindowingMode(int request, int windowingMode) { in earlyCheckRequestMatchesWindowingMode() argument 101 if (windowingMode != WINDOWING_MODE_FULLSCREEN) { in earlyCheckRequestMatchesWindowingMode()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | LaunchParamsModifierTestsBase.java | 51 TestDisplayContent createNewDisplayContent(int windowingMode) { in createNewDisplayContent() argument 52 return createNewDisplayContent(windowingMode, DISPLAY_BOUNDS, DISPLAY_STABLE_BOUNDS); in createNewDisplayContent() 55 TestDisplayContent createNewDisplayContent(int windowingMode, Rect displayBounds, in createNewDisplayContent() argument 58 display.getDefaultTaskDisplayArea().setWindowingMode(windowingMode); in createNewDisplayContent()
|
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/ |
D | LaunchParamsWrapper.java | 80 public void setWindowingMode(int windowingMode) { in setWindowingMode() argument 81 mLaunchParams.mWindowingMode = windowingMode; in setWindowingMode()
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | GenericWindowPolicyController.java | 300 @Nullable Intent intent, @WindowConfiguration.WindowingMode int windowingMode, in canActivityBeLaunched() argument 308 if (!canContainActivity(activityInfo, windowingMode, launchingFromDisplayId, in canActivityBeLaunched() 314 if (!canContainActivity(activityInfo, windowingMode, launchingFromDisplayId, in canActivityBeLaunched() 330 @WindowConfiguration.WindowingMode int windowingMode, int launchingFromDisplayId, in canContainActivity() argument 337 if (!isWindowingModeSupported(windowingMode)) { in canContainActivity() 339 "Virtual device doesn't support windowing mode " + windowingMode); in canContainActivity()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/ |
D | DesktopTasksControllerTest.kt | 208 tda.configuration.windowConfiguration.windowingMode = WINDOWING_MODE_FULLSCREEN in <lambda>() 621 tda.configuration.windowConfiguration.windowingMode = WINDOWING_MODE_FULLSCREEN in <lambda>() 624 assertThat(wct.changes[task.token.asBinder()]?.windowingMode).isEqualTo(WINDOWING_MODE_FREEFORM) in <lambda>() 631 tda.configuration.windowConfiguration.windowingMode = WINDOWING_MODE_FREEFORM in <lambda>() 634 assertThat(wct.changes[task.token.asBinder()]?.windowingMode) in <lambda>() 692 assertThat(wct.changes[task.token.asBinder()]?.windowingMode).isEqualTo(WINDOWING_MODE_FREEFORM) in <lambda>() 709 assertThat(changes[fullscreenTask.token.asBinder()]?.windowingMode) in <lambda>() 729 assertThat(changes[fullscreenTask.token.asBinder()]?.windowingMode) in <lambda>() 760 assertThat(wct.changes[task.token.asBinder()]?.windowingMode).isEqualTo(WINDOWING_MODE_FREEFORM) in <lambda>() 770 assertThat(wct.changes[task.token.asBinder()]?.windowingMode).isEqualTo(WINDOWING_MODE_FREEFORM) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ScreenshotPolicyImplTest.kt | 138 windowingMode = PictureInPicture, 150 windowingMode = FullScreen, 163 windowingMode = FullScreen,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/policy/ |
D | WorkProfilePolicy.kt | 51 if (it.windowingMode == WINDOWING_MODE_FREEFORM) { in <lambda>() 61 it.isVisible && it.windowingMode != WINDOWING_MODE_PINNED && it.hasChildTasks() in <lambda>()
|