|
1 | 1 | // Signature format: 3.0 |
| 2 | +package androidx.test.espresso.device { |
| 3 | + |
| 4 | + public final class DeviceInteraction { |
| 5 | + ctor @javax.inject.Inject public DeviceInteraction(androidx.test.platform.device.DeviceController deviceController); |
| 6 | + method public androidx.test.espresso.device.DeviceInteraction perform(androidx.test.espresso.device.action.DeviceAction action); |
| 7 | + field public static final androidx.test.espresso.device.DeviceInteraction.Companion Companion; |
| 8 | + } |
| 9 | + |
| 10 | + public static final class DeviceInteraction.Companion { |
| 11 | + method public androidx.test.espresso.device.DeviceInteraction setBookMode(androidx.test.espresso.device.DeviceInteraction); |
| 12 | + method public androidx.test.espresso.device.DeviceInteraction setClosedMode(androidx.test.espresso.device.DeviceInteraction); |
| 13 | + method public androidx.test.espresso.device.DeviceInteraction setDisplaySize(androidx.test.espresso.device.DeviceInteraction, androidx.test.espresso.device.sizeclass.WidthSizeClass widthSizeClass, androidx.test.espresso.device.sizeclass.HeightSizeClass heightSizeClass); |
| 14 | + method public androidx.test.espresso.device.DeviceInteraction setFlatMode(androidx.test.espresso.device.DeviceInteraction); |
| 15 | + method public androidx.test.espresso.device.DeviceInteraction setScreenOrientation(androidx.test.espresso.device.DeviceInteraction, androidx.test.espresso.device.action.ScreenOrientation orientation); |
| 16 | + method public androidx.test.espresso.device.DeviceInteraction setTabletopMode(androidx.test.espresso.device.DeviceInteraction); |
| 17 | + } |
| 18 | + |
| 19 | + public final class EspressoDevice { |
| 20 | + method public static androidx.test.espresso.device.DeviceInteraction onDevice(); |
| 21 | + field public static final androidx.test.espresso.device.EspressoDevice.Companion Companion; |
| 22 | + } |
| 23 | + |
| 24 | + public static final class EspressoDevice.Companion { |
| 25 | + method public androidx.test.espresso.device.DeviceInteraction onDevice(); |
| 26 | + } |
| 27 | + |
| 28 | +} |
| 29 | + |
| 30 | +package androidx.test.espresso.device.action { |
| 31 | + |
| 32 | + public interface DeviceAction { |
| 33 | + method public void perform(androidx.test.platform.device.DeviceController deviceController); |
| 34 | + } |
| 35 | + |
| 36 | + public final class DeviceActions { |
| 37 | + method public static androidx.test.espresso.device.action.DeviceAction setBookMode(); |
| 38 | + method public static androidx.test.espresso.device.action.DeviceAction setClosedMode(); |
| 39 | + method public static androidx.test.espresso.device.action.DeviceAction setDisplaySize(androidx.test.espresso.device.sizeclass.WidthSizeClass widthSizeClass, androidx.test.espresso.device.sizeclass.HeightSizeClass heightSizeClass); |
| 40 | + method public static androidx.test.espresso.device.action.DeviceAction setFlatMode(); |
| 41 | + method public static androidx.test.espresso.device.action.DeviceAction setScreenOrientation(androidx.test.espresso.device.action.ScreenOrientation orientation); |
| 42 | + method public static androidx.test.espresso.device.action.DeviceAction setTabletopMode(); |
| 43 | + } |
| 44 | + |
| 45 | + public enum ScreenOrientation { |
| 46 | + method public static androidx.test.espresso.device.action.ScreenOrientation valueOf(String value) throws java.lang.IllegalArgumentException; |
| 47 | + method public static androidx.test.espresso.device.action.ScreenOrientation[] values(); |
| 48 | + enum_constant public static final androidx.test.espresso.device.action.ScreenOrientation LANDSCAPE; |
| 49 | + enum_constant public static final androidx.test.espresso.device.action.ScreenOrientation PORTRAIT; |
| 50 | + } |
| 51 | + |
| 52 | +} |
| 53 | + |
| 54 | +package androidx.test.espresso.device.controller { |
| 55 | + |
| 56 | + public enum DeviceMode { |
| 57 | + method public static androidx.test.espresso.device.controller.DeviceMode valueOf(String value) throws java.lang.IllegalArgumentException; |
| 58 | + method public static androidx.test.espresso.device.controller.DeviceMode[] values(); |
| 59 | + enum_constant public static final androidx.test.espresso.device.controller.DeviceMode BOOK; |
| 60 | + enum_constant public static final androidx.test.espresso.device.controller.DeviceMode CLOSED; |
| 61 | + enum_constant public static final androidx.test.espresso.device.controller.DeviceMode FLAT; |
| 62 | + enum_constant public static final androidx.test.espresso.device.controller.DeviceMode TABLETOP; |
| 63 | + } |
| 64 | + |
| 65 | +} |
| 66 | + |
| 67 | +package androidx.test.espresso.device.filter { |
| 68 | + |
| 69 | + @java.lang.annotation.Repeatable(RequiresDeviceModes::class) @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.RUNTIME) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.CLASS, kotlin.annotation.AnnotationTarget.FUNCTION}) public @interface RequiresDeviceMode { |
| 70 | + method public abstract androidx.test.espresso.device.controller.DeviceMode mode(); |
| 71 | + property public abstract androidx.test.espresso.device.controller.DeviceMode mode; |
| 72 | + } |
| 73 | + |
| 74 | + @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.RUNTIME) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.CLASS, kotlin.annotation.AnnotationTarget.FUNCTION}) public @interface RequiresDisplay { |
| 75 | + method public abstract androidx.test.espresso.device.sizeclass.HeightSizeClass.Companion.HeightSizeClassEnum heightSizeClass(); |
| 76 | + method public abstract androidx.test.espresso.device.sizeclass.WidthSizeClass.Companion.WidthSizeClassEnum widthSizeClass(); |
| 77 | + property public abstract androidx.test.espresso.device.sizeclass.HeightSizeClass.Companion.HeightSizeClassEnum heightSizeClass; |
| 78 | + property public abstract androidx.test.espresso.device.sizeclass.WidthSizeClass.Companion.WidthSizeClassEnum widthSizeClass; |
| 79 | + } |
| 80 | + |
| 81 | +} |
| 82 | + |
| 83 | +package androidx.test.espresso.device.rules { |
| 84 | + |
| 85 | + public final class DisplaySizeRule implements org.junit.rules.TestRule { |
| 86 | + ctor public DisplaySizeRule(); |
| 87 | + method public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement statement, org.junit.runner.Description description); |
| 88 | + field public static final androidx.test.espresso.device.rules.DisplaySizeRule.Companion Companion; |
| 89 | + } |
| 90 | + |
| 91 | + public static final class DisplaySizeRule.Companion { |
| 92 | + } |
| 93 | + |
| 94 | + public final class ScreenOrientationRule implements org.junit.rules.TestRule { |
| 95 | + ctor public ScreenOrientationRule(androidx.test.espresso.device.action.ScreenOrientation? defaultOrientation); |
| 96 | + method public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement statement, org.junit.runner.Description description); |
| 97 | + } |
| 98 | + |
| 99 | + public final class SkipUnsupportedDeviceActionsRule implements org.junit.rules.TestRule { |
| 100 | + ctor public SkipUnsupportedDeviceActionsRule(); |
| 101 | + method public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement statement, org.junit.runner.Description description); |
| 102 | + } |
| 103 | + |
| 104 | +} |
| 105 | + |
| 106 | +package androidx.test.espresso.device.sizeclass { |
| 107 | + |
| 108 | + public final class HeightSizeClass { |
| 109 | + method public static androidx.test.espresso.device.sizeclass.HeightSizeClass compute(int dpHeight); |
| 110 | + method public static androidx.test.espresso.device.sizeclass.HeightSizeClass.Companion.HeightSizeClassEnum getEnum(androidx.test.espresso.device.sizeclass.HeightSizeClass sizeClass); |
| 111 | + method public static int getHeightDpInSizeClass(androidx.test.espresso.device.sizeclass.HeightSizeClass sizeClass); |
| 112 | + field public static final androidx.test.espresso.device.sizeclass.HeightSizeClass COMPACT; |
| 113 | + field public static final androidx.test.espresso.device.sizeclass.HeightSizeClass.Companion Companion; |
| 114 | + field public static final androidx.test.espresso.device.sizeclass.HeightSizeClass EXPANDED; |
| 115 | + field public static final androidx.test.espresso.device.sizeclass.HeightSizeClass MEDIUM; |
| 116 | + } |
| 117 | + |
| 118 | + public static final class HeightSizeClass.Companion { |
| 119 | + method public androidx.test.espresso.device.sizeclass.HeightSizeClass compute(int dpHeight); |
| 120 | + method public androidx.test.espresso.device.sizeclass.HeightSizeClass.Companion.HeightSizeClassEnum getEnum(androidx.test.espresso.device.sizeclass.HeightSizeClass sizeClass); |
| 121 | + method public int getHeightDpInSizeClass(androidx.test.espresso.device.sizeclass.HeightSizeClass sizeClass); |
| 122 | + } |
| 123 | + |
| 124 | + public enum HeightSizeClass.Companion.HeightSizeClassEnum { |
| 125 | + method public final String! getDescription(); |
| 126 | + method public static androidx.test.espresso.device.sizeclass.HeightSizeClass.Companion.HeightSizeClassEnum valueOf(String value) throws java.lang.IllegalArgumentException; |
| 127 | + method public static androidx.test.espresso.device.sizeclass.HeightSizeClass.Companion.HeightSizeClassEnum[] values(); |
| 128 | + property public final String! description; |
| 129 | + enum_constant public static final androidx.test.espresso.device.sizeclass.HeightSizeClass.Companion.HeightSizeClassEnum COMPACT; |
| 130 | + enum_constant public static final androidx.test.espresso.device.sizeclass.HeightSizeClass.Companion.HeightSizeClassEnum EXPANDED; |
| 131 | + enum_constant public static final androidx.test.espresso.device.sizeclass.HeightSizeClass.Companion.HeightSizeClassEnum MEDIUM; |
| 132 | + } |
| 133 | + |
| 134 | + public final class WidthSizeClass { |
| 135 | + method public static androidx.test.espresso.device.sizeclass.WidthSizeClass compute(int dpWidth); |
| 136 | + method public static androidx.test.espresso.device.sizeclass.WidthSizeClass.Companion.WidthSizeClassEnum getEnum(androidx.test.espresso.device.sizeclass.WidthSizeClass sizeClass); |
| 137 | + method public static int getWidthDpInSizeClass(androidx.test.espresso.device.sizeclass.WidthSizeClass sizeClass); |
| 138 | + field public static final androidx.test.espresso.device.sizeclass.WidthSizeClass COMPACT; |
| 139 | + field public static final androidx.test.espresso.device.sizeclass.WidthSizeClass.Companion Companion; |
| 140 | + field public static final androidx.test.espresso.device.sizeclass.WidthSizeClass EXPANDED; |
| 141 | + field public static final androidx.test.espresso.device.sizeclass.WidthSizeClass MEDIUM; |
| 142 | + } |
| 143 | + |
| 144 | + public static final class WidthSizeClass.Companion { |
| 145 | + method public androidx.test.espresso.device.sizeclass.WidthSizeClass compute(int dpWidth); |
| 146 | + method public androidx.test.espresso.device.sizeclass.WidthSizeClass.Companion.WidthSizeClassEnum getEnum(androidx.test.espresso.device.sizeclass.WidthSizeClass sizeClass); |
| 147 | + method public int getWidthDpInSizeClass(androidx.test.espresso.device.sizeclass.WidthSizeClass sizeClass); |
| 148 | + } |
| 149 | + |
| 150 | + public enum WidthSizeClass.Companion.WidthSizeClassEnum { |
| 151 | + method public final String! getDescription(); |
| 152 | + method public static androidx.test.espresso.device.sizeclass.WidthSizeClass.Companion.WidthSizeClassEnum valueOf(String value) throws java.lang.IllegalArgumentException; |
| 153 | + method public static androidx.test.espresso.device.sizeclass.WidthSizeClass.Companion.WidthSizeClassEnum[] values(); |
| 154 | + property public final String! description; |
| 155 | + enum_constant public static final androidx.test.espresso.device.sizeclass.WidthSizeClass.Companion.WidthSizeClassEnum COMPACT; |
| 156 | + enum_constant public static final androidx.test.espresso.device.sizeclass.WidthSizeClass.Companion.WidthSizeClassEnum EXPANDED; |
| 157 | + enum_constant public static final androidx.test.espresso.device.sizeclass.WidthSizeClass.Companion.WidthSizeClassEnum MEDIUM; |
| 158 | + } |
| 159 | + |
| 160 | +} |
| 161 | + |
0 commit comments