Lines Matching refs:Stylus
16 _STYLUS_DEVICE = 'stylus'
17 _STYLUS_PROPERTY = '/tmp/stylus.prop'
18 _STYLUS_TEMPLATE = 'stylus.prop.template'
21 class Stylus(object):
22 """An emulated stylus device used for UI automation."""
25 """Prepare an emulated stylus device based on the internal display."""
33 # Enlarge resolution of the emulated stylus.
39 # Create an emulated stylus device.
40 self.stylus = input_playback.InputPlayback()
41 self.stylus.emulate(input_type=_STYLUS_DEVICE,
43 self.stylus.find_connected_inputs()
73 """Click the point(x,y) on the emulated stylus panel.
85 self.stylus.blocking_playback(_CLICK_EVENTS, input_type=_STYLUS_DEVICE)
100 if self.stylus:
101 self.stylus.close()