Home
last modified time | relevance | path

Searched refs:num_touches (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/external/xserver/test/
H A Dtouch.c54 dev.last.num_touches = size; in touch_grow_queue()
55 dev.last.touches = calloc(dev.last.num_touches, sizeof(*dev.last.touches)); in touch_grow_queue()
67 assert(dev.last.num_touches == new_size); in touch_grow_queue()
110 dev.last.num_touches = size; in touch_find_ddxid()
111 dev.last.touches = calloc(dev.last.num_touches, sizeof(*dev.last.touches)); in touch_find_ddxid()
150 assert(dev.last.num_touches == 8); /* EQ grows from 5 to 8 */ in touch_find_ddxid()
180 dev.last.num_touches = size; in touch_begin_ddxtouch()
181 dev.last.touches = calloc(dev.last.num_touches, sizeof(*dev.last.touches)); in touch_begin_ddxtouch()
231 touch.num_touches = 0; in touch_begin_touch()
248 assert(touch.num_touches == 1); in touch_begin_touch()
/OK3568_Linux_fs/external/xserver/dix/
H A Dtouch.c82 size = dev->last.num_touches + dev->last.num_touches / 2 + 1; in TouchResizeQueue()
89 for (j = dev->last.num_touches; j < size; j++) in TouchResizeQueue()
91 dev->last.num_touches = size; in TouchResizeQueue()
114 for (i = 0; i < dev->last.num_touches; i++) { in TouchFindByDDXID()
153 for (i = 0; i < dev->last.num_touches; i++) { in TouchBeginDDXTouch()
207 if (index >= t->num_touches) in TouchInitTouchPoint()
238 if (!device->touch || index >= device->touch->num_touches) in TouchFreeTouchPoint()
273 for (i = 0; i < t->num_touches; i++) { in TouchFindByClientID()
310 for (i = 0; i < t->num_touches; i++) { in TouchBeginTouch()
323 tmp = reallocarray(t->touches, t->num_touches + 1, sizeof(*ti)); in TouchBeginTouch()
[all …]
H A Ddevices.c818 for (i = 0; i < (*t)->num_touches; i++) { in FreeDeviceClass()
1012 for (j = 0; j < dev->last.num_touches; j++) in CloseDevice()
1652 touch->num_touches = max_touches; in InitTouchClassDeviceStruct()
1661 device->last.num_touches = touch->num_touches; in InitTouchClassDeviceStruct()
1662 for (i = 0; i < touch->num_touches; i++) in InitTouchClassDeviceStruct()
1668 for (i = 0; i < touch->num_touches; i++) in InitTouchClassDeviceStruct()
H A Devents.c1474 for (i = 0; i < mouse->touch->num_touches; i++) { in UpdateTouchesForGrab()
1572 for (i = 0; !wasPassive && mouse->touch && i < mouse->touch->num_touches; i++) { in DeactivatePointerGrab()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Dpixcir_i2c_ts.c88 int num_touches; member
131 report->num_touches = touch; in pixcir_ts_parse()
155 n = report->num_touches; in pixcir_ts_report()
204 if (report.num_touches) { in pixcir_ts_isr()
/OK3568_Linux_fs/external/xserver/include/
H A Dinputstr.h346 unsigned short num_touches; /* number of allocated touches */ member
584 int num_touches; /* size of the touches array */ member
/OK3568_Linux_fs/external/xserver/Xi/
H A Dxiquerydevice.c454 touch->num_touches = dev->touch->num_touches; in ListTouchInfo()
H A Dexevents.c624 to->touch->num_touches = from->touch->num_touches; in DeepCopyPointerClasses()
625 to->touch->touches = calloc(to->touch->num_touches, in DeepCopyPointerClasses()
627 for (i = 0; i < to->touch->num_touches; i++) in DeepCopyPointerClasses()
1078 for (i = 0; i < dev->touch->num_touches; i++) { in FindOldestPointerEmulatedTouch()
2638 for (i = 0; i < t->num_touches; i++) { in WindowGone()