DisplayCutout

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

public final class DisplayCutout

A display's cutout: the window never has one.

Constructors

public DisplayCutout(Insets safeInsets, Rect boundLeft, Rect boundTop, Rect boundRight, Rect boundBottom) empty body source
public DisplayCutout(Insets safeInsets, Rect boundLeft, Rect boundTop, Rect boundRight, Rect boundBottom, Insets waterfallInsets) empty body source
public DisplayCutout(Rect safeInsets, java.util.List<Rect> boundingRects) empty body deprecated source

Methods

public int getSafeInsetTop() source
public int getSafeInsetBottom() source
public int getSafeInsetLeft() source
public int getSafeInsetRight() source
public List<Rect> getBoundingRects() source
public Rect getBoundingRectTop() source
public Rect getBoundingRectBottom() source
public Rect getBoundingRectLeft() source
public Rect getBoundingRectRight() source
public Insets getWaterfallInsets() 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.