Home
last modified time | relevance | path

Searched refs:recognizer (Results 1 – 4 of 4) sorted by relevance

/lvgl-latest/src/indev/
Dlv_indev_gesture.c48 static void reset_recognizer(lv_indev_gesture_recognizer_t * recognizer);
63 void lv_indev_set_pinch_up_threshold(lv_indev_gesture_recognizer_t * recognizer, float threshold) in lv_indev_set_pinch_up_threshold() argument
68 if(recognizer->config == NULL) { in lv_indev_set_pinch_up_threshold()
70 recognizer->config = lv_malloc(sizeof(lv_indev_gesture_configuration_t)); in lv_indev_set_pinch_up_threshold()
71 LV_ASSERT(recognizer->config != NULL); in lv_indev_set_pinch_up_threshold()
72 recognizer->config->pinch_down_threshold = LV_GESTURE_PINCH_DOWN_THRESHOLD; in lv_indev_set_pinch_up_threshold()
75 recognizer->config->pinch_up_threshold = threshold; in lv_indev_set_pinch_up_threshold()
78 void lv_indev_set_pinch_down_threshold(lv_indev_gesture_recognizer_t * recognizer, float threshold) in lv_indev_set_pinch_down_threshold() argument
83 if(recognizer->config == NULL) { in lv_indev_set_pinch_down_threshold()
85 recognizer->config = lv_malloc(sizeof(lv_indev_gesture_configuration_t)); in lv_indev_set_pinch_down_threshold()
[all …]
Dlv_indev_gesture.h89 void lv_indev_gesture_detect_pinch(lv_indev_gesture_recognizer_t * recognizer, lv_indev_touch_data_…
100 void lv_indev_set_pinch_up_threshold(lv_indev_gesture_recognizer_t * recognizer, float threshold);
109 void lv_indev_set_pinch_down_threshold(lv_indev_gesture_recognizer_t * recognizer, float threshold);
124 void lv_indev_set_gesture_data(lv_indev_data_t * data, lv_indev_gesture_recognizer_t * recognizer);
131 void lv_indev_get_gesture_center_point(lv_indev_gesture_recognizer_t * recognizer, lv_point_t * poi…
145 void lv_indev_get_gesture_primary_point(lv_indev_gesture_recognizer_t * recognizer, lv_point_t * po…
152 bool lv_indev_recognizer_is_active(lv_indev_gesture_recognizer_t * recognizer);
/lvgl-latest/docs/details/main-components/
Dindev.rst184 /* The recognizer keeps the state of the gesture */
185 static lv_indev_gesture_recognizer_t recognizer;
201 lv_indev_gesture_detect_pinch(recognizer, &touches[0],
207 lv_indev_set_gesture_data(data, recognizer);
/lvgl-latest/src/drivers/wayland/
Dlv_wayland.c123 lv_indev_gesture_recognizer_t recognizer; member
2385 lv_indev_gesture_recognizer_t * recognizer; in _lv_wayland_touch_read() local
2392 recognizer = &window->body->input.recognizer; in _lv_wayland_touch_read()
2396 lv_indev_gesture_detect_pinch(recognizer, &window->body->input.touches[0], in _lv_wayland_touch_read()
2402 lv_indev_set_gesture_data(data, recognizer); in _lv_wayland_touch_read()