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.
public static final WindowInsets CONSUMED sourcepublic WindowInsets(WindowInsets src) sourcepublic static WindowInsets none() sourceThe insets a window gets: none, not consumed.
public Insets getInsets(int typeMask) sourcepublic Insets getInsetsIgnoringVisibility(int typeMask) sourcepublic boolean isVisible(int typeMask) sourcepublic Insets getSystemWindowInsets() sourcepublic int getSystemWindowInsetLeft() sourcepublic int getSystemWindowInsetTop() sourcepublic int getSystemWindowInsetRight() sourcepublic int getSystemWindowInsetBottom() sourcepublic boolean hasSystemWindowInsets() sourcepublic boolean hasInsets() sourcepublic Insets getStableInsets() sourcepublic int getStableInsetLeft() sourcepublic int getStableInsetTop() sourcepublic int getStableInsetRight() sourcepublic int getStableInsetBottom() sourcepublic boolean hasStableInsets() sourcepublic Insets getSystemGestureInsets() sourcepublic Insets getMandatorySystemGestureInsets() sourcepublic Insets getTappableElementInsets() sourcepublic DisplayCutout getDisplayCutout() sourcepublic RoundedCorner getRoundedCorner(int position) sourcepublic Rect getPrivacyIndicatorBounds() sourcepublic boolean isConsumed() sourcepublic boolean isRound() sourcepublic WindowInsets consumeSystemWindowInsets() sourcepublic WindowInsets consumeStableInsets() sourcepublic WindowInsets consumeDisplayCutout() sourcepublic WindowInsets replaceSystemWindowInsets(int left, int top, int right, int bottom) sourcepublic WindowInsets replaceSystemWindowInsets(Rect r) sourcepublic WindowInsets inset(Insets insets) sourcepublic WindowInsets inset(int left, int top, int right, int bottom) sourcepublic boolean equals(Object o) sourcepublic int hashCode() sourcepublic String toString() sourceMade 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.