/lvgl-2.7.6/examples/porting/ |
D | lv_port_indev_template.c | 27 static bool touchpad_read(lv_indev_drv_t * indev_drv, lv_indev_data_t * data); 32 static bool mouse_read(lv_indev_drv_t * indev_drv, lv_indev_data_t * data); 37 static bool keypad_read(lv_indev_drv_t * indev_drv, lv_indev_data_t * data); 41 static bool encoder_read(lv_indev_drv_t * indev_drv, lv_indev_data_t * data); 45 static bool button_read(lv_indev_drv_t * indev_drv, lv_indev_data_t * data); 190 static bool touchpad_read(lv_indev_drv_t * indev_drv, lv_indev_data_t * data) 198 data->state = LV_INDEV_STATE_PR; 200 data->state = LV_INDEV_STATE_REL; 204 data->point.x = last_x; 205 data->point.y = last_y; [all …]
|
/lvgl-2.7.6/src/lv_core/ |
D | lv_indev.c | 35 static void indev_pointer_proc(lv_indev_t * i, lv_indev_data_t * data); 36 static void indev_keypad_proc(lv_indev_t * i, lv_indev_data_t * data); 37 static void indev_encoder_proc(lv_indev_t * i, lv_indev_data_t * data); 38 static void indev_button_proc(lv_indev_t * i, lv_indev_data_t * data); 79 lv_indev_data_t data; in _lv_indev_read_task() local 93 more_to_read = _lv_indev_read(indev_act, &data); in _lv_indev_read_task() 99 indev_act->proc.state = data.state; in _lv_indev_read_task() 105 else if(indev_act->driver.type == LV_INDEV_TYPE_ENCODER && data.enc_diff) { in _lv_indev_read_task() 110 indev_pointer_proc(indev_act, &data); in _lv_indev_read_task() 113 indev_keypad_proc(indev_act, &data); in _lv_indev_read_task() [all …]
|
D | lv_obj.h | 848 lv_res_t lv_event_send(lv_obj_t * obj, lv_event_t event, const void * data); 874 …t lv_event_send_func(lv_event_cb_t event_xcb, lv_obj_t * obj, lv_event_t event, const void * data); 1399 void lv_obj_set_user_data(lv_obj_t * obj, lv_obj_user_data_t data);
|
D | lv_obj.c | 1878 lv_res_t lv_event_send(lv_obj_t * obj, lv_event_t event, const void * data) in lv_event_send() argument 1885 res = lv_event_send_func(obj->event_cb, obj, event, data); in lv_event_send() 1945 …_t lv_event_send_func(lv_event_cb_t event_xcb, lv_obj_t * obj, lv_event_t event, const void * data) in lv_event_send_func() argument 1965 event_act_data = data; in lv_event_send_func() 1988 lv_res_t res = lv_event_send(obj->parent, event, data); in lv_event_send_func() 3228 void lv_obj_set_user_data(lv_obj_t * obj, lv_obj_user_data_t data) in lv_obj_set_user_data() argument 3232 _lv_memcpy(&obj->user_data, &data, sizeof(lv_obj_user_data_t)); in lv_obj_set_user_data()
|
/lvgl-2.7.6/src/lv_hal/ |
D | lv_hal_indev.c | 130 bool _lv_indev_read(lv_indev_t * indev, lv_indev_data_t * data) in _lv_indev_read() argument 134 _lv_memset_00(data, sizeof(lv_indev_data_t)); in _lv_indev_read() 139 data->point.x = indev->proc.types.pointer.act_point.x; in _lv_indev_read() 140 data->point.y = indev->proc.types.pointer.act_point.y; in _lv_indev_read() 144 data->key = indev->proc.types.keypad.last_key; in _lv_indev_read() 148 data->key = LV_KEY_ENTER; in _lv_indev_read() 149 data->enc_diff = 0; in _lv_indev_read() 154 cont = indev->driver.read_cb(&indev->driver, data); in _lv_indev_read()
|
D | lv_hal_indev.h | 91 bool (*read_cb)(struct _lv_indev_drv_t * indev_drv, lv_indev_data_t * data); 223 bool _lv_indev_read(lv_indev_t * indev, lv_indev_data_t * data);
|
/lvgl-2.7.6/examples/ |
D | LVGL_Arduino.ino | 33 bool my_touchpad_read(lv_indev_drv_t * indev_driver, lv_indev_data_t * data) 41 data->state = LV_INDEV_STATE_REL; 46 data->state = LV_INDEV_STATE_PR; 60 data->point.x = touchX; 61 data->point.y = touchY; 71 return false; /*Return `false` because we are not buffering and no more data to read*/
|
/lvgl-2.7.6/src/lv_misc/ |
D | lv_mem.c | 228 void lv_mem_free(const void * data) in lv_mem_free() argument 230 if(data == &zero_mem) return; in lv_mem_free() 231 if(data == NULL) return; in lv_mem_free() 234 _lv_memset((void *)data, 0xbb, _lv_mem_get_size(data)); in lv_mem_free() 239 lv_mem_ent_t * e = (lv_mem_ent_t *)((uint8_t *)data - sizeof(lv_mem_header_t)); in lv_mem_free() 274 LV_MEM_CUSTOM_FREE((void *)data); in lv_mem_free() 463 uint32_t _lv_mem_get_size(const void * data) in _lv_mem_get_size() argument 465 if(data == NULL) return 0; in _lv_mem_get_size() 466 if(data == &zero_mem) return 0; in _lv_mem_get_size() 468 lv_mem_ent_t * e = (lv_mem_ent_t *)((uint8_t *)data - sizeof(lv_mem_header_t)); in _lv_mem_get_size() [all …]
|
D | lv_mem.h | 88 void lv_mem_free(const void * data); 122 uint32_t _lv_mem_get_size(const void * data);
|
/lvgl-2.7.6/src/lv_widgets/ |
D | lv_canvas.c | 99 ext->dsc.data = NULL; in lv_canvas_create() 149 ext->dsc.data = buf; in lv_canvas_set_buffer() 256 _lv_memcpy((void *)&ext->dsc.data[px], to_copy8, w * px_size); in lv_canvas_copy_buf() 298 dsc.cfg.src = img->data; in lv_canvas_transform() 423 line_img.data = line_buf; in lv_canvas_blur_hor() 441 _lv_memcpy(line_buf, &ext->dsc.data[y * line_w], line_w); in lv_canvas_blur_hor() 558 line_img.data = col_buf; in lv_canvas_blur_ver() 671 … _lv_memset((uint8_t *)dsc->data + 8, color.full ? 0xff : 0x00, row_byte_cnt * dsc->header.h); in lv_canvas_fill_bg() 675 … _lv_memset((uint8_t *)dsc->data, opa > LV_OPA_50 ? 0xff : 0x00, row_byte_cnt * dsc->header.h); in lv_canvas_fill_bg() 730 lv_disp_buf_init(&disp_buf, (void *)dsc->data, NULL, dsc->header.w * dsc->header.h); in lv_canvas_draw_rect() [all …]
|
D | lv_label.c | 53 static bool lv_label_set_dot_tmp(lv_obj_t * label, char * data, uint32_t len); 1479 static bool lv_label_set_dot_tmp(lv_obj_t * label, char * data, uint32_t len) in lv_label_set_dot_tmp() argument 1491 _lv_memcpy(ext->dot.tmp_ptr, data, len); in lv_label_set_dot_tmp() 1498 _lv_memcpy(ext->dot.tmp, data, len); in lv_label_set_dot_tmp()
|
/lvgl-2.7.6/src/lv_draw/ |
D | lv_img_buf.c | 55 uint8_t * buf_u8 = (uint8_t *)dsc->data; in lv_img_buf_get_px_color() 121 uint8_t * buf_u8 = (uint8_t *)dsc->data; in lv_img_buf_get_px_alpha() 184 uint8_t * buf_u8 = (uint8_t *)dsc->data; in lv_img_buf_set_px_alpha() 243 uint8_t * buf_u8 = (uint8_t *)dsc->data; in lv_img_buf_set_px_color() 320 uint8_t * buf = (uint8_t *)dsc->data; in lv_img_buf_set_palette() 348 dsc->data = lv_mem_alloc(dsc->data_size); in lv_img_buf_alloc() 349 if(dsc->data == NULL) { in lv_img_buf_alloc() 353 _lv_memset_00((uint8_t *)dsc->data, dsc->data_size); in lv_img_buf_alloc() 370 if(dsc->data != NULL) in lv_img_buf_free() 371 lv_mem_free(dsc->data); in lv_img_buf_free() [all …]
|
D | lv_img_decoder.c | 364 if(((lv_img_dsc_t *)dsc->src)->data == NULL) { in lv_img_decoder_built_in_open() 375 dsc->img_data = ((lv_img_dsc_t *)dsc->src)->data; in lv_img_decoder_built_in_open() 433 lv_color32_t * palette_p = (lv_color32_t *)((lv_img_dsc_t *)dsc->src)->data; in lv_img_decoder_built_in_open() 653 data_tmp = img_dsc->data + ofs; in lv_img_decoder_built_in_line_alpha() 739 data_tmp = img_dsc->data + ofs; in lv_img_decoder_built_in_line_indexed()
|
D | lv_img_buf.h | 144 const uint8_t * data; member
|
/lvgl-2.7.6/ |
D | CHANGELOG.md | 27 …o wait until the GPU is working. It allows to run CPU a wait only when the rendered data is needed. 104 - Add `lv_chart_set_x_start_point()` function - Set the index of the x-axis start point in the data… 105 - Add `lv_chart_set_ext_array()` function - Set an external array of data points to use for the cha… 107 …t_get_x_start_point()` function - Get the current index of the x-axis start point in the data array
|
/lvgl-2.7.6/scripts/ |
D | Doxyfile | 393 # with only public data fields or simple typedef fields will be shown inline in 1598 # search data is written to a file for indexing by an external tool. With the
|