WindowInsets

Class of android.view · WindowInsets.java · Android's reference

public final class WindowInsets

A window's insets: none here, as the window has no system bars, cutout or keyboard over it.

Nested types

Fields

public static final WindowInsets CONSUMED source

Constructors

public WindowInsets(WindowInsets src) source

Methods

public static WindowInsets none() source

The insets a window gets: none, not consumed.

public Insets getInsets(int typeMask) source
public Insets getInsetsIgnoringVisibility(int typeMask) source
public boolean isVisible(int typeMask) source
public Insets getSystemWindowInsets() source
public int getSystemWindowInsetLeft() source
public int getSystemWindowInsetTop() source
public int getSystemWindowInsetRight() source
public int getSystemWindowInsetBottom() source
public boolean hasSystemWindowInsets() source
public boolean hasInsets() source
public Insets getStableInsets() source
public int getStableInsetLeft() source
public int getStableInsetTop() source
public int getStableInsetRight() source
public int getStableInsetBottom() source
public boolean hasStableInsets() source
public Insets getSystemGestureInsets() source
public Insets getMandatorySystemGestureInsets() source
public Insets getTappableElementInsets() source
public DisplayCutout getDisplayCutout() source
public RoundedCorner getRoundedCorner(int position) source
public Rect getPrivacyIndicatorBounds() source
public boolean isConsumed() source
public boolean isRound() source
public WindowInsets consumeSystemWindowInsets() source
public WindowInsets consumeStableInsets() source
public WindowInsets consumeDisplayCutout() source
public WindowInsets replaceSystemWindowInsets(int left, int top, int right, int bottom) source
public WindowInsets replaceSystemWindowInsets(Rect r) source
public WindowInsets inset(Insets insets) source
public WindowInsets inset(int left, int top, int right, int bottom) source
public boolean equals(Object o) source
public int hashCode() source
public String toString() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.