/lvgl-latest/src/misc/ |
D | lv_async.c | 24 void * user_data; member 45 lv_res_t lv_async_call(lv_async_cb_t async_xcb, void * user_data) in lv_async_call() argument 62 info->user_data = user_data; in lv_async_call() 68 lv_res_t lv_async_call_cancel(lv_async_cb_t async_xcb, void * user_data) in lv_async_call_cancel() argument 79 lv_async_info_t * info = (lv_async_info_t *)timer->user_data; in lv_async_call_cancel() 82 if(info->cb == async_xcb && info->user_data == user_data) { in lv_async_call_cancel() 101 lv_async_info_t * info = (lv_async_info_t *)timer->user_data; in lv_async_timer_cb() 103 info->cb(info->user_data); in lv_async_timer_cb()
|
D | lv_async.h | 44 lv_res_t lv_async_call(lv_async_cb_t async_xcb, void * user_data); 51 lv_res_t lv_async_call_cancel(lv_async_cb_t async_xcb, void * user_data);
|
D | lv_anim.h | 81 void * user_data; /**< Custom user data*/ member 299 static inline void lv_anim_set_user_data(lv_anim_t * a, void * user_data) in lv_anim_set_user_data() argument 301 a->user_data = user_data; in lv_anim_set_user_data() 337 return a->user_data; in lv_anim_get_user_data()
|
D | lv_timer.h | 48 void * user_data; /**< Custom user data*/ member 106 lv_timer_t * lv_timer_create(lv_timer_cb_t timer_xcb, uint32_t period, void * user_data);
|
D | lv_timer.c | 167 lv_timer_t * lv_timer_create(lv_timer_cb_t timer_xcb, uint32_t period, void * user_data) in lv_timer_create() argument 180 new_timer->user_data = user_data; in lv_timer_create()
|
/lvgl-latest/src/draw/ |
D | lv_img_decoder.c | 157 dsc->user_data = NULL; in lv_img_decoder_open() 341 if(dsc->user_data == NULL) { in lv_img_decoder_built_in_open() 342 dsc->user_data = lv_mem_alloc(sizeof(lv_img_decoder_built_in_data_t)); in lv_img_decoder_built_in_open() 343 LV_ASSERT_MALLOC(dsc->user_data); in lv_img_decoder_built_in_open() 344 if(dsc->user_data == NULL) { in lv_img_decoder_built_in_open() 349 lv_memset_00(dsc->user_data, sizeof(lv_img_decoder_built_in_data_t)); in lv_img_decoder_built_in_open() 352 lv_img_decoder_built_in_data_t * user_data = dsc->user_data; in lv_img_decoder_built_in_open() local 353 lv_memcpy_small(&user_data->f, &f, sizeof(f)); in lv_img_decoder_built_in_open() 378 lv_img_decoder_built_in_data_t * user_data = dsc->user_data; in lv_img_decoder_built_in_open() local 379 lv_fs_seek(&user_data->f, 4, LV_FS_SEEK_SET); /*+4 to skip the header*/ in lv_img_decoder_built_in_open() [all …]
|
D | lv_img_decoder.h | 92 void * user_data; member 129 void * user_data; member
|
D | lv_draw.h | 42 void * user_data; member 186 void * user_data; member
|
/lvgl-latest/src/extra/others/msg/ |
D | lv_msg.h | 31 void * user_data; /*Set the the user_data set in `lv_msg_subscribe`*/ member 56 void * lv_msg_subsribe(uint32_t msg_id, lv_msg_subscribe_cb_t cb, void * user_data); 66 void * lv_msg_subsribe_obj(uint32_t msg_id, lv_obj_t * obj, void * user_data); 119 static inline void * lv_msg_subscribe(uint32_t msg_id, lv_msg_subscribe_cb_t cb, void * user_data) in lv_msg_subscribe() argument 121 return lv_msg_subsribe(msg_id, cb, user_data); in lv_msg_subscribe() 124 static inline void * lv_msg_subscribe_obj(uint32_t msg_id, lv_obj_t * obj, void * user_data) in lv_msg_subscribe_obj() argument 126 return lv_msg_subsribe_obj(msg_id, obj, user_data); in lv_msg_subscribe_obj()
|
D | lv_msg.c | 26 void * user_data; member 62 void * lv_msg_subsribe(uint32_t msg_id, lv_msg_subscribe_cb_t cb, void * user_data) in lv_msg_subsribe() argument 72 s->user_data = user_data; in lv_msg_subsribe() 76 void * lv_msg_subsribe_obj(uint32_t msg_id, lv_obj_t * obj, void * user_data) in lv_msg_subsribe_obj() argument 78 sub_dsc_t * s = lv_msg_subsribe(msg_id, obj_notify_cb, user_data); in lv_msg_subsribe_obj() 137 return m->user_data; in lv_msg_get_user_data() 160 m->user_data = s->user_data; in notify()
|
/lvgl-latest/src/extra/libs/fsdrv/ |
D | lv_fs_littlefs.c | 92 fs_drv.user_data = NULL; in lv_fs_littlefs_init() 107 if(drv_p != NULL) drv_p->user_data = (lfs_t *) lfs_p; in lv_fs_littlefs_set_driver() 131 lfs_t * lfs_p = drv->user_data; in fs_open() 159 lfs_t * lfs_p = drv->user_data; in fs_close() 180 lfs_t * lfs_p = drv->user_data; in fs_read() 201 lfs_t * lfs_p = drv->user_data; in fs_write() 223 lfs_t * lfs_p = drv->user_data; in fs_seek() 245 lfs_t * lfs_p = drv->user_data; in fs_tell() 262 lfs_t * lfs_p = drv->user_data; in fs_dir_open() 286 lfs_t * lfs_p = drv->user_data; in fs_dir_read() [all …]
|
/lvgl-latest/src/extra/others/monkey/ |
D | lv_monkey.c | 29 void * user_data; member 81 drv->user_data = monkey; in lv_monkey_create() 111 void lv_monkey_set_user_data(lv_monkey_t * monkey, void * user_data) in lv_monkey_set_user_data() argument 114 monkey->user_data = user_data; in lv_monkey_set_user_data() 120 return monkey->user_data; in lv_monkey_get_user_data() 140 lv_monkey_t * monkey = indev_drv->user_data; in lv_monkey_read_cb() 159 lv_monkey_t * monkey = timer->user_data; in lv_monkey_timer_cb()
|
D | lv_monkey.h | 91 void lv_monkey_set_user_data(lv_monkey_t * monkey, void * user_data);
|
/lvgl-latest/src/core/ |
D | lv_event.c | 22 void * user_data; member 61 e.user_data = NULL; in lv_event_send() 95 e->user_data = NULL; in lv_obj_event_base() 127 return e->user_data; in lv_event_get_user_data() 158 void * user_data) in lv_obj_add_event_cb() argument 170 obj->spec_attr->event_dsc[obj->spec_attr->event_dsc_cnt - 1].user_data = user_data; in lv_obj_add_event_cb() 199 …_obj_remove_event_cb_with_user_data(lv_obj_t * obj, lv_event_cb_t event_cb, const void * user_data) in lv_obj_remove_event_cb_with_user_data() argument 207 obj->spec_attr->event_dsc[i].user_data == user_data) { in lv_obj_remove_event_cb_with_user_data() 255 … if(event_cb == obj->spec_attr->event_dsc[i].cb) return obj->spec_attr->event_dsc[i].user_data; in lv_obj_get_event_user_data() 440 e->user_data = event_dsc->user_data; in event_send_core() [all …]
|
D | lv_obj.h | 179 void * user_data; member 266 static inline void lv_obj_set_user_data(lv_obj_t * obj, void * user_data) in lv_obj_set_user_data() argument 268 obj->user_data = user_data; in lv_obj_set_user_data() 322 return obj->user_data; in lv_obj_get_user_data()
|
D | lv_obj_tree.c | 31 static lv_obj_tree_walk_res_t walk_core(lv_obj_t * obj, lv_obj_tree_walk_cb_t cb, void * user_data); 335 void lv_obj_tree_walk(lv_obj_t * start_obj, lv_obj_tree_walk_cb_t cb, void * user_data) in lv_obj_tree_walk() argument 337 walk_core(start_obj, cb, user_data); in lv_obj_tree_walk() 419 static lv_obj_tree_walk_res_t walk_core(lv_obj_t * obj, lv_obj_tree_walk_cb_t cb, void * user_data) in walk_core() argument 428 walk_core(disp->screens[i], cb, user_data); in walk_core() 435 res = cb(obj, user_data); in walk_core() 442 res = walk_core(lv_obj_get_child(obj, i), cb, user_data); in walk_core()
|
D | lv_obj_pos.h | 27 typedef void (*lv_layout_update_cb_t)(struct _lv_obj_t *, void * user_data); 30 void * user_data; member 161 uint32_t lv_layout_register(lv_layout_update_cb_t cb, void * user_data);
|
D | lv_event.h | 97 void * user_data; member 236 void * user_data);
|
/lvgl-latest/src/extra/libs/bmp/ |
D | lv_bmp.c | 174 dsc->user_data = lv_mem_alloc(sizeof(bmp_dsc_t)); in decoder_open() 175 LV_ASSERT_MALLOC(dsc->user_data); in decoder_open() 176 if(dsc->user_data == NULL) return LV_RES_INV; in decoder_open() 177 memcpy(dsc->user_data, &b, sizeof(b)); in decoder_open() 196 bmp_dsc_t * b = dsc->user_data; in decoder_read_line() 248 bmp_dsc_t * b = dsc->user_data; in decoder_close() 250 lv_mem_free(dsc->user_data); in decoder_close()
|
/lvgl-latest/src/widgets/ |
D | lv_table.c | 104 void * user_data = NULL; in lv_table_set_cell_value() local 107 if(table->cell_data[cell]) user_data = table->cell_data[cell]->user_data; in lv_table_set_cell_value() 120 table->cell_data[cell]->user_data = user_data; in lv_table_set_cell_value() 147 void * user_data = NULL; in lv_table_set_cell_value_fmt() local 150 if(table->cell_data[cell]) user_data = table->cell_data[cell]->user_data; in lv_table_set_cell_value_fmt() 201 table->cell_data[cell]->user_data = user_data; in lv_table_set_cell_value_fmt() 228 if(table->cell_data[i]->user_data) { in lv_table_set_row_cnt() 229 lv_mem_free(table->cell_data[i]->user_data); in lv_table_set_row_cnt() 230 table->cell_data[i]->user_data = NULL; in lv_table_set_row_cnt() 286 if(table->cell_data[idx]->user_data) { in lv_table_set_col_cnt() [all …]
|
D | lv_table.h | 53 void * user_data; /**< Custom user data*/ member 163 void lv_table_set_cell_user_data(lv_obj_t * obj, uint16_t row, uint16_t col, void * user_data);
|
/lvgl-latest/docs/overview/ |
D | timer.md | 10 To create a new timer, use `lv_timer_create(timer_cb, period_ms, user_data)`. It will create an `lv… 19 /*Use the user_data*/ 20 uint32_t * user_data = timer->user_data; 21 printf("my_timer called with user data: %d\n", *user_data); 32 static uint32_t user_data = 10; 33 lv_timer_t * timer = lv_timer_create(my_timer, 500, &user_data);
|
/lvgl-latest/docs/others/ |
D | msg.md | 31 `lv_msg_subscribe(msg_id, callback, user_data)` can be used to subscribe to message. 39 /*m: a message object with the msg_id, payload, and user_data (set durung subscription)*/ 52 To make it simpler `lv_msg_subsribe_obj(msg_id, obj, user_data)` can be used.
|
/lvgl-latest/src/extra/libs/sjpg/ |
D | lv_sjpg.c | 350 SJPEG * sjpeg = (SJPEG *) dsc->user_data; in decoder_open() 358 dsc->user_data = sjpeg; in decoder_open() 524 SJPEG * sjpeg = (SJPEG *) dsc->user_data; in decoder_open() 534 dsc->user_data = sjpeg; in decoder_open() 613 SJPEG * sjpeg = (SJPEG *) dsc->user_data; in decoder_open() 622 dsc->user_data = sjpeg; in decoder_open() 694 if(dsc->user_data) lv_mem_free(dsc->user_data); in decoder_open() 721 SJPEG * sjpeg = (SJPEG *) dsc->user_data; in decoder_read_line() 789 SJPEG * sjpeg = (SJPEG *) dsc->user_data; in decoder_read_line() 866 SJPEG * sjpeg = (SJPEG *) dsc->user_data; in decoder_close()
|
/lvgl-latest/src/draw/sdl/ |
D | lv_draw_sdl.h | 46 void * user_data; member
|