WindowManagerFlags Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines flags that control window-manager layout behavior.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum WindowManagerFlags
[<System.Flags>]
type WindowManagerFlags =
- Inheritance
-
WindowManagerFlags
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| DrawsSystemBarBackgrounds | -2147483648 | Flag indicating that this Window is responsible for drawing the background for the system bars. |
| AllowLockWhileScreenOn | 1 | Window flag: as long as this window is visible to the user, allow the lock screen to activate while the screen is on. |
| DimBehind | 2 | Window flag: everything behind this window will be dimmed. Use DimAmountto control the amount of dim. |
| BlurBehind | 4 | Window flag: blur everything behind this window. |
| NotFocusable | 8 | Window flag: this window won't ever get key input focus, so the user can not send key or other button events to it. |
| NotTouchable | 16 | Window flag: this window can never receive touch events. |
| NotTouchModal | 32 | Window flag: even when this window is focusable (its NotFocusable is not set), allow any pointer events outside of the window to be sent to the windows behind it. |
| TouchableWhenWaking | 64 | Window flag: when set, if the device is asleep when the touch screen is pressed, you will receive this first touch event. |
| KeepScreenOn | 128 | Window flag: as long as this window is visible to the user, keep the device's screen turned on and bright. |
| LayoutInScreen | 256 | Window flag: place the window within the entire screen, ignoring decorations around the border (such as the status bar). |
| LayoutNoLimits | 512 | Window flag: allow window to extend outside of the screen. |
| Fullscreen | 1024 | Window flag: hide all screen decorations (such as the status bar) while this window is displayed. |
| ForceNotFullscreen | 2048 | Window flag: override Fullscreenand force the screen decorations (such as the status bar) to be shown. |
| Dither | 4096 | Window flag: turn on dithering when compositing this window to the screen. |
| Secure | 8192 | Window flag: treat the content of the window as secure, preventing it from appearing in screenshots or from being viewed on non-secure displays. |
| Scaled | 16384 | Window flag: a special mode where the layout parameters are used to perform scaling of the surface when it is composited to the screen. |
| IgnoreCheekPresses | 32768 | Window flag: intended for windows that will often be used when the user is holding the screen against their face, it will aggressively filter the event stream to prevent unintended presses in this situation that may not be desired for a particular window, when such an event stream is detected, the application will receive a CANCEL motion event to indicate this so applications can handle this accordingly by taking no action on the event until the finger is released. |
| LayoutInsetDecor | 65536 | Window flag: a special option only for use in combination with LayoutInScreen. |
| AltFocusableIm | 131072 | Window flag: invert the state of NotFocusablewith respect to how this window interacts with the current method. |
| WatchOutsideTouch | 262144 | Window flag: if you have set NotTouchModal, you can set this flag to receive a single special MotionEvent with the action Outside for touches that occur outside of your window. |
| ShowWhenLocked | 524288 | Window flag: special flag to let windows be shown when the screen is locked. |
| ShowWallpaper | 1048576 | Window flag: ask that the system wallpaper be shown behind your window. |
| TurnScreenOn | 2097152 | Window flag: when set as a window is being added or made visible, once the window has been shown then the system will poke the power manager's user activity (as if the user had woken up the device) to turn the screen on. |
| DismissKeyguard | 4194304 | Window flag: when set the window will cause the keyguard to be dismissed, only if it is not a secure lock keyguard. |
| SplitTouch | 8388608 | Window flag: when set the window will accept for touch events outside of its bounds to be sent to other windows that also support split touch. |
| HardwareAccelerated | 16777216 | Indicates whether this window should be hardware accelerated. |
| LayoutInOverscan | 33554432 | Window flag: allow window contents to extend in to the screen's overscan area, if there is one. |
| TranslucentStatus | 67108864 | Window flag: request a translucent status bar with minimal system-provided background protection. |
| TranslucentNavigation | 134217728 | Window flag: request a translucent navigation bar with minimal system-provided background protection. |
| LocalFocusMode | 268435456 | Flag for a window in local focus mode. |
| LayoutAttachedInDecor | 1073741824 | Window flag: When requesting layout with an attached window, the attached window may overlap with the screen decorations of the parent window such as the navigation bar. |
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.