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  @Deprecated public final class WindowHeightSizeClass {
12    field @Deprecated public static final androidx.window.core.layout.WindowHeightSizeClass COMPACT;
13    field @Deprecated public static final androidx.window.core.layout.WindowHeightSizeClass.Companion Companion;
14    field @Deprecated public static final androidx.window.core.layout.WindowHeightSizeClass EXPANDED;
15    field @Deprecated public static final androidx.window.core.layout.WindowHeightSizeClass MEDIUM;
16  }
17
18  @Deprecated public static final class WindowHeightSizeClass.Companion {
19    method @Deprecated public androidx.window.core.layout.WindowHeightSizeClass getCOMPACT();
20    method @Deprecated public androidx.window.core.layout.WindowHeightSizeClass getEXPANDED();
21    method @Deprecated public androidx.window.core.layout.WindowHeightSizeClass getMEDIUM();
22    property @Deprecated public androidx.window.core.layout.WindowHeightSizeClass COMPACT;
23    property @Deprecated public androidx.window.core.layout.WindowHeightSizeClass EXPANDED;
24    property @Deprecated public androidx.window.core.layout.WindowHeightSizeClass MEDIUM;
25  }
26
27  public final class WindowSizeClass {
28    ctor public WindowSizeClass(float widthDp, float heightDp);
29    ctor public WindowSizeClass(int minWidthDp, int minHeightDp);
30    method @Deprecated public static androidx.window.core.layout.WindowSizeClass compute(float dpWidth, float dpHeight);
31    method public int getMinHeightDp();
32    method public int getMinWidthDp();
33    method @Deprecated public androidx.window.core.layout.WindowHeightSizeClass getWindowHeightSizeClass();
34    method @Deprecated public androidx.window.core.layout.WindowWidthSizeClass getWindowWidthSizeClass();
35    method public boolean isAtLeastBreakpoint(int widthDpBreakpoint, int heightDpBreakpoint);
36    method public boolean isHeightAtLeastBreakpoint(int heightDpBreakpoint);
37    method public boolean isWidthAtLeastBreakpoint(int widthDpBreakpoint);
38    property public int minHeightDp;
39    property public int minWidthDp;
40    property @Deprecated public androidx.window.core.layout.WindowHeightSizeClass windowHeightSizeClass;
41    property @Deprecated public androidx.window.core.layout.WindowWidthSizeClass windowWidthSizeClass;
42    field public static final java.util.Set<androidx.window.core.layout.WindowSizeClass> BREAKPOINTS_V1;
43    field public static final java.util.Set<androidx.window.core.layout.WindowSizeClass> BREAKPOINTS_V2;
44    field public static final androidx.window.core.layout.WindowSizeClass.Companion Companion;
45    field public static final int HEIGHT_DP_EXPANDED_LOWER_BOUND = 900; // 0x384
46    field public static final int HEIGHT_DP_MEDIUM_LOWER_BOUND = 480; // 0x1e0
47    field public static final int WIDTH_DP_EXPANDED_LOWER_BOUND = 840; // 0x348
48    field public static final int WIDTH_DP_EXTRA_LARGE_LOWER_BOUND = 1600; // 0x640
49    field public static final int WIDTH_DP_LARGE_LOWER_BOUND = 1200; // 0x4b0
50    field public static final int WIDTH_DP_MEDIUM_LOWER_BOUND = 600; // 0x258
51  }
52
53  public static final class WindowSizeClass.Companion {
54    method @Deprecated public androidx.window.core.layout.WindowSizeClass compute(float dpWidth, float dpHeight);
55    property public java.util.Set<? extends androidx.window.core.layout.WindowSizeClass> BREAKPOINTS_V1;
56    property public java.util.Set<? extends androidx.window.core.layout.WindowSizeClass> BREAKPOINTS_V2;
57    property public static int HEIGHT_DP_EXPANDED_LOWER_BOUND;
58    property public static int HEIGHT_DP_MEDIUM_LOWER_BOUND;
59    property public static int WIDTH_DP_EXPANDED_LOWER_BOUND;
60    property public static int WIDTH_DP_EXTRA_LARGE_LOWER_BOUND;
61    property public static int WIDTH_DP_LARGE_LOWER_BOUND;
62    property public static int WIDTH_DP_MEDIUM_LOWER_BOUND;
63  }
64
65  public final class WindowSizeClassSelectors {
66    method public static androidx.window.core.layout.WindowSizeClass computeWindowSizeClass(java.util.Set<androidx.window.core.layout.WindowSizeClass>, float widthDp, float heightDp);
67    method public static androidx.window.core.layout.WindowSizeClass computeWindowSizeClass(java.util.Set<androidx.window.core.layout.WindowSizeClass>, int widthDp, int heightDp);
68    method public static androidx.window.core.layout.WindowSizeClass computeWindowSizeClassPreferHeight(java.util.Set<androidx.window.core.layout.WindowSizeClass>, int widthDp, int heightDp);
69  }
70
71  @Deprecated public final class WindowWidthSizeClass {
72    field @Deprecated public static final androidx.window.core.layout.WindowWidthSizeClass COMPACT;
73    field @Deprecated public static final androidx.window.core.layout.WindowWidthSizeClass.Companion Companion;
74    field @Deprecated public static final androidx.window.core.layout.WindowWidthSizeClass EXPANDED;
75    field @Deprecated public static final androidx.window.core.layout.WindowWidthSizeClass MEDIUM;
76  }
77
78  @Deprecated public static final class WindowWidthSizeClass.Companion {
79    method @Deprecated public androidx.window.core.layout.WindowWidthSizeClass getCOMPACT();
80    method @Deprecated public androidx.window.core.layout.WindowWidthSizeClass getEXPANDED();
81    method @Deprecated public androidx.window.core.layout.WindowWidthSizeClass getMEDIUM();
82    property @Deprecated public androidx.window.core.layout.WindowWidthSizeClass COMPACT;
83    property @Deprecated public androidx.window.core.layout.WindowWidthSizeClass EXPANDED;
84    property @Deprecated public androidx.window.core.layout.WindowWidthSizeClass MEDIUM;
85  }
86
87}
88
89