Searched refs:layout_cnt (Results 1 – 1 of 1) sorted by relevance
34 static uint32_t layout_cnt; variable325 layout_cnt++; in lv_layout_register()326 …LV_GC_ROOT(_lv_layout_list) = lv_mem_realloc(LV_GC_ROOT(_lv_layout_list), layout_cnt * sizeof(lv_l… in lv_layout_register()329 LV_GC_ROOT(_lv_layout_list)[layout_cnt - 1].cb = cb; in lv_layout_register()330 LV_GC_ROOT(_lv_layout_list)[layout_cnt - 1].user_data = user_data; in lv_layout_register()331 return layout_cnt; /*No -1 to skip 0th index*/ in lv_layout_register()1140 if(layout_id > 0 && layout_id <= layout_cnt) { in layout_update_core()