Class of android.view · WindowMetrics.java · Android's reference
public final class WindowMetrics
A window's bounds and insets.
public WindowMetrics(Rect bounds, WindowInsets windowInsets) sourcepublic WindowMetrics(Rect bounds, WindowInsets windowInsets, float density) sourcepublic Rect getBounds() sourcepublic WindowInsets getWindowInsets() sourcepublic float getDensity() 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.