/external/droiddriver/src/com/google/android/droiddriver/base/ |
AbstractContext.java | 25 protected final InputInjector injector; field in class:AbstractContext 27 protected AbstractContext(InputInjector injector) { 28 this.injector = injector; 32 return injector;
|
/external/chromium/base/ |
message_pump_glib_unittest.cc | 27 source_->injector = this; 91 EventInjector* injector; member in struct:__anon4134::EventInjector::Source 95 *timeout_ms = static_cast<Source*>(source)->injector->HandlePrepare(); 100 return static_cast<Source*>(source)->injector->HandleCheck(); 106 static_cast<Source*>(source)->injector->HandleDispatch(); 132 // Checks how many events have been processed by the injector. 133 void ExpectProcessedEvents(EventInjector* injector, int count) { 134 EXPECT_EQ(injector->processed_events(), count); 171 EventInjector* injector() const { return injector_; } function in class:__anon4134::MessagePumpGLibTest 190 EXPECT_EQ(0, injector()->processed_events()) [all...] |
/external/chromium_org/base/message_loop/ |
message_pump_glib_unittest.cc | 36 source_->injector = this; 101 EventInjector* injector; member in struct:base::__anon6266::EventInjector::Source 118 *timeout_ms = static_cast<Source*>(source)->injector->HandlePrepare(); 123 return static_cast<Source*>(source)->injector->HandleCheck(); 129 static_cast<Source*>(source)->injector->HandleDispatch(); 151 // Checks how many events have been processed by the injector. 152 void ExpectProcessedEvents(EventInjector* injector, int count) { 153 EXPECT_EQ(injector->processed_events(), count); 180 EventInjector* injector() const { return injector_; } function in class:base::__anon6266::MessagePumpGLibTest 195 EXPECT_EQ(0, injector()->processed_events()) [all...] |
/external/droiddriver/src/com/google/android/droiddriver/actions/ |
ClickAction.java | 44 public boolean perform(InputInjector injector, UiElement element) { 45 SINGLE.perform(injector, element); 46 SINGLE.perform(injector, element); 57 public boolean perform(InputInjector injector, UiElement element) { 59 long downTime = Events.touchDown(injector, elementRect.centerX(), elementRect.centerY()); 62 Events.touchUp(injector, downTime, elementRect.centerX(), elementRect.centerY()); 73 public boolean perform(InputInjector injector, UiElement element) { 75 long downTime = Events.touchDown(injector, elementRect.centerX(), elementRect.centerY()); 79 Events.touchUp(injector, downTime, elementRect.centerX(), elementRect.centerY());
|
Action.java | 32 * @param injector the injector to inject {@link InputEvent}s 38 boolean perform(InputInjector injector, UiElement element);
|
PressKeyAction.java | 46 public boolean perform(InputInjector injector, UiElement element) { 51 return injector.injectInputEvent(downEvent) && injector.injectInputEvent(upEvent);
|
SwipeAction.java | 50 public boolean perform(InputInjector injector, UiElement element) { 94 long downTime = Events.touchDown(injector, startX, startY); 99 Events.touchMove(injector, downTime, startX + (int) (xStep * i), startY + (int) (yStep * i)); 106 Events.touchUp(injector, downTime, endX, endY);
|
TypeAction.java | 52 public boolean perform(InputInjector injector, UiElement element) { 65 success = injector.injectInputEvent(modifiedEvent);
|
/external/droiddriver/src/com/google/android/droiddriver/util/ |
Events.java | 73 public static void injectEvent(InputInjector injector, MotionEvent event) { 74 Logs.call(injector, "injectInputEvent", event); 76 if (!injector.injectInputEvent(event)) { 84 public static long touchDown(InputInjector injector, int x, int y) { 87 injectEvent(injector, downEvent); 91 public static void touchUp(InputInjector injector, long downTime, int x, int y) { 92 injectEvent(injector, newTouchUpEvent(downTime, x, y)); 95 public static void touchMove(InputInjector injector, long downTime, int x, int y) { 96 injectEvent(injector, newTouchMoveEvent(downTime, x, y));
|
/development/apps/SettingInjectorSample/res/xml/ |
disabled_injected_location_setting.xml | 6 android:settingsActivity="com.example.android.injector.MySettingActivity"
|
failing_injected_location_setting.xml | 6 android:settingsActivity="com.example.android.injector.MySettingActivity"
|
my_injected_location_setting.xml | 6 android:settingsActivity="com.example.android.injector.MySettingActivity"
|
slow_injected_location_setting.xml | 6 android:settingsActivity="com.example.android.injector.MySettingActivity"
|
updating_injected_location_setting.xml | 6 android:settingsActivity="com.example.android.injector.MySettingActivity"
|
/development/apps/SettingInjectorSample/ |
AndroidManifest.xml | 23 package="com.example.android.injector"> 32 <service android:name="com.example.android.injector.MyInjectorService" > 42 <service android:name="com.example.android.injector.DisabledInjectorService" > 52 <service android:name="com.example.android.injector.FailingInjectorService" > 62 <service android:name="com.example.android.injector.SlowInjectorService" > 72 <service android:name="com.example.android.injector.UpdatingInjectorService" >
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/inject/ |
Injector.java | 42 * Injector.get(this).inject(); 49 public final class Injector { 52 private Injector(Activity activity) { 57 * Gets an {@link Injector} capable of injecting fields for the given Activity. 59 public static Injector get(Activity activity) { 60 return new Injector(activity);
|
/sdk/emulator/opengl/tests/emulator_test_renderer/ |
main.cpp | 44 EventInjector* injector; local 112 injector = new EventInjector(consolePort); 118 injector->wait(1000/15); 119 injector->poll(); 125 injector->sendMouseDown(ev.button.x, ev.button.y); 131 injector->sendMouseUp(ev.button.x,ev.button.y); 137 injector->sendMouseMotion(ev.button.x,ev.button.y); 148 injector->sendKeyDown(convert_keysym(ev.key.keysym.sym)); 185 injector->sendKeyUp(convert_keysym(ev.key.keysym.sym));
|
/external/chromium_org/remoting/host/ |
input_injector.h | 22 // Creates a default input injector for the current platform. This
|
ipc_desktop_environment_unittest.cc | 193 // The IPC input injector. 205 // Input injector owned by |desktop_process_|. 286 // Create the input injector. 424 // Start the input injector and screen capturer. 430 // Input injector should receive no events. 453 // Start the input injector and screen capturer. 460 // Input injector should receive no events. 490 // Start the input injector and screen capturer. 503 // Input injector should receive no events. 531 // Start the input injector and screen capturer [all...] |
/development/apps/SettingInjectorSample/src/com/example/android/injector/ |
DisabledInjectorService.java | 17 package com.example.android.injector;
|
FailingInjectorService.java | 17 package com.example.android.injector;
|
MyInjectorService.java | 17 package com.example.android.injector;
|
MySettingActivity.java | 17 package com.example.android.injector;
|
SlowInjectorService.java | 17 package com.example.android.injector;
|
UpdatingInjectorService.java | 17 package com.example.android.injector;
|