Home
last modified time | relevance | path

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

12345678910>>...12

/lvgl-latest/docs/details/integration/bindings/
Dapi_json.rst59 - ``"array"``: The array type is used to identify arrays.
64 - ``"type"``: This may or may not be available.
65 - ``"name"``: the name of the data type
68 - ``"field"``: This type is used to describe fields in structures and unions.
73 - ``"type"``: This contains the type information for the field. Check the
74 ``"json_type"`` to know what type you are dealing with.
84 - ``"type"``: This contains the type information for the field. Check the
85 ``"json_type"`` to know what type you are dealing with.
95 - ``"type"``: This contains the type information for the field. Check the
96 ``"json_type"`` to know what type you are dealing with.
[all …]
/lvgl-latest/scripts/gen_json/
Dpycparser_monkeypatch.py92 self.type.process()
109 self.type.parent = self
120 if isinstance(self.type, TypeDecl):
121 res = self.type.to_dict()
128 ('type', self.type.to_dict()),
153 self.type.parent = self
170 self.type.process()
183 self.type.parent = self
194 name = self.type.name
212 ('type', self.type.to_dict()),
[all …]
/lvgl-latest/src/libs/thorvg/
DtvgLoadModule.h43 FileType type; //current loader file type member
48 LoadModule(FileType type) : type(type) {} in LoadModule()
88 ImageLoader(FileType type) : LoadModule(type) {} in ImageLoader()
105 FontLoader(FileType type) : LoadModule(type) {} in FontLoader()
DtvgLoader.cpp78 static LoadModule* _find(FileType type) in _find() argument
80 switch(type) { in _find()
134 switch(type) { in _find()
195 auto type = FileType::Unknown; in _convert() local
197 if (mimeType == "tvg") type = FileType::Tvg; in _convert()
198 else if (mimeType == "svg" || mimeType == "svg+xml") type = FileType::Svg; in _convert()
199 else if (mimeType == "ttf" || mimeType == "otf") type = FileType::Ttf; in _convert()
200 else if (mimeType == "lottie") type = FileType::Lottie; in _convert()
201 else if (mimeType == "raw") type = FileType::Raw; in _convert()
202 else if (mimeType == "png") type = FileType::Png; in _convert()
[all …]
DtvgLottieModel.h92 Type type; member
105 type = GaussianBlur; in LottieGaussianBlur()
157 Type type; member
261 LottieObject::type = LottieObject::Text; in prepare()
293 LottieObject::type = LottieObject::Trimpath; in prepare()
315 Type type = Simultaneous; member
330 void prepare(LottieObject::Type type) in prepare()
332 LottieObject::type = type; in prepare()
341 LottieObject::type = LottieObject::RoundedCorner; in prepare()
420 Type type = Polygon; member
[all …]
DtvgLottieModel.cpp48 switch (type) { in reset()
81 switch (type) { in assign()
143 LottieObject::type = LottieObject::Image; in prepare()
339 void LottieGroup::prepare(LottieObject::Type type) in prepare() argument
341 LottieObject::type = type; in prepare()
351 if (child->type == LottieObject::Type::Trimpath) trimpath = true; in prepare()
355 … if (allowMerge && (child->type == LottieObject::Group || !child->mergeable())) allowMerge = false; in prepare()
358 switch (child->type) { in prepare()
380 if (child->type == LottieObject::Group && !child->mergeable()) { in prepare()
382 …} else if (child->type == LottieObject::SolidStroke || child->type == LottieObject::GradientStroke… in prepare()
[all …]
DtvgLottieParser.cpp63 LottieEffect* LottieParser::getEffect(int type) in getEffect() argument
65 switch (type) { in getEffect()
320 auto type = peekType(); in getValue() local
321 if (type == kNullType) return false; in getValue()
326 if (type == kArrayType) enterArray(); in getValue()
362 template<LottieProperty::Type type, typename T>
366 if (KEY_AS("p")) parseProperty<type>(prop); in parseSlotProperty()
491 template<LottieProperty::Type type, typename T>
505 comp->slots.push(new LottieSlot(sid, obj, type)); in parseProperty()
512 prop.type = type; in parseProperty()
[all …]
DtvgXmlParser.cpp250 const char* simpleXmlNodeTypeToString(TVG_UNUSED SvgNodeType type) in simpleXmlNodeTypeToString() argument
277 return TYPE_NAMES[(int) type]; in simpleXmlNodeTypeToString()
363 …: %s]", simpleXmlNodeTypeToString(((SvgLoaderData*)data)->svgParse->node->type), ((SvgLoaderData*)… in simpleXmlParseAttributes()
390 SimpleXMLType type = _getXMLType(itr, itrEnd, toff); in simpleXmlParse() local
393 if (type == SimpleXMLType::CData) p = _simpleXmlFindEndCdataTag(itr + 1 + toff, itrEnd); in simpleXmlParse()
394 …else if (type == SimpleXMLType::DoctypeChild) p = _simpleXmlFindDoctypeChildEndTag(itr + 1 + toff,… in simpleXmlParse()
395 … else if (type == SimpleXMLType::Comment) p = _simpleXmlFindEndCommentTag(itr + 1 + toff, itrEnd); in simpleXmlParse()
400 if (*p == '<' && type != SimpleXMLType::Doctype) return false; in simpleXmlParse()
406 switch (type) { in simpleXmlParse()
409 type = SimpleXMLType::OpenEmpty; in simpleXmlParse()
[all …]
DtvgSvgSceneBuilder.cpp48 static inline bool _isGroupType(SvgNodeType type) in _isGroupType() argument
50 …if (type == SvgNodeType::Doc || type == SvgNodeType::G || type == SvgNodeType::Use || type == SvgN… in _isGroupType()
227 if (node->type == SvgNodeType::Use) { in _appendClipChild()
234 …_compositionTransform(Paint* paint, const SvgNode* node, const SvgNode* compNode, SvgNodeType type) in _compositionTransform() argument
238 if (node->transform && type != SvgNodeType::Mask) { in _compositionTransform()
304 if (compNode->node.mask.type == SvgMaskType::Luminance && !isMaskWhite) { in _applyComposition()
323 if (node->type == SvgNodeType::Doc || !node->style->display) return; in _applyProperty()
332 if (style->fill.paint.gradient->type == SvgGradientType::Linear) { in _applyProperty()
335 } else if (style->fill.paint.gradient->type == SvgGradientType::Radial) { in _applyProperty()
358 if (node->type == SvgNodeType::G || node->type == SvgNodeType::Use) return; in _applyProperty()
[all …]
DtvgFrameModule.h40 FrameModule(FileType type) : ImageLoader(type) {} in FrameModule() argument
DtvgXmlParser.h50 typedef bool (*simpleXMLCb)(void* data, SimpleXMLType type, const char* content, unsigned int lengt…
59 const char* simpleXmlNodeTypeToString(SvgNodeType type);
/lvgl-latest/src/core/
Dlv_obj_property.c22 #define HANDLE_PROPERTY_TYPE(type, field) \ argument
24 value->field = ((lv_property_get_##type##_t)(prop->getter))(obj); \
28 ((lv_property_set_##type##_t)(prop->setter))(obj, value->field); \
31 … ((lv_property_set_##type##_integer_t)(prop->setter))(obj, value->arg1.field, value->arg2.num); \
34 …((lv_property_set_##type##_boolean_t)(prop->setter))(obj, value->arg1.field, value->arg2.enable); \
37 …((lv_property_set_##type##_precise_t)(prop->setter))(obj, value->arg1.field, value->arg2.precise);…
40 … ((lv_property_set_##type##_color_t)(prop->setter))(obj, value->arg1.field, value->arg2.color); \
48 … ((lv_property_set_##type##_pointer_t)(prop->setter))(obj, value->arg1.field, value->arg2.ptr); \
64 #define DEFINE_PROPERTY_SETTER_TYPES(type) \ argument
65 typedef void (*lv_property_set_##type##_t)(lv_obj_t *, type); \
[all …]
Dlv_obj_property.h41 …LV_PROPERTY_ID(clz, name, type, index) LV_PROPERTY_## clz ##_##name = (LV_PROPERTY_## clz… argument
42 #define LV_PROPERTY_ID2(clz, name, type, type2, index) LV_PROPERTY_ID(clz, name, type, index) | ((… argument
/lvgl-latest/src/others/observer/
Dlv_observer.c80 subject->type = LV_SUBJECT_TYPE_INT; in lv_subject_init_int()
88 if(subject->type != LV_SUBJECT_TYPE_INT) { in lv_subject_set_int()
100 if(subject->type != LV_SUBJECT_TYPE_INT) { in lv_subject_get_int()
110 if(subject->type != LV_SUBJECT_TYPE_INT) { in lv_subject_get_previous_int()
124 subject->type = LV_SUBJECT_TYPE_STRING; in lv_subject_init_string()
134 if(subject->type != LV_SUBJECT_TYPE_STRING) { in lv_subject_copy_string()
152 if(subject->type != LV_SUBJECT_TYPE_STRING) { in lv_subject_snprintf()
174 if(subject->type != LV_SUBJECT_TYPE_STRING) { in lv_subject_get_string()
184 if(subject->type != LV_SUBJECT_TYPE_STRING) { in lv_subject_get_previous_string()
195 subject->type = LV_SUBJECT_TYPE_POINTER; in lv_subject_init_pointer()
[all …]
/lvgl-latest/src/libs/svg/
Dlv_svg_parser.c354 if(parser->cur_node->type != tag) { in _process_end_tag()
378 static void _process_string(lv_svg_node_t * node, lv_svg_attr_type_t type, const char * val_start, … in _process_string() argument
384 attr->id = type; in _process_string()
396 static void _process_xlink(lv_svg_node_t * node, lv_svg_attr_type_t type, const char * val_start, c… in _process_xlink() argument
402 attr->id = type; in _process_xlink()
595 …ic const char * _parse_matrix(const char * str, const char * str_end, lv_svg_transform_type_t type, in _parse_matrix() argument
608 switch(type) { in _parse_matrix()
764 static void _process_view_box(lv_svg_node_t * node, lv_svg_attr_type_t type, const char * val_start, in _process_view_box() argument
771 attr->id = type; in _process_view_box()
797 static void _process_points_value(lv_svg_node_t * node, lv_svg_attr_type_t type, const char * val_s… in _process_points_value() argument
[all …]
/lvgl-latest/scripts/gdb/lvglgdb/
Ddebugger.py18 type=str,
24 type=int,
46 if args.type == "pycharm":
48 elif args.type == "vscode":
50 elif args.type == "eclipse":
/lvgl-latest/tests/src/test_cases/
Dtest_svg_anim.c6 #define LV_ARRAY_GET(array, index, type) ((type*)lv_array_at((array), (index))) argument
27 TEST_ASSERT_EQUAL(LV_SVG_TAG_ANIMATE, anim_node->type); in testAnimate()
56 TEST_ASSERT_EQUAL(LV_SVG_TAG_SET, anim_node->type); in testSet()
80 TEST_ASSERT_EQUAL(LV_SVG_TAG_ANIMATE_MOTION, anim_node->type); in testAnimateMotion()
84 TEST_ASSERT_EQUAL(LV_SVG_TAG_MPATH, mpath_node->type); in testAnimateMotion()
106 TEST_ASSERT_EQUAL(LV_SVG_TAG_ANIMATE_MOTION, anim_node->type); in testAnimateMotion()
142 TEST_ASSERT_EQUAL(LV_SVG_TAG_ANIMATE_MOTION, anim_node->type); in testAnimateMotion()
203 TEST_ASSERT_EQUAL(LV_SVG_TAG_ANIMATE_TRANSFORM, anim_node1->type); in testAnimateTransform()
206 TEST_ASSERT_EQUAL(LV_SVG_TAG_ANIMATE_TRANSFORM, anim_node2->type); in testAnimateTransform()
248 TEST_ASSERT_EQUAL(LV_SVG_TAG_ANIMATE_COLOR, anim_node->type); in testAnimateColor()
/lvgl-latest/docs/details/other-components/
Dmonkey.rst22 Next, declare a variable (it can be local) of type :c:type:`lv_monkey_config_t` to
24 :cpp:expr:`lv_monkey_config_init(cfg)` then set its ``type`` member to the desired
25 type of :ref:`input device <indev>`, and set the ``min`` and ``max`` values for its
38 Note that ``input_range`` has different meanings depending on the ``type`` input device:
Dobj_property.rst35 that are unique to each type of Widget, that determine what the Widget looks like and
73 Widgets of the same type share the same id-to-function-pointer lookup array.
92 - :cpp:type:`lv_result_t` :cpp:expr:`lv_obj_set_property(widget, lv_property_t * value)`
94 - :cpp:type:`lv_property_t` :cpp:expr:`lv_obj_get_property(widget, lv_prop_id_t id)`
96 - :cpp:type:`lv_result_t` :cpp:expr:`lv_obj_set_properties(widget, lv_property_t * values, count)`
97 Sets multiple Widget properties from an array of :cpp:type:`lv_property_t`.
125 :cpp:type:`lv_prop_id_t` identifies which property to get/set. It is an enum value
134 to be looked up for each type of Widget where Widget properties has been implemented.
143 bits ``<31:28>`` contain the property's value type and bits ``<27:0>`` contain the
146 bits ``<31:28>`` contain the type for the property's 1st value, bits ``<27:24>``
[all …]
/lvgl-latest/src/libs/thorvg/rapidjson/
Dencodedstream.h145 …AutoUTFInputStream(InputByteStream& is, UTFType type = kUTF8) : is_(&is), type_(type), hasBOM_(fal…
146 RAPIDJSON_ASSERT(type >= kUTF8 && type <= kUTF32BE);
244 AutoUTFOutputStream(OutputByteStream& os, UTFType type, bool putBOM) : os_(&os), type_(type) { in AutoUTFOutputStream() argument
245 RAPIDJSON_ASSERT(type >= kUTF8 && type <= kUTF32BE); in AutoUTFOutputStream()
/lvgl-latest/src/draw/vg_lite/
Dlv_vg_lite_grad.c43 grad_type_t type; member
152 switch(grad_item->type) { in lv_vg_lite_draw_grad()
214 LV_LOG_ERROR("Unsupported gradient type: %d", grad_item->type); in lv_vg_lite_draw_grad()
326 search_key.type = lv_grad_style_to_type(grad->style); in grad_get()
574 item->type = lv_grad_style_to_type(item->lv.style); in grad_create_cb()
575 switch(item->type) { in grad_create_cb()
586 LV_LOG_ERROR("unknown gradient type: %d", item->type); in grad_create_cb()
596 switch(item->type) { in grad_free_cb()
610 LV_LOG_ERROR("unknown gradient type: %d", item->type); in grad_free_cb()
618 if(lhs->type != rhs->type) { in grad_compare_cb()
[all …]
/lvgl-latest/src/draw/
Dlv_draw_rect.c68 return task->type == LV_DRAW_TASK_TYPE_FILL ? (lv_draw_fill_dsc_t *)task->draw_dsc : NULL; in lv_draw_task_get_fill_dsc()
81 return task->type == LV_DRAW_TASK_TYPE_BORDER ? (lv_draw_border_dsc_t *)task->draw_dsc : NULL; in lv_draw_task_get_border_dsc()
93 …return task->type == LV_DRAW_TASK_TYPE_BOX_SHADOW ? (lv_draw_box_shadow_dsc_t *)task->draw_dsc : N… in lv_draw_task_get_box_shadow_dsc()
165 t->type = LV_DRAW_TASK_TYPE_BOX_SHADOW; in lv_draw_rect()
191 t->type = LV_DRAW_TASK_TYPE_FILL; in lv_draw_rect()
238 t->type = LV_DRAW_TASK_TYPE_IMAGE; in lv_draw_rect()
258 t->type = LV_DRAW_TASK_TYPE_LABEL; in lv_draw_rect()
277 t->type = LV_DRAW_TASK_TYPE_BORDER; in lv_draw_rect()
299 t->type = LV_DRAW_TASK_TYPE_BORDER; in lv_draw_rect()
/lvgl-latest/scripts/
Dgenerate_lv_conf.py25 parser.add_argument('--template', type=str, default=REPO_ROOT, nargs='?',
28 parser.add_argument('--config', type=str, default=None, nargs='?',
31 parser.add_argument('--defaults', type=str, default=None, nargs='?',
34 parser.add_argument('target', metavar='target', type=str, default=DIR_CWD, nargs='?',
/lvgl-latest/src/drivers/x11/
Dlv_x11_input.c64 return !(event->type == Expose in is_inp_event()
65 …|| (event->type >= DestroyNotify && event->type <= CirculateNotify) /* events from StructureNotify… in is_inp_event()
66 || event->type == ClientMessage); in is_inp_event()
77 LV_LOG_TRACE("Input Event %d", event.type); in x11_inp_event_handler()
78 switch(event.type) { in x11_inp_event_handler()
177 LV_LOG_WARN("unhandled x11 event: %d", event.type); in x11_inp_event_handler()
/lvgl-latest/docs/details/widgets/
Dmenu.rst22 - Main container: :cpp:type:`lv_menu_main_cont`
23 - Main header: :cpp:type:`lv_menu_main_header_cont`
26 - Main Page: :cpp:type:`lv_menu_page`
27 - Sidebar container: :cpp:type:`lv_menu_sidebar_cont`
28 - Sidebar header: :cpp:type:`lv_menu_sidebar_header_cont`
31 - Sidebar Page: :cpp:type:`lv_menu_page`

12345678910>>...12