1// Signature format: 4.0 2package androidx.window.testing.layout { 3 4 public final class DisplayFeatureTesting { 5 method public static androidx.window.layout.FoldingFeature createFoldingFeature(android.app.Activity activity); 6 method public static androidx.window.layout.FoldingFeature createFoldingFeature(android.app.Activity activity, optional int center); 7 method public static androidx.window.layout.FoldingFeature createFoldingFeature(android.app.Activity activity, optional int center, optional int size); 8 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); 9 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); 10 method @SuppressCompatibility @androidx.window.core.ExperimentalWindowApi public static androidx.window.layout.FoldingFeature createFoldingFeature(android.graphics.Rect windowBounds); 11 method @SuppressCompatibility @androidx.window.core.ExperimentalWindowApi public static androidx.window.layout.FoldingFeature createFoldingFeature(android.graphics.Rect windowBounds, optional int center); 12 method @SuppressCompatibility @androidx.window.core.ExperimentalWindowApi public static androidx.window.layout.FoldingFeature createFoldingFeature(android.graphics.Rect windowBounds, optional int center, optional int size); 13 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); 14 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); 15 } 16 17 public final class WindowLayoutInfoPublisherRule implements org.junit.rules.TestRule { 18 ctor public WindowLayoutInfoPublisherRule(); 19 method public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description); 20 method public void overrideWindowLayoutInfo(androidx.window.layout.WindowLayoutInfo info); 21 } 22 23 public final class WindowLayoutInfoTesting { 24 method public static androidx.window.layout.WindowLayoutInfo createWindowLayoutInfo(); 25 method public static androidx.window.layout.WindowLayoutInfo createWindowLayoutInfo(optional java.util.List<? extends androidx.window.layout.DisplayFeature> displayFeatures); 26 } 27 28} 29 30