1// Signature format: 4.0
2package androidx.wear.protolayout.testing {
3
4  public final class Filters {
5    method public static androidx.wear.protolayout.testing.LayoutElementMatcher containsTag(String value);
6    method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasAllCorners(float radiusDp);
7    method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasBottomLeftCorner(float xRadiusDp, float yRadiusDp);
8    method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasBottomRightCorner(float xRadiusDp, float yRadiusDp);
9    method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasChild(androidx.wear.protolayout.testing.LayoutElementMatcher matcher);
10    method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasClickable();
11    method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasClickable(optional androidx.wear.protolayout.ActionBuilders.Action action);
12    method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasClickable(optional androidx.wear.protolayout.ActionBuilders.Action action, optional String? id);
13    method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasClickable(optional androidx.wear.protolayout.ActionBuilders.Action action, optional String? id, optional @Dimension(unit=androidx.annotation.Dimension.Companion.DP) float minClickableWidth);
14    method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasClickable(optional androidx.wear.protolayout.ActionBuilders.Action action, optional String? id, optional @Dimension(unit=androidx.annotation.Dimension.Companion.DP) float minClickableWidth, optional @Dimension(unit=androidx.annotation.Dimension.Companion.DP) float minClickableHeight);
15    method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasColor(@ColorInt int argb);
16    method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasContentDescription(String value);
17    method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasContentDescription(kotlin.text.Regex pattern);
18    method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasDescendant(androidx.wear.protolayout.testing.LayoutElementMatcher matcher);
19    method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasHeight(androidx.wear.protolayout.DimensionBuilders.ContainerDimension height);
20    method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasHeight(androidx.wear.protolayout.DimensionBuilders.ProportionalDimensionProp height);
21    method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasImage(String protolayoutResId);
22    method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasTag(String value);
23    method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasText(String value);
24    method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasText(String value, optional boolean subString);
25    method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasText(String value, optional boolean subString, optional boolean ignoreCase);
26    method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasTopLeftCorner(float xRadiusDp, float yRadiusDp);
27    method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasTopRightCorner(float xRadiusDp, float yRadiusDp);
28    method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasWidth(androidx.wear.protolayout.DimensionBuilders.ContainerDimension width);
29    method public static androidx.wear.protolayout.testing.LayoutElementMatcher hasWidth(androidx.wear.protolayout.DimensionBuilders.ProportionalDimensionProp width);
30    method public static androidx.wear.protolayout.testing.LayoutElementMatcher isClickable();
31  }
32
33  public final class LayoutElementAssertion {
34    method public androidx.wear.protolayout.testing.LayoutElementAssertion assert(androidx.wear.protolayout.testing.LayoutElementMatcher matcher);
35    method public void assertDoesNotExist();
36    method public void assertExists();
37  }
38
39  public final class LayoutElementAssertionsProvider {
40    ctor public LayoutElementAssertionsProvider(androidx.wear.protolayout.LayoutElementBuilders.Layout layout);
41    ctor public LayoutElementAssertionsProvider(androidx.wear.protolayout.LayoutElementBuilders.LayoutElement layoutRoot);
42    method public androidx.wear.protolayout.testing.LayoutElementAssertion onElement(androidx.wear.protolayout.testing.LayoutElementMatcher matcher);
43    method public androidx.wear.protolayout.testing.LayoutElementAssertion onRoot();
44    method public androidx.wear.protolayout.testing.LayoutElementAssertionsProvider withDynamicData(androidx.wear.protolayout.expression.DynamicDataPair<? extends java.lang.Object?>... dynamicDataPairs);
45  }
46
47  public final class LayoutElementMatcher {
48    ctor public LayoutElementMatcher(String description, kotlin.jvm.functions.Function1<? super androidx.wear.protolayout.LayoutElementBuilders.LayoutElement,java.lang.Boolean> matcher);
49    ctor public LayoutElementMatcher(String description, kotlin.jvm.functions.Function2<? super androidx.wear.protolayout.LayoutElementBuilders.LayoutElement,? super androidx.wear.protolayout.testing.TestContext,java.lang.Boolean> matcher);
50    method public infix androidx.wear.protolayout.testing.LayoutElementMatcher and(androidx.wear.protolayout.testing.LayoutElementMatcher other);
51    method public operator androidx.wear.protolayout.testing.LayoutElementMatcher not();
52    method public infix androidx.wear.protolayout.testing.LayoutElementMatcher or(androidx.wear.protolayout.testing.LayoutElementMatcher other);
53  }
54
55  public final class TestContext {
56    method public androidx.wear.protolayout.expression.DynamicDataMap getDynamicData();
57    property public androidx.wear.protolayout.expression.DynamicDataMap dynamicData;
58  }
59
60}
61
62