Searched refs:touch (Results 1 - 12 of 12) sorted by relevance

/sdk/layoutlib_api/src/com/android/resources/
H A DTouchScreen.java24 NOTOUCH("notouch", "No Touch", "No-touch screen"), //$NON-NLS-1$
68 public static int getIndex(TouchScreen touch) { argument
71 if (t == touch) {
/sdk/monkeyrunner/scripts/
H A Dmonkey_playback.py31 'TOUCH': lambda dev, arg: dev.touch(**arg),
/sdk/monkeyrunner/src/com/android/monkeyrunner/easy/
H A DEasyMonkeyDevice.java67 @MonkeyRunnerExported(doc = "Sends a touch event to the selected object.",
72 public void touch(PyObject[] args, String[] kws) { method in class:EasyMonkeyDevice
79 Preconditions.checkNotNull(type, "Invalid touch type: " + tmpType);
81 touch(selector, type);
84 public void touch(By selector, TouchPressType type) { method in class:EasyMonkeyDevice
86 mDevice.getImpl().touch(p.x, p.y, type);
105 mDevice.getImpl().touch(p.x, p.y, TouchPressType.DOWN_AND_UP);
/sdk/monkeyrunner/src/com/android/monkeyrunner/recorder/actions/
H A DTouchAction.java26 * Action to touch the touchscreen at a certain location.
52 device.touch(x, y, TouchPressType.fromIdentifier(direction));
/sdk/chimpchat/src/com/android/chimpchat/core/
H A DIChimpDevice.java87 * Perform a touch of the given type at (x,y).
91 * @param type the touch type
93 void touch(int x, int y, TouchPressType type); method in interface:IChimpDevice
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/devices/
H A DDeviceWriter.java154 Element touch = doc.createElement(PREFIX + DeviceSchema.NODE_TOUCH);
155 screen.appendChild(touch);
157 addElement(doc, touch, DeviceSchema.NODE_MULTITOUCH, s.getMultitouch().toString());
158 addElement(doc, touch, DeviceSchema.NODE_MECHANISM, s.getMechanism().getResourceValue());
159 addElement(doc, touch, DeviceSchema.NODE_SCREEN_TYPE, s.getScreenType().toString());
/sdk/monkeyrunner/src/com/android/monkeyrunner/controller/
H A DMonkeyControllerFrame.java125 device.touch(event.getX(), event.getY(), DOWN_AND_UP);
/sdk/apps/DeviceConfig/src/com/example/android/deviceconfig/
H A DConfigGenerator.java104 public static final String NODE_TOUCH = "touch";
283 Element touch = doc.createElement(PREFIX + NODE_TOUCH);
284 screen.appendChild(touch);
287 touch.appendChild(multitouch);
303 touch.appendChild(mechanism);
321 touch.appendChild(screenType);
/sdk/monkeyrunner/src/com/android/monkeyrunner/
H A DMonkeyDevice.java60 @MonkeyRunnerExported(doc = "Sends a DOWN event when used with touch() or press().")
63 @MonkeyRunnerExported(doc = "Sends an UP event when used with touch() or press().")
66 @MonkeyRunnerExported(doc = "Sends a DOWN event, immediately followed by an UP event when used with touch() or press()")
117 @MonkeyRunnerExported(doc = "Sends a touch event at the specified location",
121 "touch event type as returned by TouchPressType()"})
122 public void touch(PyObject[] args, String[] kws) { method in class:MonkeyDevice
136 impl.touch(x, y, type);
139 @MonkeyRunnerExported(doc = "Simulates dragging (touch, hold, and move) on the device screen.",
177 "touch event type as returned by TouchPressType(). To simulate typing a key, " +
/sdk/monkeyrunner/src/com/android/monkeyrunner/recorder/
H A DMonkeyRecorderFrame.java148 touch(event);
402 private void touch(MouseEvent event) { method in class:MonkeyRecorderFrame
/sdk/chimpchat/src/com/android/chimpchat/
H A DChimpManager.java79 * Send a touch down event at the specified location.
87 return sendMonkeyEvent("touch down " + x + " " + y);
91 * Send a touch down event at the specified location.
99 return sendMonkeyEvent("touch up " + x + " " + y);
103 * Send a touch move event at the specified location.
111 return sendMonkeyEvent("touch move " + x + " " + y);
115 * Send a touch (down and then up) event at the specified location.
122 public boolean touch(int x, int y) throws IOException { method in class:ChimpManager
/sdk/chimpchat/src/com/android/chimpchat/adb/
H A DAdbChimpDevice.java351 public void touch(int x, int y, TouchPressType type) { method in class:AdbChimpDevice
365 LOG.log(Level.SEVERE, "Error sending touch event: " + x + " " + y + " " + type, e);

Completed in 242 milliseconds