Home
last modified time | relevance | path

Searched refs:touches (Results 1 – 25 of 62) sorted by relevance

123

/third_party/libinput/tools/
Dlibinput-measure-touchpad-tap.py102 self.touches = []
131 self.touches.append(t)
133 self.touches[-1].up = tv2us(event.sec, event.usec)
134 msg("\rTouch sequences detected: {}".format(len(self.touches)), end="")
171 deltas = sorted(t.tdelta for t in self.touches)
214 deltas = [t for t in self.touches]
230 if not self.touches:
Dlibinput-debug-gui.c139 struct touch touches[32]; member
609 ARRAY_FOR_EACH(w->touches, t) { in draw_touchpoints()
1430 if (slot == -1 || slot >= (int) ARRAY_LENGTH(w->touches)) in handle_event_touch()
1433 touch = &w->touches[slot]; in handle_event_touch()
/third_party/skia/tests/
DPathOpsBoundsTest.cpp38 bool touches = SkPathOpsBounds::Intersects(bounds1, bounds2); in DEF_TEST() local
39 REPORTER_ASSERT(reporter, touches); in DEF_TEST()
46 bool touches = SkPathOpsBounds::Intersects(bounds1, bounds2); in DEF_TEST() local
47 REPORTER_ASSERT(reporter, !touches); in DEF_TEST()
/third_party/libinput/src/
Devdev-mt-touchpad-gestures.c100 t = &tp->touches[i]; in tp_get_touches_delta()
245 struct tp_touch **touches, in tp_gesture_get_active_touches() argument
251 memset(touches, 0, count * sizeof(struct tp_touch *)); in tp_gesture_get_active_touches()
255 touches[n++] = t; in tp_gesture_get_active_touches()
321 struct tp_touch *first = tp->gesture.touches[0], in tp_gesture_get_pinch_info()
322 *second = tp->gesture.touches[1]; in tp_gesture_get_pinch_info()
347 struct tp_touch *first = tp->gesture.touches[0], in tp_gesture_set_scroll_buildup()
348 *second = tp->gesture.touches[1]; in tp_gesture_set_scroll_buildup()
707 first = tp->gesture.touches[0]; in tp_gesture_pointer_motion_handle_event()
862 struct tp_touch *first = tp->gesture.touches[0], in tp_gesture_detect_motion_gestures()
[all …]
Devdev-mt-touchpad.h305 struct tp_touch *touches; /* len == ntouches */ member
358 struct tp_touch *touches[2]; member
546 for (unsigned int _i = 0; _i < (_tp)->ntouches && (_t = &(_tp)->touches[_i]); _i++)
Devdev-mt-touchpad.c236 return &tp->touches[min(tp->slot, tp->ntouches - 1)]; in tp_current_touch()
243 return &tp->touches[slot]; in tp_get_touch()
2029 free(tp->touches); in tp_interface_destroy()
2160 tp_sync_touch(tp, device, &tp->touches[0], 0); in tp_sync_slots()
2162 tp_sync_touch(tp, device, &tp->touches[i], i); in tp_sync_slots()
2939 tp->touches = zalloc(tp->ntouches * sizeof(struct tp_touch)); in tp_init_slots()
2942 tp_init_touch(tp, &tp->touches[i], i); in tp_init_slots()
/third_party/jsframework/runtime/main/extend/systemplugin/ohos/
DinputMonitor.js17 const touches = [{
55 value.touches = touches;
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_multimodalInput_inputMonitor.js20 const touches = [{
57 value.touches = touches;
Dohos_multimodalInput_touchEvent.js64 touches: ['[PC preview] unknow Touch'], property
/third_party/libinput/doc/user/
Dtouchpads.rst80 slots thus equals the number of simultaneous touches a device can track.
90 information is provided for those. In libinput, these touches are termed
91 "fake touches". The kernel sends **BTN_TOOL_DOUBLETAP**,
103 touches, others support 5 touches like the Synaptics touchpads when using
113 events for all touches for backwards compatibility. libinput ignores these
114 events if the touchpad can track touches correctly.
146 both touches. This may limit some features such as :ref:`gestures` or
176 located underneath the keyboard, accidental palm touches are a non-issue.
Dpalm-detection.rst7 Palm detection tries to identify accidental touches while typing, while
10 On most laptops typing on the keyboard generates accidental touches on the
19 touchpads are less affected by palm touches.
123 accidental touches whenever the trackpoint is used.
127 during this timeout will not move the pointer, and touches started during
177 hand may touch the surface and trigger touches. As the user is currently
178 interacting with the stylus, these touches would interfer with the correct
182 these touches and disables the touchpad accordingly.
Dseats.rst58 - if two touches are down on different devices, the logical state is that of
59 two touches down.
Dtouchpad-thumb-detection.rst7 Thumb detection tries to identify touches triggered by a thumb rather than a
78 motion speed for all touches - where a finger has been moving a newly
Dtouchpad-pressure-debugging.rst48 - touches subjectively perceived as down are tagged as down
49 - touches with a thumb are tagged as thumb
50 - touches with a palm are tagged as palm
Dswitches.rst29 ghost touches that can be caused by interference with touchpads and the
Dtouchpad-pressure.rst11 these thresholds primarily to filter out accidental light touches but
Dgestures.rst251 Thumb and palm detection effectively remove touches from being counted
282 :ref:`tapping` is the feature that enables short-lived touches to trigger
354 slots can identify two touches by position but can usually tell that there
/third_party/libinput/test/
Dlitest.c2209 l = min(x, d->semi_mt.touches[other].x); in litest_slot_start()
2210 t = min(y, d->semi_mt.touches[other].y); in litest_slot_start()
2211 r = max(x, d->semi_mt.touches[other].x); in litest_slot_start()
2212 b = max(y, d->semi_mt.touches[other].y); in litest_slot_start()
2228 d->semi_mt.touches[slot].x = x; in litest_slot_start()
2229 d->semi_mt.touches[slot].y = y; in litest_slot_start()
2292 l = min(x, d->semi_mt.touches[other].x); in litest_slot_move()
2293 t = min(y, d->semi_mt.touches[other].y); in litest_slot_move()
2294 r = max(x, d->semi_mt.touches[other].x); in litest_slot_move()
2295 b = max(y, d->semi_mt.touches[other].y); in litest_slot_move()
[all …]
/third_party/skia/third_party/externals/imgui/examples/example_apple_metal/
Dmain.mm247 // when there are multiple active touches. But for demo purposes, single-touch
268 -(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event { [self updateIOWit…
269 -(void)touchesMoved:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event { [self updateIOWit…
270 -(void)touchesCancelled:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event { [self updateIOWit…
271 -(void)touchesEnded:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event { [self updateIOWit…
/third_party/cef/libcef/browser/osr/
Dmotion_event_osr.cc129 if (event->touches[i].id != id) in MarkUnchangedTouchPointsAsStationary()
130 event->touches[i].state = blink::WebTouchPoint::State::kStateStationary; in MarkUnchangedTouchPointsAsStationary()
/third_party/ltp/runtest/
Dmm4 # Creates a 10000 page mmap, touches all of the map, sync's it, and
/third_party/gstreamer/gstreamer/docs/random/
Dtypefind6 This touches upon typefinding, autoplugging and (optionally)
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/
DREADME69 <offset>+<length>. If <offset> and <length> omitted, touches all
/third_party/vk-gl-cts/external/vulkan-docs/src/
DREADME.adoc40 problem. Broader feedback that tries to solve multiple problems, or touches
/third_party/glslang/
DChooseMSVCCRT.cmake80 # CMake requires the docstring parameter whenever set() touches the cache,

123