/external/droiddriver/src/io/appium/droiddriver/finders/ |
D | Predicates.java | 23 import io.appium.droiddriver.UiElement; 172 public static Predicate<UiElement> attributeTrue(final Attribute attribute) { 173 return new Predicate<UiElement>() { 175 public boolean apply(UiElement element) { 191 public static Predicate<UiElement> attributeFalse(final Attribute attribute) { 192 return new Predicate<UiElement>() { 194 public boolean apply(UiElement element) { 210 public static Predicate<UiElement> attributeEquals(final Attribute attribute, 212 return new Predicate<UiElement>() { 214 public boolean apply(UiElement element) { [all …]
|
D | MatchFinder.java | 21 import io.appium.droiddriver.UiElement; 30 protected final Predicate<? super UiElement> predicate; 32 public MatchFinder(Predicate<? super UiElement> predicate) { in MatchFinder() 46 public UiElement find(UiElement context) { in find() 51 for (UiElement child : context.getChildren(UiElement.VISIBLE)) { in find() 69 public final boolean matches(UiElement element) { in matches()
|
D | Finder.java | 19 import io.appium.droiddriver.UiElement; 35 UiElement find(UiElement context); in find()
|
D | ByXPath.java | 41 import io.appium.droiddriver.UiElement; 88 public UiElement find(UiElement context) { in find() 89 Element domNode = getDomNode((BaseUiElement<?, ?>) context, UiElement.VISIBLE); in find() 98 UiElement match = FROM_DOM_MAP.get(foundNode); in find() 128 Predicate<? super UiElement> predicate) { in getDomNode() 137 Predicate<? super UiElement> predicate) { in buildDomNode() 170 if (!UiElement.VISIBLE.equals(predicate)) { in buildDomNode()
|
D | ChainFinder.java | 19 import io.appium.droiddriver.UiElement; 48 public UiElement find(UiElement context) { in find()
|
D | By.java | 26 import io.appium.droiddriver.UiElement; 185 private static List<Predicate<? super UiElement>> getPredicates(MatchFinder... finders) { in getPredicates() 186 ArrayList<Predicate<? super UiElement>> predicates = new ArrayList<>(finders.length); in getPredicates() 257 return new MatchFinder(new Predicate<UiElement>() { in withDescendant() 259 public boolean apply(UiElement element) { in withDescendant()
|
/external/droiddriver/src/io/appium/droiddriver/scroll/ |
D | SentinelStrategy.java | 23 import io.appium.droiddriver.UiElement; 44 protected final Predicate<? super UiElement> predicate; 51 protected Getter(Predicate<? super UiElement> predicate) { in Getter() 61 public UiElement find(UiElement container) { in find() 62 UiElement sentinel = getSentinel(container.getChildren(predicate)); in find() 71 protected abstract UiElement getSentinel(List<? extends UiElement> children); in getSentinel() 82 protected UiElement getSentinel(List<? extends UiElement> children) { 96 protected UiElement getSentinel(List<? extends UiElement> children) { 117 protected UiElement getSentinel(List<? extends UiElement> children) { 132 protected UiElement getSentinel(List<? extends UiElement> children) { [all …]
|
D | DynamicSentinelStrategy.java | 21 import io.appium.droiddriver.UiElement; 46 boolean isSentinelUpdated(UiElement newSentinel, UiElement oldSentinel); in isSentinelUpdated() 79 protected abstract String getUniqueString(UiElement uniqueStringElement); in getUniqueString() 81 private String getUniqueStringFromSentinel(UiElement sentinel) { in getUniqueStringFromSentinel() 90 public boolean isSentinelUpdated(UiElement newSentinel, UiElement oldSentinel) { in isSentinelUpdated() 134 protected String getUniqueString(UiElement uniqueStringElement) { in getUniqueString() 149 protected String getUniqueString(UiElement uniqueStringElement) { in getUniqueString() 171 protected String getUniqueString(UiElement uniqueStringElement) { in getUniqueString() 177 private UiElement lastSentinel; 187 super(new MorePredicateGetter(backwardGetter, UiElement.VISIBLE), new MorePredicateGetter( in DynamicSentinelStrategy() [all …]
|
D | Scroller.java | 19 import io.appium.droiddriver.UiElement; 38 UiElement scrollTo(DroidDriver driver, Finder containerFinder, Finder itemFinder); in scrollTo() 51 UiElement scrollTo(DroidDriver driver, Finder containerFinder, Finder itemFinder, in scrollTo()
|
/external/droiddriver/src/io/appium/droiddriver/validators/ |
D | DefaultAccessibilityValidator.java | 23 import io.appium.droiddriver.UiElement; 33 public boolean isApplicable(UiElement element, Action action) { in isApplicable() 38 public String validate(UiElement element, Action action) { in validate() 43 private static boolean isAccessibilityFocusable(UiElement element) { in isAccessibilityFocusable() 48 private static boolean isTopLevelScrollItem(UiElement element) { in isTopLevelScrollItem() 49 UiElement parent = element.getParent(); in isTopLevelScrollItem() 54 private static boolean isActionableForAccessibility(UiElement element) { in isActionableForAccessibility() 66 private static boolean isSpeakingNode(UiElement element) { in isSpeakingNode() 71 private static boolean hasNonActionableSpeakingChildren(UiElement element) { in hasNonActionableSpeakingChildren() 73 for (UiElement child : element.getChildren(UiElement.VISIBLE)) { in hasNonActionableSpeakingChildren() [all …]
|
D | Validator.java | 19 import io.appium.droiddriver.UiElement; 32 boolean isApplicable(UiElement element, Action action); in isApplicable() 38 String validate(UiElement element, Action action); in validate()
|
D | VisibilityValidator.java | 19 import io.appium.droiddriver.UiElement; 27 public boolean isApplicable(UiElement element, Action action) { in isApplicable() 32 public String validate(UiElement element, Action action) { in validate()
|
D | ExemptRootValidator.java | 19 import io.appium.droiddriver.UiElement; 27 public boolean isApplicable(UiElement element, Action action) { in isApplicable() 32 public String validate(UiElement element, Action action) { in validate()
|
D | ExemptScrollActionValidator.java | 19 import io.appium.droiddriver.UiElement; 29 public boolean isApplicable(UiElement element, Action action) { in isApplicable() 34 public String validate(UiElement element, Action action) { in validate()
|
D | FirstApplicableValidator.java | 19 import io.appium.droiddriver.UiElement; 34 public boolean isApplicable(UiElement element, Action action) { in isApplicable() 39 public String validate(UiElement element, Action action) { in validate()
|
/external/droiddriver/src/io/appium/droiddriver/ |
D | UiElement.java | 37 public interface UiElement { interface 39 Predicate<UiElement> VISIBLE = 40 new Predicate<UiElement>() { 42 public boolean apply(UiElement element) { 179 List<? extends UiElement> getChildren(Predicate<? super UiElement> predicate); in getChildren() 182 UiElement getParent(); in getParent()
|
/external/droiddriver/src/io/appium/droiddriver/actions/ |
D | UiElementActor.java | 19 import io.appium.droiddriver.UiElement; 30 void click(UiElement uiElement); in click() 36 void longClick(UiElement uiElement); in longClick() 42 void doubleClick(UiElement uiElement); in doubleClick() 50 void scroll(UiElement uiElement, PhysicalDirection direction); in scroll()
|
D | EventUiElementActor.java | 19 import io.appium.droiddriver.UiElement; 30 public void click(UiElement uiElement) { in click() 35 public void longClick(UiElement uiElement) { in longClick() 40 public void doubleClick(UiElement uiElement) { in doubleClick() 45 public void scroll(UiElement uiElement, PhysicalDirection direction) { in scroll()
|
D | EventAction.java | 21 import io.appium.droiddriver.UiElement; 32 public final boolean perform(UiElement element) { in perform() 45 protected abstract boolean perform(InputInjector injector, UiElement element); in perform()
|
D | ClickAction.java | 23 import io.appium.droiddriver.UiElement; 43 public boolean perform(InputInjector injector, UiElement element) { in perform() 56 public boolean perform(InputInjector injector, UiElement element) { in perform() 72 public boolean perform(InputInjector injector, UiElement element) { in perform()
|
/external/droiddriver/src/io/appium/droiddriver/actions/accessibility/ |
D | AccessibilityUiElementActor.java | 19 import io.appium.droiddriver.UiElement; 30 public void click(UiElement uiElement) { in click() 35 public void longClick(UiElement uiElement) { in longClick() 40 public void doubleClick(UiElement uiElement) { in doubleClick() 45 public void scroll(UiElement uiElement, PhysicalDirection direction) { in scroll()
|
D | AccessibilityClickAction.java | 22 import io.appium.droiddriver.UiElement; 46 protected boolean perform(AccessibilityNodeInfo node, UiElement element) { in perform() 57 protected boolean perform(AccessibilityNodeInfo node, UiElement element) { in perform() 72 protected boolean perform(AccessibilityNodeInfo node, UiElement element) { in perform()
|
D | AccessibilityAction.java | 21 import io.appium.droiddriver.UiElement; 35 public final boolean perform(UiElement element) { in perform() 47 protected abstract boolean perform(AccessibilityNodeInfo node, UiElement element); in perform()
|
/external/droiddriver/src/io/appium/droiddriver/actions/view/ |
D | ViewAction.java | 21 import io.appium.droiddriver.UiElement; 35 public final boolean perform(UiElement element) { in perform() 47 protected abstract boolean perform(View view, UiElement element); in perform()
|
/external/droiddriver/src/io/appium/droiddriver/helpers/ |
D | ScrollerHelper.java | 20 import io.appium.droiddriver.UiElement; 49 public UiElement scrollTo(Finder itemFinder) { in scrollTo() 63 public UiElement scrollTo(Finder itemFinder, PhysicalDirection direction) { in scrollTo()
|