/external/droiddriver/src/com/google/android/droiddriver/actions/ |
EventAction.java | 32 public boolean perform(UiElement element) { method in class:EventAction 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); method in class:EventAction
|
EventUiElementActor.java | 31 uiElement.perform(new TextAction(text)); 36 uiElement.perform(ClickAction.SINGLE); 41 uiElement.perform(ClickAction.LONG); 46 uiElement.perform(ClickAction.DOUBLE); 51 uiElement.perform(SwipeAction.toScroll(direction));
|
Action.java | 30 * @param element the Ui element to perform the action on 35 boolean perform(UiElement element); method in interface:Action
|
ClickAction.java | 43 public boolean perform(InputInjector injector, UiElement element) { method in class:ClickAction.DoubleClick 44 SINGLE.perform(element); 45 SINGLE.perform(element); 56 public boolean perform(InputInjector injector, UiElement element) { method in class:ClickAction.LongClick 72 public boolean perform(InputInjector injector, UiElement element) { method in class:ClickAction.SingleClick
|
/external/droiddriver/src/com/google/android/droiddriver/actions/accessibility/ |
AccessibilityUiElementActor.java | 32 uiElement.perform(new TextAction(text)); 37 uiElement.perform(AccessibilityClickAction.SINGLE); 42 uiElement.perform(AccessibilityClickAction.LONG); 47 uiElement.perform(AccessibilityClickAction.DOUBLE); 52 uiElement.perform(new AccessibilityScrollAction(direction));
|
AccessibilityAction.java | 35 public boolean perform(UiElement element) { method in class:AccessibilityAction 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); method in class:AccessibilityAction
|
AccessibilityClickAction.java | 43 protected boolean perform(AccessibilityNodeInfo node, UiElement element) { method in class:AccessibilityClickAction.DoubleClick 44 return SINGLE.perform(element) && SINGLE.perform(element); 54 protected boolean perform(AccessibilityNodeInfo node, UiElement element) { method in class:AccessibilityClickAction.LongClick 69 protected boolean perform(AccessibilityNodeInfo node, UiElement element) { method in class:AccessibilityClickAction.SingleClick
|
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/action/ |
SwipeActionIntegrationTest.java | 57 .perform(swipeLeft()) 59 .perform(swipeLeft()) 61 .perform(swipeRight()) 63 .perform(swipeRight()) 71 .perform(swipeRight()) 73 .perform(swipeRight()) 80 .perform(swipeLeft()) 81 .perform(swipeLeft()) 83 .perform(swipeLeft()) 85 .perform(swipeLeft() [all...] |
TypeTextActionIntegrationTest.java | 58 onView(withId(is(R.id.send_data_to_call_edit_text))).perform(typeText("Hello!")); 63 onView(withId(R.id.enter_data_edit_text)).perform(typeText("Hello World!\n")); 69 onView(withId(is(R.id.send_data_to_call_edit_text))).perform(typeText( 71 onView(withId(is(R.id.send_data_to_call_edit_text))).perform(typeTextIntoFocusedView( 78 onView(withId(is(R.id.send_data_to_call_edit_text))).perform(typeText( 82 .perform(scrollTo(), typeTextIntoFocusedView("Jolly good!")); 92 .perform(scrollTo(), typeText(toType), pressImeActionButton()); 94 .perform(scrollTo())
|
KeyEventActionIntegrationTest.java | 78 onData(allOf(instanceOf(Map.class), hasValue("SendActivity"))).perform(click()); 88 onData(allOf(instanceOf(Map.class), hasValue("SendActivity"))).perform(click()); 89 onView(isRoot()).perform(ViewActions.pressBack()); 112 onView(withId(R.id.new_fragment)).perform(click()).perform(click()).perform(click()); 142 onData(allOf(instanceOf(Map.class), hasValue("SendActivity"))).perform(click()); 143 onView(withId(R.id.enter_data_edit_text)).perform(click()); 144 onView(withId(R.id.enter_data_edit_text)).perform(ViewActions.pressKey(KeyEvent.KEYCODE_X)); 145 onView(withId(R.id.enter_data_edit_text)).perform(ViewActions.pressKey(KeyEvent.KEYCODE_Y)) [all...] |
EditorActionIntegrationTest.java | 58 onView(withId(R.id.search_box)).perform(scrollTo(), ViewActions.typeText(searchFor)); 61 .perform(pressImeActionButton()); 62 onView(withId(R.id.search_result)).perform(scrollTo()); 69 onView(withId(R.id.send_button)).perform(pressImeActionButton()); 77 onView(withId(R.id.enter_data_edit_text)).perform(pressImeActionButton());
|
ScrollToActionIntegrationTest.java | 54 .perform(scrollTo()) 56 .perform(scrollTo()); // Should be a noop. 62 .perform(scrollTo()) 66 .perform(scrollTo()) 73 .perform(scrollTo())
|
/frameworks/testing/espresso/espresso-sample/src/androidTest/java/com/google/android/apps/common/testing/ui/testapp/ |
ActionBarTest.java | 54 .perform(click()); 57 .perform(click()); 66 .perform(click()); 69 .perform(click()); 79 .perform(click()); 85 .perform(click()); 94 .perform(click()); 100 .perform(click());
|
SwipeTest.java | 55 onView(withId(R.id.pager_layout)).perform(swipeLeft()); 61 onView(withId(R.id.pager_layout)).perform(swipeLeft()); 67 onView(withId(R.id.pager_layout)).perform(swipeLeft()); 78 onView(withId(R.id.pager_layout)).perform(swipeLeft()); 84 onView(withId(R.id.pager_layout)).perform(swipeRight()); 90 onView(withId(R.id.pager_layout)).perform(swipeRight());
|
BasicTest.java | 58 .perform(click()); 66 .perform(typeText("Have a cup of Espresso.")); 69 .perform(click()); 88 .perform(click()); 93 .perform(click());
|
MultipleWindowTest.java | 84 .perform(scrollTo()) 85 .perform(typeText("So")); 91 .perform(typeTextIntoFocusedView("uth ")); 97 .perform(click()); 107 .perform(clearText()) 108 .perform(typeText("S")); 114 .perform(click());
|
/external/droiddriver/src/com/google/android/droiddriver/ |
UiDevice.java | 47 boolean perform(Action action); method in interface:UiDevice
|
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/ |
ViewAction.java | 33 * <li>View action code will executed on the UI thread, therefore you should not block, perform 34 * sleeps, or perform other expensive computations. 35 * <li>The test framework will wait for the UI thread to be idle both before and after perform() is 47 * A ViewAction can demand that the view passed to perform meets certain constraints. For example 51 * @return a {@link Matcher} that will be tested prior to calling perform. 67 public void perform(UiController uiController, View view); method in interface:ViewAction
|
/system/core/include/system/ |
window.h | 267 /* Valid operations for the (*perform)() hook. 482 * hook used to perform various operations on the surface. 483 * (*perform)() is a generic mechanism to add functionality to 489 * (*perform)() returns -ENOENT if the 'what' parameter is not supported 513 int (*perform)(struct ANativeWindow* window, member in struct:ANativeWindow 629 return window->perform(window, NATIVE_WINDOW_SET_USAGE, usage); 668 return window->perform(window, NATIVE_WINDOW_SET_CROP, crop); 689 return window->perform(window, NATIVE_WINDOW_SET_POST_TRANSFORM_CROP, crop); 718 return window->perform(window, NATIVE_WINDOW_SET_BUFFER_COUNT, bufferCount); 738 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_GEOMETRY [all...] |
/external/droiddriver/src/com/google/android/droiddriver/base/ |
BaseUiDevice.java | 57 perform(POWER_ON); 64 perform(POWER_OFF); 70 perform(SingleKeyAction.BACK); 74 public boolean perform(Action action) { method in class:BaseUiDevice 75 return getContext().getDriver().getRootElement().perform(action);
|
/external/chromium_org/third_party/hwcplus/include/system/ |
window.h | 241 /* Valid operations for the (*perform)() hook. 454 * hook used to perform various operations on the surface. 455 * (*perform)() is a generic mechanism to add functionality to 461 * (*perform)() returns -ENOENT if the 'what' parameter is not supported 485 int (*perform)(struct ANativeWindow* window, member in struct:ANativeWindow 601 return window->perform(window, NATIVE_WINDOW_SET_USAGE, usage); 634 return window->perform(window, NATIVE_WINDOW_SET_CROP, crop); 655 return window->perform(window, NATIVE_WINDOW_SET_POST_TRANSFORM_CROP, crop); 680 return window->perform(window, NATIVE_WINDOW_SET_BUFFER_COUNT, bufferCount); 696 return window->perform(window, NATIVE_WINDOW_SET_BUFFERS_GEOMETRY [all...] |
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/ |
EspressoEdgeCaseTest.java | 87 .perform( 91 public void perform(UiController controller, View view) { 111 .perform(typeText("Hello World111")); 122 .perform( 125 public void perform(UiController controller, View view) { 150 .perform(typeText("baz bar")); 161 .perform( 164 public void perform(UiController controller, View view) { 190 .perform(typeText("one two three")); 204 .perform(click()) [all...] |
EspressoTest.java | 70 .perform(click()); 73 .perform(click()); 81 .perform(click()); 83 .perform(click()); 86 .perform(click()); 94 .perform(click()); 96 onView(withId(R.id.enter_data_edit_text)).perform(new ViewAction() { 103 public void perform(UiController uiController, View view) { 116 onView(withId(R.id.enter_data_edit_text)).perform(ViewActions.closeSoftKeyboard()); 127 onView(withText("does not exist")).perform(click()) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
InspectorHistory.h | 58 virtual bool perform(ExceptionState&) = 0; 71 bool perform(PassRefPtrWillBeRawPtr<Action>, ExceptionState&);
|
InspectorHistory.cpp | 46 virtual bool perform(ExceptionState&) OVERRIDE { return true; } 90 bool InspectorHistory::perform(PassRefPtrWillBeRawPtr<Action> action, ExceptionState& exceptionState) function in class:WebCore::InspectorHistory 92 if (!action->perform(exceptionState)) 107 perform(adoptRefWillBeNoop(new UndoableStateMark()), IGNORE_EXCEPTION);
|