Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# LayoutParams

*** ** * ** ***

```
open class LayoutParams : ViewGroup.LayoutParams, Parcelable
```

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||
| ↳ | [android.view.ViewGroup.LayoutParams](https://developer.android.com/reference/kotlin/android/view/ViewGroup.LayoutParams) ||
|   | ↳ | [android.view.WindowManager.LayoutParams](https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#) |

## Summary

Inherited XML attributes From class `https://developer.android.com/reference/kotlin/android/view/ViewGroup.LayoutParams` `https://developer.android.com/reference/kotlin/android/view/ViewGroup.LayoutParams#attr_LayoutParams` Specifies the basic height of the view. This is a required attribute for any view inside of a containing layout manager. Its value may be a dimension (such as "12dip") for a constant height or one of the special constants.

May be a dimension value, which is a floating point number appended with a unit such as "`14.5sp`". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Must be one of the following constant values.
Constant Value Description fill_parent ffffffff The view should be as big as its parent (minus padding). This constant is deprecated starting from API Level 8 and is replaced by `match_parent`. match_parent ffffffff The view should be as big as its parent (minus padding). Introduced in API Level 8. wrap_content fffffffe The view should be only big enough to enclose its content (plus padding).

<br />

`https://developer.android.com/reference/kotlin/android/view/ViewGroup.LayoutParams#attr_LayoutParams` Specifies the basic width of the view. This is a required attribute for any view inside of a containing layout manager. Its value may be a dimension (such as "12dip") for a constant width or one of the special constants.

May be a dimension value, which is a floating point number appended with a unit such as "`14.5sp`". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), and mm (millimeters).

Must be one of the following constant values.
Constant Value Description fill_parent ffffffff The view should be as big as its parent (minus padding). This constant is deprecated starting from API Level 8 and is replaced by `match_parent`. match_parent ffffffff The view should be as big as its parent (minus padding). Introduced in API Level 8. wrap_content fffffffe The view should be only big enough to enclose its content (plus padding).

<br />

| Constants ||
|---|---|
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#ALPHA_CHANGED:kotlin.Int` <br /> |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#ANIMATION_CHANGED:kotlin.Int` <br /> |
| static [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#BRIGHTNESS_OVERRIDE_FULL:kotlin.Float` Value for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#screenBrightness:kotlin.Float` and `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#buttonBrightness:kotlin.Float` indicating that the screen or button backlight brightness should be set to the hightest value when this window is in front. |
| static [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#BRIGHTNESS_OVERRIDE_NONE:kotlin.Float` Default value for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#screenBrightness:kotlin.Float` and `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#buttonBrightness:kotlin.Float` indicating that the brightness value is not overridden for this window and normal brightness policy should be used. |
| static [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#BRIGHTNESS_OVERRIDE_OFF:kotlin.Float` Value for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#screenBrightness:kotlin.Float` and `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#buttonBrightness:kotlin.Float` indicating that the screen or button backlight brightness should be set to the lowest value when this window is in front. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#DIM_AMOUNT_CHANGED:kotlin.Int` <br /> |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#DISPLAY_FLAG_DISABLE_HDR_CONVERSION:kotlin.Int` Indicates whether this window wants the HDR conversion is disabled. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FIRST_APPLICATION_WINDOW:kotlin.Int` Start of window types that represent normal application windows. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FIRST_SUB_WINDOW:kotlin.Int` Start of types of sub-windows. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FIRST_SYSTEM_WINDOW:kotlin.Int` Start of system-specific window types. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAGS_CHANGED:kotlin.Int` <br /> |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_ALLOW_LOCK_WHILE_SCREEN_ON:kotlin.Int` Window flag: as long as this window is visible to the user, allow the lock screen to activate while the screen is on. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_ALT_FOCUSABLE_IM:kotlin.Int` Window flag: when set, inverts the input method focusability of the window. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_BLUR_BEHIND:kotlin.Int` Window flag: enable blur behind for this window. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_DIM_BEHIND:kotlin.Int` Window flag: everything behind this window will be dimmed. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_DISMISS_KEYGUARD:kotlin.Int` Window flag: when set the window will cause the keyguard to be dismissed, only if it is not a secure lock keyguard. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_DITHER:kotlin.Int` Window flag: turn on dithering when compositing this window to the screen. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS:kotlin.Int` Flag indicating that this Window is responsible for drawing the background for the system bars. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_FORCE_NOT_FULLSCREEN:kotlin.Int` Window flag: override `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_FULLSCREEN:kotlin.Int` and force the screen decorations (such as the status bar) to be shown. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_FULLSCREEN:kotlin.Int` Window flag: hide all screen decorations (such as the status bar) while this window is displayed. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_HARDWARE_ACCELERATED:kotlin.Int` Indicates whether this window should be hardware accelerated. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_IGNORE_CHEEK_PRESSES:kotlin.Int` 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. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_KEEP_SCREEN_ON:kotlin.Int` Window flag: as long as this window is visible to the user, keep the device's screen turned on and bright. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_LAYOUT_ATTACHED_IN_DECOR:kotlin.Int` 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. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_LAYOUT_INSET_DECOR:kotlin.Int` Window flag: a special option only for use in combination with `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_LAYOUT_IN_SCREEN:kotlin.Int`. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN:kotlin.Int` Window flag: allow window contents to extend in to the screen's overscan area, if there is one. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_LAYOUT_IN_SCREEN:kotlin.Int` Window flag for attached windows: Place the window within the entire screen, ignoring any constraints from the parent window. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_LAYOUT_NO_LIMITS:kotlin.Int` Window flag: allow window to extend outside of the screen. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_LOCAL_FOCUS_MODE:kotlin.Int` Flag for a window in local focus mode. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_NOT_FOCUSABLE:kotlin.Int` Window flag: this window won't ever get key input focus, so the user can not send key or other button events to it. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_NOT_TOUCHABLE:kotlin.Int` Window flag: this window can never receive touch events. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_NOT_TOUCH_MODAL:kotlin.Int` Window flag: even when this window is focusable (its `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_NOT_FOCUSABLE:kotlin.Int` is not set), allow any pointer events outside of the window to be sent to the windows behind it. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_SCALED:kotlin.Int` Window flag: a special mode where the layout parameters are used to perform scaling of the surface when it is composited to the screen. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_SECURE:kotlin.Int` Window flag: treat the content of the window as secure, preventing it from appearing in screenshots or from being viewed on non-secure displays. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER:kotlin.Int` Window flag: ask that the system wallpaper be shown behind your window. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_SHOW_WHEN_LOCKED:kotlin.Int` Window flag: special flag to let windows be shown when the screen is locked. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_SPLIT_TOUCH:kotlin.Int` 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. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_TOUCHABLE_WHEN_WAKING:kotlin.Int` Window flag: when set, if the device is asleep when the touch screen is pressed, you will receive this first touch event. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION:kotlin.Int` Window flag: request a translucent navigation bar with minimal system-provided background protection. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS:kotlin.Int` Window flag: request a translucent status bar with minimal system-provided background protection. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_TURN_SCREEN_ON:kotlin.Int` 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. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_WATCH_OUTSIDE_TOUCH:kotlin.Int` Window flag: if you have set `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_NOT_TOUCH_MODAL:kotlin.Int`, you can set this flag to receive a single special MotionEvent with the action `https://developer.android.com/reference/kotlin/android/view/MotionEvent#ACTION_OUTSIDE:kotlin.Int` for touches that occur outside of your window. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FORMAT_CHANGED:kotlin.Int` <br /> |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LAST_APPLICATION_WINDOW:kotlin.Int` End of types of application windows. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LAST_SUB_WINDOW:kotlin.Int` End of types of sub-windows. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LAST_SYSTEM_WINDOW:kotlin.Int` End of types of system windows. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LAYOUT_CHANGED:kotlin.Int` <br /> |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS:kotlin.Int` The window is always allowed to extend into the `https://developer.android.com/reference/kotlin/android/view/DisplayCutout` areas on the all edges of the screen. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT:kotlin.Int` The window is allowed to extend into the `https://developer.android.com/reference/kotlin/android/view/DisplayCutout` area, only if the `https://developer.android.com/reference/kotlin/android/view/DisplayCutout` is fully contained within a system bar or the `https://developer.android.com/reference/kotlin/android/view/DisplayCutout` is not deeper than 16 dp, but this depends on the OEM choice. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER:kotlin.Int` The window is never allowed to overlap with the DisplayCutout area. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES:kotlin.Int` The window is always allowed to extend into the `https://developer.android.com/reference/kotlin/android/view/DisplayCutout` areas on the short edges of the screen. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#MEMORY_TYPE_CHANGED:kotlin.Int` <br /> |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#MEMORY_TYPE_GPU:kotlin.Int` <br /> |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#MEMORY_TYPE_HARDWARE:kotlin.Int` <br /> |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#MEMORY_TYPE_NORMAL:kotlin.Int` <br /> |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#MEMORY_TYPE_PUSH_BUFFERS:kotlin.Int` <br /> |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#ROTATION_ANIMATION_CHANGED:kotlin.Int` <br /> |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#ROTATION_ANIMATION_CROSSFADE:kotlin.Int` Value for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#rotationAnimation:kotlin.Int` which specifies that this window will fade in or out following a rotation. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#ROTATION_ANIMATION_JUMPCUT:kotlin.Int` Value for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#rotationAnimation:kotlin.Int` which specifies that this window will immediately disappear or appear following a rotation. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#ROTATION_ANIMATION_ROTATE:kotlin.Int` Value for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#rotationAnimation:kotlin.Int` which specifies that this window will visually rotate in or out following a rotation. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#ROTATION_ANIMATION_SEAMLESS:kotlin.Int` Value for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#rotationAnimation:kotlin.Int` to specify seamless rotation mode. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SCREEN_BRIGHTNESS_CHANGED:kotlin.Int` <br /> |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SCREEN_ORIENTATION_CHANGED:kotlin.Int` <br /> |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_ADJUST_NOTHING:kotlin.Int` Adjustment option for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int`: set to have a window not adjust for a shown input method. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_ADJUST_PAN:kotlin.Int` Adjustment option for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int`: set to have a window pan when an input method is shown, so it doesn't need to deal with resizing but just panned by the framework to ensure the current input focus is visible. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_ADJUST_RESIZE:kotlin.Int` Adjustment option for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int`: set to allow the window to be resized when an input method is shown, so that its contents are not covered by the input method. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_ADJUST_UNSPECIFIED:kotlin.Int` Adjustment option for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int`: nothing specified. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_IS_FORWARD_NAVIGATION:kotlin.Int` Bit for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int`: set when the user has navigated forward to the window. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_MASK_ADJUST:kotlin.Int` Mask for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int` of the bits that determine the way that the window should be adjusted to accommodate the soft input window. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_MASK_STATE:kotlin.Int` Mask for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int` of the bits that determine the desired visibility state of the soft input area for this window. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_MODE_CHANGED:kotlin.Int` <br /> |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_STATE_ALWAYS_HIDDEN:kotlin.Int` Visibility state for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int`: please always hide any soft input area when this window receives focus. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_STATE_ALWAYS_VISIBLE:kotlin.Int` Visibility state for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int`: please always make the soft input area visible when this window receives input focus. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_STATE_HIDDEN:kotlin.Int` Visibility state for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int`: please hide any soft input area when normally appropriate (when the user is navigating forward to your window). |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_STATE_UNCHANGED:kotlin.Int` Visibility state for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int`: please don't change the state of the soft input area. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_STATE_UNSPECIFIED:kotlin.Int` Visibility state for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int`: no state has been specified. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_STATE_VISIBLE:kotlin.Int` Visibility state for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int`: please show the soft input area when normally appropriate (when the user is navigating forward to your window). |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TITLE_CHANGED:kotlin.Int` <br /> |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_ACCESSIBILITY_OVERLAY:kotlin.Int` Window type: Windows that are overlaid *only* by a connected `https://developer.android.com/reference/kotlin/android/accessibilityservice/AccessibilityService.html#` for interception of user interactions without changing the windows an accessibility service can introspect. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION:kotlin.Int` Window type: a normal application window. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_ATTACHED_DIALOG:kotlin.Int` Window type: like `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_PANEL:kotlin.Int`, but layout of the window happens as that of a top-level window, *not* as a child of its container. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_MEDIA:kotlin.Int` Window type: window for showing media (such as video). |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_OVERLAY:kotlin.Int` Window type: Application overlay windows are displayed above all activity windows (types between `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FIRST_APPLICATION_WINDOW:kotlin.Int` and `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LAST_APPLICATION_WINDOW:kotlin.Int`) but below critical system windows like the status bar or IME. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_PANEL:kotlin.Int` Window type: a panel on top of an application window. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_STARTING:kotlin.Int` Window type: special application window that is displayed while the application is starting. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_SUB_PANEL:kotlin.Int` Window type: a sub-panel on top of an application window. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_BASE_APPLICATION:kotlin.Int` Window type: an application window that serves as the "base" window of the overall application; all other application windows will appear on top of it. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_CHANGED:kotlin.Int` <br /> |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_DRAWN_APPLICATION:kotlin.Int` Window type: a variation on TYPE_APPLICATION that ensures the window manager will wait for this window to be drawn before the app is shown. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_INPUT_METHOD:kotlin.Int` Window type: internal input methods windows, which appear above the normal UI. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_INPUT_METHOD_DIALOG:kotlin.Int` Window type: internal input methods dialog windows, which appear above the current input method window. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_KEYGUARD_DIALOG:kotlin.Int` Window type: dialogs that the keyguard shows In multiuser systems shows on all users' windows. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_PHONE:kotlin.Int` Window type: phone. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_PRIORITY_PHONE:kotlin.Int` Window type: priority phone UI, which needs to be displayed even if the keyguard is active. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_PRIVATE_PRESENTATION:kotlin.Int` Window type: Window for Presentation on top of private virtual display. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_SEARCH_BAR:kotlin.Int` Window type: the search bar. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_STATUS_BAR:kotlin.Int` Window type: the status bar. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_SYSTEM_ALERT:kotlin.Int` Window type: system window, such as low power alert. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_SYSTEM_DIALOG:kotlin.Int` Window type: panel that slides out from the status bar In multiuser systems shows on all users' windows. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_SYSTEM_ERROR:kotlin.Int` Window type: internal system error windows, appear on top of everything they can. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_SYSTEM_OVERLAY:kotlin.Int` Window type: system overlay windows, which need to be displayed on top of everything else. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_TOAST:kotlin.Int` Window type: transient notifications. |
| static [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_WALLPAPER:kotlin.Int` Window type: wallpaper window, placed behind any window that wants to sit on top of the wallpaper. |

Inherited constants From class `https://developer.android.com/reference/kotlin/android/os/Parcelable.html#` `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/kotlin/android/os/Parcelable.html#CONTENTS_FILE_DESCRIPTOR:kotlin.Int`


Descriptor bit used with `https://developer.android.com/reference/kotlin/android/os/Parcelable.html#describeContents()`: indicates that the Parcelable object's flattened representation includes a file descriptor.

<br />

`https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/kotlin/android/os/Parcelable.html#PARCELABLE_WRITE_RETURN_VALUE:kotlin.Int`


Flag for use with `https://developer.android.com/reference/kotlin/android/os/Parcelable.html#writeToParcel(android.os.Parcel,%20kotlin.Int)`: the object being written is a return value, that is the result of a function such as "`Parcelable someFunction()`", "`void someFunction(out Parcelable)`", or "`void someFunction(inout Parcelable)`". Some implementations may want to release resources at this point.

<br />

From class `https://developer.android.com/reference/kotlin/android/view/ViewGroup.LayoutParams` `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/kotlin/android/view/ViewGroup.LayoutParams#FILL_PARENT:kotlin.Int`


Special value for the height or width requested by a View. FILL_PARENT means that the view wants to be as big as its parent, minus the parent's padding, if any. This value is deprecated starting in API Level 8 and replaced by `https://developer.android.com/reference/kotlin/android/view/ViewGroup.LayoutParams#MATCH_PARENT:kotlin.Int`.

<br />

`https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/kotlin/android/view/ViewGroup.LayoutParams#MATCH_PARENT:kotlin.Int`


Special value for the height or width requested by a View. MATCH_PARENT means that the view wants to be as big as its parent, minus the parent's padding, if any. Introduced in API Level 8.

<br />

`https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/kotlin/android/view/ViewGroup.LayoutParams#WRAP_CONTENT:kotlin.Int`


Special value for the height or width requested by a View. WRAP_CONTENT means that the view wants to be just large enough to fit its own internal content, taking its own padding into account.

<br />

| Public constructors ||
|---|---|
| `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LayoutParams()()` <br /> |
| `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LayoutParams(android.os.Parcel)(in: https://developer.android.com/reference/kotlin/android/os/Parcel.html#!)` <br /> |
| `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LayoutParams(kotlin.Int)(_type: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` <br /> |
| `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LayoutParams(kotlin.Int,%20kotlin.Int)(_type: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html, _flags: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` <br /> |
| `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LayoutParams(kotlin.Int,%20kotlin.Int,%20kotlin.Int)(_type: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html, _flags: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html, _format: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` <br /> |
| `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LayoutParams(kotlin.Int,%20kotlin.Int,%20kotlin.Int,%20kotlin.Int,%20kotlin.Int)(w: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html, h: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html, _type: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html, _flags: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html, _format: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` <br /> |
| `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LayoutParams(kotlin.Int,%20kotlin.Int,%20kotlin.Int,%20kotlin.Int,%20kotlin.Int,%20kotlin.Int,%20kotlin.Int)(w: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html, h: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html, xpos: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html, ypos: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html, _type: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html, _flags: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html, _format: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` <br /> |

| Public methods ||
|---|---|
| open [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#areWallpaperTouchEventsEnabled()()` Returns whether sending touch events to the system wallpaper (which can be provided by a third-party application) is enabled for windows that show wallpaper in background. |
| open [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#canChangeGlobalTouchMode()()` Returns whether this window is allowed to change the global touch mode state. |
| open [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#canPlayMoveAnimation()()` <br /> |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#copyFrom(android.view.WindowManager.LayoutParams)(o: https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#!)` <br /> |
| open [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#debug(kotlin.String)(output: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html!)` <br /> |
| open [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#describeContents()()` Describe the kinds of special objects contained in this Parcelable instance's marshaled representation. |
| open [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#getBlurBehindRadius()()` Returns the blur behind radius of the window. |
| open [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#getColorMode()()` Returns the color mode of the window, one of `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#COLOR_MODE_DEFAULT:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#COLOR_MODE_WIDE_COLOR_GAMUT:kotlin.Int` or `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#COLOR_MODE_HDR:kotlin.Int`. |
| open [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#getDesiredHdrHeadroom()()` Get the desired amount of HDR headroom as set by `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setDesiredHdrHeadroom(kotlin.Float)` |
| open [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#getFitInsetsSides()()` <br /> |
| open [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#getFitInsetsTypes()()` <br /> |
| open [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#getFrameRateBoostOnTouchEnabled()()` Get the value whether we should enable touch boost as set by `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setFrameRateBoostOnTouchEnabled(kotlin.Boolean)` |
| [CharSequence](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char-sequence/index.html)! | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#getTitle()()` <br /> |
| open [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#hasKeyboardCapture()()` Returns whether "keyboard capture" is on. |
| open [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#isFitInsetsIgnoringVisibility()()` <br /> |
| open [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#isFrameRatePowerSavingsBalanced()()` Get the value whether frameratepowersavingsbalance is enabled for this Window. |
| open [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#isHdrConversionEnabled()()` Returns whether the HDR conversion is enabled for the window |
| open static [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#mayUseInputMethod(kotlin.Int)(flags: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` Given a particular set of window manager flags, determine whether such a window may be a target for an input method when it has focus. |
| open [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setBlurBehindRadius(kotlin.Int)(blurBehindRadius: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` Blurs the screen behind the window. |
| open [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setCanChangeGlobalTouchMode(kotlin.Boolean)(canChangeGlobalTouchMode: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` Sets the TouchMode state of the window. |
| open [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setCanPlayMoveAnimation(kotlin.Boolean)(enable: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` Set whether animations can be played for position changes on this window. |
| open [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setColorMode(kotlin.Int)(colorMode: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` Set the color mode of the window. |
| open [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setDesiredHdrHeadroom(kotlin.Float)(desiredHeadroom: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html)` Sets the desired amount of HDR headroom to be used when rendering as a ratio of targetHdrPeakBrightnessInNits / targetSdrWhitePointInNits. |
| open [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setFitInsetsIgnoringVisibility(kotlin.Boolean)(ignore: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` Specifies if this window should fit the window insets no matter they are visible or not. |
| open [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setFitInsetsSides(kotlin.Int)(sides: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` Specifies sides of insets that this window should avoid overlapping during layout. |
| open [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setFitInsetsTypes(kotlin.Int)(types: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` Specifies types of insets that this window should avoid overlapping during layout. |
| open [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setFrameRateBoostOnTouchEnabled(kotlin.Boolean)(enabled: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` Set the value whether we should enable Touch Boost |
| open [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setFrameRatePowerSavingsBalanced(kotlin.Boolean)(enabled: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` Set the value whether frameratepowersavingsbalance is enabled for this Window. |
| open [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setHdrConversionEnabled(kotlin.Boolean)(enabled: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` Enables/disables the HDR conversion for the window. |
| open [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setKeyboardCaptureEnabled(kotlin.Boolean)(enabled: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` Allows the currently focused window to capture keys before system processes system shortcuts and actions. |
| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setTitle(kotlin.CharSequence)(title: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char-sequence/index.html!)` Sets a title for the window. |
| open [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setWallpaperTouchEventsEnabled(kotlin.Boolean)(enable: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` Set whether sending touch events to the system wallpaper (which can be provided by a third-party application) should be enabled for windows that show wallpaper in background. |
| open [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#toString()()` Returns a string representation of the object. |
| open [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#writeToParcel(android.os.Parcel,%20kotlin.Int)(out: https://developer.android.com/reference/kotlin/android/os/Parcel.html#, parcelableFlags: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` Flatten this object in to a Parcel. |

Inherited functions From class `https://developer.android.com/reference/kotlin/android/view/ViewGroup.LayoutParams` `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/kotlin/android/view/ViewGroup.LayoutParams#resolveLayoutDirection(kotlin.Int)(layoutDirection: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`


Resolve layout parameters depending on the layout direction. Subclasses that care about layoutDirection changes should override this method. The default implementation does nothing.

<br />

`https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/kotlin/android/view/ViewGroup.LayoutParams#setBaseAttributes(android.content.res.TypedArray,%20kotlin.Int,%20kotlin.Int)(a: https://developer.android.com/reference/kotlin/android/content/res/TypedArray.html#!, widthAttr: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html, heightAttr: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`


Extracts the layout parameters from the supplied attributes.

<br />

| Properties ||
|---|---|
| static [Parcelable.Creator](https://developer.android.com/reference/kotlin/android/os/Parcelable.Creator.html#)\<[WindowManager.LayoutParams](https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#)!\> | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#CREATOR:android.os.Parcelable.Creator` <br /> |
| [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#alpha:kotlin.Float` An alpha value to apply to this entire window. |
| [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#buttonBrightness:kotlin.Float` This can be used to override the standard behavior of the button and keyboard backlights. |
| [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#dimAmount:kotlin.Float` When `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_DIM_BEHIND:kotlin.Int` is set, this is the amount of dimming to apply. |
| [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#dimColor:kotlin.Long` When `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_DIM_BEHIND:kotlin.Int` is set, this is the color of the dimming to apply. |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#flags:kotlin.Int` Various behavioral options/flags. |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#format:kotlin.Int` The desired bitmap format. |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#gravity:kotlin.Int` Placement of window within the screen as per `https://developer.android.com/reference/kotlin/android/view/Gravity`. |
| [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#horizontalMargin:kotlin.Float` The horizontal margin, as a percentage of the container's width, between the container and the widget. |
| [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#horizontalWeight:kotlin.Float` Indicates how much of the extra space will be allocated horizontally to the view associated with these LayoutParams. |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#layoutInDisplayCutoutMode:kotlin.Int` Controls how the window is laid out if there is a `https://developer.android.com/reference/kotlin/android/view/DisplayCutout`. |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#memoryType:kotlin.Int` <br /> |
| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)! | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#packageName:kotlin.String` Name of the package owning this window. |
| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#preferMinimalPostProcessing:kotlin.Boolean` Indicates whether this window wants the connected display to do minimal post processing on the produced image or video frames. |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#preferredDisplayModeId:kotlin.Int` Id of the preferred display mode for the window. |
| [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#preferredRefreshRate:kotlin.Float` The preferred refresh rate for the window. |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#rotationAnimation:kotlin.Int` Define the exit and entry animations used on this window when the device is rotated. |
| [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#screenBrightness:kotlin.Float` This can be used to override the user's preferred brightness of the screen. |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#screenBrightnessUnit:kotlin.Int` The unit of `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#screenBrightness:kotlin.Float`. |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#screenOrientation:kotlin.Int` Specific orientation value for a window. |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int` Desired operating mode for any soft input area. |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#systemUiVisibility:kotlin.Int` Control the visibility of the status bar. |
| [IBinder](https://developer.android.com/reference/kotlin/android/os/IBinder.html#)! | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#token:android.os.IBinder` Identifier for this window. |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#type:kotlin.Int` The general type of window. |
| [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#verticalMargin:kotlin.Float` The vertical margin, as a percentage of the container's height, between the container and the widget. |
| [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#verticalWeight:kotlin.Float` Indicates how much of the extra space will be allocated vertically to the view associated with these LayoutParams. |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#windowAnimations:kotlin.Int` A style resource defining the animations to use for this window. |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#x:kotlin.Int` X position for this window. |
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#y:kotlin.Int` Y position for this window. |

Inherited properties From class `https://developer.android.com/reference/kotlin/android/view/ViewGroup.LayoutParams` `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/kotlin/android/view/ViewGroup.LayoutParams#height:kotlin.Int`


Information about how tall the view wants to be. Can be one of the constants FILL_PARENT (replaced by MATCH_PARENT in API Level 8) or WRAP_CONTENT, or an exact size.

<br />

`https://developer.android.com/reference/kotlin/android/view/animation/LayoutAnimationController.AnimationParameters!` `https://developer.android.com/reference/kotlin/android/view/ViewGroup.LayoutParams#layoutAnimationParameters:android.view.animation.LayoutAnimationController.AnimationParameters`


Used to animate layouts.

<br />

`https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` `https://developer.android.com/reference/kotlin/android/view/ViewGroup.LayoutParams#width:kotlin.Int`


Information about how wide the view wants to be. Can be one of the constants FILL_PARENT (replaced by MATCH_PARENT in API Level 8) or WRAP_CONTENT, or an exact size.

<br />

## Constants

### ALPHA_CHANGED

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val ALPHA_CHANGED: Int
```

    Value: 128

### ANIMATION_CHANGED

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val ANIMATION_CHANGED: Int
```

    Value: 16

### BRIGHTNESS_OVERRIDE_FULL

Added in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val BRIGHTNESS_OVERRIDE_FULL: Float
```

Value for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#screenBrightness:kotlin.Float` and `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#buttonBrightness:kotlin.Float` indicating that the screen or button backlight brightness should be set to the hightest value when this window is in front.

    Value: 1.0f

### BRIGHTNESS_OVERRIDE_NONE

Added in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val BRIGHTNESS_OVERRIDE_NONE: Float
```

Default value for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#screenBrightness:kotlin.Float` and `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#buttonBrightness:kotlin.Float` indicating that the brightness value is not overridden for this window and normal brightness policy should be used.

    Value: -1.0f

### BRIGHTNESS_OVERRIDE_OFF

Added in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val BRIGHTNESS_OVERRIDE_OFF: Float
```

Value for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#screenBrightness:kotlin.Float` and `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#buttonBrightness:kotlin.Float` indicating that the screen or button backlight brightness should be set to the lowest value when this window is in front.

    Value: 0.0f

### DIM_AMOUNT_CHANGED

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val DIM_AMOUNT_CHANGED: Int
```

    Value: 32

### DISPLAY_FLAG_DISABLE_HDR_CONVERSION

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val DISPLAY_FLAG_DISABLE_HDR_CONVERSION: Int
```

Indicates whether this window wants the HDR conversion is disabled.

    Value: 1

### FIRST_APPLICATION_WINDOW

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FIRST_APPLICATION_WINDOW: Int
```

Start of window types that represent normal application windows.

    Value: 1

### FIRST_SUB_WINDOW

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FIRST_SUB_WINDOW: Int
```

Start of types of sub-windows. The `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#token:android.os.IBinder` of these windows must be set to the window they are attached to. These types of windows are kept next to their attached window in Z-order, and their coordinate space is relative to their attached window.

    Value: 1000

### FIRST_SYSTEM_WINDOW

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FIRST_SYSTEM_WINDOW: Int
```

Start of system-specific window types. These are not normally created by applications.

    Value: 2000

### FLAGS_CHANGED

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAGS_CHANGED: Int
```

    Value: 4

### FLAG_ALLOW_LOCK_WHILE_SCREEN_ON

Added in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_ALLOW_LOCK_WHILE_SCREEN_ON: Int
```

Window flag: as long as this window is visible to the user, allow the lock screen to activate while the screen is on. This can be used independently, or in combination with `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_KEEP_SCREEN_ON:kotlin.Int` and/or `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_SHOW_WHEN_LOCKED:kotlin.Int`

    Value: 1

### FLAG_ALT_FOCUSABLE_IM

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_ALT_FOCUSABLE_IM: Int
```

Window flag: when set, inverts the input method focusability of the window. The effect of setting this flag depends on whether `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_NOT_FOCUSABLE:kotlin.Int` is set:

If `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_NOT_FOCUSABLE:kotlin.Int` is *not* set, i.e. when the window is focusable, setting this flag prevents this window from becoming the target of the input method. Consequently, it will *not* be able to interact with the input method, and will be layered above the input method (unless there is another input method target above it).

If `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_NOT_FOCUSABLE:kotlin.Int` *is* set, setting this flag requests for the window to be the input method target even though the window is *not* focusable. Consequently, it will be layered below the input method. Note: Windows that set `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_NOT_FOCUSABLE:kotlin.Int` cannot interact with the input method, regardless of this flag.

    Value: 131072

### FLAG_BLUR_BEHIND

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_BLUR_BEHIND: Int
```

Window flag: enable blur behind for this window.

    Value: 4

### FLAG_DIM_BEHIND

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_DIM_BEHIND: Int
```

Window flag: everything behind this window will be dimmed. Use `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#dimAmount:kotlin.Float` to control the amount of dim.

    Value: 2

### FLAG_DISMISS_KEYGUARD

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_DISMISS_KEYGUARD: Int
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_SHOW_WHEN_LOCKED:kotlin.Int` or `https://developer.android.com/reference/kotlin/android/app/KeyguardManager.html#requestDismissKeyguard(android.app.Activity,%20android.app.KeyguardManager.KeyguardDismissCallback)` instead. Since keyguard was dismissed all the time as long as an activity with this flag on its window was focused, keyguard couldn't guard against unintentional touches on the screen, which isn't desired.*

Window flag: when set the window will cause the keyguard to be dismissed, only if it is not a secure lock keyguard. Because such a keyguard is not needed for security, it will never re-appear if the user navigates to another window (in contrast to `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_SHOW_WHEN_LOCKED:kotlin.Int`, which will only temporarily hide both secure and non-secure keyguards but ensure they reappear when the user moves to another UI that doesn't hide them). If the keyguard is currently active and is secure (requires an unlock credential) than the user will still need to confirm it before seeing this window, unless `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_SHOW_WHEN_LOCKED:kotlin.Int` has also been set.

    Value: 4194304

### FLAG_DITHER

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 17](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_DITHER: Int
```

**Deprecated:** *This flag is no longer used.*

Window flag: turn on dithering when compositing this window to the screen.

    Value: 4096

### FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS: Int
```

Flag indicating that this Window is responsible for drawing the background for the system bars. If set, the system bars are drawn with a transparent background and the corresponding areas in this window are filled with the colors specified in `https://developer.android.com/reference/kotlin/android/view/Window#getStatusBarColor()` and `https://developer.android.com/reference/kotlin/android/view/Window#getNavigationBarColor()`.

    Value: -2147483648

### FLAG_FORCE_NOT_FULLSCREEN

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_FORCE_NOT_FULLSCREEN: Int
```

**Deprecated:** *This value became API "by accident", and shouldn't be used by 3rd party applications.*

Window flag: override `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_FULLSCREEN:kotlin.Int` and force the screen decorations (such as the status bar) to be shown.

    Value: 2048

### FLAG_FULLSCREEN

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_FULLSCREEN: Int
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/view/WindowInsetsController#hide(kotlin.Int)` with `https://developer.android.com/reference/kotlin/android/view/WindowInsets.Type#statusBars()` instead.*

Window flag: hide all screen decorations (such as the status bar) while this window is displayed. This allows the window to use the entire display space for itself -- the status bar will be hidden when an app window with this flag set is on the top layer. A fullscreen window will ignore a value of `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_ADJUST_RESIZE:kotlin.Int` for the window's `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int` field; the window will stay fullscreen and will not resize.

This flag can be controlled in your theme through the `https://developer.android.com/reference/kotlin/android/R.attr.html#windowFullscreen:kotlin.Int` attribute; this attribute is automatically set for you in the standard fullscreen themes such as `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_NoTitleBar_Fullscreen:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_Black_NoTitleBar_Fullscreen:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_Light_NoTitleBar_Fullscreen:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_Holo_NoActionBar_Fullscreen:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_Holo_Light_NoActionBar_Fullscreen:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_DeviceDefault_NoActionBar_Fullscreen:kotlin.Int`, and `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_DeviceDefault_Light_NoActionBar_Fullscreen:kotlin.Int`.

    Value: 1024

### FLAG_HARDWARE_ACCELERATED

Added in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_HARDWARE_ACCELERATED: Int
```

Indicates whether this window should be hardware accelerated. Requesting hardware acceleration does not guarantee it will happen.

This flag can be controlled programmatically *only* to enable hardware acceleration. To enable hardware acceleration for a given window programmatically, do the following:

```kotlin
Window w = activity.getWindow(); // in Activity's onCreate() for instance
  w.setFlags(WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED,
          WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED);
  
```

It is important to remember that this flag **must** be set before setting the content view of your activity or dialog.

This flag cannot be used to disable hardware acceleration after it was enabled in your manifest using `https://developer.android.com/reference/kotlin/android/R.attr.html#hardwareAccelerated:kotlin.Int`. If you need to selectively and programmatically disable hardware acceleration (for automated testing for instance), make sure it is turned off in your manifest and enable it on your activity or dialog when you need it instead, using the method described above.

This flag is automatically set by the system if the `https://developer.android.com/reference/kotlin/android/R.attr.html#hardwareAccelerated:kotlin.Int` XML attribute is set to true on an activity or on the application.

    Value: 16777216

### FLAG_IGNORE_CHEEK_PRESSES

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_IGNORE_CHEEK_PRESSES: Int
```

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.

    Value: 32768

### FLAG_KEEP_SCREEN_ON

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_KEEP_SCREEN_ON: Int
```

Window flag: as long as this window is visible to the user, keep the device's screen turned on and bright.

    Value: 128

### FLAG_LAYOUT_ATTACHED_IN_DECOR

Added in [API level 22](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_LAYOUT_ATTACHED_IN_DECOR: Int
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setFitInsetsTypes(kotlin.Int)` to determine whether the attached window will overlap with system bars.*

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. By including this flag, the window manager will layout the attached window within the decor frame of the parent window such that it doesn't overlap with screen decorations.

    Value: 1073741824

### FLAG_LAYOUT_INSET_DECOR

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_LAYOUT_INSET_DECOR: Int
```

**Deprecated:** *Insets will always be delivered to your application.*

Window flag: a special option only for use in combination with `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_LAYOUT_IN_SCREEN:kotlin.Int`. When requesting layout in the screen your window may appear on top of or behind screen decorations such as the status bar. By also including this flag, the window manager will report the inset rectangle needed to ensure your content is not covered by screen decorations. This flag is normally set for you by Window as described in `https://developer.android.com/reference/kotlin/android/view/Window#setFlags(kotlin.Int,%20kotlin.Int)`

    Value: 65536

### FLAG_LAYOUT_IN_OVERSCAN

Added in [API level 18](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_LAYOUT_IN_OVERSCAN: Int
```

**Deprecated:** *Overscan areas aren't set by any Android product anymore as of Android 11.*

Window flag: allow window contents to extend in to the screen's overscan area, if there is one. The window should still correctly position its contents to take the overscan area into account.

This flag can be controlled in your theme through the `https://developer.android.com/reference/kotlin/android/R.attr.html#windowOverscan:kotlin.Int` attribute; this attribute is automatically set for you in the standard overscan themes such as `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_Holo_NoActionBar_Overscan:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_Holo_Light_NoActionBar_Overscan:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_DeviceDefault_NoActionBar_Overscan:kotlin.Int`, and `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_DeviceDefault_Light_NoActionBar_Overscan:kotlin.Int`.

When this flag is enabled for a window, its normal content may be obscured to some degree by the overscan region of the display. To ensure key parts of that content are visible to the user, you can use `https://developer.android.com/reference/kotlin/android/view/View#setFitsSystemWindows(kotlin.Boolean)` to set the point in the view hierarchy where the appropriate offsets should be applied. (This can be done either by directly calling this function, using the `https://developer.android.com/reference/kotlin/android/R.attr.html#fitsSystemWindows:kotlin.Int` attribute in your view hierarchy, or implementing you own `https://developer.android.com/reference/kotlin/android/view/View#fitSystemWindows(android.graphics.Rect)` method).

This mechanism for positioning content elements is identical to its equivalent use with layout and `https://developer.android.com/reference/kotlin/android/view/View#setSystemUiVisibility(kotlin.Int)`; here is an example layout that will correctly position its UI elements with this overscan flag is set:

    Value: 33554432

### FLAG_LAYOUT_IN_SCREEN

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_LAYOUT_IN_SCREEN: Int
```

Window flag for attached windows: Place the window within the entire screen, ignoring any constraints from the parent window.

Note: on displays that have a `https://developer.android.com/reference/kotlin/android/view/DisplayCutout`, the window may be placed such that it avoids the `https://developer.android.com/reference/kotlin/android/view/DisplayCutout` area if necessary according to the `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#layoutInDisplayCutoutMode:kotlin.Int`.

    Value: 256

### FLAG_LAYOUT_NO_LIMITS

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_LAYOUT_NO_LIMITS: Int
```

Window flag: allow window to extend outside of the screen.

    Value: 512

### FLAG_LOCAL_FOCUS_MODE

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_LOCAL_FOCUS_MODE: Int
```

Flag for a window in local focus mode. Window in local focus mode can control focus independent of window manager using `https://developer.android.com/reference/kotlin/android/view/Window#setLocalFocus(kotlin.Boolean,%20kotlin.Boolean)`. Usually window in this mode will not get touch/key events from window manager, but will get events only via local injection using `https://developer.android.com/reference/kotlin/android/view/Window#injectInputEvent(android.view.InputEvent)`.

    Value: 268435456

### FLAG_NOT_FOCUSABLE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_NOT_FOCUSABLE: Int
```

Window flag: this window won't ever get key input focus, so the user can not send key or other button events to it. Those will instead go to whatever focusable window is behind it. This flag will also enable `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_NOT_TOUCH_MODAL:kotlin.Int` whether or not that is explicitly set.

Setting this flag also implies that the window will not need to interact with a soft input method, so it will be Z-ordered and positioned independently of any active input method (typically this means it gets Z-ordered on top of the input method, so it can use the full screen for its content and cover the input method if needed. You can use `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_ALT_FOCUSABLE_IM:kotlin.Int` to modify this behavior.

    Value: 8

### FLAG_NOT_TOUCHABLE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_NOT_TOUCHABLE: Int
```

Window flag: this window can never receive touch events.

The intention of this flag is to leave the touch to be handled by some window below this window (in Z order).

Starting from Android `https://developer.android.com/reference/kotlin/android/os/Build.VERSION_CODES.html#S:kotlin.Int`, for security reasons, touch events that pass through windows containing this flag (ie. are within the bounds of the window) will only be delivered to the touch-consuming window if one (or more) of the items below are true:

1. **Same UID**: This window belongs to the same UID that owns the touch-consuming window.
2. **Trusted windows** : This window is trusted. Trusted windows include (but are not limited to) accessibility windows (`https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_ACCESSIBILITY_OVERLAY:kotlin.Int`), the IME (`https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_INPUT_METHOD:kotlin.Int`) and assistant windows (TYPE_VOICE_INTERACTION). Windows of type `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_OVERLAY:kotlin.Int` are **not** trusted, see below.
3. **Invisible windows** : This window is `https://developer.android.com/reference/kotlin/android/view/View#GONE:kotlin.Int` or `https://developer.android.com/reference/kotlin/android/view/View#INVISIBLE:kotlin.Int`.
4. **Fully transparent windows** : This window has `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#alpha:kotlin.Float` equal to 0.
5. **One SAW window with enough transparency** : This window is of type `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_OVERLAY:kotlin.Int`, has `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#alpha:kotlin.Float` below or equal to the [maximum obscuring opacity](https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#MaximumOpacity) (see below) and it's the **only** window of type `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_OVERLAY:kotlin.Int` from this UID in the touch path.
6. **Multiple SAW windows with enough transparency** : The multiple overlapping `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_OVERLAY:kotlin.Int` windows in the touch path from this UID have a **combined obscuring opacity** below or equal to the [maximum obscuring opacity](https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#MaximumOpacity). See section [Combined obscuring opacity](https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#ObscuringOpacity) below on how to compute this value.

If none of these cases hold, the touch will not be delivered and a message will be logged to logcat.

### Maximum obscuring opacity

This value is **0.8** . Apps that want to gather this value from the system rather than hard-coding it might want to use `https://developer.android.com/reference/kotlin/android/hardware/input/InputManager.html#getMaximumObscuringOpacityForTouch()`.

### Combined obscuring opacity

The **combined obscuring opacity** of a set of windows is obtained by combining the opacity values of all windows in the set using the associative and commutative operation defined as:

```kotlin
opacity({A,B}) = 1 - (1 - opacity(A))*(1 - opacity(B))
  
```

where `opacity(X)` is the `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#alpha:kotlin.Float` of window X. So, for a set of windows `{W1, .., Wn}`, the combined obscuring opacity will be:

```kotlin
opacity({W1, .., Wn}) = 1 - (1 - opacity(W1)) * ... * (1 - opacity(Wn))
  
```

    Value: 16

### FLAG_NOT_TOUCH_MODAL

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_NOT_TOUCH_MODAL: Int
```

Window flag: even when this window is focusable (its `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_NOT_FOCUSABLE:kotlin.Int` is not set), allow any pointer events outside of the window to be sent to the windows behind it. Otherwise it will consume all pointer events itself, regardless of whether they are inside of the window.

    Value: 32

### FLAG_SCALED

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_SCALED: Int
```

Window flag: a special mode where the layout parameters are used to perform scaling of the surface when it is composited to the screen.

    Value: 16384

### FLAG_SECURE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_SECURE: Int
```

Window flag: treat the content of the window as secure, preventing it from appearing in screenshots or from being viewed on non-secure displays.

See `https://developer.android.com/reference/kotlin/android/view/View#setContentSensitivity(kotlin.Int)`, a window hosting a sensitive view will be marked as secure during media projection, preventing it from being viewed on non-secure displays and during screen share.

See `https://developer.android.com/reference/kotlin/android/view/Display#FLAG_SECURE:kotlin.Int` for more details about secure surfaces and secure displays.

    Value: 8192

### FLAG_SHOW_WALLPAPER

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_SHOW_WALLPAPER: Int
```

Window flag: ask that the system wallpaper be shown behind your window. The window surface must be translucent to be able to actually see the wallpaper behind it; this flag just ensures that the wallpaper surface will be there if this window actually has translucent regions.

This flag can be controlled in your theme through the `https://developer.android.com/reference/kotlin/android/R.attr.html#windowShowWallpaper:kotlin.Int` attribute; this attribute is automatically set for you in the standard wallpaper themes such as `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_Wallpaper:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_Wallpaper_NoTitleBar:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_Wallpaper_NoTitleBar_Fullscreen:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_Holo_Wallpaper:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_Holo_Wallpaper_NoTitleBar:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_DeviceDefault_Wallpaper:kotlin.Int`, and `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_DeviceDefault_Wallpaper_NoTitleBar:kotlin.Int`.

When this flag is set, all touch events sent to this window is also sent to the wallpaper, which is used to interact with live wallpapers. Check `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#areWallpaperTouchEventsEnabled()`, which is set to `true` by default. When showing sensitive information on the window, if you want to disable sending the touch events to the wallpaper, use `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setWallpaperTouchEventsEnabled(kotlin.Boolean)`.

    Value: 1048576

### FLAG_SHOW_WHEN_LOCKED

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 27](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_SHOW_WHEN_LOCKED: Int
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/R.attr.html#showWhenLocked:kotlin.Int` or `https://developer.android.com/reference/kotlin/android/app/Activity.html#setShowWhenLocked(kotlin.Boolean)` instead to prevent an unintentional double life-cycle event.*

Window flag: special flag to let windows be shown when the screen is locked. This will let application windows take precedence over key guard or any other lock screens. Can be used with `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_KEEP_SCREEN_ON:kotlin.Int` to turn screen on and display windows directly before showing the key guard window. Can be used with `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_DISMISS_KEYGUARD:kotlin.Int` to automatically fully dismisss non-secure keyguards. This flag only applies to the top-most full-screen window.

    Value: 524288

### FLAG_SPLIT_TOUCH

Added in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_SPLIT_TOUCH: Int
```

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. When this flag is not set, the first pointer that goes down determines the window to which all subsequent touches go until all pointers go up. When this flag is set, each pointer (not necessarily the first) that goes down determines the window to which all subsequent touches of that pointer will go until that pointer goes up thereby enabling touches with multiple pointers to be split across multiple windows.

    Value: 8388608

### FLAG_TOUCHABLE_WHEN_WAKING

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 20](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_TOUCHABLE_WHEN_WAKING: Int
```

**Deprecated:** *This flag has no effect.*

Window flag: when set, if the device is asleep when the touch screen is pressed, you will receive this first touch event. Usually the first touch event is consumed by the system since the user can not see what they are pressing on.

    Value: 64

### FLAG_TRANSLUCENT_NAVIGATION

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_TRANSLUCENT_NAVIGATION: Int
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/view/Window#setNavigationBarColor(kotlin.Int)` with a half-translucent color instead.*

Window flag: request a translucent navigation bar with minimal system-provided background protection.

This flag can be controlled in your theme through the `https://developer.android.com/reference/kotlin/android/R.attr.html#windowTranslucentNavigation:kotlin.Int` attribute; this attribute is automatically set for you in the standard translucent decor themes such as `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_Holo_NoActionBar_TranslucentDecor:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_Holo_Light_NoActionBar_TranslucentDecor:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_DeviceDefault_NoActionBar_TranslucentDecor:kotlin.Int`, and `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_DeviceDefault_Light_NoActionBar_TranslucentDecor:kotlin.Int`.

When this flag is enabled for a window, it automatically sets the system UI visibility flags `https://developer.android.com/reference/kotlin/android/view/View#SYSTEM_UI_FLAG_LAYOUT_STABLE:kotlin.Int` and `https://developer.android.com/reference/kotlin/android/view/View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION:kotlin.Int`.

Note: For devices that support `https://developer.android.com/reference/kotlin/android/content/pm/PackageManager.html#FEATURE_AUTOMOTIVE:kotlin.String` this flag can be disabled by the car manufacturers.

    Value: 134217728

### FLAG_TRANSLUCENT_STATUS

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_TRANSLUCENT_STATUS: Int
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/view/Window#setStatusBarColor(kotlin.Int)` with a half-translucent color instead.*

Window flag: request a translucent status bar with minimal system-provided background protection.

This flag can be controlled in your theme through the `https://developer.android.com/reference/kotlin/android/R.attr.html#windowTranslucentStatus:kotlin.Int` attribute; this attribute is automatically set for you in the standard translucent decor themes such as `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_Holo_NoActionBar_TranslucentDecor:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_Holo_Light_NoActionBar_TranslucentDecor:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_DeviceDefault_NoActionBar_TranslucentDecor:kotlin.Int`, and `https://developer.android.com/reference/kotlin/android/R.style.html#Theme_DeviceDefault_Light_NoActionBar_TranslucentDecor:kotlin.Int`.

When this flag is enabled for a window, it automatically sets the system UI visibility flags `https://developer.android.com/reference/kotlin/android/view/View#SYSTEM_UI_FLAG_LAYOUT_STABLE:kotlin.Int` and `https://developer.android.com/reference/kotlin/android/view/View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN:kotlin.Int`.

Note: For devices that support `https://developer.android.com/reference/kotlin/android/content/pm/PackageManager.html#FEATURE_AUTOMOTIVE:kotlin.String` this flag may be ignored.

    Value: 67108864

### FLAG_TURN_SCREEN_ON

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 27](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_TURN_SCREEN_ON: Int
```

**Deprecated:** *Use `https://developer.android.com/reference/kotlin/android/R.attr.html#turnScreenOn:kotlin.Int` or `https://developer.android.com/reference/kotlin/android/app/Activity.html#setTurnScreenOn(kotlin.Boolean)` instead to prevent an unintentional double life-cycle event.*

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.

    Value: 2097152

### FLAG_WATCH_OUTSIDE_TOUCH

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FLAG_WATCH_OUTSIDE_TOUCH: Int
```

Window flag: if you have set `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_NOT_TOUCH_MODAL:kotlin.Int`, you can set this flag to receive a single special MotionEvent with the action `https://developer.android.com/reference/kotlin/android/view/MotionEvent#ACTION_OUTSIDE:kotlin.Int` for touches that occur outside of your window. Note that you will not receive the full down/move/up gesture, only the location of the first down as an ACTION_OUTSIDE.

    Value: 262144

### FORMAT_CHANGED

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val FORMAT_CHANGED: Int
```

    Value: 8

### LAST_APPLICATION_WINDOW

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val LAST_APPLICATION_WINDOW: Int
```

End of types of application windows.

    Value: 99

### LAST_SUB_WINDOW

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val LAST_SUB_WINDOW: Int
```

End of types of sub-windows.

    Value: 1999

### LAST_SYSTEM_WINDOW

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val LAST_SYSTEM_WINDOW: Int
```

End of types of system windows.

    Value: 2999

### LAYOUT_CHANGED

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val LAYOUT_CHANGED: Int
```

    Value: 1

### LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS: Int
```

The window is always allowed to extend into the `https://developer.android.com/reference/kotlin/android/view/DisplayCutout` areas on the all edges of the screen.

The window must make sure that no important content overlaps with the `https://developer.android.com/reference/kotlin/android/view/DisplayCutout`.

In this mode, the window extends under cutouts on the all edges of the display in both portrait and landscape, regardless of whether the window is hiding the system bars.

Note: Android might not allow the content view to overlap the system bars in view level. To override this behavior and allow content to be able to extend into the cutout area, call `https://developer.android.com/reference/kotlin/android/view/Window#setDecorFitsSystemWindows(kotlin.Boolean)` with `false`.

    Value: 3

**See Also**

- `https://developer.android.com/reference/kotlin/android/view/DisplayCutout`
- `https://developer.android.com/reference/kotlin/android/view/WindowInsets#getDisplayCutout()`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#layoutInDisplayCutoutMode:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/R.attr.html#windowLayoutInDisplayCutoutMode:kotlin.Int`

### LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT

Added in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT: Int
```

The window is allowed to extend into the `https://developer.android.com/reference/kotlin/android/view/DisplayCutout` area, only if the `https://developer.android.com/reference/kotlin/android/view/DisplayCutout` is fully contained within a system bar or the `https://developer.android.com/reference/kotlin/android/view/DisplayCutout` is not deeper than 16 dp, but this depends on the OEM choice. Otherwise, the window is laid out such that it does not overlap with the `https://developer.android.com/reference/kotlin/android/view/DisplayCutout` area.

In practice, this means that if the window did not set `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_FULLSCREEN:kotlin.Int` or `https://developer.android.com/reference/kotlin/android/view/View#SYSTEM_UI_FLAG_FULLSCREEN:kotlin.Int`, it can extend into the cutout area in portrait if the cutout is at the top edge. Similarly for `https://developer.android.com/reference/kotlin/android/view/View#SYSTEM_UI_FLAG_HIDE_NAVIGATION:kotlin.Int` and a cutout at the bottom of the screen. Otherwise (i.e. fullscreen or landscape) it is laid out such that it does not overlap the cutout area.

The usual precautions for not overlapping with the status and navigation bar are sufficient for ensuring that no important content overlaps with the DisplayCutout.

Note: OEMs can have an option to allow the window to always extend into the `https://developer.android.com/reference/kotlin/android/view/DisplayCutout` area, no matter the cutout flag set, when the `https://developer.android.com/reference/kotlin/android/view/DisplayCutout` is on the different side from system bars, only if the `https://developer.android.com/reference/kotlin/android/view/DisplayCutout` overlaps at most 16dp with the windows. In such case, OEMs must provide an opt-in/out affordance for users.

    Value: 0

**See Also**

- `https://developer.android.com/reference/kotlin/android/view/DisplayCutout`
- `https://developer.android.com/reference/kotlin/android/view/WindowInsets`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#layoutInDisplayCutoutMode:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/R.attr.html#windowLayoutInDisplayCutoutMode:kotlin.Int`

### LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER

Added in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER: Int
```

The window is never allowed to overlap with the DisplayCutout area.

This should be used with windows that transiently set `https://developer.android.com/reference/kotlin/android/view/View#SYSTEM_UI_FLAG_FULLSCREEN:kotlin.Int` or `https://developer.android.com/reference/kotlin/android/view/View#SYSTEM_UI_FLAG_HIDE_NAVIGATION:kotlin.Int` to avoid a relayout of the window when the respective flag is set or cleared.

    Value: 2

**See Also**

- `https://developer.android.com/reference/kotlin/android/view/DisplayCutout`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#layoutInDisplayCutoutMode:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/R.attr.html#windowLayoutInDisplayCutoutMode:kotlin.Int`

### LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES

Added in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES: Int
```

The window is always allowed to extend into the `https://developer.android.com/reference/kotlin/android/view/DisplayCutout` areas on the short edges of the screen.

The window will never extend into a `https://developer.android.com/reference/kotlin/android/view/DisplayCutout` area on the long edges of the screen, unless the `https://developer.android.com/reference/kotlin/android/view/DisplayCutout` is not deeper than 16 dp, but this depends on the OEM choice.

Note: OEMs can have an option to allow the window to extend into the `https://developer.android.com/reference/kotlin/android/view/DisplayCutout` area on the long edge side, only if the cutout overlaps at most 16dp with the windows. In such case, OEMs must provide an opt-in/out affordance for users.

The window must make sure that no important content overlaps with the `https://developer.android.com/reference/kotlin/android/view/DisplayCutout`.

In this mode, the window extends under cutouts on the short edge of the display in both portrait and landscape, regardless of whether the window is hiding the system bars:  

A cutout in the corner can be considered to be on different edge in different device rotations. This behavior may vary from device to device. Use this flag is possible to letterbox your app if the display cutout is at corner.

On the other hand, should the cutout be on the long edge of the display, a letterbox will be applied such that the window does not extend into the cutout on either long edge:   

Note: Android might not allow the content view to overlap the system bars in view level. To override this behavior and allow content to be able to extend into the cutout area, call `https://developer.android.com/reference/kotlin/android/view/Window#setDecorFitsSystemWindows(kotlin.Boolean)` with `false`.

    Value: 1

**See Also**

- `https://developer.android.com/reference/kotlin/android/view/DisplayCutout`
- `https://developer.android.com/reference/kotlin/android/view/WindowInsets#getDisplayCutout()`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#layoutInDisplayCutoutMode:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/R.attr.html#windowLayoutInDisplayCutoutMode:kotlin.Int`

### MEMORY_TYPE_CHANGED

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val MEMORY_TYPE_CHANGED: Int
```

    Value: 256

### MEMORY_TYPE_GPU

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val MEMORY_TYPE_GPU: Int
```

**Deprecated:** *this is ignored, this value is set automatically when needed.*

    Value: 2

### MEMORY_TYPE_HARDWARE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val MEMORY_TYPE_HARDWARE: Int
```

**Deprecated:** *this is ignored, this value is set automatically when needed.*

    Value: 1

### MEMORY_TYPE_NORMAL

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val MEMORY_TYPE_NORMAL: Int
```

**Deprecated:** *this is ignored, this value is set automatically when needed.*

    Value: 0

### MEMORY_TYPE_PUSH_BUFFERS

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val MEMORY_TYPE_PUSH_BUFFERS: Int
```

**Deprecated:** *this is ignored, this value is set automatically when needed.*

    Value: 3

### ROTATION_ANIMATION_CHANGED

Added in [API level 18](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val ROTATION_ANIMATION_CHANGED: Int
```

    Value: 4096

### ROTATION_ANIMATION_CROSSFADE

Added in [API level 18](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val ROTATION_ANIMATION_CROSSFADE: Int
```

Value for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#rotationAnimation:kotlin.Int` which specifies that this window will fade in or out following a rotation.

    Value: 1

### ROTATION_ANIMATION_JUMPCUT

Added in [API level 18](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val ROTATION_ANIMATION_JUMPCUT: Int
```

Value for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#rotationAnimation:kotlin.Int` which specifies that this window will immediately disappear or appear following a rotation.

    Value: 2

### ROTATION_ANIMATION_ROTATE

Added in [API level 18](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val ROTATION_ANIMATION_ROTATE: Int
```

Value for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#rotationAnimation:kotlin.Int` which specifies that this window will visually rotate in or out following a rotation.

    Value: 0

### ROTATION_ANIMATION_SEAMLESS

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val ROTATION_ANIMATION_SEAMLESS: Int
```

Value for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#rotationAnimation:kotlin.Int` to specify seamless rotation mode. This works like JUMPCUT but will fall back to CROSSFADE if rotation can't be applied without pausing the screen. For example, this is ideal for Camera apps which don't want the viewfinder contents to ever rotate or fade (and rather to be seamless) but also don't want ROTATION_ANIMATION_JUMPCUT during app transition scenarios where seamless rotation can't be applied.

    Value: 3

### SCREEN_BRIGHTNESS_CHANGED

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SCREEN_BRIGHTNESS_CHANGED: Int
```

    Value: 2048

### SCREEN_ORIENTATION_CHANGED

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SCREEN_ORIENTATION_CHANGED: Int
```

    Value: 1024

### SOFT_INPUT_ADJUST_NOTHING

Added in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SOFT_INPUT_ADJUST_NOTHING: Int
```

Adjustment option for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int`: set to have a window not adjust for a shown input method. The window will not be resized, and it will not be panned to make its focus visible.

    Value: 48

### SOFT_INPUT_ADJUST_PAN

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SOFT_INPUT_ADJUST_PAN: Int
```

Adjustment option for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int`: set to have a window pan when an input method is shown, so it doesn't need to deal with resizing but just panned by the framework to ensure the current input focus is visible. This can *not* be combined with `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_ADJUST_RESIZE:kotlin.Int`; if neither of these are set, then the system will try to pick one or the other depending on the contents of the window.

    Value: 32

### SOFT_INPUT_ADJUST_RESIZE

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SOFT_INPUT_ADJUST_RESIZE: Int
```

**Deprecated:** *Call `https://developer.android.com/reference/kotlin/android/view/Window#setDecorFitsSystemWindows(kotlin.Boolean)` with `false` and install an `https://developer.android.com/reference/kotlin/android/view/View.OnApplyWindowInsetsListener` on your root content view that fits insets of type `https://developer.android.com/reference/kotlin/android/view/WindowInsets.Type#ime()`.*

Adjustment option for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int`: set to allow the window to be resized when an input method is shown, so that its contents are not covered by the input method. This can *not* be combined with `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_ADJUST_PAN:kotlin.Int`; if neither of these are set, then the system will try to pick one or the other depending on the contents of the window. If the window's layout parameter flags include `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_FULLSCREEN:kotlin.Int`, this value for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int` will be ignored; the window will not resize, but will stay fullscreen.

    Value: 16

### SOFT_INPUT_ADJUST_UNSPECIFIED

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SOFT_INPUT_ADJUST_UNSPECIFIED: Int
```

Adjustment option for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int`: nothing specified. The system will try to pick one or the other depending on the contents of the window.

    Value: 0

### SOFT_INPUT_IS_FORWARD_NAVIGATION

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SOFT_INPUT_IS_FORWARD_NAVIGATION: Int
```

Bit for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int`: set when the user has navigated forward to the window. This is normally set automatically for you by the system, though you may want to set it in certain cases when you are displaying a window yourself. This flag will always be cleared automatically after the window is displayed.

    Value: 256

### SOFT_INPUT_MASK_ADJUST

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SOFT_INPUT_MASK_ADJUST: Int
```

Mask for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int` of the bits that determine the way that the window should be adjusted to accommodate the soft input window.

    Value: 240

### SOFT_INPUT_MASK_STATE

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SOFT_INPUT_MASK_STATE: Int
```

Mask for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int` of the bits that determine the desired visibility state of the soft input area for this window.

    Value: 15

### SOFT_INPUT_MODE_CHANGED

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SOFT_INPUT_MODE_CHANGED: Int
```

    Value: 512

### SOFT_INPUT_STATE_ALWAYS_HIDDEN

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SOFT_INPUT_STATE_ALWAYS_HIDDEN: Int
```

Visibility state for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int`: please always hide any soft input area when this window receives focus.

    Value: 3

### SOFT_INPUT_STATE_ALWAYS_VISIBLE

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SOFT_INPUT_STATE_ALWAYS_VISIBLE: Int
```

Visibility state for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int`: please always make the soft input area visible when this window receives input focus.

Applications that target `https://developer.android.com/reference/kotlin/android/os/Build.VERSION_CODES.html#P:kotlin.Int` and later, this flag is ignored unless there is a focused view that returns `true` from `https://developer.android.com/reference/kotlin/android/view/View#onCheckIsTextEditor()` when the window is focused.

    Value: 5

### SOFT_INPUT_STATE_HIDDEN

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SOFT_INPUT_STATE_HIDDEN: Int
```

Visibility state for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int`: please hide any soft input area when normally appropriate (when the user is navigating forward to your window).

    Value: 2

### SOFT_INPUT_STATE_UNCHANGED

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SOFT_INPUT_STATE_UNCHANGED: Int
```

Visibility state for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int`: please don't change the state of the soft input area.

    Value: 1

### SOFT_INPUT_STATE_UNSPECIFIED

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SOFT_INPUT_STATE_UNSPECIFIED: Int
```

Visibility state for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int`: no state has been specified. The system may show or hide the software keyboard for better user experience when the window gains focus.

    Value: 0

### SOFT_INPUT_STATE_VISIBLE

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val SOFT_INPUT_STATE_VISIBLE: Int
```

Visibility state for `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#softInputMode:kotlin.Int`: please show the soft input area when normally appropriate (when the user is navigating forward to your window).

Applications that target `https://developer.android.com/reference/kotlin/android/os/Build.VERSION_CODES.html#P:kotlin.Int` and later, this flag is ignored unless there is a focused view that returns `true` from `https://developer.android.com/reference/kotlin/android/view/View#onCheckIsTextEditor()` when the window is focused.

    Value: 4

### TITLE_CHANGED

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TITLE_CHANGED: Int
```

    Value: 64

### TYPE_ACCESSIBILITY_OVERLAY

Added in [API level 22](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE_ACCESSIBILITY_OVERLAY: Int
```

Window type: Windows that are overlaid *only* by a connected `https://developer.android.com/reference/kotlin/android/accessibilityservice/AccessibilityService.html#` for interception of user interactions without changing the windows an accessibility service can introspect. In particular, an accessibility service can introspect only windows that a sighted user can interact with which is they can touch these windows or can type into these windows. For example, if there is a full screen accessibility overlay that is touchable, the windows below it will be introspectable by an accessibility service even though they are covered by a touchable window.

    Value: 2032

### TYPE_APPLICATION

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE_APPLICATION: Int
```

Window type: a normal application window. The `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#token:android.os.IBinder` must be an Activity token identifying who the window belongs to. In multiuser systems shows only on the owning user's window.

    Value: 2

### TYPE_APPLICATION_ATTACHED_DIALOG

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE_APPLICATION_ATTACHED_DIALOG: Int
```

Window type: like `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_PANEL:kotlin.Int`, but layout of the window happens as that of a top-level window, *not* as a child of its container.

    Value: 1003

### TYPE_APPLICATION_MEDIA

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE_APPLICATION_MEDIA: Int
```

Window type: window for showing media (such as video). These windows are displayed behind their attached window.

    Value: 1001

### TYPE_APPLICATION_OVERLAY

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE_APPLICATION_OVERLAY: Int
```

Window type: Application overlay windows are displayed above all activity windows (types between `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FIRST_APPLICATION_WINDOW:kotlin.Int` and `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LAST_APPLICATION_WINDOW:kotlin.Int`) but below critical system windows like the status bar or IME.

The system may change the position, size, or visibility of these windows at anytime to reduce visual clutter to the user and also manage resources.

Requires `https://developer.android.com/reference/kotlin/android/Manifest.permission.html#SYSTEM_ALERT_WINDOW:kotlin.String` permission.

The system will adjust the importance of processes with this window type to reduce the chance of the low-memory-killer killing them.

In multi-user systems shows only on the owning user's screen.

    Value: 2038

### TYPE_APPLICATION_PANEL

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE_APPLICATION_PANEL: Int
```

Window type: a panel on top of an application window. These windows appear on top of their attached window.

    Value: 1000

### TYPE_APPLICATION_STARTING

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE_APPLICATION_STARTING: Int
```

Window type: special application window that is displayed while the application is starting. Not for use by applications themselves; this is used by the system to display something until the application can show its own windows. In multiuser systems shows on all users' windows.

    Value: 3

### TYPE_APPLICATION_SUB_PANEL

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE_APPLICATION_SUB_PANEL: Int
```

Window type: a sub-panel on top of an application window. These windows are displayed on top their attached window and any `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_PANEL:kotlin.Int` panels.

    Value: 1002

### TYPE_BASE_APPLICATION

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE_BASE_APPLICATION: Int
```

Window type: an application window that serves as the "base" window of the overall application; all other application windows will appear on top of it. In multiuser systems shows only on the owning user's window.

    Value: 1

### TYPE_CHANGED

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE_CHANGED: Int
```

    Value: 2

### TYPE_DRAWN_APPLICATION

Added in [API level 25](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE_DRAWN_APPLICATION: Int
```

Window type: a variation on TYPE_APPLICATION that ensures the window manager will wait for this window to be drawn before the app is shown. In multiuser systems shows only on the owning user's window.

    Value: 4

### TYPE_INPUT_METHOD

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE_INPUT_METHOD: Int
```

Window type: internal input methods windows, which appear above the normal UI. Application windows may be resized or panned to keep the input focus visible while this window is displayed. In multiuser systems shows only on the owning user's window.

    Value: 2011

### TYPE_INPUT_METHOD_DIALOG

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE_INPUT_METHOD_DIALOG: Int
```

Window type: internal input methods dialog windows, which appear above the current input method window. In multiuser systems shows only on the owning user's window.

    Value: 2012

### TYPE_KEYGUARD_DIALOG

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE_KEYGUARD_DIALOG: Int
```

Window type: dialogs that the keyguard shows In multiuser systems shows on all users' windows.

    Value: 2009

### TYPE_PHONE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE_PHONE: Int
```

**Deprecated:** *for non-system apps. Use `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_OVERLAY:kotlin.Int` instead.*

Window type: phone. These are non-application windows providing user interaction with the phone (in particular incoming calls). These windows are normally placed above all applications, but behind the status bar. In multiuser systems shows on all users' windows.

    Value: 2002

### TYPE_PRIORITY_PHONE

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE_PRIORITY_PHONE: Int
```

**Deprecated:** *for non-system apps. Use `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_OVERLAY:kotlin.Int` instead.*

Window type: priority phone UI, which needs to be displayed even if the keyguard is active. These windows must not take input focus, or they will interfere with the keyguard. In multiuser systems shows on all users' windows.

    Value: 2007

### TYPE_PRIVATE_PRESENTATION

Added in [API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE_PRIVATE_PRESENTATION: Int
```

Window type: Window for Presentation on top of private virtual display.

    Value: 2030

### TYPE_SEARCH_BAR

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE_SEARCH_BAR: Int
```

Window type: the search bar. There can be only one search bar window; it is placed at the top of the screen. In multiuser systems shows on all users' windows.

    Value: 2001

### TYPE_STATUS_BAR

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE_STATUS_BAR: Int
```

Window type: the status bar. There can be only one status bar window; it is placed at the top of the screen, and all other windows are shifted down so they are below it. In multiuser systems shows on all users' windows.

    Value: 2000

### TYPE_SYSTEM_ALERT

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE_SYSTEM_ALERT: Int
```

**Deprecated:** *for non-system apps. Use `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_OVERLAY:kotlin.Int` instead.*

Window type: system window, such as low power alert. These windows are always on top of application windows. In multiuser systems shows only on the owning user's window.

    Value: 2003

### TYPE_SYSTEM_DIALOG

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE_SYSTEM_DIALOG: Int
```

Window type: panel that slides out from the status bar In multiuser systems shows on all users' windows.

    Value: 2008

### TYPE_SYSTEM_ERROR

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE_SYSTEM_ERROR: Int
```

**Deprecated:** *for non-system apps. Use `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_OVERLAY:kotlin.Int` instead.*

Window type: internal system error windows, appear on top of everything they can. In multiuser systems shows only on the owning user's window.

    Value: 2010

### TYPE_SYSTEM_OVERLAY

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE_SYSTEM_OVERLAY: Int
```

**Deprecated:** *for non-system apps. Use `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_OVERLAY:kotlin.Int` instead.*

Window type: system overlay windows, which need to be displayed on top of everything else. These windows must not take input focus, or they will interfere with the keyguard. In multiuser systems shows only on the owning user's window.

    Value: 2006

### TYPE_TOAST

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE_TOAST: Int
```

**Deprecated:** *for non-system apps. Use `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_OVERLAY:kotlin.Int` instead.*

Window type: transient notifications. In multiuser systems shows only on the owning user's window.

    Value: 2005

### TYPE_WALLPAPER

Added in [API level 5](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val TYPE_WALLPAPER: Int
```

Window type: wallpaper window, placed behind any window that wants to sit on top of the wallpaper. In multiuser systems shows only on the owning user's window.

    Value: 2013

## Public constructors

### LayoutParams

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
LayoutParams()
```

### LayoutParams

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
LayoutParams(in: Parcel!)
```

### LayoutParams

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
LayoutParams(_type: Int)
```

### LayoutParams

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
LayoutParams(
    _type: Int, 
    _flags: Int)
```

### LayoutParams

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
LayoutParams(
    _type: Int, 
    _flags: Int, 
    _format: Int)
```

### LayoutParams

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
LayoutParams(
    w: Int, 
    h: Int, 
    _type: Int, 
    _flags: Int, 
    _format: Int)
```

### LayoutParams

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
LayoutParams(
    w: Int, 
    h: Int, 
    xpos: Int, 
    ypos: Int, 
    _type: Int, 
    _flags: Int, 
    _format: Int)
```

## Public methods

### areWallpaperTouchEventsEnabled

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun areWallpaperTouchEventsEnabled(): Boolean
```

Returns whether sending touch events to the system wallpaper (which can be provided by a third-party application) is enabled for windows that show wallpaper in background. Check `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER:kotlin.Int` for more information on showing system wallpaper behind the window.

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | whether sending touch events to the system wallpaper is enabled. |

### canChangeGlobalTouchMode

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun canChangeGlobalTouchMode(): Boolean
```

Returns whether this window is allowed to change the global touch mode state. If the window is not `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_INPUT_METHOD:kotlin.Int`, this will always return `true` (default value).

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `true` if the window can control the touch mode, `false` otherwise. |

**See Also**

- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setCanChangeGlobalTouchMode(kotlin.Boolean)`

### canPlayMoveAnimation

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun canPlayMoveAnimation(): Boolean
```

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | whether playing an animation during a position change is allowed on this window. This does not guarantee that an animation will be played in all such situations. For example, drag-resizing may move the window but not play an animation. |

### copyFrom

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
fun copyFrom(o: WindowManager.LayoutParams!): Int
```

### debug

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun debug(output: String!): String!
```

### describeContents

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun describeContents(): Int
```

Describe the kinds of special objects contained in this Parcelable instance's marshaled representation. For example, if the object will include a file descriptor in the output of `https://developer.android.com/reference/kotlin/android/os/Parcelable.html#writeToParcel(android.os.Parcel,%20kotlin.Int)`, the return value of this method must include the `https://developer.android.com/reference/kotlin/android/os/Parcelable.html#CONTENTS_FILE_DESCRIPTOR:kotlin.Int` bit.

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` | a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either `0` or - `https://developer.android.com/reference/kotlin/android/os/Parcelable.html#CONTENTS_FILE_DESCRIPTOR:kotlin.Int` |

### getBlurBehindRadius

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun getBlurBehindRadius(): Int
```

Returns the blur behind radius of the window.
**See Also**

- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setBlurBehindRadius(kotlin.Int)`

### getColorMode

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun getColorMode(): Int
```

Returns the color mode of the window, one of `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#COLOR_MODE_DEFAULT:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#COLOR_MODE_WIDE_COLOR_GAMUT:kotlin.Int` or `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#COLOR_MODE_HDR:kotlin.Int`.

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` | Value is one of the following: - `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#COLOR_MODE_DEFAULT:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#COLOR_MODE_WIDE_COLOR_GAMUT:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#COLOR_MODE_HDR:kotlin.Int` |

**See Also**

- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setColorMode(kotlin.Int)`

### getDesiredHdrHeadroom

Added in [API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun getDesiredHdrHeadroom(): Float
```

Get the desired amount of HDR headroom as set by `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setDesiredHdrHeadroom(kotlin.Float)`

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html` | The amount of HDR headroom set, or 0 for automatic/default behavior. |

### getFitInsetsSides

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun getFitInsetsSides(): Int
```

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` | the sides that this window is avoiding overlapping. Value is either `0` or a combination of the following: - `https://developer.android.com/reference/kotlin/android/view/WindowInsets.Side#LEFT:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/view/WindowInsets.Side#TOP:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/view/WindowInsets.Side#RIGHT:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/view/WindowInsets.Side#BOTTOM:kotlin.Int` |

### getFitInsetsTypes

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun getFitInsetsTypes(): Int
```

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html` | the `https://developer.android.com/reference/kotlin/android/view/WindowInsets.Type`s that this window is avoiding overlapping. Value is either `0` or a combination of the following: |

### getFrameRateBoostOnTouchEnabled

Added in [API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun getFrameRateBoostOnTouchEnabled(): Boolean
```

Get the value whether we should enable touch boost as set by `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setFrameRateBoostOnTouchEnabled(kotlin.Boolean)`

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | A boolean value to indicate whether we should enable touch boost |

### getTitle

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
fun getTitle(): CharSequence!
```

### hasKeyboardCapture

Added in [API level 36.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun hasKeyboardCapture(): Boolean
```

Returns whether "keyboard capture" is on.

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | whether currently focused window is capturing keys before system processes shortcuts and actions. |

### isFitInsetsIgnoringVisibility

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun isFitInsetsIgnoringVisibility(): Boolean
```

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `true` if this window fits the window insets no matter they are visible or not. |

### isFrameRatePowerSavingsBalanced

Added in [API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun isFrameRatePowerSavingsBalanced(): Boolean
```

Get the value whether frameratepowersavingsbalance is enabled for this Window. This allows device to adjust refresh rate as needed and can be useful for power saving. by `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setFrameRatePowerSavingsBalanced(kotlin.Boolean)`

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | Whether we should enable frameratepowersavingsbalance. |

### isHdrConversionEnabled

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun isHdrConversionEnabled(): Boolean
```

Returns whether the HDR conversion is enabled for the window

### mayUseInputMethod

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open static fun mayUseInputMethod(flags: Int): Boolean
```

Given a particular set of window manager flags, determine whether such a window may be a target for an input method when it has focus. In particular, this checks the `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_NOT_FOCUSABLE:kotlin.Int` and `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_ALT_FOCUSABLE_IM:kotlin.Int` flags and returns true if the combination of the two corresponds to a window that can use the input method.

| Parameters ||
|---|---|
| `flags` | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html): The current window manager flags. |

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | Returns `true` if a window with the given flags would be able to use the input method, `false` if not. |

### setBlurBehindRadius

Added in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun setBlurBehindRadius(blurBehindRadius: Int): Unit
```

Blurs the screen behind the window. The effect is similar to that of `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#dimAmount:kotlin.Float`, but instead of dimmed, the content behind the window will be blurred (or combined with the dim amount, if such is specified).

The density of the blur is set by the blur radius. The radius defines the size of the neighbouring area, from which pixels will be averaged to form the final color for each pixel. The operation approximates a Gaussian blur. A radius of 0 means no blur. The higher the radius, the denser the blur.

Note the difference with `https://developer.android.com/reference/kotlin/android/view/Window#setBackgroundBlurRadius(kotlin.Int)`, which blurs only within the bounds of the window. Blur behind blurs the whole screen behind the window.

Requires `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_BLUR_BEHIND:kotlin.Int` to be set.

Cross-window blur might not be supported by some devices due to GPU limitations. It can also be disabled at runtime, e.g. during battery saving mode, when multimedia tunneling is used or when minimal post processing is requested. In such situations, no blur will be computed or drawn, resulting in there being no depth separation between the window and the content behind it. To avoid this, the app might want to use more `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#dimAmount:kotlin.Float` on its window. To listen for cross-window blur enabled/disabled events, use #addCrossWindowBlurEnabledListener.

| Parameters ||
|---|---|
| `blurBehindRadius` | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html): The blur radius to use for blur behind in pixels. Value is 0 or greater |

**See Also**

- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_BLUR_BEHIND:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#getBlurBehindRadius()`
- `https://developer.android.com/reference/kotlin/android/view/Window#setBackgroundBlurRadius(kotlin.Int)`

### setCanChangeGlobalTouchMode

Added in [API level 37.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun setCanChangeGlobalTouchMode(canChangeGlobalTouchMode: Boolean): Unit
```

Sets the TouchMode state of the window. This is specifically for IMEs that want to change the global Touchmode state at runtime, will otherwise do a no-op for all other apps.

Note: This property is currently only supported for windows of type `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_INPUT_METHOD:kotlin.Int`. Setting this on other window types is a no-op.

By default, this is set to `true` in which the window can set the TouchMode state through interactions (touch/mouse/touchpad). This is only necessary if this window was previously called with `false`.

If set to `false`, user interactions within this window will not modify the global TouchMode state. This is particularly useful for accessibility on-screen keyboards that wish to avoid clearing the focus of the application they are interacting with.

Recommended use case: IMEs with `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_NOT_FOCUSABLE:kotlin.Int` that do not receive any focus may want to set this to `false` to ensure that the application bound to the IME does not destroy its focus when interacting with the IME via touch/mouse/touchpad.

Important: TouchMode is a global system synchronized state that applies to all windows. If this is set to `false`, TouchMode will no longer be a global synchronized state as this window no longer subscribes to TouchMode state changes until either the window is closed or this is set to `true`.

| Parameters ||
|---|---|
| `canChangeGlobalTouchMode` | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html): whether the window should control the TouchMode state. |

**See Also**

- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#canChangeGlobalTouchMode()`

### setCanPlayMoveAnimation

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun setCanPlayMoveAnimation(enable: Boolean): Unit
```

Set whether animations can be played for position changes on this window. If disabled, the window will move to its new position instantly without animating.

### setColorMode

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun setColorMode(colorMode: Int): Unit
```

Set the color mode of the window. Setting the color mode might override the window's pixel `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#format:kotlin.Int`.

The color mode must be one of `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#COLOR_MODE_DEFAULT:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#COLOR_MODE_WIDE_COLOR_GAMUT:kotlin.Int` or `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#COLOR_MODE_HDR:kotlin.Int`.

| Parameters ||
|---|---|
| `colorMode` | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html): Value is one of the following: - `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#COLOR_MODE_DEFAULT:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#COLOR_MODE_WIDE_COLOR_GAMUT:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#COLOR_MODE_HDR:kotlin.Int` |

**See Also**

- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#getColorMode()`

### setDesiredHdrHeadroom

Added in [API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun setDesiredHdrHeadroom(desiredHeadroom: Float): Unit
```

Sets the desired amount of HDR headroom to be used when rendering as a ratio of targetHdrPeakBrightnessInNits / targetSdrWhitePointInNits. Only applies when `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setColorMode(kotlin.Int)` is `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#COLOR_MODE_HDR:kotlin.Int`

| Parameters ||
|---|---|
| `desiredHeadroom` | [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html): Desired amount of HDR headroom. Must be in the range of 1.0 (SDR) to 10,000.0, or 0.0 to reset to default. Value is between 0.0f and 10000.0f inclusive |

**See Also**

- `https://developer.android.com/reference/kotlin/android/view/Window#setDesiredHdrHeadroom(kotlin.Float)`

### setFitInsetsIgnoringVisibility

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun setFitInsetsIgnoringVisibility(ignore: Boolean): Unit
```

Specifies if this window should fit the window insets no matter they are visible or not.

| Parameters ||
|---|---|
| `ignore` | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html): if true, this window will fit the given types even if they are not visible. |

### setFitInsetsSides

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun setFitInsetsSides(sides: Int): Unit
```

Specifies sides of insets that this window should avoid overlapping during layout.

| Parameters ||
|---|---|
| `sides` | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html): which sides that this window should avoid overlapping with the types specified. The initial value of this object includes all sides. Value is either `0` or a combination of the following: - `https://developer.android.com/reference/kotlin/android/view/WindowInsets.Side#LEFT:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/view/WindowInsets.Side#TOP:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/view/WindowInsets.Side#RIGHT:kotlin.Int` - `https://developer.android.com/reference/kotlin/android/view/WindowInsets.Side#BOTTOM:kotlin.Int` |

### setFitInsetsTypes

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun setFitInsetsTypes(types: Int): Unit
```

Specifies types of insets that this window should avoid overlapping during layout.

| Parameters ||
|---|---|
| `types` | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html): which `https://developer.android.com/reference/kotlin/android/view/WindowInsets.Type`s of insets that this window should avoid. The initial value of this object includes all system bars. Value is either `0` or a combination of the following: |

### setFrameRateBoostOnTouchEnabled

Added in [API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun setFrameRateBoostOnTouchEnabled(enabled: Boolean): Unit
```

Set the value whether we should enable Touch Boost

| Parameters ||
|---|---|
| `enabled` | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html): Whether we should enable Touch Boost |

### setFrameRatePowerSavingsBalanced

Added in [API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun setFrameRatePowerSavingsBalanced(enabled: Boolean): Unit
```

Set the value whether frameratepowersavingsbalance is enabled for this Window. This allows device to adjust refresh rate as needed and can be useful for power saving.

| Parameters ||
|---|---|
| `enabled` | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html): Whether we should enable frameratepowersavingsbalance. |

### setHdrConversionEnabled

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun setHdrConversionEnabled(enabled: Boolean): Unit
```

Enables/disables the HDR conversion for the window. By default, the HDR conversion is enabled for the window.

### setKeyboardCaptureEnabled

Added in [API level 36.1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun setKeyboardCaptureEnabled(enabled: Boolean): Unit
```

Allows the currently focused window to capture keys before system processes system shortcuts and actions.

This will allow the application to receive keys before the system processes system shortcuts and actions. But certain system keys (Power keys, etc.) and shortcuts can be reserved and can never be blocked by the current focused window even with "keyboard capture" on.

Window which set this attribute to `true`, but doesn't have the required permission will not be allowed to capture system shortcuts and actions. No exception will be thrown due to missing permission, we will just fallback to the default behavior of processing system shortcuts and actions.
.   
Requires `https://developer.android.com/reference/kotlin/android/Manifest.permission.html#CAPTURE_KEYBOARD:kotlin.String`

| Parameters ||
|---|---|
| `enabled` | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html): whether the window should capture system shortcuts and actions. |

### setTitle

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
fun setTitle(title: CharSequence!): Unit
```

Sets a title for the window.

This title will be used primarily for debugging, and may be exposed via `https://developer.android.com/reference/kotlin/android/view/accessibility/AccessibilityWindowInfo#getTitle()` if no `https://developer.android.com/reference/kotlin/android/view/Window#setTitle(kotlin.CharSequence)` has been set.
**See Also**

- `https://developer.android.com/reference/kotlin/android/view/Window#setTitle(kotlin.CharSequence)`

### setWallpaperTouchEventsEnabled

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun setWallpaperTouchEventsEnabled(enable: Boolean): Unit
```

Set whether sending touch events to the system wallpaper (which can be provided by a third-party application) should be enabled for windows that show wallpaper in background. By default, this is set to `true`. Check `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER:kotlin.Int` for more information on showing system wallpaper behind the window.

| Parameters ||
|---|---|
| `enable` | [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html): whether to enable sending touch events to the system wallpaper. |

### toString

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun toString(): String
```

Returns a string representation of the object.

| Return ||
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | a string representation of the object. |

### writeToParcel

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
open fun writeToParcel(
    out: Parcel, 
    parcelableFlags: Int
): Unit
```

Flatten this object in to a Parcel.

| Parameters ||
|---|---|
| `dest` | The Parcel in which the object should be written. This value cannot be `null`. |
| `flags` | Additional flags about how the object should be written. May be 0 or `https://developer.android.com/reference/kotlin/android/os/Parcelable.html#PARCELABLE_WRITE_RETURN_VALUE:kotlin.Int`. Value is either `0` or a combination of the following: - `https://developer.android.com/reference/kotlin/android/os/Parcelable.html#PARCELABLE_WRITE_RETURN_VALUE:kotlin.Int` |

## Properties

### CREATOR

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
static val CREATOR: Parcelable.Creator<WindowManager.LayoutParams!>
```

### alpha

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var alpha: Float
```

An alpha value to apply to this entire window. An alpha of 1.0 means fully opaque and 0.0 means fully transparent

### buttonBrightness

Added in [API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var buttonBrightness: Float
```

This can be used to override the standard behavior of the button and keyboard backlights. A value of less than 0, the default, means to use the standard backlight behavior. 0 to 1 adjusts the brightness from dark to full bright.

### dimAmount

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var dimAmount: Float
```

When `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_DIM_BEHIND:kotlin.Int` is set, this is the amount of dimming to apply. Range is from 1.0 for completely opaque to 0.0 for no dim.

### dimColor

Added in [API level 37.2](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var dimColor: Long
```

When `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_DIM_BEHIND:kotlin.Int` is set, this is the color of the dimming to apply. The default value is black (0xFF000000). The alpha component of this color is ignored, as the opacity of the dim layer is controlled by `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#dimAmount:kotlin.Float`.

### flags

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var flags: Int
```

Various behavioral options/flags. Default is none.   
Value is either `0` or a combination of the following:

- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_ALLOW_LOCK_WHILE_SCREEN_ON:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_DIM_BEHIND:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_BLUR_BEHIND:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_NOT_FOCUSABLE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_NOT_TOUCHABLE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_NOT_TOUCH_MODAL:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_TOUCHABLE_WHEN_WAKING:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_KEEP_SCREEN_ON:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_LAYOUT_IN_SCREEN:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_LAYOUT_NO_LIMITS:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_FULLSCREEN:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_FORCE_NOT_FULLSCREEN:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_DITHER:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_SECURE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_SCALED:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_IGNORE_CHEEK_PRESSES:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_LAYOUT_INSET_DECOR:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_ALT_FOCUSABLE_IM:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_WATCH_OUTSIDE_TOUCH:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_SHOW_WHEN_LOCKED:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_TURN_SCREEN_ON:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_DISMISS_KEYGUARD:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_SPLIT_TOUCH:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_HARDWARE_ACCELERATED:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_LOCAL_FOCUS_MODE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_LAYOUT_ATTACHED_IN_DECOR:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS:kotlin.Int`

<br />

**See Also**

- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_ALLOW_LOCK_WHILE_SCREEN_ON:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_DIM_BEHIND:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_NOT_FOCUSABLE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_NOT_TOUCHABLE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_NOT_TOUCH_MODAL:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_TOUCHABLE_WHEN_WAKING:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_KEEP_SCREEN_ON:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_LAYOUT_IN_SCREEN:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_LAYOUT_NO_LIMITS:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_FULLSCREEN:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_FORCE_NOT_FULLSCREEN:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_SECURE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_SCALED:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_IGNORE_CHEEK_PRESSES:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_LAYOUT_INSET_DECOR:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_ALT_FOCUSABLE_IM:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_WATCH_OUTSIDE_TOUCH:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_SHOW_WHEN_LOCKED:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_TURN_SCREEN_ON:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_DISMISS_KEYGUARD:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_SPLIT_TOUCH:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_HARDWARE_ACCELERATED:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_LOCAL_FOCUS_MODE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS:kotlin.Int`

### format

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var format: Int
```

The desired bitmap format. May be one of the constants in `https://developer.android.com/reference/kotlin/android/graphics/PixelFormat.html#`. The choice of format might be overridden by `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#setColorMode(kotlin.Int)`. Default is OPAQUE.

### gravity

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var gravity: Int
```

Placement of window within the screen as per `https://developer.android.com/reference/kotlin/android/view/Gravity`. Both `https://developer.android.com/reference/kotlin/android/view/Gravity#apply(kotlin.Int,%20kotlin.Int,%20kotlin.Int,%20android.graphics.Rect,%20kotlin.Int,%20kotlin.Int,%20android.graphics.Rect)` and `https://developer.android.com/reference/kotlin/android/view/Gravity#applyDisplay(kotlin.Int,%20android.graphics.Rect,%20android.graphics.Rect)` are used during window layout, with this value given as the desired gravity. For example you can specify `https://developer.android.com/reference/kotlin/android/view/Gravity#DISPLAY_CLIP_HORIZONTAL:kotlin.Int` and `https://developer.android.com/reference/kotlin/android/view/Gravity#DISPLAY_CLIP_VERTICAL:kotlin.Int` here to control the behavior of `https://developer.android.com/reference/kotlin/android/view/Gravity#applyDisplay(kotlin.Int,%20android.graphics.Rect,%20android.graphics.Rect)`.   
Value is either `0` or a combination of the following:

- `https://developer.android.com/reference/kotlin/android/view/Gravity#FILL:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/Gravity#FILL_HORIZONTAL:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/Gravity#FILL_VERTICAL:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/Gravity#START:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/Gravity#END:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/Gravity#LEFT:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/Gravity#RIGHT:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/Gravity#TOP:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/Gravity#BOTTOM:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/Gravity#CENTER:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/Gravity#CENTER_HORIZONTAL:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/Gravity#CENTER_VERTICAL:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/Gravity#DISPLAY_CLIP_HORIZONTAL:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/Gravity#DISPLAY_CLIP_VERTICAL:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/Gravity#CLIP_HORIZONTAL:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/Gravity#CLIP_VERTICAL:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/Gravity#NO_GRAVITY:kotlin.Int`

<br />

**See Also**

- `https://developer.android.com/reference/kotlin/android/view/Gravity`

### horizontalMargin

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var horizontalMargin: Float
```

The horizontal margin, as a percentage of the container's width, between the container and the widget. See `https://developer.android.com/reference/kotlin/android/view/Gravity#apply(kotlin.Int,%20kotlin.Int,%20kotlin.Int,%20android.graphics.Rect,%20kotlin.Int,%20kotlin.Int,%20android.graphics.Rect)` for how this is used. This field is added with `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#x:kotlin.Int` to supply the xAdj parameter.

### horizontalWeight

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var horizontalWeight: Float
```

Indicates how much of the extra space will be allocated horizontally to the view associated with these LayoutParams. Specify 0 if the view should not be stretched. Otherwise the extra pixels will be pro-rated among all views whose weight is greater than 0.

### layoutInDisplayCutoutMode

Added in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var layoutInDisplayCutoutMode: Int
```

Controls how the window is laid out if there is a `https://developer.android.com/reference/kotlin/android/view/DisplayCutout`.

Defaults to `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT:kotlin.Int`.   
Value is one of the following:

- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS:kotlin.Int`

**See Also**

- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/DisplayCutout`
- `https://developer.android.com/reference/kotlin/android/R.attr.html#windowLayoutInDisplayCutoutMode:kotlin.Int`

### memoryType

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 15](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var memoryType: Int
```

**Deprecated:** *this is ignored*

### packageName

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var packageName: String!
```

Name of the package owning this window.

### preferMinimalPostProcessing

Added in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var preferMinimalPostProcessing: Boolean
```

Indicates whether this window wants the connected display to do minimal post processing on the produced image or video frames. This will only be requested if the window is visible on the screen.

This setting should be used when low latency has a higher priority than image enhancement processing (e.g. for games or video conferencing).

If the Display sink is connected via HDMI, the device will begin to send infoframes with Auto Low Latency Mode enabled and Game Content Type. This will switch the connected display to a minimal image processing mode (if available), which reduces latency, improving the user experience for gaming or video conferencing applications. For more information, see HDMI 2.1 specification.

If the Display sink has an internal connection or uses some other protocol than HDMI, effects may be similar but implementation-defined.

The ability to switch to a mode with minimal post proessing may be disabled by a user setting in the system settings menu. In that case, this field is ignored and the display will remain in its current mode.
**See Also**

- `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#FLAG_PREFER_MINIMAL_POST_PROCESSING:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/Display#isMinimalPostProcessingSupported()`
- `https://developer.android.com/reference/kotlin/android/view/Window#setPreferMinimalPostProcessing(kotlin.Boolean)`

### preferredDisplayModeId

Added in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var preferredDisplayModeId: Int
```

Id of the preferred display mode for the window.

This must be one of the supported modes obtained for the display(s) the window is on. A value of `0` means no preference.

The display resolution and refresh rate part of the mode requested by apps is treated as a preference and may be ignored by the system based on device capabilities.
**See Also**

- `https://developer.android.com/reference/kotlin/android/view/Display#getSupportedModes()`
- `https://developer.android.com/reference/kotlin/android/view/Display.Mode#getModeId()`

### preferredRefreshRate

Added in [API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var preferredRefreshRate: Float
```

The preferred refresh rate for the window.

Before API 34, this must be one of the supported refresh rates obtained for the display(s) the window is on. The selected refresh rate will be applied to the display's default mode.

Starting API 34, this value is not limited to the supported refresh rates obtained from the display(s) for the window: it can be any refresh rate the window intends to run at. Any refresh rate can be provided as the preferred window refresh rate. The OS will select the refresh rate that best matches the `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#preferredRefreshRate:kotlin.Float`.

Setting this value is the equivalent of calling android.view.Surface#setFrameRate with ( preferred_frame_rate, `https://developer.android.com/reference/kotlin/android/view/Surface#FRAME_RATE_COMPATIBILITY_DEFAULT:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/view/Surface#CHANGE_FRAME_RATE_ONLY_IF_SEAMLESS:kotlin.Int`). This should be used in favor of `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#preferredDisplayModeId:kotlin.Int` for applications that want to specify the refresh rate, but do not want to specify a preference for any other displayMode properties (e.g., resolution).

This value is ignored if `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#preferredDisplayModeId:kotlin.Int` is set.
**See Also**

- `https://developer.android.com/reference/kotlin/android/view/Display#getSupportedRefreshRates()`

### rotationAnimation

Added in [API level 18](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var rotationAnimation: Int
```

Define the exit and entry animations used on this window when the device is rotated. This only has an affect if the incoming and outgoing topmost opaque windows have the #FLAG_FULLSCREEN bit set and are not covered by other windows. All other situations default to the `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#ROTATION_ANIMATION_ROTATE:kotlin.Int` behavior.
**See Also**

- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#ROTATION_ANIMATION_ROTATE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#ROTATION_ANIMATION_CROSSFADE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#ROTATION_ANIMATION_JUMPCUT:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#ROTATION_ANIMATION_SEAMLESS:kotlin.Int`

### screenBrightness

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var screenBrightness: Float
```

This can be used to override the user's preferred brightness of the screen. A value of less than 0, the default, means to use the preferred screen brightness. 0 to 1 adjusts the brightness from dark to full bright.

### screenBrightnessUnit

Added in [API level 37.2](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var screenBrightnessUnit: Int
```

The unit of `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#screenBrightness:kotlin.Float`. If not set, the default is `https://developer.android.com/reference/kotlin/android/hardware/display/DisplayManager.html#BRIGHTNESS_UNIT_RAW:kotlin.Int`.   
Value is one of the following:

- `https://developer.android.com/reference/kotlin/android/hardware/display/DisplayManager.html#BRIGHTNESS_UNIT_PERCENTAGE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/hardware/display/DisplayManager.html#BRIGHTNESS_UNIT_RAW:kotlin.Int`

<br />

### screenOrientation

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var screenOrientation: Int
```

Specific orientation value for a window. May be any of the same values allowed for `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#screenOrientation:kotlin.Int`. If not set, a default value of `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_UNSPECIFIED:kotlin.Int` will be used.   
Value is one of the following:

- `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_UNSPECIFIED:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_LANDSCAPE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_PORTRAIT:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_USER:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_BEHIND:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_SENSOR:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_NOSENSOR:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_SENSOR_LANDSCAPE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_SENSOR_PORTRAIT:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_REVERSE_LANDSCAPE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_REVERSE_PORTRAIT:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_FULL_SENSOR:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_USER_LANDSCAPE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_USER_PORTRAIT:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_FULL_USER:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/content/pm/ActivityInfo.html#SCREEN_ORIENTATION_LOCKED:kotlin.Int`

<br />

### softInputMode

Added in [API level 3](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var softInputMode: Int
```

Desired operating mode for any soft input area. May be any combination of:

- One of the visibility states `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_STATE_UNSPECIFIED:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_STATE_UNCHANGED:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_STATE_HIDDEN:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_STATE_ALWAYS_HIDDEN:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_STATE_VISIBLE:kotlin.Int`, or `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_STATE_ALWAYS_VISIBLE:kotlin.Int`.
- One of the adjustment options `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_ADJUST_UNSPECIFIED:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_ADJUST_RESIZE:kotlin.Int`, `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_ADJUST_PAN:kotlin.Int`, or `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_ADJUST_NOTHING:kotlin.Int`.

<br />

This flag can be controlled in your theme through the `https://developer.android.com/reference/kotlin/android/R.attr.html#windowSoftInputMode:kotlin.Int` attribute.
.   
Value is either `0` or a combination of the following:

- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_STATE_UNSPECIFIED:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_STATE_UNCHANGED:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_STATE_HIDDEN:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_STATE_ALWAYS_HIDDEN:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_STATE_VISIBLE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_STATE_ALWAYS_VISIBLE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_ADJUST_UNSPECIFIED:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_ADJUST_RESIZE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_ADJUST_PAN:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_ADJUST_NOTHING:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#SOFT_INPUT_IS_FORWARD_NAVIGATION:kotlin.Int`

### systemUiVisibility

Added in [API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  
Deprecated in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var systemUiVisibility: Int
```

**Deprecated:** *SystemUiVisibility flags are deprecated. Use `https://developer.android.com/reference/kotlin/android/view/WindowInsetsController` instead.*

Control the visibility of the status bar.   
Value is either `0` or a combination of the following:

- `https://developer.android.com/reference/kotlin/android/view/View#SYSTEM_UI_FLAG_VISIBLE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/View#SYSTEM_UI_FLAG_LOW_PROFILE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/View#SYSTEM_UI_FLAG_HIDE_NAVIGATION:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/View#SYSTEM_UI_FLAG_FULLSCREEN:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/View#SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/View#SYSTEM_UI_FLAG_LAYOUT_STABLE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/View#SYSTEM_UI_FLAG_IMMERSIVE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/View#SYSTEM_UI_FLAG_IMMERSIVE_STICKY:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR:kotlin.Int`

<br />

**See Also**

- `https://developer.android.com/reference/kotlin/android/view/View#STATUS_BAR_VISIBLE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/View#STATUS_BAR_HIDDEN:kotlin.Int`

### token

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var token: IBinder!
```

Identifier for this window. This will usually be filled in for you.

### type

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var type: Int
```

The general type of window. There are three main classes of window types:

- **Application windows** (ranging from `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FIRST_APPLICATION_WINDOW:kotlin.Int` to `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LAST_APPLICATION_WINDOW:kotlin.Int`) are normal top-level application windows. For these types of windows, the `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#token:android.os.IBinder` must be set to the token of the activity they are a part of (this will normally be done for you if `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#token:android.os.IBinder` is null).
- **Sub-windows** (ranging from `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FIRST_SUB_WINDOW:kotlin.Int` to `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LAST_SUB_WINDOW:kotlin.Int`) are associated with another top-level window. For these types of windows, the `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#token:android.os.IBinder` must be the token of the window it is attached to.
- **System windows** (ranging from `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#FIRST_SYSTEM_WINDOW:kotlin.Int` to `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#LAST_SYSTEM_WINDOW:kotlin.Int`) are special types of windows for use by the system for specific purposes. They should not normally be used by applications, and a special permission is required to use them.

.   
Value is one of the following:

- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_BASE_APPLICATION:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_STARTING:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_DRAWN_APPLICATION:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_PANEL:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_MEDIA:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_SUB_PANEL:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_ATTACHED_DIALOG:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_STATUS_BAR:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_SEARCH_BAR:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_PHONE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_SYSTEM_ALERT:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_TOAST:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_SYSTEM_OVERLAY:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_PRIORITY_PHONE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_SYSTEM_DIALOG:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_KEYGUARD_DIALOG:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_SYSTEM_ERROR:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_INPUT_METHOD:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_INPUT_METHOD_DIALOG:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_WALLPAPER:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_PRIVATE_PRESENTATION:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_ACCESSIBILITY_OVERLAY:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_OVERLAY:kotlin.Int`

<br />

**See Also**

- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_BASE_APPLICATION:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_STARTING:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_DRAWN_APPLICATION:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_PANEL:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_MEDIA:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_SUB_PANEL:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_APPLICATION_ATTACHED_DIALOG:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_STATUS_BAR:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_SEARCH_BAR:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_PHONE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_SYSTEM_ALERT:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_TOAST:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_SYSTEM_OVERLAY:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_PRIORITY_PHONE:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_SYSTEM_DIALOG:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_KEYGUARD_DIALOG:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_SYSTEM_ERROR:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_INPUT_METHOD:kotlin.Int`
- `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#TYPE_INPUT_METHOD_DIALOG:kotlin.Int`

### verticalMargin

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var verticalMargin: Float
```

The vertical margin, as a percentage of the container's height, between the container and the widget. See `https://developer.android.com/reference/kotlin/android/view/Gravity#apply(kotlin.Int,%20kotlin.Int,%20kotlin.Int,%20android.graphics.Rect,%20kotlin.Int,%20kotlin.Int,%20android.graphics.Rect)` for how this is used. This field is added with `https://developer.android.com/reference/kotlin/android/view/WindowManager.LayoutParams#y:kotlin.Int` to supply the yAdj parameter.

### verticalWeight

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var verticalWeight: Float
```

Indicates how much of the extra space will be allocated vertically to the view associated with these LayoutParams. Specify 0 if the view should not be stretched. Otherwise the extra pixels will be pro-rated among all views whose weight is greater than 0.

### windowAnimations

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var windowAnimations: Int
```

A style resource defining the animations to use for this window. This must be a system resource; it can not be an application resource because the window manager does not have access to applications.

### x

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var x: Int
```

X position for this window. With the default gravity it is ignored. When using `https://developer.android.com/reference/kotlin/android/view/Gravity#LEFT:kotlin.Int` or `https://developer.android.com/reference/kotlin/android/view/Gravity#START:kotlin.Int` or `https://developer.android.com/reference/kotlin/android/view/Gravity#RIGHT:kotlin.Int` or `https://developer.android.com/reference/kotlin/android/view/Gravity#END:kotlin.Int` it provides an offset from the given edge.

### y

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

```
var y: Int
```

Y position for this window. With the default gravity it is ignored. When using `https://developer.android.com/reference/kotlin/android/view/Gravity#TOP:kotlin.Int` or `https://developer.android.com/reference/kotlin/android/view/Gravity#BOTTOM:kotlin.Int` it provides an offset from the given edge.