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

12

/frameworks/base/services/core/java/com/android/server/am/
H A DActivityDisplay.java201 <T extends ActivityStack> T getStack(int windowingMode, int activityType) { argument
207 if (windowingMode == WINDOWING_MODE_PINNED) {
209 } else if (windowingMode == WINDOWING_MODE_SPLIT_SCREEN_PRIMARY) {
215 if (stack.isCompatible(windowingMode, activityType)) {
222 private boolean alwaysCreateStack(int windowingMode, int activityType) { argument
226 && (windowingMode == WINDOWING_MODE_FULLSCREEN
227 || windowingMode == WINDOWING_MODE_FREEFORM
228 || windowingMode == WINDOWING_MODE_SPLIT_SCREEN_SECONDARY);
237 <T extends ActivityStack> T getOrCreateStack(int windowingMode, int activityType, argument
239 if (!alwaysCreateStack(windowingMode, activityTyp
275 createStack(int windowingMode, int activityType, boolean onTop) argument
316 createStackUnchecked(int windowingMode, int activityType, int stackId, boolean onTop) argument
478 isWindowingModeSupported(int windowingMode, boolean supportsMultiWindow, boolean supportsSplitScreen, boolean supportsFreeform, boolean supportsPip, int activityType) argument
591 getTopStackInWindowingMode(int windowingMode) argument
[all...]
H A DLaunchTimeTracker.java41 void stopFullyDrawnTraceIfNeeded(int windowingMode) { argument
42 final Entry entry = mWindowingModeLaunchTime.get(windowingMode);
49 Entry getEntry(int windowingMode) { argument
50 return mWindowingModeLaunchTime.get(windowingMode);
H A DActivityMetricsLogger.java193 int windowingMode = stack.getWindowingMode();
194 if (windowingMode == WINDOWING_MODE_PINNED) {
196 windowingMode = stack.getWindowingMode();
198 switch (windowingMode) {
210 if (windowingMode != WINDOWING_MODE_UNDEFINED) {
212 + " windowingMode=" + windowingMode);
286 final int windowingMode = launchedActivity != null
294 final WindowingModeTransitionInfo info = mWindowingModeTransitionInfo.get(windowingMode);
303 || windowingMode
335 notifyWindowsDrawn(int windowingMode, long timestamp) argument
352 notifyStartingWindowDrawn(int windowingMode, long timestamp) argument
[all...]
H A DActivityStack.java454 int windowingMode, int activityType, boolean onTop) {
466 setWindowingMode(windowingMode);
514 public void setWindowingMode(int windowingMode) { argument
515 setWindowingMode(windowingMode, false /* animate */, false /* showRecents */,
530 int windowingMode = creating
534 if (splitScreenStack == this && windowingMode == WINDOWING_MODE_SPLIT_SCREEN_SECONDARY) {
537 windowingMode = WINDOWING_MODE_FULLSCREEN;
546 if (alreadyInSplitScreenMode && windowingMode == WINDOWING_MODE_FULLSCREEN
562 if (currentMode == windowingMode) {
570 if (sendNonResizeableNotification && windowingMode !
453 ActivityStack(ActivityDisplay display, int stackId, ActivityStackSupervisor supervisor, int windowingMode, int activityType, boolean onTop) argument
659 isCompatible(int windowingMode, int activityType) argument
[all...]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
H A DTask.java55 public int windowingMode; field in class:Task.TaskKey
68 public TaskKey(int id, int windowingMode, Intent intent, argument
71 this.windowingMode = windowingMode;
79 public void setWindowingMode(int windowingMode) { argument
80 this.windowingMode = windowingMode;
102 && windowingMode == otherKey.windowingMode
113 return "id=" + id + " windowingMode
245 setWindowingMode(int windowingMode) argument
[all...]
H A DThumbnailData.java37 public int windowingMode; field in class:ThumbnailData
49 windowingMode = WINDOWING_MODE_UNDEFINED;
61 windowingMode = snapshot.getWindowingMode();
H A DTaskKeyCache.java48 if ((lastKey.windowingMode != key.windowingMode) ||
H A DRecentsTaskLoadPlan.java111 final int windowingMode = t.configuration.windowConfiguration.getWindowingMode();
112 TaskKey taskKey = new TaskKey(t.persistentId, windowingMode, t.baseIntent,
115 boolean isFreeformTask = windowingMode == WINDOWING_MODE_FREEFORM;
/frameworks/base/services/core/java/com/android/server/wm/
H A DConfigurationContainer.java299 public void setWindowingMode(/*@WindowConfiguration.WindowingMode*/ int windowingMode) { argument
301 mTmpConfig.windowConfiguration.setWindowingMode(windowingMode);
310 /*@WindowConfiguration.WindowingMode*/ int windowingMode =
312 return windowingMode != WINDOWING_MODE_FULLSCREEN
313 && windowingMode != WINDOWING_MODE_UNDEFINED;
318 /*@WindowConfiguration.WindowingMode*/ int windowingMode =
321 return windowingMode == WINDOWING_MODE_SPLIT_SCREEN_PRIMARY
322 || windowingMode == WINDOWING_MODE_SPLIT_SCREEN_SECONDARY;
327 /*@WindowConfiguration.WindowingMode*/ int windowingMode =
330 return windowingMode
426 isCompatible(int windowingMode, int activityType) argument
[all...]
H A DStackWindowController.java256 * before mContainer has been updated, any relevant properties (like {@param windowingMode})
262 Configuration parentConfig, int windowingMode) {
285 if (WindowConfiguration.isFloating(windowingMode)) {
288 if (windowingMode == WindowConfiguration.WINDOWING_MODE_PINNED
329 insetBounds != null ? insetBounds : bounds, density, windowingMode);
352 * {@param windowingMode}. Avoid using values from mContainer since they can be out-of-date.
356 private int getSmallestWidthForTaskBounds(Rect bounds, float density, int windowingMode) { argument
364 } else if (WindowConfiguration.isFloating(windowingMode)) {
259 adjustConfigurationForBounds(Rect bounds, Rect insetBounds, Rect nonDecorBounds, Rect stableBounds, boolean overrideWidth, boolean overrideHeight, float density, Configuration config, Configuration parentConfig, int windowingMode) argument
H A DTaskSnapshotLoader.java93 proto.isRealSnapshot, proto.windowingMode, proto.systemUiVisibility,
H A DWindowManagerInternal.java394 public abstract boolean isStackVisible(int windowingMode); argument
H A DDisplayContent.java1559 TaskStack getTopStackInWindowingMode(int windowingMode) { argument
1560 return getStack(windowingMode, ACTIVITY_TYPE_UNDEFINED);
1567 TaskStack getStack(int windowingMode, int activityType) { argument
1568 return mTaskStackContainers.getStack(windowingMode, activityType);
2329 boolean isStackVisible(int windowingMode) { argument
2330 final TaskStack stack = getTopStackInWindowingMode(windowingMode);
3265 TaskStack getStack(int windowingMode, int activityType) { argument
3269 if (windowingMode == WINDOWING_MODE_PINNED) {
3271 } else if (windowingMode == WINDOWING_MODE_SPLIT_SCREEN_PRIMARY) {
3277 && windowingMode
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/activity/
H A DLaunchTaskEvent.java47 boolean screenPinningRequested, int windowingMode, int activityType) {
51 this.targetWindowingMode = windowingMode;
46 LaunchTaskEvent(TaskView taskView, Task task, Rect targetTaskBounds, boolean screenPinningRequested, int windowingMode, int activityType) argument
/frameworks/base/core/java/android/app/
H A DWindowConfiguration.java248 public void setWindowingMode(@WindowingMode int windowingMode) { argument
249 mWindowingMode = windowingMode;
502 * Returns true if the windowingMode represents a floating window.
505 public static boolean isFloating(int windowingMode) { argument
506 return windowingMode == WINDOWING_MODE_FREEFORM || windowingMode == WINDOWING_MODE_PINNED;
577 public static String windowingModeToString(@WindowingMode int windowingMode) { argument
578 switch (windowingMode) {
586 return String.valueOf(windowingMode);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DRecentsTransitionComposer.java97 final TaskStackView stackView, int windowingMode, int activityType, Rect windowRect) {
109 if (windowingMode == WINDOWING_MODE_FULLSCREEN
110 || windowingMode == WINDOWING_MODE_SPLIT_SCREEN_PRIMARY
111 || windowingMode == WINDOWING_MODE_SPLIT_SCREEN_SECONDARY
113 || windowingMode == WINDOWING_MODE_UNDEFINED) {
96 composeAnimationSpecs(final Task task, final TaskStackView stackView, int windowingMode, int activityType, Rect windowRect) argument
H A DRecentsView.java927 final boolean screenPinningRequested, final int windowingMode, final int activityType) {
939 return mTransitionHelper.composeAnimationSpecs(task, stackView, windowingMode,
1008 windowingMode, activityType);
1013 startTaskActivity(stack, task, taskView, opts, transitionFuture, windowingMode,
1027 int windowingMode, int activityType) {
1029 windowingMode, activityType, succeeded -> {
925 launchTaskFromRecents(final TaskStack stack, @Nullable final Task task, final TaskStackView stackView, final TaskView taskView, final boolean screenPinningRequested, final int windowingMode, final int activityType) argument
1025 startTaskActivity(TaskStack stack, Task task, @Nullable TaskView taskView, ActivityOptions opts, AppTransitionAnimationSpecsFuture transitionFuture, int windowingMode, int activityType) argument
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DTaskSnapshotPersisterTestBase.java119 public TaskSnapshotBuilder setWindowingMode(int windowingMode) { argument
120 mWindowingMode = windowingMode;
H A DWindowTestsBase.java223 DisplayContent dc, int windowingMode, int activityType, int type) {
229 return createAppWindowToken(dc, windowingMode, activityType);
233 AppWindowToken createAppWindowToken(DisplayContent dc, int windowingMode, int activityType) { argument
234 final TaskStack stack = createStackControllerOnStackOnDisplay(windowingMode, activityType,
251 WindowState createWindowOnStack(WindowState parent, int windowingMode, int activityType, argument
254 final WindowToken token = createWindowToken(dc, windowingMode, activityType, type);
331 int windowingMode, int activityType, DisplayContent dc) {
334 overrideConfig.windowConfiguration.setWindowingMode(windowingMode);
222 createWindowToken( DisplayContent dc, int windowingMode, int activityType, int type) argument
330 createStackControllerOnStackOnDisplay( int windowingMode, int activityType, DisplayContent dc) argument
H A DWindowConfigurationTests.java199 private void testStackBoundsConfiguration(int windowingMode, Rect parentBounds, Rect bounds, argument
202 windowingMode, ACTIVITY_TYPE_STANDARD, mDisplayContent);
212 windowingMode);
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DLaunchParamsControllerTests.java210 * Ensures that {@link LaunchParamsModifier} requests specifying windowingMode during
216 final int windowingMode = WINDOWING_MODE_FREEFORM;
217 params.mWindowingMode = windowingMode;
224 assertNotEquals(beforeWindowMode, windowingMode);
229 assertEquals(afterWindowMode, windowingMode);
H A DActivityTestsBase.java458 <T extends ActivityStack> T createStackUnchecked(int windowingMode, int activityType, argument
460 if (windowingMode == WINDOWING_MODE_PINNED) {
475 this, stackId, mSupervisor, windowingMode, activityType, onTop);
520 int windowingMode, int activityType, boolean onTop) {
521 super(display, stackId, supervisor, windowingMode, activityType, onTop);
519 TestActivityStack(ActivityDisplay display, int stackId, ActivityStackSupervisor supervisor, int windowingMode, int activityType, boolean onTop) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DSystemServicesProxy.java214 final int windowingMode = winConfig.getWindowingMode();
218 && (windowingMode == WINDOWING_MODE_FULLSCREEN
219 || windowingMode == WINDOWING_MODE_SPLIT_SCREEN_SECONDARY)) {
326 public void setTaskWindowingMode(int taskId, int windowingMode) { argument
330 mIam.setTaskWindowingMode(taskId, windowingMode, false /* onTop */);
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DActivityManagerWrapper.java287 int windowingMode, int activityType, Consumer<Boolean> resultCallback,
289 if (taskKey.windowingMode == WINDOWING_MODE_SPLIT_SCREEN_PRIMARY) {
296 } else if (windowingMode != WINDOWING_MODE_UNDEFINED
301 options.setLaunchWindowingMode(windowingMode);
286 startActivityFromRecentsAsync(Task.TaskKey taskKey, ActivityOptions options, int windowingMode, int activityType, Consumer<Boolean> resultCallback, Handler resultCallbackHandler) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarPolicy.java541 final int windowingMode =
543 if (windowingMode == WINDOWING_MODE_FULLSCREEN
544 || windowingMode == WINDOWING_MODE_SPLIT_SCREEN_SECONDARY) {
561 private void checkStack(int windowingMode, int activityType, argument
565 ActivityManager.getService().getStackInfo(windowingMode, activityType);

Completed in 1165 milliseconds

12