1// Signature format: 4.0
2package androidx.compose.ui.test {
3
4  public final class ActionsKt {
5    method public static androidx.compose.ui.test.SemanticsNodeInteraction performClick(androidx.compose.ui.test.SemanticsNodeInteraction);
6    method @Deprecated public static androidx.compose.ui.test.SemanticsNodeInteraction performGesture(androidx.compose.ui.test.SemanticsNodeInteraction, kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.GestureScope,kotlin.Unit> block);
7    method @androidx.compose.ui.test.ExperimentalTestApi public static androidx.compose.ui.test.SemanticsNodeInteraction performMouseInput(androidx.compose.ui.test.SemanticsNodeInteraction, kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.MouseInjectionScope,kotlin.Unit> block);
8    method public static androidx.compose.ui.test.SemanticsNodeInteraction performMultiModalInput(androidx.compose.ui.test.SemanticsNodeInteraction, kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.MultiModalInjectionScope,kotlin.Unit> block);
9    method public static androidx.compose.ui.test.SemanticsNodeInteraction performScrollTo(androidx.compose.ui.test.SemanticsNodeInteraction);
10    method public static androidx.compose.ui.test.SemanticsNodeInteraction performScrollToIndex(androidx.compose.ui.test.SemanticsNodeInteraction, int index);
11    method public static androidx.compose.ui.test.SemanticsNodeInteraction performScrollToKey(androidx.compose.ui.test.SemanticsNodeInteraction, Object key);
12    method public static androidx.compose.ui.test.SemanticsNodeInteraction performScrollToNode(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.test.SemanticsMatcher matcher);
13    method public static androidx.compose.ui.test.SemanticsNodeInteraction performSemanticsAction(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.semantics.SemanticsPropertyKey<androidx.compose.ui.semantics.AccessibilityAction<kotlin.jvm.functions.Function0<java.lang.Boolean>>> key);
14    method public static <T extends kotlin.Function<? extends java.lang.Boolean>> androidx.compose.ui.test.SemanticsNodeInteraction performSemanticsAction(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.semantics.SemanticsPropertyKey<androidx.compose.ui.semantics.AccessibilityAction<T>> key, kotlin.jvm.functions.Function1<? super T,kotlin.Unit> invocation);
15    method @Deprecated public static void performSemanticsActionUnit(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.semantics.SemanticsPropertyKey<androidx.compose.ui.semantics.AccessibilityAction<kotlin.jvm.functions.Function0<? extends java.lang.Boolean>>> key);
16    method @Deprecated public static <T extends kotlin.Function<? extends java.lang.Boolean>> void performSemanticsActionUnit(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.semantics.SemanticsPropertyKey<androidx.compose.ui.semantics.AccessibilityAction<T>> key, kotlin.jvm.functions.Function1<? super T,? extends kotlin.Unit> invocation);
17    method public static androidx.compose.ui.test.SemanticsNodeInteraction performTouchInput(androidx.compose.ui.test.SemanticsNodeInteraction, kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.TouchInjectionScope,kotlin.Unit> block);
18  }
19
20  public final class Actions_androidKt {
21  }
22
23  public final class AndroidAssertions_androidKt {
24  }
25
26  public final class AndroidImageHelpers_androidKt {
27    method @RequiresApi(android.os.Build.VERSION_CODES.O) public static androidx.compose.ui.graphics.ImageBitmap captureToImage(androidx.compose.ui.test.SemanticsNodeInteraction);
28  }
29
30  public final class AndroidInputDispatcher_androidKt {
31  }
32
33  public final class AndroidOutput_androidKt {
34  }
35
36  public final class AssertionsKt {
37    method public static androidx.compose.ui.test.SemanticsNodeInteraction assert(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.test.SemanticsMatcher matcher, optional kotlin.jvm.functions.Function0<java.lang.String>? messagePrefixOnError);
38    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection assertAll(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher);
39    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection assertAny(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher);
40    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertContentDescriptionContains(androidx.compose.ui.test.SemanticsNodeInteraction, String value, optional boolean substring, optional boolean ignoreCase);
41    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertContentDescriptionEquals(androidx.compose.ui.test.SemanticsNodeInteraction, java.lang.String... values);
42    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection assertCountEquals(androidx.compose.ui.test.SemanticsNodeInteractionCollection, int expectedSize);
43    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertHasClickAction(androidx.compose.ui.test.SemanticsNodeInteraction);
44    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertHasNoClickAction(androidx.compose.ui.test.SemanticsNodeInteraction);
45    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsDisplayed(androidx.compose.ui.test.SemanticsNodeInteraction);
46    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsEnabled(androidx.compose.ui.test.SemanticsNodeInteraction);
47    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsFocused(androidx.compose.ui.test.SemanticsNodeInteraction);
48    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsNotDisplayed(androidx.compose.ui.test.SemanticsNodeInteraction);
49    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsNotEnabled(androidx.compose.ui.test.SemanticsNodeInteraction);
50    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsNotFocused(androidx.compose.ui.test.SemanticsNodeInteraction);
51    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsNotSelected(androidx.compose.ui.test.SemanticsNodeInteraction);
52    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsOff(androidx.compose.ui.test.SemanticsNodeInteraction);
53    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsOn(androidx.compose.ui.test.SemanticsNodeInteraction);
54    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsSelectable(androidx.compose.ui.test.SemanticsNodeInteraction);
55    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsSelected(androidx.compose.ui.test.SemanticsNodeInteraction);
56    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertIsToggleable(androidx.compose.ui.test.SemanticsNodeInteraction);
57    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertRangeInfoEquals(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.semantics.ProgressBarRangeInfo value);
58    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertTextContains(androidx.compose.ui.test.SemanticsNodeInteraction, String value, optional boolean substring, optional boolean ignoreCase);
59    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertTextEquals(androidx.compose.ui.test.SemanticsNodeInteraction, String![] values, optional boolean includeEditableText);
60    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertValueEquals(androidx.compose.ui.test.SemanticsNodeInteraction, String value);
61  }
62
63  public final class BoundsAssertionsKt {
64    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertHeightIsAtLeast(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedMinHeight);
65    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertHeightIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedHeight);
66    method public static void assertIsEqualTo(float, float expected, String subject, optional float tolerance);
67    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertLeftPositionInRootIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedLeft);
68    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertPositionInRootIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedLeft, float expectedTop);
69    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertTopPositionInRootIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedTop);
70    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertTouchHeightIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedHeight);
71    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertTouchWidthIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedWidth);
72    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertWidthIsAtLeast(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedMinWidth);
73    method public static androidx.compose.ui.test.SemanticsNodeInteraction assertWidthIsEqualTo(androidx.compose.ui.test.SemanticsNodeInteraction, float expectedWidth);
74    method public static float getAlignmentLinePosition(androidx.compose.ui.test.SemanticsNodeInteraction, androidx.compose.ui.layout.AlignmentLine alignmentLine);
75    method public static androidx.compose.ui.unit.DpRect getBoundsInRoot(androidx.compose.ui.test.SemanticsNodeInteraction);
76    method public static androidx.compose.ui.unit.DpRect getUnclippedBoundsInRoot(androidx.compose.ui.test.SemanticsNodeInteraction);
77  }
78
79  public final class ComposeTimeoutException extends java.lang.Throwable {
80    ctor public ComposeTimeoutException(String? message);
81  }
82
83  public final class ErrorMessagesKt {
84  }
85
86  @kotlin.RequiresOptIn(message="This testing API is experimental and is likely to be changed or removed entirely") public @interface ExperimentalTestApi {
87  }
88
89  public final class FiltersKt {
90    method public static androidx.compose.ui.test.SemanticsMatcher hasAnyAncestor(androidx.compose.ui.test.SemanticsMatcher matcher);
91    method public static androidx.compose.ui.test.SemanticsMatcher hasAnyChild(androidx.compose.ui.test.SemanticsMatcher matcher);
92    method public static androidx.compose.ui.test.SemanticsMatcher hasAnyDescendant(androidx.compose.ui.test.SemanticsMatcher matcher);
93    method public static androidx.compose.ui.test.SemanticsMatcher hasAnySibling(androidx.compose.ui.test.SemanticsMatcher matcher);
94    method public static androidx.compose.ui.test.SemanticsMatcher hasClickAction();
95    method public static androidx.compose.ui.test.SemanticsMatcher hasContentDescription(String value, optional boolean substring, optional boolean ignoreCase);
96    method public static androidx.compose.ui.test.SemanticsMatcher hasContentDescriptionExactly(java.lang.String... values);
97    method public static androidx.compose.ui.test.SemanticsMatcher hasImeAction(int actionType);
98    method public static androidx.compose.ui.test.SemanticsMatcher hasNoClickAction();
99    method public static androidx.compose.ui.test.SemanticsMatcher hasNoScrollAction();
100    method public static androidx.compose.ui.test.SemanticsMatcher hasParent(androidx.compose.ui.test.SemanticsMatcher matcher);
101    method public static androidx.compose.ui.test.SemanticsMatcher hasProgressBarRangeInfo(androidx.compose.ui.semantics.ProgressBarRangeInfo rangeInfo);
102    method public static androidx.compose.ui.test.SemanticsMatcher hasScrollAction();
103    method public static androidx.compose.ui.test.SemanticsMatcher hasScrollToIndexAction();
104    method public static androidx.compose.ui.test.SemanticsMatcher hasScrollToKeyAction();
105    method public static androidx.compose.ui.test.SemanticsMatcher hasScrollToNodeAction();
106    method public static androidx.compose.ui.test.SemanticsMatcher hasSetTextAction();
107    method public static androidx.compose.ui.test.SemanticsMatcher hasStateDescription(String value);
108    method public static androidx.compose.ui.test.SemanticsMatcher hasTestTag(String testTag);
109    method public static androidx.compose.ui.test.SemanticsMatcher hasText(String text, optional boolean substring, optional boolean ignoreCase);
110    method public static androidx.compose.ui.test.SemanticsMatcher hasTextExactly(String![] textValues, optional boolean includeEditableText);
111    method public static androidx.compose.ui.test.SemanticsMatcher isDialog();
112    method public static androidx.compose.ui.test.SemanticsMatcher isEnabled();
113    method public static androidx.compose.ui.test.SemanticsMatcher isFocusable();
114    method public static androidx.compose.ui.test.SemanticsMatcher isFocused();
115    method public static androidx.compose.ui.test.SemanticsMatcher isHeading();
116    method public static androidx.compose.ui.test.SemanticsMatcher isNotEnabled();
117    method public static androidx.compose.ui.test.SemanticsMatcher isNotFocusable();
118    method public static androidx.compose.ui.test.SemanticsMatcher isNotFocused();
119    method public static androidx.compose.ui.test.SemanticsMatcher isNotSelected();
120    method public static androidx.compose.ui.test.SemanticsMatcher isOff();
121    method public static androidx.compose.ui.test.SemanticsMatcher isOn();
122    method public static androidx.compose.ui.test.SemanticsMatcher isPopup();
123    method public static androidx.compose.ui.test.SemanticsMatcher isRoot();
124    method public static androidx.compose.ui.test.SemanticsMatcher isSelectable();
125    method public static androidx.compose.ui.test.SemanticsMatcher isSelected();
126    method public static androidx.compose.ui.test.SemanticsMatcher isToggleable();
127  }
128
129  public final class FindersKt {
130    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onAllNodesWithContentDescription(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String label, optional boolean substring, optional boolean ignoreCase, optional boolean useUnmergedTree);
131    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onAllNodesWithTag(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String testTag, optional boolean useUnmergedTree);
132    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onAllNodesWithText(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String text, optional boolean substring, optional boolean ignoreCase, optional boolean useUnmergedTree);
133    method public static androidx.compose.ui.test.SemanticsNodeInteraction onNodeWithContentDescription(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String label, optional boolean substring, optional boolean ignoreCase, optional boolean useUnmergedTree);
134    method public static androidx.compose.ui.test.SemanticsNodeInteraction onNodeWithTag(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String testTag, optional boolean useUnmergedTree);
135    method public static androidx.compose.ui.test.SemanticsNodeInteraction onNodeWithText(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, String text, optional boolean substring, optional boolean ignoreCase, optional boolean useUnmergedTree);
136    method public static androidx.compose.ui.test.SemanticsNodeInteraction onRoot(androidx.compose.ui.test.SemanticsNodeInteractionsProvider, optional boolean useUnmergedTree);
137  }
138
139  @Deprecated public final class GestureScope {
140    ctor @Deprecated public GestureScope(androidx.compose.ui.semantics.SemanticsNode node, androidx.compose.ui.test.TestContext testContext);
141    method @Deprecated public long getVisibleSize();
142    property @Deprecated public final long visibleSize;
143  }
144
145  public final class GestureScopeKt {
146    method @Deprecated @androidx.compose.ui.test.ExperimentalTestApi public static void advanceEventTime(androidx.compose.ui.test.GestureScope, long durationMillis);
147    method @Deprecated public static void cancel(androidx.compose.ui.test.GestureScope);
148    method @Deprecated public static void click(androidx.compose.ui.test.GestureScope, optional long position);
149    method @Deprecated public static void doubleClick(androidx.compose.ui.test.GestureScope, optional long position, optional long delayMillis);
150    method @Deprecated public static void down(androidx.compose.ui.test.GestureScope, int pointerId, long position);
151    method @Deprecated public static void down(androidx.compose.ui.test.GestureScope, long position);
152    method @Deprecated public static inline float getBottom(androidx.compose.ui.test.GestureScope);
153    method @Deprecated public static long getBottomCenter(androidx.compose.ui.test.GestureScope);
154    method @Deprecated public static long getBottomLeft(androidx.compose.ui.test.GestureScope);
155    method @Deprecated public static long getBottomRight(androidx.compose.ui.test.GestureScope);
156    method @Deprecated public static long getCenter(androidx.compose.ui.test.GestureScope);
157    method @Deprecated public static long getCenterLeft(androidx.compose.ui.test.GestureScope);
158    method @Deprecated public static long getCenterRight(androidx.compose.ui.test.GestureScope);
159    method @Deprecated public static inline float getCenterX(androidx.compose.ui.test.GestureScope);
160    method @Deprecated public static inline float getCenterY(androidx.compose.ui.test.GestureScope);
161    method @Deprecated public static inline int getHeight(androidx.compose.ui.test.GestureScope);
162    method @Deprecated public static inline float getLeft(androidx.compose.ui.test.GestureScope);
163    method @Deprecated public static inline float getRight(androidx.compose.ui.test.GestureScope);
164    method @Deprecated public static inline float getTop(androidx.compose.ui.test.GestureScope);
165    method @Deprecated public static long getTopCenter(androidx.compose.ui.test.GestureScope);
166    method @Deprecated public static long getTopLeft(androidx.compose.ui.test.GestureScope);
167    method @Deprecated public static long getTopRight(androidx.compose.ui.test.GestureScope);
168    method @Deprecated public static inline int getWidth(androidx.compose.ui.test.GestureScope);
169    method @Deprecated public static void longClick(androidx.compose.ui.test.GestureScope, optional long position, optional long durationMillis);
170    method @Deprecated public static void move(androidx.compose.ui.test.GestureScope);
171    method @Deprecated public static void moveBy(androidx.compose.ui.test.GestureScope, int pointerId, long delta);
172    method @Deprecated public static void moveBy(androidx.compose.ui.test.GestureScope, long delta);
173    method @Deprecated public static void movePointerBy(androidx.compose.ui.test.GestureScope, int pointerId, long delta);
174    method @Deprecated public static void movePointerTo(androidx.compose.ui.test.GestureScope, int pointerId, long position);
175    method @Deprecated public static void moveTo(androidx.compose.ui.test.GestureScope, int pointerId, long position);
176    method @Deprecated public static void moveTo(androidx.compose.ui.test.GestureScope, long position);
177    method @Deprecated public static long percentOffset(androidx.compose.ui.test.GestureScope, optional float x, optional float y);
178    method @Deprecated public static void pinch(androidx.compose.ui.test.GestureScope, long start0, long end0, long start1, long end1, optional long durationMillis);
179    method @Deprecated public static void swipe(androidx.compose.ui.test.GestureScope, long start, long end, optional long durationMillis);
180    method @Deprecated public static void swipeDown(androidx.compose.ui.test.GestureScope);
181    method @Deprecated @androidx.compose.ui.test.ExperimentalTestApi public static void swipeDown(androidx.compose.ui.test.GestureScope, optional float startY, optional float endY, optional long durationMillis);
182    method @Deprecated public static void swipeLeft(androidx.compose.ui.test.GestureScope);
183    method @Deprecated @androidx.compose.ui.test.ExperimentalTestApi public static void swipeLeft(androidx.compose.ui.test.GestureScope, optional float startX, optional float endX, optional long durationMillis);
184    method @Deprecated public static void swipeRight(androidx.compose.ui.test.GestureScope);
185    method @Deprecated @androidx.compose.ui.test.ExperimentalTestApi public static void swipeRight(androidx.compose.ui.test.GestureScope, optional float startX, optional float endX, optional long durationMillis);
186    method @Deprecated public static void swipeUp(androidx.compose.ui.test.GestureScope);
187    method @Deprecated @androidx.compose.ui.test.ExperimentalTestApi public static void swipeUp(androidx.compose.ui.test.GestureScope, optional float startY, optional float endY, optional long durationMillis);
188    method @Deprecated public static void swipeWithVelocity(androidx.compose.ui.test.GestureScope, long start, long end, float endVelocity, optional long durationMillis);
189    method @Deprecated public static void up(androidx.compose.ui.test.GestureScope, optional int pointerId);
190  }
191
192  public interface IdlingResource {
193    method public default String? getDiagnosticMessageIfBusy();
194    method public boolean isIdleNow();
195    property public abstract boolean isIdleNow;
196  }
197
198  public interface InjectionScope extends androidx.compose.ui.unit.Density {
199    method public void advanceEventTime(optional long durationMillis);
200    method public default float getBottom();
201    method public default long getBottomCenter();
202    method public default long getBottomLeft();
203    method public default long getBottomRight();
204    method public default long getCenter();
205    method public default long getCenterLeft();
206    method public default long getCenterRight();
207    method public default float getCenterX();
208    method public default float getCenterY();
209    method public default long getEventPeriodMillis();
210    method public default int getHeight();
211    method public default float getLeft();
212    method public default float getRight();
213    method public default float getTop();
214    method public default long getTopCenter();
215    method public default long getTopLeft();
216    method public default long getTopRight();
217    method public androidx.compose.ui.platform.ViewConfiguration getViewConfiguration();
218    method public long getVisibleSize();
219    method public default int getWidth();
220    method public default long percentOffset(optional float x, optional float y);
221    property public default float bottom;
222    property public default long bottomCenter;
223    property public default long bottomLeft;
224    property public default long bottomRight;
225    property public default long center;
226    property public default long centerLeft;
227    property public default long centerRight;
228    property public default float centerX;
229    property public default float centerY;
230    property public default long eventPeriodMillis;
231    property public default int height;
232    property public default float left;
233    property public default float right;
234    property public default float top;
235    property public default long topCenter;
236    property public default long topLeft;
237    property public default long topRight;
238    property public abstract androidx.compose.ui.platform.ViewConfiguration viewConfiguration;
239    property public abstract long visibleSize;
240    property public default int width;
241  }
242
243  @kotlin.RequiresOptIn(message="This is internal API for Compose modules that may change frequently and without warning.") public @interface InternalTestApi {
244  }
245
246  public final class KeyInputHelpersKt {
247    method public static boolean performKeyPress(androidx.compose.ui.test.SemanticsNodeInteraction, android.view.KeyEvent keyEvent);
248  }
249
250  public interface MainTestClock {
251    method public void advanceTimeBy(long milliseconds, optional boolean ignoreFrameDuration);
252    method public void advanceTimeByFrame();
253    method public void advanceTimeUntil(optional long timeoutMillis, kotlin.jvm.functions.Function0<java.lang.Boolean> condition);
254    method public boolean getAutoAdvance();
255    method public long getCurrentTime();
256    method public void setAutoAdvance(boolean autoAdvance);
257    property public abstract boolean autoAdvance;
258    property public abstract long currentTime;
259  }
260
261  @androidx.compose.ui.test.ExperimentalTestApi public final inline class MouseButton {
262    ctor public MouseButton();
263    method public int getButtonId();
264    property public final int buttonId;
265  }
266
267  @androidx.compose.ui.test.ExperimentalTestApi public static final class MouseButton.Companion {
268    method public int getPrimary();
269    method public int getSecondary();
270    method public int getTertiary();
271    property public final int Primary;
272    property public final int Secondary;
273    property public final int Tertiary;
274  }
275
276  @androidx.compose.ui.test.ExperimentalTestApi public interface MouseInjectionScope extends androidx.compose.ui.test.InjectionScope {
277    method public void cancel(optional long delayMillis);
278    method public void enter(optional long position, optional long delayMillis);
279    method public void exit(optional long position, optional long delayMillis);
280    method public long getCurrentPosition();
281    method public default void moveBy(long delta, optional long delayMillis);
282    method public void moveTo(long position, optional long delayMillis);
283    method public void press(optional int button);
284    method public void release(optional int button);
285    method public void scroll(float delta, optional int scrollWheel);
286    method public default void updatePointerBy(long delta);
287    method public void updatePointerTo(long position);
288    property public abstract long currentPosition;
289  }
290
291  public final class MouseInjectionScopeKt {
292    method @androidx.compose.ui.test.ExperimentalTestApi public static void animateAlong(androidx.compose.ui.test.MouseInjectionScope, kotlin.jvm.functions.Function1<? super java.lang.Long,androidx.compose.ui.geometry.Offset> curve, optional long durationMillis);
293    method @androidx.compose.ui.test.ExperimentalTestApi public static void animateBy(androidx.compose.ui.test.MouseInjectionScope, long delta, optional long durationMillis);
294    method @androidx.compose.ui.test.ExperimentalTestApi public static void animateTo(androidx.compose.ui.test.MouseInjectionScope, long position, optional long durationMillis);
295    method @androidx.compose.ui.test.ExperimentalTestApi public static void click(androidx.compose.ui.test.MouseInjectionScope, optional long position);
296    method @androidx.compose.ui.test.ExperimentalTestApi public static void doubleClick(androidx.compose.ui.test.MouseInjectionScope, optional long position);
297    method @androidx.compose.ui.test.ExperimentalTestApi public static void dragAndDrop(androidx.compose.ui.test.MouseInjectionScope, long start, long end, optional long durationMillis);
298    method @androidx.compose.ui.test.ExperimentalTestApi public static void longClick(androidx.compose.ui.test.MouseInjectionScope, optional long position);
299    method @androidx.compose.ui.test.ExperimentalTestApi public static void rightClick(androidx.compose.ui.test.MouseInjectionScope, optional long position);
300    method @androidx.compose.ui.test.ExperimentalTestApi public static void smoothScroll(androidx.compose.ui.test.MouseInjectionScope, float scrollAmount, optional long durationMillis, optional int scrollWheel);
301    method @androidx.compose.ui.test.ExperimentalTestApi public static void tripleClick(androidx.compose.ui.test.MouseInjectionScope, optional long position);
302  }
303
304  public sealed interface MultiModalInjectionScope extends androidx.compose.ui.test.InjectionScope {
305    method @androidx.compose.ui.test.ExperimentalTestApi public void mouse(kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.MouseInjectionScope,kotlin.Unit> block);
306    method public void touch(kotlin.jvm.functions.Function1<? super androidx.compose.ui.test.TouchInjectionScope,kotlin.Unit> block);
307  }
308
309  public final class OutputKt {
310    method public static void printToLog(androidx.compose.ui.test.SemanticsNodeInteraction, String tag, optional int maxDepth);
311    method public static void printToLog(androidx.compose.ui.test.SemanticsNodeInteractionCollection, String tag, optional int maxDepth);
312    method public static String printToString(androidx.compose.ui.test.SemanticsNodeInteraction, optional int maxDepth);
313    method public static String printToString(androidx.compose.ui.test.SemanticsNodeInteractionCollection, optional int maxDepth);
314  }
315
316  @androidx.compose.ui.test.ExperimentalTestApi public final inline class ScrollWheel {
317    ctor public ScrollWheel();
318    method public int getValue();
319    property public final int value;
320  }
321
322  @androidx.compose.ui.test.ExperimentalTestApi public static final class ScrollWheel.Companion {
323    method public int getHorizontal();
324    method public int getVertical();
325    property public final int Horizontal;
326    property public final int Vertical;
327  }
328
329  public final class SelectionResult {
330    ctor public SelectionResult(java.util.List<androidx.compose.ui.semantics.SemanticsNode> selectedNodes, optional String? customErrorOnNoMatch);
331    method public String? getCustomErrorOnNoMatch();
332    method public java.util.List<androidx.compose.ui.semantics.SemanticsNode> getSelectedNodes();
333    property public final String? customErrorOnNoMatch;
334    property public final java.util.List<androidx.compose.ui.semantics.SemanticsNode> selectedNodes;
335  }
336
337  public final class SelectorsKt {
338    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection filter(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher);
339    method public static androidx.compose.ui.test.SemanticsNodeInteraction filterToOne(androidx.compose.ui.test.SemanticsNodeInteractionCollection, androidx.compose.ui.test.SemanticsMatcher matcher);
340    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onAncestors(androidx.compose.ui.test.SemanticsNodeInteraction);
341    method public static androidx.compose.ui.test.SemanticsNodeInteraction onChild(androidx.compose.ui.test.SemanticsNodeInteraction);
342    method public static androidx.compose.ui.test.SemanticsNodeInteraction onChildAt(androidx.compose.ui.test.SemanticsNodeInteraction, int index);
343    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onChildren(androidx.compose.ui.test.SemanticsNodeInteraction);
344    method public static androidx.compose.ui.test.SemanticsNodeInteraction onFirst(androidx.compose.ui.test.SemanticsNodeInteractionCollection);
345    method public static androidx.compose.ui.test.SemanticsNodeInteraction onLast(androidx.compose.ui.test.SemanticsNodeInteractionCollection);
346    method public static androidx.compose.ui.test.SemanticsNodeInteraction onParent(androidx.compose.ui.test.SemanticsNodeInteraction);
347    method public static androidx.compose.ui.test.SemanticsNodeInteraction onSibling(androidx.compose.ui.test.SemanticsNodeInteraction);
348    method public static androidx.compose.ui.test.SemanticsNodeInteractionCollection onSiblings(androidx.compose.ui.test.SemanticsNodeInteraction);
349  }
350
351  public final class SemanticsMatcher {
352    ctor public SemanticsMatcher(String description, kotlin.jvm.functions.Function1<? super androidx.compose.ui.semantics.SemanticsNode,java.lang.Boolean> matcher);
353    method public infix androidx.compose.ui.test.SemanticsMatcher and(androidx.compose.ui.test.SemanticsMatcher other);
354    method public String getDescription();
355    method public boolean matches(androidx.compose.ui.semantics.SemanticsNode node);
356    method public boolean matchesAny(Iterable<androidx.compose.ui.semantics.SemanticsNode> nodes);
357    method public operator androidx.compose.ui.test.SemanticsMatcher not();
358    method public infix androidx.compose.ui.test.SemanticsMatcher or(androidx.compose.ui.test.SemanticsMatcher other);
359    property public final String description;
360    field public static final androidx.compose.ui.test.SemanticsMatcher.Companion Companion;
361  }
362
363  public static final class SemanticsMatcher.Companion {
364    method public <T> androidx.compose.ui.test.SemanticsMatcher expectValue(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key, T? expectedValue);
365    method public <T> androidx.compose.ui.test.SemanticsMatcher keyIsDefined(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key);
366    method public <T> androidx.compose.ui.test.SemanticsMatcher keyNotDefined(androidx.compose.ui.semantics.SemanticsPropertyKey<T> key);
367  }
368
369  public final class SemanticsNodeInteraction {
370    ctor public SemanticsNodeInteraction(androidx.compose.ui.test.TestContext testContext, boolean useUnmergedTree, androidx.compose.ui.test.SemanticsMatcher matcher);
371    ctor public SemanticsNodeInteraction(androidx.compose.ui.test.TestContext testContext, boolean useUnmergedTree, androidx.compose.ui.test.SemanticsSelector selector);
372    method public void assertDoesNotExist();
373    method public androidx.compose.ui.test.SemanticsNodeInteraction assertExists(optional String? errorMessageOnFail);
374    method public androidx.compose.ui.semantics.SemanticsNode fetchSemanticsNode(optional String? errorMessageOnFail);
375  }
376
377  public final class SemanticsNodeInteractionCollection {
378    ctor public SemanticsNodeInteractionCollection(androidx.compose.ui.test.TestContext testContext, boolean useUnmergedTree, androidx.compose.ui.test.SemanticsMatcher matcher);
379    ctor public SemanticsNodeInteractionCollection(androidx.compose.ui.test.TestContext testContext, boolean useUnmergedTree, androidx.compose.ui.test.SemanticsSelector selector);
380    method public java.util.List<androidx.compose.ui.semantics.SemanticsNode> fetchSemanticsNodes(optional boolean atLeastOneRootRequired, optional String? errorMessageOnFail);
381    method public operator androidx.compose.ui.test.SemanticsNodeInteraction get(int index);
382  }
383
384  public interface SemanticsNodeInteractionsProvider {
385    method public androidx.compose.ui.test.SemanticsNodeInteractionCollection onAllNodes(androidx.compose.ui.test.SemanticsMatcher matcher, optional boolean useUnmergedTree);
386    method public androidx.compose.ui.test.SemanticsNodeInteraction onNode(androidx.compose.ui.test.SemanticsMatcher matcher, optional boolean useUnmergedTree);
387  }
388
389  public final class SemanticsSelector {
390    ctor public SemanticsSelector(String description, boolean requiresExactlyOneNode, optional androidx.compose.ui.test.SemanticsSelector? chainedInputSelector, kotlin.jvm.functions.Function1<? super java.lang.Iterable<androidx.compose.ui.semantics.SemanticsNode>,androidx.compose.ui.test.SelectionResult> selector);
391    method public String getDescription();
392    method public androidx.compose.ui.test.SelectionResult map(Iterable<androidx.compose.ui.semantics.SemanticsNode> nodes, String errorOnFail);
393    property public final String description;
394  }
395
396  public final class SemanticsSelectorKt {
397  }
398
399  public final class TestContext {
400  }
401
402  @kotlinx.coroutines.ExperimentalCoroutinesApi public final class TestMonotonicFrameClock implements androidx.compose.runtime.MonotonicFrameClock {
403    ctor public TestMonotonicFrameClock(kotlinx.coroutines.CoroutineScope coroutineScope, kotlinx.coroutines.test.DelayController delayController, optional long frameDelayNanos);
404    method public long getFrameDelayNanos();
405    method public boolean getHasAwaiters();
406    method public suspend <R> Object? withFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R> p);
407    property public final long frameDelayNanos;
408    property public final boolean hasAwaiters;
409  }
410
411  public final class TestMonotonicFrameClock_jvmKt {
412    method @kotlinx.coroutines.ExperimentalCoroutinesApi public static androidx.compose.ui.test.TestMonotonicFrameClock TestMonotonicFrameClock(kotlinx.coroutines.CoroutineScope coroutineScope, optional long frameDelayNanos);
413    method @kotlinx.coroutines.ExperimentalCoroutinesApi public static long getFrameDelayMillis(androidx.compose.ui.test.TestMonotonicFrameClock);
414  }
415
416  @androidx.compose.ui.test.InternalTestApi public interface TestOwner {
417    method public androidx.compose.ui.test.MainTestClock getMainClock();
418    method public java.util.Set<androidx.compose.ui.node.RootForTest> getRoots(boolean atLeastOneRootExpected);
419    method public <T> T! runOnUiThread(kotlin.jvm.functions.Function0<? extends T> action);
420    method public void sendImeAction(androidx.compose.ui.semantics.SemanticsNode node, int actionSpecified);
421    method public void sendTextInputCommand(androidx.compose.ui.semantics.SemanticsNode node, java.util.List<? extends androidx.compose.ui.text.input.EditCommand> command);
422    property public abstract androidx.compose.ui.test.MainTestClock mainClock;
423  }
424
425  public final class TestOwnerKt {
426    method @androidx.compose.ui.test.InternalTestApi public static androidx.compose.ui.test.TestContext createTestContext(androidx.compose.ui.test.TestOwner owner);
427  }
428
429  public final class TextActionsKt {
430    method public static void performImeAction(androidx.compose.ui.test.SemanticsNodeInteraction);
431    method public static void performTextClearance(androidx.compose.ui.test.SemanticsNodeInteraction);
432    method public static void performTextInput(androidx.compose.ui.test.SemanticsNodeInteraction, String text);
433    method @androidx.compose.ui.test.ExperimentalTestApi public static void performTextInputSelection(androidx.compose.ui.test.SemanticsNodeInteraction, long selection);
434    method public static void performTextReplacement(androidx.compose.ui.test.SemanticsNodeInteraction, String text);
435  }
436
437  public interface TouchInjectionScope extends androidx.compose.ui.test.InjectionScope {
438    method public void cancel(optional long delayMillis);
439    method public androidx.compose.ui.geometry.Offset? currentPosition(optional int pointerId);
440    method public void down(int pointerId, long position);
441    method public default void down(long position);
442    method public void move(optional long delayMillis);
443    method public default void moveBy(int pointerId, long delta, optional long delayMillis);
444    method public default void moveBy(long delta, optional long delayMillis);
445    method public default void moveTo(int pointerId, long position, optional long delayMillis);
446    method public default void moveTo(long position, optional long delayMillis);
447    method @androidx.compose.ui.test.ExperimentalTestApi public default void moveWithHistory(java.util.List<java.lang.Long> relativeHistoricalTimes, java.util.List<androidx.compose.ui.geometry.Offset> historicalCoordinates, optional long delayMillis);
448    method @androidx.compose.ui.test.ExperimentalTestApi public void moveWithHistoryMultiPointer(java.util.List<java.lang.Long> relativeHistoricalTimes, java.util.List<? extends java.util.List<androidx.compose.ui.geometry.Offset>> historicalCoordinates, optional long delayMillis);
449    method public void up(optional int pointerId);
450    method public default void updatePointerBy(int pointerId, long delta);
451    method public void updatePointerTo(int pointerId, long position);
452  }
453
454  public final class TouchInjectionScopeKt {
455    method public static void click(androidx.compose.ui.test.TouchInjectionScope, optional long position);
456    method public static void doubleClick(androidx.compose.ui.test.TouchInjectionScope, optional long position, optional long delayMillis);
457    method public static void longClick(androidx.compose.ui.test.TouchInjectionScope, optional long position, optional long durationMillis);
458    method @androidx.compose.ui.test.ExperimentalTestApi public static void multiTouchSwipe(androidx.compose.ui.test.TouchInjectionScope, java.util.List<? extends kotlin.jvm.functions.Function1<? super java.lang.Long,androidx.compose.ui.geometry.Offset>> curves, long durationMillis, optional java.util.List<java.lang.Long> keyTimes);
459    method public static void pinch(androidx.compose.ui.test.TouchInjectionScope, long start0, long end0, long start1, long end1, optional long durationMillis);
460    method public static void swipe(androidx.compose.ui.test.TouchInjectionScope, kotlin.jvm.functions.Function1<? super java.lang.Long,androidx.compose.ui.geometry.Offset> curve, long durationMillis, optional java.util.List<java.lang.Long> keyTimes);
461    method public static void swipe(androidx.compose.ui.test.TouchInjectionScope, long start, long end, optional long durationMillis);
462    method public static void swipeDown(androidx.compose.ui.test.TouchInjectionScope, optional float startY, optional float endY, optional long durationMillis);
463    method public static void swipeLeft(androidx.compose.ui.test.TouchInjectionScope, optional float startX, optional float endX, optional long durationMillis);
464    method public static void swipeRight(androidx.compose.ui.test.TouchInjectionScope, optional float startX, optional float endX, optional long durationMillis);
465    method public static void swipeUp(androidx.compose.ui.test.TouchInjectionScope, optional float startY, optional float endY, optional long durationMillis);
466    method public static void swipeWithVelocity(androidx.compose.ui.test.TouchInjectionScope, long start, long end, float endVelocity, optional long durationMillis);
467  }
468
469  public final class UtilsKt {
470  }
471
472}
473
474package androidx.compose.ui.test.android {
475
476  public final class WindowCapture_androidKt {
477  }
478
479}
480
481