1// Signature format: 4.0 2package androidx.window.core { 3 4 @SuppressCompatibility @kotlin.RequiresOptIn(level=kotlin.RequiresOptIn.Level.WARNING) @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) public @interface ExperimentalWindowCoreApi { 5 } 6 7} 8 9package androidx.window.core.layout { 10 11 public final class WindowHeightSizeClass { 12 field public static final androidx.window.core.layout.WindowHeightSizeClass COMPACT; 13 field public static final androidx.window.core.layout.WindowHeightSizeClass.Companion Companion; 14 field public static final androidx.window.core.layout.WindowHeightSizeClass EXPANDED; 15 field public static final androidx.window.core.layout.WindowHeightSizeClass MEDIUM; 16 } 17 18 public static final class WindowHeightSizeClass.Companion { 19 } 20 21 public final class WindowSizeClass { 22 method public static androidx.window.core.layout.WindowSizeClass compute(float dpWidth, float dpHeight); 23 method @SuppressCompatibility @androidx.window.core.ExperimentalWindowCoreApi public static androidx.window.core.layout.WindowSizeClass compute(int widthPx, int heightPx, float density); 24 method public androidx.window.core.layout.WindowHeightSizeClass getWindowHeightSizeClass(); 25 method public androidx.window.core.layout.WindowWidthSizeClass getWindowWidthSizeClass(); 26 property public final androidx.window.core.layout.WindowHeightSizeClass windowHeightSizeClass; 27 property public final androidx.window.core.layout.WindowWidthSizeClass windowWidthSizeClass; 28 field public static final androidx.window.core.layout.WindowSizeClass.Companion Companion; 29 } 30 31 public static final class WindowSizeClass.Companion { 32 method public androidx.window.core.layout.WindowSizeClass compute(float dpWidth, float dpHeight); 33 method @SuppressCompatibility @androidx.window.core.ExperimentalWindowCoreApi public androidx.window.core.layout.WindowSizeClass compute(int widthPx, int heightPx, float density); 34 } 35 36 public final class WindowWidthSizeClass { 37 field public static final androidx.window.core.layout.WindowWidthSizeClass COMPACT; 38 field public static final androidx.window.core.layout.WindowWidthSizeClass.Companion Companion; 39 field public static final androidx.window.core.layout.WindowWidthSizeClass EXPANDED; 40 field public static final androidx.window.core.layout.WindowWidthSizeClass MEDIUM; 41 } 42 43 public static final class WindowWidthSizeClass.Companion { 44 } 45 46} 47 48