Home
last modified time | relevance | path

Searched refs:m (Results 1 – 20 of 20) sorted by relevance

/lvgl-latest/src/extra/others/msg/
Dlv_msg.c34 static void notify(lv_msg_t * m);
35 static void obj_notify_cb(void * s, lv_msg_t * m);
118 lv_msg_t m; in lv_msg_send() local
119 lv_memset_00(&m, sizeof(m)); in lv_msg_send()
120 m.id = msg_id; in lv_msg_send()
121 m.payload = payload; in lv_msg_send()
122 notify(&m); in lv_msg_send()
125 uint32_t lv_msg_get_id(lv_msg_t * m) in lv_msg_get_id() argument
127 return m->id; in lv_msg_get_id()
130 const void * lv_msg_get_payload(lv_msg_t * m) in lv_msg_get_payload() argument
[all …]
Dlv_msg.h95 uint32_t lv_msg_get_id(lv_msg_t * m);
102 const void * lv_msg_get_payload(lv_msg_t * m);
109 void * lv_msg_get_user_data(lv_msg_t * m);
/lvgl-latest/examples/others/msg/
Dlv_example_msg_2.c10 static void auth_manager(void * s, lv_msg_t * m);
75 static void auth_manager(void * s, lv_msg_t * m) in auth_manager() argument
78 const char * pin_act = lv_msg_get_payload(m); in auth_manager()
79 const char * pin_expexted = lv_msg_get_user_data(m); in auth_manager()
97 lv_msg_t * m = lv_event_get_msg(e); in textarea_event_cb() local
98 switch(lv_msg_get_id(m)) { in textarea_event_cb()
101 if(strlen(lv_msg_get_payload(m))) lv_textarea_set_text(ta, ""); in textarea_event_cb()
122 lv_msg_t * m = lv_event_get_msg(e); in log_out_event_cb() local
124 switch(lv_msg_get_id(m)) { in log_out_event_cb()
137 lv_msg_t * m = lv_event_get_msg(e); in start_engine_msg_event_cb() local
[all …]
Dlv_example_msg_3.c11 static void value_handler(void * s, lv_msg_t * m);
12 static void value_handler(void * s, lv_msg_t * m);
77 static void value_handler(void * s, lv_msg_t * m) in value_handler() argument
83 switch(lv_msg_get_id(m)) { in value_handler()
91 const int32_t * new_value = lv_msg_get_payload(m); in value_handler()
126 lv_msg_t * m = lv_event_get_msg(e); in label_event_cb() local
127 if(lv_msg_get_id(m) == MSG_UPDATE) { in label_event_cb()
128 const int32_t * v = lv_msg_get_payload(m); in label_event_cb()
143 lv_msg_t * m = lv_event_get_msg(e); in slider_event_cb() local
144 if(lv_msg_get_id(m) == MSG_UPDATE) { in slider_event_cb()
[all …]
Dlv_example_msg_1.c41 lv_msg_t * m = lv_event_get_msg(e); in label_event_cb() local
43 const char * fmt = lv_msg_get_user_data(m); in label_event_cb()
44 const int32_t * v = lv_msg_get_payload(m); in label_event_cb()
/lvgl-latest/scripts/release/
Dcom.py55 m = lastNum.search(i)
56 if m: ver[0] = m.group(1)
60 m = lastNum.search(i)
61 if m: ver[1] = m.group(1)
65 m = lastNum.search(i)
66 if m: ver[2] = m.group(1)
/lvgl-latest/docs/others/
Dmsg.md36 static void user_name_subscriber_cb(void * s, lv_msg_t * m)
39 /*m: a message object with the msg_id, payload, and user_data (set durung subscription)*/
46 - `lv_msg_get_id(m)`
47 - `lv_msg_get_payload(m)`
48 - `lv_msg_get_user_data(m)`
65 lv_msg_t * m = lv_event_get_msg(e);
66 lv_label_set_text(label, lv_msg_get_payload(m));
/lvgl-latest/examples/widgets/label/
Dlv_example_label_4.c9 static lv_draw_mask_map_param_t m; in add_mask_event_cb() local
19 lv_draw_mask_map_init(&m, &obj->coords, mask_map); in add_mask_event_cb()
20 mask_id = lv_draw_mask_add(&m, NULL); in add_mask_event_cb()
24 lv_draw_mask_free_param(&m); in add_mask_event_cb()
/lvgl-latest/src/draw/
Dlv_draw_mask.c117 _lv_draw_mask_saved_t * m = LV_GC_ROOT(_lv_draw_mask_list); in lv_draw_mask_apply() local
119 while(m->param) { in lv_draw_mask_apply()
120 dsc = m->param; in lv_draw_mask_apply()
122 res = dsc->cb(mask_buf, abs_x, abs_y, len, (void *)m->param); in lv_draw_mask_apply()
126 m++; in lv_draw_mask_apply()
334 int32_t m; in lv_draw_mask_line_points_init() local
337 m = (1L << 20) / dx; /*m is multiplier to normalize y (upscaled by 1024)*/ in lv_draw_mask_line_points_init()
338 param->yx_steep = (m * dy) >> 10; in lv_draw_mask_line_points_init()
342 m = (1L << 20) / dy; /*m is multiplier to normalize x (upscaled by 1024)*/ in lv_draw_mask_line_points_init()
343 param->xy_steep = (m * dx) >> 10; in lv_draw_mask_line_points_init()
[all …]
/lvgl-latest/src/misc/
Dlv_lru.c268 uint32_t m = 0x5bd1e995; in lv_lru_hash() local
275 k *= m; in lv_lru_hash()
277 k *= m; in lv_lru_hash()
278 h *= m; in lv_lru_hash()
292 h *= m; in lv_lru_hash()
296 h *= m; in lv_lru_hash()
Dlv_gc.h36 #define LV_DISPATCH_COND(f, t, n, m, v) LV_CONCAT3(LV_DISPATCH, m, v)(f, t, n) argument
/lvgl-latest/src/extra/widgets/colorwheel/
Dlv_colorwheel.c650 static uint8_t s = 0, v = 0, m = 255; in angle_to_mode_color_fast() local
654 if(angle_saved != angle) m = 255; in angle_to_mode_color_fast()
661 if(m != ext->mode) { in angle_to_mode_color_fast()
664 m = ext->mode; in angle_to_mode_color_fast()
671 if(m != ext->mode) { in angle_to_mode_color_fast()
674 m = ext->mode; in angle_to_mode_color_fast()
680 if(m != ext->mode) { in angle_to_mode_color_fast()
683 m = ext->mode; in angle_to_mode_color_fast()
/lvgl-latest/src/extra/libs/tiny_ttf/
Dstb_truetype_htcw.h1899 stbtt_int32 ins, i, j = 0, m, n, next_move, was_off = 0, off, start_off = 0; local
1908 m = n + 2 * numberOfContours; // a loose bound on how many vertices we might need
1909 vertices = (stbtt_vertex *)STBTT_malloc(m * sizeof(vertices[0]), info->userdata);
1920 …off = m - n; // starting offset for uninterpreted data, regardless of how m ends up being calculat…
2038 float mtx[6] = { 1, 0, 0, 1, 0, 0 }, m, n; local
2087 m = (float)STBTT_sqrt(mtx[0] * mtx[0] + mtx[1] * mtx[1]);
2099 v->x = (stbtt_vertex_type)(m * (mtx[0] * x + mtx[2] * y + mtx[4]));
2103 v->cx = (stbtt_vertex_type)(m * (mtx[0] * x + mtx[2] * y + mtx[4]));
2604 int l, r, m; local
2618 m = (l + r) >> 1;
[all …]
/lvgl-latest/src/widgets/
Dlv_checkbox.c187 lv_coord_t m = lv_obj_calculate_ext_draw_size(obj, LV_PART_INDICATOR); in lv_checkbox_event() local
188 *s = LV_MAX(*s, m); in lv_checkbox_event()
/lvgl-latest/
DREADME_pt_BR.md49 …derno (que é capaz de acionar um display) é adequado para executar LVGL. Os requisitos mínimos são:
125 LVGL também está disponível para:
/lvgl-latest/demos/widgets/
Dlv_demo_widgets.py137 m = lv.msgbox(lv.scr_act(), None)
138 m.add_btns(btns)
139 btnm = lv.btnmatrix.__cast__(m.get_btnmatrix())
/lvgl-latest/tests/
DCMakeLists.txt367 target_link_libraries(${test_name} test_common lvgl_examples lvgl_demos lvgl png m ${TEST_LIBS})
/lvgl-latest/src/extra/libs/png/
Dlodepng.c3096 unsigned m = bits == 1 ? 7 : bits == 2 ? 3 : 1; /*8 / bits - 1*/ in addColorBits() local
3098 unsigned p = index & m; in addColorBits()
3100 in = in << (bits * (m - p)); in addColorBits()
/lvgl-latest/docs/_static/css/
Dfontawesome.min.css5 …medapps:before{content:"\f3c6"}.fa-medium:before{content:"\f23a"}.fa-medium-m:before{content:"\f3c…
/lvgl-latest/scripts/
DDoxyfile815 # *.m, *.markdown, *.md, *.mm, *.dox, *.py, *.pyw, *.f90, *.f95, *.f03, *.f08,