Searched defs:element (Results 1 - 25 of 406) sorted by relevance

1234567891011>>

/external/droiddriver/src/io/appium/droiddriver/actions/
H A DAction.java30 * @param element the Ui element to perform the action on
35 boolean perform(UiElement element); argument
H A DEventAction.java32 public final boolean perform(UiElement element) { argument
33 return perform(element.getInjector(), element);
40 * @param element the UiElement to perform the action on
45 protected abstract boolean perform(InputInjector injector, UiElement element); argument
H A DKeyAction.java33 protected void maybeCheckFocused(UiElement element) { argument
34 if (checkFocused && element != null && !element.isFocused()) {
35 throw new ActionException(element + " is not focused");
/external/droiddriver/src/io/appium/droiddriver/actions/accessibility/
H A DAccessibilityAction.java35 public final boolean perform(UiElement element) { argument
36 return perform(((UiAutomationElement) element).getRawElement(), element);
43 * @param element the UiElement to perform the action on
47 protected abstract boolean perform(AccessibilityNodeInfo node, UiElement element); argument
H A DAccessibilityScrollAction.java44 protected boolean perform(AccessibilityNodeInfo node, UiElement element) { argument
45 if (!element.isScrollable()) {
/external/droiddriver/src/io/appium/droiddriver/actions/view/
H A DViewAction.java35 public final boolean perform(UiElement element) { argument
36 return perform(((ViewElement) element).getRawElement(), element);
43 * @param element the UiElement to perform the action on
47 protected abstract boolean perform(View view, UiElement element); argument
H A DCloseKeyboardAction.java57 protected boolean perform(View view, UiElement element) { argument
/external/droiddriver/src/io/appium/droiddriver/validators/
H A DExemptRootValidator.java27 public boolean isApplicable(UiElement element, Action action) { argument
28 return element.getParent() == null; // don't check root
32 public String validate(UiElement element, Action action) { argument
H A DExemptScrollActionValidator.java29 public boolean isApplicable(UiElement element, Action action) { argument
34 public String validate(UiElement element, Action action) { argument
H A DExemptedClassesValidator.java35 public boolean isApplicable(UiElement element, Action action) { argument
36 String className = element.getClassName();
58 public String validate(UiElement element, Action action) { argument
H A DFirstApplicableValidator.java34 public boolean isApplicable(UiElement element, Action action) { argument
39 public String validate(UiElement element, Action action) { argument
41 if (validator.isApplicable(element, action)) {
42 return validator.validate(element, action);
H A DValidator.java29 * Returns true if this {@link Validator} applies to {@code element} on this
32 boolean isApplicable(UiElement element, Action action); argument
35 * Returns {@code null} if {@code element} is valid on this {@code action},
38 String validate(UiElement element, Action action); argument
H A DVisibilityValidator.java27 public boolean isApplicable(UiElement element, Action action) { argument
32 public String validate(UiElement element, Action action) { argument
33 return element.isVisible() ? null : "invisible";
H A DDefaultAccessibilityValidator.java33 public boolean isApplicable(UiElement element, Action action) { argument
38 public String validate(UiElement element, Action action) { argument
39 return isSpeakingNode(element) ? null : "TalkBack cannot speak about it";
43 private static boolean isAccessibilityFocusable(UiElement element) { argument
44 if (isActionableForAccessibility(element)) {
48 if (isTopLevelScrollItem(element) && (isSpeakingNode(element))) {
54 private static boolean isTopLevelScrollItem(UiElement element) { argument
55 UiElement parent = element.getParent();
60 private static boolean isActionableForAccessibility(UiElement element) { argument
72 isSpeakingNode(UiElement element) argument
77 hasNonActionableSpeakingChildren(UiElement element) argument
87 hasContentDescriptionOrText(UiElement element) argument
[all...]
/external/guava/guava/src/com/google/common/collect/
H A DConstraint.java24 * A constraint that an element must satisfy in order to be added to a
29 * public Object checkElement(Object element) {
30 * if (element == null) {
33 * return element;
39 * passed-in element. A non-deterministic constraint cannot reliably enforce
60 * Throws a suitable {@code RuntimeException} if the specified element is
65 * @param element the element to check
66 * @return the provided element
68 E checkElement(E element); argument
[all...]
H A DForwardingListIterator.java42 public void add(E element) { argument
43 delegate().add(element);
67 public void set(E element) { argument
68 delegate().set(element);
H A DForwardingQueue.java74 public E element() { method in class:ForwardingQueue
75 return delegate().element();
94 * A sensible definition of {@link #peek} in terms of {@link #element}. If you
95 * override {@link #element}, you may wish to override {@link #peek} to
102 return element();
H A DRegularImmutableMultiset.java49 public int count(@Nullable Object element) { argument
50 Integer value = map.get(element);
60 public boolean contains(@Nullable Object element) { argument
61 return map.containsKey(element);
H A DTransformedListIterator.java63 public void set(T element) { argument
68 public void add(T element) { argument
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DSingletonImmutableList.java35 E element; field in class:SingletonImmutableList
37 SingletonImmutableList(E element) { argument
38 this.delegate = singletonList(checkNotNull(element));
39 this.element = element;
H A DSingletonImmutableSet.java36 E element; field in class:SingletonImmutableSet
38 SingletonImmutableSet(E element) { argument
39 this.element = checkNotNull(element);
49 return Iterators.singletonIterator(element);
54 return element.equals(object);
/external/v8/test/mjsunit/
H A Darray-iteration.js202 var o = { element: 42 };
204 assertTrue(a.some(function(n) { return this.element == n; }, o));
206 assertFalse(a.some(function(n) { return this.element == n; }, o));
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
H A DZIndexable.java26 * the first element drawn (lowest z-index) is effectively the "bottom" element.
33 * @param element
36 public boolean moveToTop(ElementType element); argument
40 * Move above the specified element
49 * Move beneath the specified element
66 * Move up by one element
73 * Move down by one element
84 * @param element
86 //public void addToBottom(ElementType element);
[all...]
/external/droiddriver/src/io/appium/droiddriver/finders/
H A DMatchFinder.java62 * Returns true if the {@code element} matches this finder. This can be used
63 * to test the exact match of {@code element} when this finder is used in
66 * @param element The element to validate against
67 * @return true if the element matches
69 public final boolean matches(UiElement element) { argument
70 return predicate.apply(element);
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
H A DSimpleAbstractMultisetTest.java44 public int add(String element, int occurrences) {
46 return super.add(element, occurrences);
69 @Override public int add(@Nullable E element, int occurrences) { argument
71 Integer frequency = backingMap.get(element);
79 backingMap.put(element, frequency + occurrences);

Completed in 1822 milliseconds

1234567891011>>