/lvgl-3.7.0/scripts/ |
D | jpg_to_sjpg.py | 36 print("\tRES = " + str(width) + " x " + str(height) + '\n') 57 crop.save(str(i)+".jpg", quality=90) 63 f = open(str(i)+".jpg", "rb") 100 os.remove(str(i) + ".jpg") 109 c_code = c_code + "\t" + str(hex(sjpeg[i])) + "," 119 c_code = c_code + "\t.header.w = " + str(width) + ",\n" 120 c_code = c_code + "\t.header.h = " + str(height) + ",\n" 121 c_code = c_code + "\t.data_size = " + str(len(sjpeg)) + ",\n" 134 print("\tTime taken = " + str(round(time_taken,2)) + " sec") 135 print("\tbin size = " + str(round(len(sjpeg)/1024, 1)) + " KB" )
|
D | style_api_gen.py | 455 d = str(p["default"])
|
/lvgl-3.7.0/scripts/release/ |
D | com.py | 15 print("### Error: " + str(r)) 23 s = r'^ *# *define +' + str(name).rstrip() + ' +' 40 s = "v" + str(ver[0]) + "." + str(ver[1]) + "." + str(ver[2]) 102 define_set("./lvgl.h", "LVGL_VERSION_MAJOR", str(ver[0])) 103 define_set("./lvgl.h", "LVGL_VERSION_MINOR", str(ver[1])) 104 define_set("./lvgl.h", "LVGL_VERSION_PATCH", str(ver[2]))
|
D | patch.py | 32 branches = str(branches) 58 ver_new[2] = str(int(ver_new[2]) + 1) 69 ver_new[2] = str(int(ver_new[2]) + 1)
|
/lvgl-3.7.0/examples/widgets/table/ |
D | lv_example_table_2.py | 79 table.set_cell_value(i, 0, "Item " + str(i+1)) 92 label.set_text(str(ITEM_CNT) + " items were created in " + str(elaps) + " ms\n using " + str(mem_us…
|
/lvgl-3.7.0/examples/layouts/grid/ |
D | lv_example_grid_1.py | 27 label.set_text("c" +str(col) + "r" +str(row))
|
/lvgl-3.7.0/examples/widgets/bar/ |
D | lv_example_bar_4.py | 6 … sdl_filename = "../../assets/" + filename + "_" + str(xres) + "x" + str(yres) + "_argb8888.fnt"
|
D | lv_example_bar_6.py | 15 value_txt = str(obj.get_value())
|
D | test.py | 18 value_txt = str(obj.get_value())
|
/lvgl-3.7.0/src/misc/ |
D | lv_txt.c | 31 static uint8_t lv_txt_utf8_size(const char * str); 40 static uint8_t lv_txt_iso8859_1_size(const char * str); 509 static uint8_t lv_txt_utf8_size(const char * str) in lv_txt_utf8_size() argument 511 if(LV_IS_ASCII(str[0])) in lv_txt_utf8_size() 513 else if(LV_IS_2BYTES_UTF8_CODE(str[0])) in lv_txt_utf8_size() 515 else if(LV_IS_3BYTES_UTF8_CODE(str[0])) in lv_txt_utf8_size() 517 else if(LV_IS_4BYTES_UTF8_CODE(str[0])) in lv_txt_utf8_size() 761 static uint8_t lv_txt_iso8859_1_size(const char * str) in lv_txt_iso8859_1_size() argument 763 LV_UNUSED(str); /*Unused*/ in lv_txt_iso8859_1_size()
|
D | lv_printf.c | 143 static inline unsigned int _strnlen_s(const char * str, size_t maxsize) in _strnlen_s() argument 146 for(s = str; *s && maxsize--; ++s); in _strnlen_s() 147 return (unsigned int)(s - str); in _strnlen_s() 158 static unsigned int _atoi(const char ** str) in _atoi() argument 161 while(_is_digit(**str)) { in _atoi() 162 i = i * 10U + (unsigned int)(*((*str)++) - '0'); in _atoi()
|
/lvgl-3.7.0/tests/ |
D | main.py | 111 '--parallel', str(os.cpu_count())]) 126 ['ctest', '--timeout', '30', '--parallel', str(os.cpu_count()), '--output-on-failure']) 148 '-j', str(os.cpu_count()), '--print-summary',
|
/lvgl-3.7.0/examples/others/snapshot/ |
D | lv_example_snapshot_1.py | 17 label.set_text(" memory free:" + str(mem_free/1024) + " kB") 44 label.set_text("memory used:" + str(mem_used/1024) + " kB")
|
/lvgl-3.7.0/examples/layouts/flex/ |
D | lv_example_flex_4.py | 14 label.set_text("Item: " + str(i))
|
D | lv_example_flex_6.py | 17 label.set_text(str(i))
|
D | lv_example_flex_5.py | 22 label.set_text(str(i))
|
/lvgl-3.7.0/examples/get_started/ |
D | lv_example_get_started_3.py | 5 label.set_text(str(slider.get_value()))
|
D | lv_example_get_started_1.py | 25 label.set_text("Button: " + str(self.cnt))
|
/lvgl-3.7.0/examples/event/ |
D | lv_example_event_1.py | 22 label.set_text(str(self.cnt))
|
D | lv_example_event_3.py | 29 label.set_text(str(i))
|
/lvgl-3.7.0/demos/music/assets/ |
D | spectrum.py | 28 fout.write(str(int(v)) + ", ")
|
/lvgl-3.7.0/examples/scroll/ |
D | lv_example_scroll_6.py | 61 label.set_text("Button " + str(i))
|
/lvgl-3.7.0/demos/widgets/ |
D | lv_demo_widgets.py | 71 … slider.set_style_local_value_str(lv.slider.PART.KNOB, lv.STATE.DEFAULT, str(slider_value)) 75 slider_string = str(slider_left) + '-' + str(slider_right) 82 label.set_text(str(value)) 88 label.set_text(str(val)) 124 label.set_text(str(val)) 130 label.set_text(str(val))
|
/lvgl-3.7.0/examples/widgets/chart/ |
D | lv_example_chart_4.py | 20 buf = lv.SYMBOL.DUMMY + "$" + str(value)
|
D | lv_example_chart_6.py | 62 value_txt = str(v)
|