/lvgl-latest/src/others/sysmon/ |
D | lv_sysmon.c | 189 lv_sysmon_perf_info_t * info = &disp->perf_sysmon_info; in perf_monitor_disp_event_cb() local 193 info->measured.refr_interval_sum += lv_tick_elaps(info->measured.refr_start); in perf_monitor_disp_event_cb() 194 info->measured.refr_start = lv_tick_get(); in perf_monitor_disp_event_cb() 197 info->measured.refr_elaps_sum += lv_tick_elaps(info->measured.refr_start); in perf_monitor_disp_event_cb() 198 info->measured.refr_cnt++; in perf_monitor_disp_event_cb() 201 info->measured.render_in_progress = 1; in perf_monitor_disp_event_cb() 202 info->measured.render_start = lv_tick_get(); in perf_monitor_disp_event_cb() 205 info->measured.render_in_progress = 0; in perf_monitor_disp_event_cb() 206 info->measured.render_elaps_sum += lv_tick_elaps(info->measured.render_start); in perf_monitor_disp_event_cb() 207 info->measured.render_cnt++; in perf_monitor_disp_event_cb() [all …]
|
/lvgl-latest/src/misc/ |
D | lv_async.c | 48 lv_async_info_t * info = lv_malloc(sizeof(lv_async_info_t)); in lv_async_call() local 50 if(info == NULL) in lv_async_call() 54 lv_timer_t * timer = lv_timer_create(lv_async_timer_cb, 0, info); in lv_async_call() 57 lv_free(info); in lv_async_call() 61 info->cb = async_xcb; in lv_async_call() 62 info->user_data = user_data; in lv_async_call() 79 lv_async_info_t * info = (lv_async_info_t *)timer->user_data; in lv_async_call_cancel() local 82 if(info->cb == async_xcb && info->user_data == user_data) { in lv_async_call_cancel() 84 lv_free(info); in lv_async_call_cancel() 102 lv_async_info_t * info = (lv_async_info_t *)timer->user_data; in lv_async_timer_cb() local [all …]
|
/lvgl-latest/src/indev/ |
D | lv_indev_gesture.c | 43 static lv_indev_gesture_motion_t * get_motion(uint8_t id, lv_indev_gesture_t * info); 44 static int8_t get_motion_idx(uint8_t id, lv_indev_gesture_t * info); 45 static void process_touch_event(lv_indev_touch_data_t * touch, lv_indev_gesture_t * info); 95 if(recognizer->info->motions[0].finger != -1) { in lv_indev_get_gesture_primary_point() 96 point->x = recognizer->info->motions[0].point.x; in lv_indev_get_gesture_primary_point() 97 point->y = recognizer->info->motions[0].point.y; in lv_indev_get_gesture_primary_point() 109 recognizer->info->finger_cnt == 0) { in lv_indev_recognizer_is_active() 135 point->x = recognizer->info->center.x; in lv_indev_get_gesture_center_point() 136 point->y = recognizer->info->center.y; in lv_indev_get_gesture_center_point() 211 if(r->info == NULL) { in lv_indev_gesture_detect_pinch() [all …]
|
/lvgl-latest/src/libs/lodepng/ |
D | lodepng.c | 3111 void lodepng_color_mode_init(LodePNGColorMode * info) in lodepng_color_mode_init() argument 3113 info->key_defined = 0; in lodepng_color_mode_init() 3114 info->key_r = info->key_g = info->key_b = 0; in lodepng_color_mode_init() 3115 info->colortype = LCT_RGBA; in lodepng_color_mode_init() 3116 info->bitdepth = 8; in lodepng_color_mode_init() 3117 info->palette = 0; in lodepng_color_mode_init() 3118 info->palettesize = 0; in lodepng_color_mode_init() 3122 static void lodepng_color_mode_alloc_palette(LodePNGColorMode * info) in lodepng_color_mode_alloc_palette() argument 3127 if(!info->palette) info->palette = (unsigned char *)lodepng_malloc(1024); in lodepng_color_mode_alloc_palette() 3128 if(!info->palette) return; /*alloc fail*/ in lodepng_color_mode_alloc_palette() [all …]
|
D | lodepng.h | 433 void lodepng_color_mode_init(LodePNGColorMode * info); 434 void lodepng_color_mode_cleanup(LodePNGColorMode * info); 440 void lodepng_palette_clear(LodePNGColorMode * info); 442 unsigned lodepng_palette_add(LodePNGColorMode * info, 446 unsigned lodepng_get_bpp(const LodePNGColorMode * info); 449 unsigned lodepng_get_channels(const LodePNGColorMode * info); 451 unsigned lodepng_is_greyscale_type(const LodePNGColorMode * info); 453 unsigned lodepng_is_alpha_type(const LodePNGColorMode * info); 455 unsigned lodepng_is_palette_type(const LodePNGColorMode * info); 458 unsigned lodepng_has_palette_alpha(const LodePNGColorMode * info); [all …]
|
/lvgl-latest/src/libs/tiny_ttf/ |
D | stb_truetype_htcw.h | 678 …BTT_DEF int stbtt_PackFontRangesGatherRects(stbtt_pack_context * spc, const stbtt_fontinfo * info, 681 …DEF int stbtt_PackFontRangesRenderIntoRects(stbtt_pack_context * spc, const stbtt_fontinfo * info, 760 STBTT_DEF int stbtt_InitFont(stbtt_fontinfo * info, STBTT_STREAM_TYPE data, int offset); 762 STBTT_DEF int stbtt_InitFont(stbtt_fontinfo * info, const unsigned char * data, int offset); 774 STBTT_DEF int stbtt_FindGlyphIndex(const stbtt_fontinfo * info, int unicode_codepoint); 786 STBTT_DEF float stbtt_ScaleForPixelHeight(const stbtt_fontinfo * info, float pixels); 794 STBTT_DEF float stbtt_ScaleForMappingEmToPixels(const stbtt_fontinfo * info, float pixels); 799 STBTT_DEF void stbtt_GetFontVMetrics(const stbtt_fontinfo * info, int * ascent, int * descent, int … 807 STBTT_DEF int stbtt_GetFontVMetricsOS2(const stbtt_fontinfo * info, int * typoAscent, int * typoDe… 814 STBTT_DEF void stbtt_GetFontBoundingBox(const stbtt_fontinfo * info, int * x0, int * y0, int * x1, … [all …]
|
D | lv_tiny_ttf.c | 62 stbtt_fontinfo info; member 130 dsc->scale = stbtt_ScaleForMappingEmToPixels(&dsc->info, font_size); in lv_tiny_ttf_set_size() 132 stbtt_GetFontVMetrics(&dsc->info, &dsc->ascent, &dsc->descent, &line_gap); in lv_tiny_ttf_set_size() 233 uint32_t g1 = stbtt_FindGlyphIndex(&dsc->info, (int)unicode_letter); in ttf_get_glyph_dsc_cb() 241 …int g2 = stbtt_FindGlyphIndex(&dsc->info, (int)unicode_letter_next); /* not using cache, only do g… in ttf_get_glyph_dsc_cb() 243 int k = stbtt_GetGlyphKernAdvance(&dsc->info, g1, g2); in ttf_get_glyph_dsc_cb() 271 g2 = stbtt_FindGlyphIndex(&dsc->info, (int)unicode_letter_next); in ttf_get_glyph_dsc_cb() 279 int k = stbtt_GetGlyphKernAdvance(&dsc->info, g1, g2); in ttf_get_glyph_dsc_cb() 384 … if(0 == stbtt_InitFont(&dsc->info, &dsc->stream, stbtt_GetFontOffsetForIndex(&dsc->stream, 0))) { in lv_tiny_ttf_create() 392 if(0 == stbtt_InitFont(&dsc->info, dsc->stream, stbtt_GetFontOffsetForIndex(dsc->stream, 0))) { in lv_tiny_ttf_create() [all …]
|
/lvgl-latest/src/libs/fsdrv/ |
D | lv_fs_uefi.c | 400 EFI_FILE_INFO * info = NULL; in lv_fs_uefi_dir_read_cb() local 410 if(info != NULL) lv_free(info); in lv_fs_uefi_dir_read_cb() 411 info = NULL; in lv_fs_uefi_dir_read_cb() 416 info); in lv_fs_uefi_dir_read_cb() 427 info = lv_calloc(1, size); in lv_fs_uefi_dir_read_cb() 428 LV_ASSERT_MALLOC(info); in lv_fs_uefi_dir_read_cb() 433 info); in lv_fs_uefi_dir_read_cb() 438 } while(lv_fs_uefi_is_dot_path(info->FileName)); in lv_fs_uefi_dir_read_cb() 440 lv_fs_uefi_uefi_path_to_lvgl_path(info->FileName); in lv_fs_uefi_dir_read_cb() 443 for(fn_ucs2 = info->FileName; *fn_ucs2 != L'\0'; fn_ucs2++) { in lv_fs_uefi_dir_read_cb() [all …]
|
D | lv_fs_littlefs.c | 256 struct lfs_info info; in fs_dir_read() local 257 int res = lfs_dir_read(lfs, &lf->dir, &info); in fs_dir_read() 265 if(info.type != LFS_TYPE_DIR) { in fs_dir_read() 266 lv_strlcpy(fn, info.name, fn_len); in fs_dir_read() 269 lv_snprintf(fn, fn_len, "/%s", info.name); in fs_dir_read()
|
/lvgl-latest/src/core/ |
D | lv_obj_id_builtin.c | 53 class_info_t * info = NULL; in lv_obj_assign_id() local 61 info = ((class_info_t *)global->objid_array) + i; in lv_obj_assign_id() 62 if(class_p == info->class_p) break; in lv_obj_assign_id() 72 info = ((class_info_t *)global->objid_array) + i; in lv_obj_assign_id() 73 info->obj_count = 0; in lv_obj_assign_id() 74 info->class_p = class_p; in lv_obj_assign_id() 77 id = ++info->obj_count; in lv_obj_assign_id()
|
/lvgl-latest/src/drivers/nuttx/ |
D | lv_nuttx_image_cache.c | 134 struct mallinfo info = mm_mallinfo(ctx->heap); in defer_init() local 135 ctx->heap_size = info.arena; in defer_init() 141 LV_LOG_USER(" arena: %d", info.arena); in defer_init() 142 LV_LOG_USER(" ordblks: %d", info.ordblks); in defer_init() 143 LV_LOG_USER(" aordblks: %d", info.aordblks); in defer_init() 144 LV_LOG_USER(" mxordblk: %d", info.mxordblk); in defer_init() 145 LV_LOG_USER(" uordblks: %d", info.uordblks); in defer_init() 146 LV_LOG_USER(" fordblks: %d", info.fordblks); in defer_init()
|
/lvgl-latest/demos/ |
D | lv_demos.c | 89 bool lv_demos_create(char * info[], int size) in lv_demos_create() argument 102 else if(entry_info == NULL && info) { in lv_demos_create() 103 const char * name = info[0]; in lv_demos_create() 112 LV_LOG_ERROR("lv_demos create(%s) failure!", size > 0 ? info[0] : ""); in lv_demos_create()
|
D | lv_demos.h | 92 bool lv_demos_create(char * info[], int size);
|
/lvgl-latest/src/libs/thorvg/ |
D | tvgLottieExpressions.cpp | 45 static jerry_value_t _content(const jerry_call_info_t* info, const jerry_value_t args[], const jerr… 104 static jerry_value_t _toComp(const jerry_call_info_t* info, const jerry_value_t args[], const jerry… in _toComp() argument 407 static jerry_value_t _add(const jerry_call_info_t* info, const jerry_value_t args[], const jerry_le… in _add() argument 413 static jerry_value_t _sub(const jerry_call_info_t* info, const jerry_value_t args[], const jerry_le… in _sub() argument 419 static jerry_value_t _mul(const jerry_call_info_t* info, const jerry_value_t args[], const jerry_le… in _mul() argument 425 static jerry_value_t _div(const jerry_call_info_t* info, const jerry_value_t args[], const jerry_le… in _div() argument 480 static jerry_value_t _linear(const jerry_call_info_t* info, const jerry_value_t args[], const jerry… in _linear() argument 487 static jerry_value_t _ease(const jerry_call_info_t* info, const jerry_value_t args[], const jerry_l… in _ease() argument 496 static jerry_value_t _easeIn(const jerry_call_info_t* info, const jerry_value_t args[], const jerry… in _easeIn() argument 504 static jerry_value_t _easeOut(const jerry_call_info_t* info, const jerry_value_t args[], const jerr… in _easeOut() argument [all …]
|
/lvgl-latest/demos/smartwatch/ |
D | lv_demo_smartwatch_qr.c | 92 lv_obj_t * info = lv_label_create(qr_panel); in lv_demo_smartwatch_qr_create() local 93 lv_obj_set_width(info, lv_pct(75)); in lv_demo_smartwatch_qr_create() 94 lv_obj_set_height(info, LV_SIZE_CONTENT); in lv_demo_smartwatch_qr_create() 95 lv_obj_set_align(info, LV_ALIGN_CENTER); in lv_demo_smartwatch_qr_create() 96 lv_label_set_text(info, "QR feature is not enabled. Enable it in lv_conf.h (LV_USE_QRCODE 1)"); in lv_demo_smartwatch_qr_create()
|
D | lv_demo_smartwatch.h | 233 …artwatch_weather_add_hourly(int hour, int id, int temp, int humidity, int wind, int uv, bool info); 343 void lv_demo_smartwatch_set_default_about_info(const char * info);
|
D | lv_demo_smartwatch_weather.c | 181 …martwatch_weather_add_hourly(int hour, int id, int temp, int humidity, int wind, int uv, bool info) in lv_demo_smartwatch_weather_add_hourly() argument 194 lv_obj_set_style_border_width(panel, info ? 0 : 1, LV_PART_MAIN | LV_STATE_DEFAULT); in lv_demo_smartwatch_weather_add_hourly() 200 lv_label_set_text_fmt(hour_label, info ? "Hour" : "%02d:00", hour); in lv_demo_smartwatch_weather_add_hourly() 221 lv_label_set_text_fmt(temp_label, info ? "Temperature" : "%d°C", temp); in lv_demo_smartwatch_weather_add_hourly() 228 lv_label_set_text_fmt(humidity_label, info ? "Humidity" : "%d%%", humidity); in lv_demo_smartwatch_weather_add_hourly() 235 lv_label_set_text_fmt(wind_label, info ? "Wind Speed" : "%d km/h", wind); in lv_demo_smartwatch_weather_add_hourly() 242 lv_label_set_text_fmt(uv_label, info ? "UV" : "%d", uv); in lv_demo_smartwatch_weather_add_hourly()
|
/lvgl-latest/tests/src/test_cases/widgets/ |
D | test_slider.c | 185 lv_hit_test_info_t info = { in test_normal_mode_slider_hit_test() local 191 lv_obj_send_event(sliderNormalMode, LV_EVENT_HIT_TEST, (void *) &info); in test_normal_mode_slider_hit_test() 194 TEST_ASSERT(info.res); in test_normal_mode_slider_hit_test() 205 lv_hit_test_info_t info = { in test_slider_range_event_hit_test() local 209 lv_obj_send_event(sliderRangeMode, LV_EVENT_HIT_TEST, (void *) &info); in test_slider_range_event_hit_test() 212 TEST_ASSERT(info.res); in test_slider_range_event_hit_test()
|
/lvgl-latest/src/widgets/imagebutton/ |
D | lv_imagebutton.c | 39 static void update_src_info(lv_imagebutton_src_info_t * info, const void * src); 173 lv_cover_check_info_t * info = lv_event_get_param(e); in lv_imagebutton_event() local 174 if(info->res != LV_COVER_RES_MASKED) info->res = LV_COVER_RES_NOT_COVER; in lv_imagebutton_event() 329 static void update_src_info(lv_imagebutton_src_info_t * info, const void * src) in update_src_info() argument 332 lv_memzero(info, sizeof(lv_imagebutton_src_info_t)); in update_src_info() 336 lv_result_t res = lv_image_decoder_get_info(src, &info->header); in update_src_info() 342 info->img_src = src; in update_src_info()
|
/lvgl-latest/docs/details/debugging/ |
D | gdb_plugin.rst | 42 - ``info style``: Show the object's style. 60 ``info style address_of_obj``: Show the object's style. 67 (gdb) info style 0x60700000dd10 72 (gdb) info style $4
|
/lvgl-latest/src/widgets/image/ |
D | lv_image.c | 653 lv_hit_test_info_t * info = lv_event_get_param(e); in lv_image_event() local 670 info->res = lv_area_is_point_on(&coords, info->point, 0); in lv_image_event() 675 info->res = lv_area_is_point_on(&a, info->point, 0); in lv_image_event() 694 lv_cover_check_info_t * info = lv_event_get_param(e); in draw_image() local 695 if(info->res == LV_COVER_RES_MASKED) return; in draw_image() 697 info->res = LV_COVER_RES_NOT_COVER; in draw_image() 703 info->res = LV_COVER_RES_NOT_COVER; in draw_image() 709 info->res = LV_COVER_RES_NOT_COVER; in draw_image() 714 info->res = LV_COVER_RES_NOT_COVER; in draw_image() 719 if(lv_area_is_in(info->area, &obj->coords, 0) == false) { in draw_image() [all …]
|
/lvgl-latest/demos/high_res/ |
D | lv_demo_high_res_app_ev_charging.c | 446 lv_obj_t * info = lv_obj_create(parent); in create_widget3_info() local 447 lv_obj_remove_style_all(info); in create_widget3_info() 448 lv_obj_set_height(info, LV_SIZE_CONTENT); in create_widget3_info() 449 lv_obj_set_flex_flow(info, LV_FLEX_FLOW_COLUMN); in create_widget3_info() 450 lv_obj_set_style_pad_row(info, c->sz->gap[4], 0); in create_widget3_info() 451 lv_obj_set_flex_grow(info, 1); in create_widget3_info() 452 lv_obj_set_style_bg_color(info, lv_color_white(), 0); in create_widget3_info() 453 lv_obj_set_style_bg_opa(info, 16 * 255 / 100, 0); in create_widget3_info() 454 lv_obj_set_style_radius(info, c->sz->gap[3], 0); in create_widget3_info() 455 lv_obj_set_style_pad_all(info, c->sz->gap[5], 0); in create_widget3_info() [all …]
|
/lvgl-latest/demos/multilang/ |
D | lv_demo_multilang.c | 32 static void card_create(lv_obj_t * parent, card_info_t * info); 292 static void card_create(lv_obj_t * parent, card_info_t * info) in card_create() argument 319 lv_image_set_src(avatar, info->image); in card_create() 324 lv_label_set_text(name, info->name); in card_create() 329 lv_label_set_text(description, info->description); in card_create()
|
/lvgl-latest/demos/benchmark/ |
D | lv_demo_benchmark.c | 567 const lv_sysmon_perf_info_t * info = lv_subject_get_pointer(subject); in sysmon_perf_observer_cb() local 583 info->calculated.fps, info->calculated.cpu, in sysmon_perf_observer_cb() 584 info->calculated.render_avg_time + info->calculated.flush_avg_time, in sysmon_perf_observer_cb() 585 info->calculated.render_avg_time, info->calculated.flush_avg_time); in sysmon_perf_observer_cb() 589 scenes[scene_act].cpu_avg_usage += info->calculated.cpu; in sysmon_perf_observer_cb() 590 scenes[scene_act].fps_avg += info->calculated.fps; in sysmon_perf_observer_cb() 591 scenes[scene_act].render_avg_time += info->calculated.render_avg_time; in sysmon_perf_observer_cb() 592 scenes[scene_act].flush_avg_time += info->calculated.flush_avg_time; in sysmon_perf_observer_cb()
|
/lvgl-latest/src/draw/ |
D | lv_draw.c | 125 lv_draw_global_info_t * info = &_draw_info; in lv_draw_finalize_task_creation() local 132 if(info->task_running == false) { in lv_draw_finalize_task_creation() 134 info->task_running = true; in lv_draw_finalize_task_creation() 136 info->task_running = false; in lv_draw_finalize_task_creation() 142 lv_draw_unit_t * u = info->unit_head; in lv_draw_finalize_task_creation() 165 lv_draw_unit_t * u = info->unit_head; in lv_draw_finalize_task_creation()
|