Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/external/xserver/test/
H A Dtouch.c55 dev.last.touches = calloc(dev.last.num_touches, sizeof(*dev.last.touches)); in touch_grow_queue()
56 assert(dev.last.touches); in touch_grow_queue()
58 dev.last.touches[i].active = TRUE; in touch_grow_queue()
59 dev.last.touches[i].ddx_id = i; in touch_grow_queue()
60 dev.last.touches[i].client_id = i * 2; in touch_grow_queue()
71 DDXTouchPointInfoPtr t = &dev.last.touches[i]; in touch_grow_queue()
78 assert(dev.last.touches[size].active == TRUE); in touch_grow_queue()
79 assert(dev.last.touches[size].ddx_id == 1234); in touch_grow_queue()
80 assert(dev.last.touches[size].client_id == 1); in touch_grow_queue()
84 DDXTouchPointInfoPtr t = &dev.last.touches[i]; in touch_grow_queue()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/touches/
H A Dinterface.hpp59 struct touches struct
70 struct touches<Geometry1, Geometry2, Tag1, Tag2, CastedTag1, CastedTag2, true> struct
71 : touches<Geometry2, Geometry1, Tag2, Tag1, CastedTag2, CastedTag1, false>
76 return touches<Geometry2, Geometry1>::apply(g2, g1, strategy); in apply()
87 struct touches struct
94 return dispatch::touches in apply()
111 return dispatch::touches in apply()
124 struct touches struct
132 return resolve_strategy::touches::apply(geometry1, geometry2, strategy); in apply()
137 struct touches<boost::variant<BOOST_VARIANT_ENUM_PARAMS(T)>, Geometry2> struct
[all …]
H A Dimplementation.hpp42 namespace detail { namespace touches namespace
112 bool touches = false; in apply() local
117 >::apply(b1, b2, touches); in apply()
119 return ok && touches; in apply()
266 detail::touches::areal_interrupt_policy policy; in apply()
276 && ! geometry::detail::touches::rings_containing(geometry1, geometry2, strategy) in apply()
277 && ! geometry::detail::touches::rings_containing(geometry2, geometry1, strategy); in apply()
302 struct touches<Geometry1, Geometry2, point_tag, Tag2, pointlike_tag, pointlike_tag, false> struct
312 struct touches<Geometry1, Geometry2, multi_point_tag, Tag2, pointlike_tag, pointlike_tag, false> struct
324 struct touches<Point, Geometry, point_tag, Tag2, pointlike_tag, CastedTag2, false> struct
[all …]
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Dektf2127.c51 struct input_mt_pos *touches) in ektf2127_parse_coordinates() argument
59 touches[i].x = (buf[index] & 0x0f); in ektf2127_parse_coordinates()
60 touches[i].x <<= 8; in ektf2127_parse_coordinates()
61 touches[i].x |= buf[index + 2]; in ektf2127_parse_coordinates()
63 touches[i].y = (buf[index] & 0xf0); in ektf2127_parse_coordinates()
64 touches[i].y <<= 4; in ektf2127_parse_coordinates()
65 touches[i].y |= buf[index + 1]; in ektf2127_parse_coordinates()
71 struct input_mt_pos touches[EKTF2127_MAX_TOUCHES]; in ektf2127_report_event() local
83 ektf2127_parse_coordinates(buf, touch_count, touches); in ektf2127_report_event()
84 input_mt_assign_slots(ts->input, slots, touches, in ektf2127_report_event()
[all …]
H A Dgslx680_firefly.c670 u8 id, touches; local
692 touches = ts->touch_data[ts->dd->touch_index];
693 print_info("-----touches: %d -----\n", touches);
695 cinfo.finger_num = touches;
697 for (i = 0; i < (touches < MAX_CONTACTS ? touches : MAX_CONTACTS); i++) {
720 touches = cinfo.finger_num;
724 if (touches == 0)
728 for (i = 0; i < (touches > MAX_FINGERS ? MAX_FINGERS : touches); i++) {
752 if ((touches == 0) || ((id_state_old_flag[i] != 0) && (id_state_flag[i] == 0))) {
763 if (touches == 0) {
H A Dgslx680a.c788 u8 id, touches; in gslX680_ts_worker() local
819 touches = ts->touch_data[ts->dd->touch_index]; in gslX680_ts_worker()
820 print_info("-----touches: %d -----\n", touches); in gslX680_ts_worker()
822 cinfo.finger_num = touches; in gslX680_ts_worker()
824 for (i = 0; i < (touches < MAX_CONTACTS ? touches : MAX_CONTACTS); i++) { in gslX680_ts_worker()
850 touches = cinfo.finger_num; in gslX680_ts_worker()
854 if (touches == 0) in gslX680_ts_worker()
858 for (i = 0; i < (touches > MAX_FINGERS ? MAX_FINGERS : touches); i++) { in gslX680_ts_worker()
882 if ((touches == 0) || ((id_state_old_flag[i] != 0) && (id_state_flag[i] == 0))) { in gslX680_ts_worker()
893 if (touches == 0) { in gslX680_ts_worker()
H A Dgslx680_pad.c695 u8 id, touches; in gslX680_ts_worker() local
718 touches = ts->touch_data[ts->dd->touch_index]; in gslX680_ts_worker()
720 cinfo.finger_num = touches; in gslX680_ts_worker()
721 for(i = 0; i < (touches < MAX_CONTACTS ? touches : MAX_CONTACTS); i ++) in gslX680_ts_worker()
743 touches = cinfo.finger_num; in gslX680_ts_worker()
748 if(touches == 0) in gslX680_ts_worker()
752 for(i= 0;i < (touches > MAX_FINGERS ? MAX_FINGERS : touches);i ++) in gslX680_ts_worker()
784 if( (0 == touches) || ((0 != id_state_old_flag[i]) && (0 == id_state_flag[i])) ) in gslX680_ts_worker()
795 if(0 == touches) in gslX680_ts_worker()
H A Dgsl3673.c789 u8 id, touches; in gsl3673_ts_worker() local
814 touches = ts->touch_data[ts->dd->touch_index]; in gsl3673_ts_worker()
816 cinfo.finger_num = touches; in gsl3673_ts_worker()
817 for (i = 0; i < (touches < MAX_CONTACTS ? touches : MAX_CONTACTS); i++) { in gsl3673_ts_worker()
844 touches = cinfo.finger_num; in gsl3673_ts_worker()
847 if (touches == 0) in gsl3673_ts_worker()
851 for (i = 0; i < (touches > MAX_FINGERS ? MAX_FINGERS : touches); i++) { in gsl3673_ts_worker()
874 if ((touches == 0) || ((id_state_old_flag[i] != 0) && in gsl3673_ts_worker()
887 if (key_state_flag && touches == 0) { in gsl3673_ts_worker()
H A Dgsl3673_800x1280.c811 u8 id, touches; in gsl3673_ts_worker() local
836 touches = ts->touch_data[ts->dd->touch_index]; in gsl3673_ts_worker()
838 cinfo.finger_num = touches; in gsl3673_ts_worker()
839 for (i = 0; i < (touches < MAX_CONTACTS ? touches : MAX_CONTACTS); i++) { in gsl3673_ts_worker()
866 touches = cinfo.finger_num; in gsl3673_ts_worker()
869 if (touches == 0) in gsl3673_ts_worker()
873 for (i = 0; i < (touches > MAX_FINGERS ? MAX_FINGERS : touches); i++) { in gsl3673_ts_worker()
896 if ((touches == 0) || ((id_state_old_flag[i] != 0) && in gsl3673_ts_worker()
909 if (key_state_flag && touches == 0) { in gsl3673_ts_worker()
H A Dgslx680.c973 u8 id, touches; in gslX680_ts_worker() local
1002 touches = ts->touch_data[ts->dd->touch_index]; in gslX680_ts_worker()
1006 cinfo.finger_num = touches; in gslX680_ts_worker()
1008 for (i = 0; i < (touches < MAX_CONTACTS ? touches : MAX_CONTACTS); i++) { in gslX680_ts_worker()
1040 touches = cinfo.finger_num; in gslX680_ts_worker()
1044 if (touches == 0) in gslX680_ts_worker()
1048 for (i = 0; i < (touches > MAX_FINGERS ? MAX_FINGERS : touches); i++) { in gslX680_ts_worker()
1083 if ((0 == touches) in gslX680_ts_worker()
1106 if (0 == touches) { in gslX680_ts_worker()
H A Dgslx6801.c911 u8 id, touches; in gslX680_ts_worker() local
940 touches = ts->touch_data[ts->dd->touch_index]; in gslX680_ts_worker()
943 cinfo.finger_num = touches; in gslX680_ts_worker()
945 (i = 0; i < (touches < MAX_CONTACTS ? touches : MAX_CONTACTS); i++) { in gslX680_ts_worker()
973 touches = cinfo.finger_num; in gslX680_ts_worker()
977 if (touches == 0) in gslX680_ts_worker()
981 for (i = 0; i < (touches > MAX_FINGERS ? MAX_FINGERS : touches); i++) { in gslX680_ts_worker()
1011 if ((touches == 0) || ((id_state_old_flag[i] != 0) && in gslX680_ts_worker()
1036 if (touches == 0) { in gslX680_ts_worker()
H A Dchipone_icn8318.c45 struct icn8318_touch touches[ICN8318_MAX_TOUCHES]; member
112 struct icn8318_touch *touch = &touch_data.touches[i]; in icn8318_irq()
H A Dchipone_icn8505.c65 struct icn8505_touch touches[ICN8505_MAX_TOUCHES]; member
343 struct icn8505_touch *touch = &touch_data.touches[i]; in icn8505_irq()
/OK3568_Linux_fs/external/xserver/dix/
H A Dtouch.c84 tmp = reallocarray(dev->last.touches, size, sizeof(*dev->last.touches)); in TouchResizeQueue()
88 dev->last.touches = tmp; in TouchResizeQueue()
90 TouchInitDDXTouchPoint(dev, &dev->last.touches[j]); in TouchResizeQueue()
115 ti = &dev->last.touches[i]; in TouchFindByDDXID()
155 if (dev->last.touches[i].active) in TouchBeginDDXTouch()
158 ti = &dev->last.touches[i]; in TouchBeginDDXTouch()
209 ti = &t->touches[index]; in TouchInitTouchPoint()
240 ti = &device->touch->touches[index]; in TouchFreeTouchPoint()
274 ti = &t->touches[i]; in TouchFindByClientID()
311 ti = &t->touches[i]; in TouchBeginTouch()
[all …]
H A Ddevices.c275 dev->last.touches = NULL; in AddInputDevice()
819 free((*t)->touches[i].sprite.spriteTrace); in FreeDeviceClass()
820 free((*t)->touches[i].listeners); in FreeDeviceClass()
821 free((*t)->touches[i].valuators); in FreeDeviceClass()
824 free((*t)->touches); in FreeDeviceClass()
1013 free(dev->last.touches[j].valuators); in CloseDevice()
1014 free(dev->last.touches); in CloseDevice()
1649 touch->touches = calloc(max_touches, sizeof(*touch->touches)); in InitTouchClassDeviceStruct()
1650 if (!touch->touches) in InitTouchClassDeviceStruct()
1660 device->last.touches = calloc(max_touches, sizeof(*device->last.touches)); in InitTouchClassDeviceStruct()
[all …]
/OK3568_Linux_fs/kernel/drivers/hid/
H A Dhid-magicmouse.c128 } touches[16]; member
142 if (msc->touches[idx].size < 8) { in magicmouse_firm_touch()
173 int x = msc->touches[id].x; in magicmouse_emit_buttons()
233 msc->touches[id].x = x; in magicmouse_emit_touch()
234 msc->touches[id].y = y; in magicmouse_emit_touch()
235 msc->touches[id].size = size; in magicmouse_emit_touch()
243 int step_x = msc->touches[id].scroll_x - x; in magicmouse_emit_touch()
244 int step_y = msc->touches[id].scroll_y - y; in magicmouse_emit_touch()
249 msc->touches[id].scroll_x = x; in magicmouse_emit_touch()
250 msc->touches[id].scroll_y = y; in magicmouse_emit_touch()
[all …]
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/gslx680_d708/
H A Drockchip_gslX680.c738 u8 id, touches/*, read_buf[4] = {0}*/; in gslX680_ts_worker() local
766 touches = ts->touch_data[ts->dd->touch_index]; in gslX680_ts_worker()
767 print_info("-----touches: %d -----\n", touches); in gslX680_ts_worker()
770 cinfo.finger_num = touches; in gslX680_ts_worker()
772 for (i = 0; i < (touches < MAX_CONTACTS ? touches : MAX_CONTACTS); i++) { in gslX680_ts_worker()
798 touches = cinfo.finger_num; in gslX680_ts_worker()
802 if (touches == 0) in gslX680_ts_worker()
806 for (i = 0; i < (touches > MAX_FINGERS ? MAX_FINGERS : touches); i++) { in gslX680_ts_worker()
830 if ((0 == touches) || ((0 != id_state_old_flag[i]) && (0 == id_state_flag[i]))) { in gslX680_ts_worker()
841 if (0 == touches) { in gslX680_ts_worker()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/gsl3676/
H A Dgsl3676.c783 u8 id, touches; in gsl_ts_worker() local
809 touches = ts->touch_data[ts->dd->touch_index]; in gsl_ts_worker()
811 cinfo.finger_num = touches; in gsl_ts_worker()
812 for (i = 0; i < (touches < MAX_CONTACTS ? touches : MAX_CONTACTS); i++) { in gsl_ts_worker()
839 touches = cinfo.finger_num; in gsl_ts_worker()
842 if (touches == 0) in gsl_ts_worker()
846 for (i = 0; i < (touches > MAX_FINGERS ? MAX_FINGERS : touches); i++) { in gsl_ts_worker()
869 if ((touches == 0) || ((id_state_old_flag[i] != 0) && in gsl_ts_worker()
882 if (key_state_flag && touches == 0) { in gsl_ts_worker()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/canonical-multitouch/
H A Dframe_2.5.0.bb1 SUMMARY = "Frame handles simultaneous touches"
/OK3568_Linux_fs/external/xserver/include/
H A Dinputstr.h345 TouchPointInfoPtr touches; member
585 DDXTouchPointInfoPtr touches; member
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/index/
H A Dpredicates.hpp222 touches(Geometry const& g) in touches() function
/OK3568_Linux_fs/kernel/Documentation/locking/
H A Dspinlocks.rst43 example, internal driver data structures that nobody else ever touches).
47 touches a shared variable has to agree about the spinlock they want
/OK3568_Linux_fs/kernel/Documentation/input/
H A Devent-codes.rst170 purpose. A trackpad event generated by finger touches should generate events
346 Depending on the device, the rectangle may enclose all touches, like a
348 touches. The diversity makes the rectangle of limited use, but some
412 be used to report the number of touches active on the trackpad.
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/touchscreen/
H A Dcyttsp.txt34 touches are detected before entering low-power mode.
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/math/
H A Dvmx_asm.S9 # Should be safe from C, only touches r4, r5 and v0,v1,v2

123