HomeSort by relevance Sort by last modified time
    Searched refs:UiElement (Results 1 - 25 of 46) sorted by null

1 2

  /external/droiddriver/src/io/appium/droiddriver/actions/
UiElementActor.java 19 import io.appium.droiddriver.UiElement;
23 * Interface for performing actions on a {@link UiElement}.
30 void click(UiElement uiElement);
36 void longClick(UiElement uiElement);
42 void doubleClick(UiElement uiElement);
50 void scroll(UiElement uiElement, PhysicalDirection direction)
    [all...]
Action.java 19 import io.appium.droiddriver.UiElement;
22 * Interface for performing action on a UiElement. An action is a high-level
35 boolean perform(UiElement element);
EventAction.java 21 import io.appium.droiddriver.UiElement;
32 public final boolean perform(UiElement element) {
40 * @param element the UiElement to perform the action on
45 protected abstract boolean perform(InputInjector injector, UiElement element);
EventUiElementActor.java 19 import io.appium.droiddriver.UiElement;
30 public void click(UiElement uiElement) {
31 uiElement.perform(ClickAction.SINGLE);
35 public void longClick(UiElement uiElement) {
36 uiElement.perform(ClickAction.LONG);
40 public void doubleClick(UiElement uiElement) {
41 uiElement.perform(ClickAction.DOUBLE)
    [all...]
KeyAction.java 19 import io.appium.droiddriver.UiElement;
33 protected void maybeCheckFocused(UiElement element) {
  /external/droiddriver/src/io/appium/droiddriver/finders/
MatchFinder.java 21 import io.appium.droiddriver.UiElement;
26 * Traverses the UiElement tree and returns the first UiElement satisfying
30 protected final Predicate<? super UiElement> predicate;
32 public MatchFinder(Predicate<? super UiElement> predicate) {
46 public UiElement find(UiElement context) {
51 for (UiElement child : context.getChildren(UiElement.VISIBLE)) {
69 public final boolean matches(UiElement element)
    [all...]
Finder.java 19 import io.appium.droiddriver.UiElement;
23 * Interface for finding UiElement.
27 * Returns the matching UiElement. The implementing finder should not poll.
31 * @param context The starting UiElement, used as search context
35 UiElement find(UiElement context);
Predicates.java 23 import io.appium.droiddriver.UiElement;
169 * Returns a predicate that evaluates to {@code true} on a {@link UiElement} if its {@code
172 public static Predicate<UiElement> attributeTrue(final Attribute attribute) {
173 return new Predicate<UiElement>() {
175 public boolean apply(UiElement element) {
188 * Returns a predicate that evaluates to {@code true} on a {@link UiElement} if its {@code
191 public static Predicate<UiElement> attributeFalse(final Attribute attribute) {
192 return new Predicate<UiElement>() {
194 public boolean apply(UiElement element) {
207 * Returns a predicate that evaluates to {@code true} on a {@link UiElement} if its {@cod
    [all...]
ChainFinder.java 19 import io.appium.droiddriver.UiElement;
23 * Finds UiElement by applying Finders in turn: using the UiElement returned by
26 * composition</a>. The returned UiElement can be thought of as the result of
30 * target UiElement, which is a descendant. ChainFinder can be chained with
48 public UiElement find(UiElement context) {
  /external/droiddriver/src/io/appium/droiddriver/validators/
DefaultAccessibilityValidator.java 23 import io.appium.droiddriver.UiElement;
33 public boolean isApplicable(UiElement element, Action action) {
38 public String validate(UiElement element, Action action) {
43 private static boolean isAccessibilityFocusable(UiElement element) {
48 private static boolean isTopLevelScrollItem(UiElement element) {
49 UiElement parent = element.getParent();
54 private static boolean isActionableForAccessibility(UiElement element) {
66 private static boolean isSpeakingNode(UiElement element) {
71 private static boolean hasNonActionableSpeakingChildren(UiElement element) {
73 for (UiElement child : element.getChildren(UiElement.VISIBLE))
    [all...]
ExemptRootValidator.java 19 import io.appium.droiddriver.UiElement;
27 public boolean isApplicable(UiElement element, Action action) {
32 public String validate(UiElement element, Action action) {
Validator.java 19 import io.appium.droiddriver.UiElement;
23 * Interface for validating a UiElement, checked when an action is performed.
24 * For example, in general accessibility mandates that an actionable UiElement
32 boolean isApplicable(UiElement element, Action action);
38 String validate(UiElement element, Action action);
VisibilityValidator.java 19 import io.appium.droiddriver.UiElement;
27 public boolean isApplicable(UiElement element, Action action) {
32 public String validate(UiElement element, Action action) {
ExemptScrollActionValidator.java 19 import io.appium.droiddriver.UiElement;
29 public boolean isApplicable(UiElement element, Action action) {
34 public String validate(UiElement element, Action action) {
FirstApplicableValidator.java 19 import io.appium.droiddriver.UiElement;
34 public boolean isApplicable(UiElement element, Action action) {
39 public String validate(UiElement element, Action action) {
  /external/droiddriver/src/io/appium/droiddriver/actions/view/
ViewAction.java 21 import io.appium.droiddriver.UiElement;
35 public final boolean perform(UiElement element) {
42 * @param view the View associated with the UiElement
43 * @param element the UiElement to perform the action on
47 protected abstract boolean perform(View view, UiElement element);
  /external/droiddriver/src/io/appium/droiddriver/scroll/
SentinelStrategy.java 23 import io.appium.droiddriver.UiElement;
44 protected final Predicate<? super UiElement> predicate;
51 protected Getter(Predicate<? super UiElement> predicate) {
61 public UiElement find(UiElement container) {
62 UiElement sentinel = getSentinel(container.getChildren(predicate));
71 protected abstract UiElement getSentinel(List<? extends UiElement> children);
82 protected UiElement getSentinel(List<? extends UiElement> children)
    [all...]
Scroller.java 19 import io.appium.droiddriver.UiElement;
35 * @return the UiElement matching {@code itemFinder}
38 UiElement scrollTo(DroidDriver driver, Finder containerFinder, Finder itemFinder);
48 * @return the UiElement matching {@code itemFinder}
51 UiElement scrollTo(DroidDriver driver, Finder containerFinder, Finder itemFinder,
DynamicSentinelStrategy.java 21 import io.appium.droiddriver.UiElement;
32 * child is updated after scrolling. Use this when {@link UiElement#getChildren}
46 boolean isSentinelUpdated(UiElement newSentinel, UiElement oldSentinel);
79 protected abstract String getUniqueString(UiElement uniqueStringElement);
81 private String getUniqueStringFromSentinel(UiElement sentinel) {
90 public boolean isSentinelUpdated(UiElement newSentinel, UiElement oldSentinel) {
134 protected String getUniqueString(UiElement uniqueStringElement) {
149 protected String getUniqueString(UiElement uniqueStringElement)
    [all...]
  /external/droiddriver/src/io/appium/droiddriver/actions/accessibility/
AccessibilityUiElementActor.java 19 import io.appium.droiddriver.UiElement;
30 public void click(UiElement uiElement) {
31 uiElement.perform(AccessibilityClickAction.SINGLE);
35 public void longClick(UiElement uiElement) {
36 uiElement.perform(AccessibilityClickAction.LONG);
40 public void doubleClick(UiElement uiElement) {
41 uiElement.perform(AccessibilityClickAction.DOUBLE)
    [all...]
AccessibilityAction.java 21 import io.appium.droiddriver.UiElement;
35 public final boolean perform(UiElement element) {
42 * @param node the AccessibilityNodeInfo used to create the UiElement
43 * @param element the UiElement to perform the action on
47 protected abstract boolean perform(AccessibilityNodeInfo node, UiElement element);
  /external/droiddriver/src/io/appium/droiddriver/
UiElement.java 34 * actions often update UiElement, so users are advised not to store instances for later use -- the
37 public interface UiElement {
39 Predicate<UiElement> VISIBLE =
40 new Predicate<UiElement>() {
42 public boolean apply(UiElement element) {
127 * Gets the UiElement bounds in screen coordinates. The coordinates may not be visible on screen.
131 /** Gets the UiElement bounds in screen coordinates. The coordinates will be visible on screen. */
179 List<? extends UiElement> getChildren(Predicate<? super UiElement> predicate);
182 UiElement getParent()
    [all...]
DroidDriver.java 44 * UiElement el = driver.on(By.anyOf(finder1, finder2, ...));
50 * <li>You know the UiElement will appear, and want to optimize the speed by
59 * Returns the first {@link UiElement} found using the given finder. This
67 UiElement on(Finder finder);
70 * Returns the first {@link UiElement} found using the given finder without
79 UiElement find(Finder finder);
82 * Refreshes the UiElement tree. All methods in this interface that take a
88 * Polls until a {@link UiElement} is found using the given finder, or the
90 * that it does not return the {@link UiElement}.
99 * Polls until the {@link UiElement} found using the given finder is gone, o
    [all...]
  /external/droiddriver/src/io/appium/droiddriver/helpers/
ScrollerHelper.java 20 import io.appium.droiddriver.UiElement;
46 * @return the UiElement matching {@code itemFinder}
49 public UiElement scrollTo(Finder itemFinder) {
60 * @return the UiElement matching {@code itemFinder}
63 public UiElement scrollTo(Finder itemFinder, PhysicalDirection direction) {
  /external/droiddriver/src/io/appium/droiddriver/base/
CompositeDroidDriver.java 20 import io.appium.droiddriver.UiElement;
46 public UiElement find(Finder finder) {

Completed in 106 milliseconds

1 2