Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 119) sorted by relevance

12345

/lvgl-latest/examples/porting/
Dlv_port_indev_template.c95 indev_drv.type = LV_INDEV_TYPE_POINTER;
108 indev_drv.type = LV_INDEV_TYPE_POINTER;
126 indev_drv.type = LV_INDEV_TYPE_KEYPAD;
144 indev_drv.type = LV_INDEV_TYPE_ENCODER;
162 indev_drv.type = LV_INDEV_TYPE_BUTTON;
/lvgl-latest/src/hal/
Dlv_hal_indev.c61 driver->type = LV_INDEV_TYPE_NONE; in lv_indev_drv_init()
171 if(indev->driver->type == LV_INDEV_TYPE_POINTER) { in _lv_indev_read()
176 else if(indev->driver->type == LV_INDEV_TYPE_KEYPAD) { in _lv_indev_read()
180 else if(indev->driver->type == LV_INDEV_TYPE_ENCODER) { in _lv_indev_read()
/lvgl-latest/src/extra/widgets/meter/
Dlv_meter.c133 indic->type = LV_METER_INDICATOR_TYPE_NEEDLE_LINE; in lv_meter_add_needle_line()
153 indic->type = LV_METER_INDICATOR_TYPE_NEEDLE_IMG; in lv_meter_add_needle_img()
173 indic->type = LV_METER_INDICATOR_TYPE_ARC; in lv_meter_add_arc()
193 indic->type = LV_METER_INDICATOR_TYPE_SCALE_LINES; in lv_meter_add_scale_lines()
214 if(indic->type == LV_METER_INDICATOR_TYPE_ARC) { in lv_meter_set_indicator_value()
218 …else if(indic->type == LV_METER_INDICATOR_TYPE_NEEDLE_IMG || indic->type == LV_METER_INDICATOR_TYP… in lv_meter_set_indicator_value()
233 if(indic->type == LV_METER_INDICATOR_TYPE_ARC) { in lv_meter_set_indicator_start_value()
236 …else if(indic->type == LV_METER_INDICATOR_TYPE_NEEDLE_IMG || indic->type == LV_METER_INDICATOR_TYP… in lv_meter_set_indicator_start_value()
250 if(indic->type == LV_METER_INDICATOR_TYPE_ARC) { in lv_meter_set_indicator_end_value()
253 …else if(indic->type == LV_METER_INDICATOR_TYPE_NEEDLE_IMG || indic->type == LV_METER_INDICATOR_TYP… in lv_meter_set_indicator_end_value()
[all …]
/lvgl-latest/tests/src/
Dlv_test_init.c50 indev_mouse_drv.type = LV_INDEV_TYPE_POINTER; in hal_init()
56 indev_keypad_drv.type = LV_INDEV_TYPE_KEYPAD; in hal_init()
62 indev_encoder_drv.type = LV_INDEV_TYPE_ENCODER; in hal_init()
/lvgl-latest/examples/event/
Dlv_example_event_3.py8 if type(target) != type(lv.btn()):
/lvgl-latest/src/extra/others/monkey/
Dlv_monkey.c63 config->type = LV_INDEV_TYPE_POINTER; in lv_monkey_config_init()
79 drv->type = config->type; in lv_monkey_create()
162 switch(monkey->indev_drv.type) { in lv_monkey_timer_cb()
Dlv_monkey.h31 lv_indev_type_t type; member
/lvgl-latest/src/core/
Dlv_indev.c96 else if(indev_act->driver->type == LV_INDEV_TYPE_ENCODER && data.enc_diff) { in lv_indev_read_timer_cb()
100 if(indev_act->driver->type == LV_INDEV_TYPE_POINTER) { in lv_indev_read_timer_cb()
103 else if(indev_act->driver->type == LV_INDEV_TYPE_KEYPAD) { in lv_indev_read_timer_cb()
106 else if(indev_act->driver->type == LV_INDEV_TYPE_ENCODER) { in lv_indev_read_timer_cb()
109 else if(indev_act->driver->type == LV_INDEV_TYPE_BUTTON) { in lv_indev_read_timer_cb()
148 return indev->driver->type; in lv_indev_get_type()
156 … if(indev->driver->type == LV_INDEV_TYPE_POINTER || indev->driver->type == LV_INDEV_TYPE_KEYPAD) { in lv_indev_reset()
172 … if(i->driver->type == LV_INDEV_TYPE_POINTER || i->driver->type == LV_INDEV_TYPE_KEYPAD) { in lv_indev_reset()
198 if(indev->driver->type != LV_INDEV_TYPE_POINTER) return; in lv_indev_set_cursor()
209 … if(indev->driver->type == LV_INDEV_TYPE_KEYPAD || indev->driver->type == LV_INDEV_TYPE_ENCODER) { in lv_indev_set_group()
[all …]
Dlv_obj_draw.h45 …uint32_t type; /**< The type if part being draw. Element of `lv_<name>_draw_p… member
144 …rt_check_type(lv_obj_draw_part_dsc_t * dsc, const struct _lv_obj_class_t * class_p, uint32_t type);
/lvgl-latest/src/draw/sdl/
Dlv_draw_sdl_composite.c30 lv_draw_sdl_composite_texture_id_t type; member
37 static composite_key_t mask_key_create(lv_draw_sdl_composite_texture_id_t type);
114 switch(comm_param->type) { in lv_draw_sdl_composite_begin()
227 static composite_key_t mask_key_create(lv_draw_sdl_composite_texture_id_t type) in mask_key_create() argument
233 key.type = type; in mask_key_create()
Dlv_draw_sdl_texture_cache.c122 header.type = lv_img_src_get_type(src); in lv_draw_sdl_texture_img_key_create()
126 if(header.type == LV_IMG_SRC_FILE || header.type == LV_IMG_SRC_SYMBOL) { in lv_draw_sdl_texture_img_key_create()
/lvgl-latest/scripts/built_in_font/
Dbuilt_in_font_gen.py11 type=int,
16 type=int,
/lvgl-latest/docs/porting/
Dindev.md13 indev_drv.type =... /*See below.*/
19 The `type` member can be:
33 indev_drv.type = LV_INDEV_TYPE_POINTER;
57 - Register a `read_cb` function with `LV_INDEV_TYPE_KEYPAD` type.
63 indev_drv.type = LV_INDEV_TYPE_KEYPAD;
94 indev_drv.type = LV_INDEV_TYPE_ENCODER;
120 indev_drv.type = LV_INDEV_TYPE_ENCODER;
148 indev_drv.type = LV_INDEV_TYPE_BUTTON;
181 `feedback_cb` is called when any type of event is sent by the input devices (independently of its t…
/lvgl-latest/src/extra/widgets/chart/
Dlv_chart.c75 void lv_chart_set_type(lv_obj_t * obj, lv_chart_type_t type) in lv_chart_set_type() argument
80 if(chart->type == type) return; in lv_chart_set_type()
82 if(chart->type == LV_CHART_TYPE_SCATTER) { in lv_chart_set_type()
90 if(type == LV_CHART_TYPE_SCATTER) { in lv_chart_set_type()
99 chart->type = type; in lv_chart_set_type()
116 if(chart->type == LV_CHART_TYPE_SCATTER) { in lv_chart_set_point_count()
250 return chart->type; in lv_chart_get_type()
286 if(chart->type == LV_CHART_TYPE_LINE) { in lv_chart_get_point_pos_by_id()
289 else if(chart->type == LV_CHART_TYPE_SCATTER) { in lv_chart_get_point_pos_by_id()
292 else if(chart->type == LV_CHART_TYPE_BAR) { in lv_chart_get_point_pos_by_id()
[all …]
/lvgl-latest/src/widgets/
Dlv_arc.h48 uint32_t type : 2; member
143 void lv_arc_set_mode(lv_obj_t * obj, lv_arc_mode_t type);
Dlv_arc.c201 void lv_arc_set_mode(lv_obj_t * obj, lv_arc_mode_t type) in lv_arc_set_mode() argument
208 arc->type = type; in lv_arc_set_mode()
214 switch(arc->type) { in lv_arc_set_mode()
324 return ((lv_arc_t *) obj)->type; in lv_arc_get_mode()
396 arc->type = LV_ARC_MODE_NORMAL; in lv_arc_constructor()
666 part_draw_dsc.type = LV_ARC_DRAW_PART_BACKGROUND; in lv_arc_draw()
691 part_draw_dsc.type = LV_ARC_DRAW_PART_FOREGROUND; in lv_arc_draw()
713 part_draw_dsc.type = LV_ARC_DRAW_PART_KNOB; in lv_arc_draw()
794 if(arc->type == LV_ARC_MODE_NORMAL) { in get_angle()
797 else if(arc->type == LV_ARC_MODE_REVERSE) { in get_angle()
[all …]
Dlv_slider.c108 lv_slider_mode_t type = lv_slider_get_mode(obj); in lv_slider_event() local
122 if((info->res == false) && (type == LV_SLIDER_MODE_RANGE)) { in lv_slider_event()
133 if(type == LV_SLIDER_MODE_NORMAL || type == LV_SLIDER_MODE_SYMMETRICAL) { in lv_slider_event()
136 else if(type == LV_SLIDER_MODE_RANGE) { in lv_slider_event()
370 part_draw_dsc.type = LV_SLIDER_DRAW_PART_KNOB; in draw_knob()
401 part_draw_dsc.type = LV_SLIDER_DRAW_PART_KNOB_LEFT; in draw_knob()
/lvgl-latest/src/extra/libs/png/
Dlodepng.c2469 void lodepng_chunk_type(char type[5], const unsigned char* chunk) { in lodepng_chunk_type()
2471 for(i = 0; i != 4; ++i) type[i] = (char)chunk[4 + i]; in lodepng_chunk_type()
2472 type[4] = 0; /*null termination char*/ in lodepng_chunk_type()
2475 unsigned char lodepng_chunk_type_equals(const unsigned char* chunk, const char* type) { in lodepng_chunk_type_equals() argument
2476 if(lodepng_strlen(type) != 4) return 0; in lodepng_chunk_type_equals()
2477 return (chunk[4] == type[0] && chunk[5] == type[1] && chunk[6] == type[2] && chunk[7] == type[3]); in lodepng_chunk_type_equals()
2547 unsigned char* lodepng_chunk_find(unsigned char* chunk, unsigned char* end, const char type[5]) { in lodepng_chunk_find()
2550 if(lodepng_chunk_type_equals(chunk, type)) return chunk; in lodepng_chunk_find()
2557 …odepng_chunk_find_const(const unsigned char* chunk, const unsigned char* end, const char type[5]) { in lodepng_chunk_find_const()
2560 if(lodepng_chunk_type_equals(chunk, type)) return chunk; in lodepng_chunk_find_const()
[all …]
/lvgl-latest/src/extra/libs/ffmpeg/
Dlv_ffmpeg.c506 if(dec->codec->type == AVMEDIA_TYPE_VIDEO) { in ffmpeg_decode_packet()
522 enum AVMediaType type) in ffmpeg_open_codec_context() argument
530 ret = av_find_best_stream(fmt_ctx, type, -1, -1, NULL, 0); in ffmpeg_open_codec_context()
533 av_get_media_type_string(type)); in ffmpeg_open_codec_context()
544 av_get_media_type_string(type)); in ffmpeg_open_codec_context()
552 av_get_media_type_string(type)); in ffmpeg_open_codec_context()
560 av_get_media_type_string(type)); in ffmpeg_open_codec_context()
567 av_get_media_type_string(type)); in ffmpeg_open_codec_context()
/lvgl-latest/examples/widgets/btnmatrix/
Dlv_example_btnmatrix_2.c12 if(dsc->class_p == &lv_btnmatrix_class && dsc->type == LV_BTNMATRIX_DRAW_PART_BTN) { in event_cb()
42 if(dsc->class_p == &lv_btnmatrix_class && dsc->type == LV_BTNMATRIX_DRAW_PART_BTN) { in event_cb()
/lvgl-latest/docs/others/
Dmonkey.md9 … use `lv_monkey_config_t` to define the configuration structure, set the `type` (check [input devi…
13 Note that `input_range` has different meanings in different `type`:
/lvgl-latest/examples/others/monkey/
Dlv_example_monkey_1.c9 config.type = LV_INDEV_TYPE_POINTER; in lv_example_monkey_1()
Dlv_example_monkey_2.c9 config.type = LV_INDEV_TYPE_ENCODER; in lv_example_monkey_2()
/lvgl-latest/src/extra/libs/sjpg/
Dlv_sjpg.c78 enum io_source_type type; member
186 io_source_temp.type = SJPEG_IO_SOURCE_C_ARRAY; in decoder_info()
260 io_source_temp.type = SJPEG_IO_SOURCE_DISK; in decoder_info()
307 if(io->type == SJPEG_IO_SOURCE_C_ARRAY) { in input_func()
318 else if(io->type == SJPEG_IO_SOURCE_DISK) { in input_func()
419 sjpeg->io.type = SJPEG_IO_SOURCE_C_ARRAY; in decoder_open()
433 io_source_temp.type = SJPEG_IO_SOURCE_C_ARRAY; in decoder_open()
483 sjpeg->io.type = SJPEG_IO_SOURCE_C_ARRAY; in decoder_open()
599 sjpeg->io.type = SJPEG_IO_SOURCE_DISK; in decoder_open()
635 io_source_temp.type = SJPEG_IO_SOURCE_DISK; in decoder_open()
[all …]
/lvgl-latest/docs/widgets/core/
Dline.md22 Only the [Generic events](../overview/event.html#generic-events) are sent by the object type.
29 No *Keys* are processed by the object type.

12345