Home
last modified time | relevance | path

Searched refs:WindowConfiguration (Results 1 – 25 of 298) sorted by relevance

12345678910>>...12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowConfigurationTests.java19 import static android.app.WindowConfiguration.ACTIVITY_TYPE_HOME;
20 import static android.app.WindowConfiguration.ACTIVITY_TYPE_STANDARD;
21 import static android.app.WindowConfiguration.ROTATION_UNDEFINED;
22 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM;
23 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN;
24 import static android.app.WindowConfiguration.WINDOWING_MODE_UNDEFINED;
25 import static android.app.WindowConfiguration.WINDOW_CONFIG_ALWAYS_ON_TOP;
26 import static android.app.WindowConfiguration.WINDOW_CONFIG_APP_BOUNDS;
27 import static android.app.WindowConfiguration.WINDOW_CONFIG_BOUNDS;
28 import static android.app.WindowConfiguration.WINDOW_CONFIG_MAX_BOUNDS;
[all …]
DAppChangeTransitionTests.java19 import static android.app.WindowConfiguration.ACTIVITY_TYPE_STANDARD;
20 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM;
21 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN;
22 import static android.app.WindowConfiguration.WINDOWING_MODE_UNDEFINED;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/policy/
DNewRootTaskInfo.kt20 import android.app.WindowConfiguration.ACTIVITY_TYPE_ASSISTANT
21 import android.app.WindowConfiguration.ACTIVITY_TYPE_DREAM
22 import android.app.WindowConfiguration.ACTIVITY_TYPE_HOME
23 import android.app.WindowConfiguration.ACTIVITY_TYPE_RECENTS
24 import android.app.WindowConfiguration.ACTIVITY_TYPE_STANDARD
25 import android.app.WindowConfiguration.ACTIVITY_TYPE_UNDEFINED
26 import android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM
27 import android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN
28 import android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW
29 import android.app.WindowConfiguration.WINDOWING_MODE_PINNED
[all …]
/frameworks/base/core/java/android/window/
DDisplayWindowPolicyController.java19 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
25 import android.app.WindowConfiguration;
69 mSupportedWindowingModes.add(WindowConfiguration.WINDOWING_MODE_FULLSCREEN); in DisplayWindowPolicyController()
71 mSupportedWindowingModes.add(WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW); in DisplayWindowPolicyController()
96 @WindowConfiguration.WindowingMode int windowingMode) { in isWindowingModeSupported()
128 @WindowConfiguration.WindowingMode int windowingMode) { in canContainActivities()
144 @Nullable Intent intent, @WindowConfiguration.WindowingMode int windowingMode, in canActivityBeLaunched()
152 @WindowConfiguration.WindowingMode int windowingMode, in canContainActivity()
DConfigurationHelper.java24 import android.app.WindowConfiguration;
124 if (newRot == WindowConfiguration.ROTATION_UNDEFINED in isDisplayRotationChanged()
125 || origRot == WindowConfiguration.ROTATION_UNDEFINED) { in isDisplayRotationChanged()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DSplitScreenConstants.java18 import static android.app.WindowConfiguration.ACTIVITY_TYPE_STANDARD;
19 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM;
20 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN;
21 import static android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW;
22 import static android.app.WindowConfiguration.WINDOWING_MODE_UNDEFINED;
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
DTestRunningTaskInfoBuilder.java20 import static android.app.WindowConfiguration.ACTIVITY_TYPE_STANDARD;
21 import static android.app.WindowConfiguration.WINDOWING_MODE_UNDEFINED;
28 import android.app.WindowConfiguration;
44 private @WindowConfiguration.ActivityType int mActivityType = ACTIVITY_TYPE_STANDARD;
45 private @WindowConfiguration.WindowingMode int mWindowingMode = WINDOWING_MODE_UNDEFINED;
84 @WindowConfiguration.ActivityType int activityType) { in setActivityType()
90 @WindowConfiguration.WindowingMode int windowingMode) { in setWindowingMode()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DDesktopTestHelpers.kt20 import android.app.WindowConfiguration.ACTIVITY_TYPE_HOME
21 import android.app.WindowConfiguration.ACTIVITY_TYPE_STANDARD
22 import android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM
23 import android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN
24 import android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
DDragSession.java19 import static android.app.WindowConfiguration.ACTIVITY_TYPE_STANDARD;
20 import static android.app.WindowConfiguration.WINDOWING_MODE_UNDEFINED;
25 import android.app.WindowConfiguration;
59 @WindowConfiguration.WindowingMode
61 @WindowConfiguration.ActivityType
/frameworks/base/core/java/android/app/
DWindowConfiguration.java58 public class WindowConfiguration implements Parcelable, Comparable<WindowConfiguration> { class
211 public WindowConfiguration() { in WindowConfiguration() method in WindowConfiguration
216 public WindowConfiguration(WindowConfiguration configuration) { in WindowConfiguration() method in WindowConfiguration
220 private WindowConfiguration(Parcel in) { in WindowConfiguration() method in WindowConfiguration
254 …ic final @android.annotation.NonNull Creator<WindowConfiguration> CREATOR = new Creator<WindowConf…
256 public WindowConfiguration createFromParcel(Parcel in) {
257 return new WindowConfiguration(in);
261 public WindowConfiguration[] newArray(int size) {
262 return new WindowConfiguration[size];
427 public void setTo(WindowConfiguration other) { in setTo()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/systemsounds/
DHomeSoundEffectController.java21 import android.app.WindowConfiguration;
57 private @WindowConfiguration.ActivityType int mLastActivityType;
133 currentTask.topActivityType == WindowConfiguration.ACTIVITY_TYPE_HOME; in shouldPlayHomeSoundForCurrentTransition()
143 if (mLastActivityType == WindowConfiguration.ACTIVITY_TYPE_ASSISTANT in shouldPlayHomeSoundForCurrentTransition()
147 if (mLastActivityType == WindowConfiguration.ACTIVITY_TYPE_DREAM in shouldPlayHomeSoundForCurrentTransition()
159 currentTask.topActivityType == WindowConfiguration.ACTIVITY_TYPE_HOME; in updateLastTaskInfo()
/frameworks/base/services/core/java/com/android/server/wm/
DConfigurationContainer.java19 import static android.app.WindowConfiguration.ACTIVITY_TYPE_ASSISTANT;
20 import static android.app.WindowConfiguration.ACTIVITY_TYPE_DREAM;
21 import static android.app.WindowConfiguration.ACTIVITY_TYPE_HOME;
22 import static android.app.WindowConfiguration.ACTIVITY_TYPE_RECENTS;
23 import static android.app.WindowConfiguration.ACTIVITY_TYPE_STANDARD;
24 import static android.app.WindowConfiguration.ACTIVITY_TYPE_UNDEFINED;
25 import static android.app.WindowConfiguration.ROTATION_UNDEFINED;
26 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM;
27 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN;
28 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
[all …]
DDisplayWindowPolicyControllerHelper.java21 import android.app.WindowConfiguration;
75 @WindowConfiguration.WindowingMode int windowingMode) { in canContainActivities()
93 Intent intent, @WindowConfiguration.WindowingMode int windowingMode, in canActivityBeLaunched()
177 @WindowConfiguration.WindowingMode int windowingMode) { in isWindowingModeSupported()
DDisplayWindowSettings.java30 import android.app.WindowConfiguration;
129 @WindowConfiguration.WindowingMode
135 if (windowingMode == WindowConfiguration.WINDOWING_MODE_FREEFORM in getWindowingModeLocked()
137 return WindowConfiguration.WINDOWING_MODE_FULLSCREEN; in getWindowingModeLocked()
140 if (windowingMode == WindowConfiguration.WINDOWING_MODE_UNDEFINED) { in getWindowingModeLocked()
143 ? WindowConfiguration.WINDOWING_MODE_FREEFORM in getWindowingModeLocked()
144 : WindowConfiguration.WINDOWING_MODE_FULLSCREEN; in getWindowingModeLocked()
149 @WindowConfiguration.WindowingMode
157 @WindowConfiguration.WindowingMode int mode) { in setWindowingModeLocked()
431 @WindowConfiguration.WindowingMode
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/recents/
DTaskStackTransitionObserverTest.kt20 import android.app.WindowConfiguration
102 createTaskInfo(1, WindowConfiguration.WINDOWING_MODE_FREEFORM) in taskCreated_freeformWindow_listenerNotified()
125 createTaskInfo(1, WindowConfiguration.WINDOWING_MODE_FULLSCREEN) in taskCreated_fullscreenWindow_listenerNotNotified()
136 .isEqualTo(WindowConfiguration.WINDOWING_MODE_UNDEFINED) in taskCreated_fullscreenWindow_listenerNotNotified()
148 createTaskInfo(1, WindowConfiguration.WINDOWING_MODE_FREEFORM) in taskCreated_freeformWindowOnTopOfFreeform_listenerNotified()
153 createTaskInfo(2, WindowConfiguration.WINDOWING_MODE_FREEFORM) in taskCreated_freeformWindowOnTopOfFreeform_listenerNotified()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DKeyguardOcclusionRepository.kt20 import android.app.WindowConfiguration
40 return taskInfo?.topActivityType == WindowConfiguration.ACTIVITY_TYPE_DREAM in isDream()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DFluidResizeTaskPositionerTest.kt4 import android.app.WindowConfiguration in <lambda>()
165 ((change.windowSetMask and WindowConfiguration.WINDOW_CONFIG_BOUNDS) != 0) in <lambda>()
185 ((change.windowSetMask and WindowConfiguration.WINDOW_CONFIG_BOUNDS) != 0) in <lambda>()
198 ((change.windowSetMask and WindowConfiguration.WINDOW_CONFIG_BOUNDS) != 0) in <lambda>()
219 (change.windowSetMask and WindowConfiguration.WINDOW_CONFIG_BOUNDS) != 0 && in <lambda>()
234 (change.windowSetMask and WindowConfiguration.WINDOW_CONFIG_BOUNDS) != 0 && in <lambda>()
328 ((change.windowSetMask and WindowConfiguration.WINDOW_CONFIG_BOUNDS) in <lambda>()
358 ((change.windowSetMask and WindowConfiguration.WINDOW_CONFIG_BOUNDS) in <lambda>()
388 ((change.windowSetMask and WindowConfiguration.WINDOW_CONFIG_BOUNDS) in <lambda>()
418 ((change.windowSetMask and WindowConfiguration.WINDOW_CONFIG_BOUNDS) in <lambda>()
[all …]
DVeiledResizeTaskPositionerTest.kt19 import android.app.WindowConfiguration in <lambda>()
164 (change.windowSetMask and WindowConfiguration.WINDOW_CONFIG_BOUNDS) != 0 && in <lambda>()
205 (change.windowSetMask and WindowConfiguration.WINDOW_CONFIG_BOUNDS) != 0 && in <lambda>()
230 (change.windowSetMask and WindowConfiguration.WINDOW_CONFIG_BOUNDS) != 0 && in <lambda>()
246 (change.windowSetMask and WindowConfiguration.WINDOW_CONFIG_BOUNDS) != 0 && in <lambda>()
272 (change.windowSetMask and WindowConfiguration.WINDOW_CONFIG_BOUNDS) != 0 && in <lambda>()
279 ((change.windowSetMask and WindowConfiguration.WINDOW_CONFIG_BOUNDS) != 0) in <lambda>()
305 ((change.windowSetMask and WindowConfiguration.WINDOW_CONFIG_BOUNDS) != 0) in <lambda>()
372 (change.windowSetMask and WindowConfiguration.WINDOW_CONFIG_BOUNDS) != 0 && in <lambda>()
397 (change.windowSetMask and WindowConfiguration.WINDOW_CONFIG_BOUNDS) != 0 && in <lambda>()
/frameworks/base/core/proto/android/app/
Dwindow_configuration.proto26 /** Proto representation for WindowConfiguration.java class. */
31 …optional int32 windowing_mode = 2 [(.android.typedef) = "android.app.WindowConfiguration.Windowing…
32 …optional int32 activity_type = 3 [(.android.typedef) = "android.app.WindowConfiguration.ActivityTy…
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DWindowPerfRunPreconditionBase.java19 import static android.app.WindowConfiguration.ACTIVITY_TYPE_ASSISTANT;
20 import static android.app.WindowConfiguration.ACTIVITY_TYPE_RECENTS;
21 import static android.app.WindowConfiguration.ACTIVITY_TYPE_STANDARD;
22 import static android.app.WindowConfiguration.ACTIVITY_TYPE_UNDEFINED;
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/
DTaskContainerTest.java19 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM;
20 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN;
21 import static android.app.WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW;
22 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
23 import static android.app.WindowConfiguration.WINDOWING_MODE_UNDEFINED;
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/
DGenericWindowPolicyControllerTest.java38 import android.app.WindowConfiguration;
151 Arrays.asList(WindowConfiguration.WINDOWING_MODE_FULLSCREEN, in isEnteringPipAllowed_dpcSupportsPinned_allowed()
152 WindowConfiguration.WINDOWING_MODE_PINNED))); in isEnteringPipAllowed_dpcSupportsPinned_allowed()
446 WindowConfiguration.WINDOWING_MODE_FULLSCREEN, activityInfo); in canActivityBeLaunched_crossTaskLaunch_fromDefaultDisplay_isNotBlocked()
462 WindowConfiguration.WINDOWING_MODE_FULLSCREEN, activityInfo); in canActivityBeLaunched_crossTaskLaunchFromVirtualDisplay_notExplicitlyBlocked_isNotBlocked()
477 WindowConfiguration.WINDOWING_MODE_FULLSCREEN, activityInfo); in canActivityBeLaunched_crossTaskLaunchFromVirtualDisplay_explicitlyBlocked_isBlocked()
492 WindowConfiguration.WINDOWING_MODE_FULLSCREEN, activityInfo); in canActivityBeLaunched_crossTaskLaunchFromVirtualDisplay_notAllowed_isBlocked()
507 WindowConfiguration.WINDOWING_MODE_FULLSCREEN, activityInfo); in canActivityBeLaunched_crossTaskLaunchFromVirtualDisplay_allowed_isNotBlocked()
520 assertActivityIsBlocked(gwpc, DISPLAY_ID, true, WindowConfiguration.WINDOWING_MODE_PINNED, in canActivityBeLaunched_unsupportedWindowingMode_isBlocked()
612 WindowConfiguration.WINDOWING_MODE_FULLSCREEN, DISPLAY_ID, /*isNewTask=*/false)) in canActivityBeLaunched_intentInterceptedWhenRegistered_activityNoLaunch()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DThumbnailData.kt18 import android.app.WindowConfiguration in <lambda>()
32 @JvmField var rotation: Int = WindowConfiguration.ROTATION_UNDEFINED, in <lambda>()
38 @JvmField var windowingMode: Int = WindowConfiguration.WINDOWING_MODE_UNDEFINED, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotPolicyImpl.kt23 import android.app.WindowConfiguration in <lambda>()
24 import android.app.WindowConfiguration.activityTypeToString in <lambda>()
25 import android.app.WindowConfiguration.windowingModeToString in <lambda>()
81 return info.windowingMode != WindowConfiguration.WINDOWING_MODE_PINNED && in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DTaskOperations.java19 import static android.app.WindowConfiguration.WINDOWING_MODE_FREEFORM;
20 import static android.app.WindowConfiguration.WINDOWING_MODE_FULLSCREEN;
21 import static android.app.WindowConfiguration.WINDOWING_MODE_UNDEFINED;

12345678910>>...12