Home
last modified time | relevance | path

Searched refs:sample (Results 1 – 2 of 2) sorted by relevance

/lvgl-latest/src/drivers/nuttx/
Dlv_nuttx_touchscreen.c121 struct touch_sample_s * sample) in conv_touch_sample() argument
124 uint8_t touch_flags = sample->point[0].flags; in conv_touch_sample()
131 data->point.x = LV_CLAMP(0, sample->point[0].x, hor_max); in conv_touch_sample()
132 data->point.y = LV_CLAMP(0, sample->point[0].y, ver_max); in conv_touch_sample()
140 static bool touchscreen_read_sample(int fd, struct touch_sample_s * sample) in touchscreen_read_sample() argument
142 int nbytes = read(fd, sample, sizeof(struct touch_sample_s)); in touchscreen_read_sample()
149 struct touch_sample_s sample; in touchscreen_read() local
164 if(!touchscreen_read_sample(touchscreen->fd, &sample)) { in touchscreen_read()
170 conv_touch_sample(drv, data, &sample); in touchscreen_read()
174 if(touchscreen_read_sample(touchscreen->fd, &sample)) { in touchscreen_read()
[all …]
/lvgl-latest/docs/details/main-components/
Dfont.rst439 convert "${input?}" -sample '1000%' - \