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 androidx.window.core.layout.WindowSizeClass.Companion Companion;
44    field public static final int HEIGHT_DP_EXPANDED_LOWER_BOUND = 900; // 0x384
45    field public static final int HEIGHT_DP_MEDIUM_LOWER_BOUND = 480; // 0x1e0
46    field public static final int WIDTH_DP_EXPANDED_LOWER_BOUND = 840; // 0x348
47    field public static final int WIDTH_DP_MEDIUM_LOWER_BOUND = 600; // 0x258
48  }
49
50  public static final class WindowSizeClass.Companion {
51    method @Deprecated public androidx.window.core.layout.WindowSizeClass compute(float dpWidth, float dpHeight);
52    property public java.util.Set<? extends androidx.window.core.layout.WindowSizeClass> BREAKPOINTS_V1;
53    property public static int HEIGHT_DP_EXPANDED_LOWER_BOUND;
54    property public static int HEIGHT_DP_MEDIUM_LOWER_BOUND;
55    property public static int WIDTH_DP_EXPANDED_LOWER_BOUND;
56    property public static int WIDTH_DP_MEDIUM_LOWER_BOUND;
57  }
58
59  public final class WindowSizeClassSelectors {
60    method public static androidx.window.core.layout.WindowSizeClass computeWindowSizeClass(java.util.Set<androidx.window.core.layout.WindowSizeClass>, float widthDp, float heightDp);
61    method public static androidx.window.core.layout.WindowSizeClass computeWindowSizeClass(java.util.Set<androidx.window.core.layout.WindowSizeClass>, int widthDp, int heightDp);
62    method public static androidx.window.core.layout.WindowSizeClass computeWindowSizeClassPreferHeight(java.util.Set<androidx.window.core.layout.WindowSizeClass>, int widthDp, int heightDp);
63  }
64
65  @Deprecated public final class WindowWidthSizeClass {
66    field @Deprecated public static final androidx.window.core.layout.WindowWidthSizeClass COMPACT;
67    field @Deprecated public static final androidx.window.core.layout.WindowWidthSizeClass.Companion Companion;
68    field @Deprecated public static final androidx.window.core.layout.WindowWidthSizeClass EXPANDED;
69    field @Deprecated public static final androidx.window.core.layout.WindowWidthSizeClass MEDIUM;
70  }
71
72  @Deprecated public static final class WindowWidthSizeClass.Companion {
73    method @Deprecated public androidx.window.core.layout.WindowWidthSizeClass getCOMPACT();
74    method @Deprecated public androidx.window.core.layout.WindowWidthSizeClass getEXPANDED();
75    method @Deprecated public androidx.window.core.layout.WindowWidthSizeClass getMEDIUM();
76    property @Deprecated public androidx.window.core.layout.WindowWidthSizeClass COMPACT;
77    property @Deprecated public androidx.window.core.layout.WindowWidthSizeClass EXPANDED;
78    property @Deprecated public androidx.window.core.layout.WindowWidthSizeClass MEDIUM;
79  }
80
81}
82
83