Home
last modified time | relevance | path

Searched refs:cls (Results 1 – 6 of 6) sorted by relevance

/lvgl-3.5.0/src/extra/others/fragment/
Dlv_fragment.c24 lv_fragment_t * lv_fragment_create(const lv_fragment_class_t * cls, void * args) in lv_fragment_create() argument
26 LV_ASSERT_NULL(cls); in lv_fragment_create()
27 LV_ASSERT_NULL(cls->create_obj_cb); in lv_fragment_create()
28 LV_ASSERT(cls->instance_size > 0); in lv_fragment_create()
29 lv_fragment_t * instance = lv_mem_alloc(cls->instance_size); in lv_fragment_create()
30 lv_memset_00(instance, cls->instance_size); in lv_fragment_create()
31 instance->cls = cls; in lv_fragment_create()
33 if(cls->constructor_cb) { in lv_fragment_create()
34 cls->constructor_cb(instance, args); in lv_fragment_create()
50 const lv_fragment_class_t * cls = fragment->cls; in lv_fragment_del() local
[all …]
Dlv_fragment_manager.c196 if(p->cls->event_cb && p->cls->event_cb(instance, code, userdata)) return true; in lv_fragment_manager_send_event()
253 if(instance->cls->detached_cb) { in item_del_fragment()
254 instance->cls->detached_cb(instance); in item_del_fragment()
270 states->cls = fragment->cls; in fragment_attach()
275 if(fragment->cls->attached_cb) { in fragment_attach()
276 fragment->cls->attached_cb(fragment); in fragment_attach()
Dlv_fragment.h40 const lv_fragment_class_t * cls; member
136 const lv_fragment_class_t * cls; member
277 lv_fragment_t * lv_fragment_create(const lv_fragment_class_t * cls, void * args);
/lvgl-3.5.0/tests/src/test_cases/
Dtest_event.c6 static void event_object_deletion_cb(const lv_obj_class_t * cls, lv_event_t * e) in event_object_deletion_cb() argument
8 LV_UNUSED(cls); in event_object_deletion_cb()
/lvgl-3.5.0/src/extra/libs/sjpg/
Dtjpgd.c200 unsigned int i, j, b, cls, num; in create_huffman_tbl() local
211 cls = d >> 4; num = d & 0x0F; /* class = dc(0)/ac(1), table number = 0/1 */ in create_huffman_tbl()
214 jd->huffbits[num][cls] = pb; in create_huffman_tbl()
220 jd->huffcode[num][cls] = ph; in create_huffman_tbl()
232 jd->huffdata[num][cls] = pd; in create_huffman_tbl()
235 if (!cls && d > 11) return JDR_FMT1; in create_huffman_tbl()
244 if (cls) { in create_huffman_tbl()
258 if (cls) { in create_huffman_tbl()
267 jd->longofs[num][cls] = i; /* Code table offset for long code */ in create_huffman_tbl()
285 unsigned int cls /* Table class (0:DC, 1:AC) */ in huffext() argument
[all …]
/lvgl-3.5.0/src/core/
Dlv_obj_style.c245 const lv_obj_class_t * cls = obj->class_p; in lv_obj_get_style_prop() local
246 while(cls) { in lv_obj_get_style_prop()
248 if(cls->width_def != 0) break; in lv_obj_get_style_prop()
251 if(cls->height_def != 0) break; in lv_obj_get_style_prop()
253 cls = cls->base_class; in lv_obj_get_style_prop()
256 if(cls) { in lv_obj_get_style_prop()
257 value_act.num = prop == LV_STYLE_WIDTH ? cls->width_def : cls->height_def; in lv_obj_get_style_prop()