| // Signature format: 4.0 |
| package androidx.window.testing.layout { |
| |
| public final class DisplayFeatureTesting { |
| method public static androidx.window.layout.FoldingFeature createFoldingFeature(android.app.Activity activity); |
| method public static androidx.window.layout.FoldingFeature createFoldingFeature(android.app.Activity activity, optional int center); |
| method public static androidx.window.layout.FoldingFeature createFoldingFeature(android.app.Activity activity, optional int center, optional int size); |
| method public static androidx.window.layout.FoldingFeature createFoldingFeature(android.app.Activity activity, optional int center, optional int size, optional androidx.window.layout.FoldingFeature.State state); |
| method public static androidx.window.layout.FoldingFeature createFoldingFeature(android.app.Activity activity, optional int center, optional int size, optional androidx.window.layout.FoldingFeature.State state, optional androidx.window.layout.FoldingFeature.Orientation orientation); |
| method @SuppressCompatibility @androidx.window.core.ExperimentalWindowApi public static androidx.window.layout.FoldingFeature createFoldingFeature(android.graphics.Rect windowBounds); |
| method @SuppressCompatibility @androidx.window.core.ExperimentalWindowApi public static androidx.window.layout.FoldingFeature createFoldingFeature(android.graphics.Rect windowBounds, optional int center); |
| method @SuppressCompatibility @androidx.window.core.ExperimentalWindowApi public static androidx.window.layout.FoldingFeature createFoldingFeature(android.graphics.Rect windowBounds, optional int center, optional int size); |
| method @SuppressCompatibility @androidx.window.core.ExperimentalWindowApi public static androidx.window.layout.FoldingFeature createFoldingFeature(android.graphics.Rect windowBounds, optional int center, optional int size, optional androidx.window.layout.FoldingFeature.State state); |
| method @SuppressCompatibility @androidx.window.core.ExperimentalWindowApi public static androidx.window.layout.FoldingFeature createFoldingFeature(android.graphics.Rect windowBounds, optional int center, optional int size, optional androidx.window.layout.FoldingFeature.State state, optional androidx.window.layout.FoldingFeature.Orientation orientation); |
| } |
| |
| public final class WindowLayoutInfoPublisherRule implements org.junit.rules.TestRule { |
| ctor public WindowLayoutInfoPublisherRule(); |
| method public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description); |
| method public void overrideWindowLayoutInfo(androidx.window.layout.WindowLayoutInfo info); |
| } |
| |
| public final class WindowLayoutInfoTesting { |
| method public static androidx.window.layout.WindowLayoutInfo createWindowLayoutInfo(); |
| method public static androidx.window.layout.WindowLayoutInfo createWindowLayoutInfo(optional java.util.List<? extends androidx.window.layout.DisplayFeature> displayFeatures); |
| } |
| |
| } |
| |