/lvgl-latest/src/core/ |
D | lv_group.c | 28 static bool focus_next_core(lv_group_t * group, void * (*begin)(const lv_ll_t *), 57 lv_group_t * group = lv_ll_ins_head(group_ll_p); in lv_group_create() local 58 LV_ASSERT_MALLOC(group); in lv_group_create() 59 if(group == NULL) return NULL; in lv_group_create() 60 lv_ll_init(&group->obj_ll, sizeof(lv_obj_t *)); in lv_group_create() 62 group->obj_focus = NULL; in lv_group_create() 63 group->frozen = 0; in lv_group_create() 64 group->focus_cb = NULL; in lv_group_create() 65 group->edge_cb = NULL; in lv_group_create() 66 group->editing = 0; in lv_group_create() [all …]
|
D | lv_group.h | 24 /** Predefined keys to control which Widget has focus via lv_group_send(group, c) */ 57 * Create new Widget group. 58 * @return pointer to the new Widget group 63 * Delete group object. 64 * @param group pointer to a group 66 void lv_group_delete(lv_group_t * group); 69 * Set default group. New Widgets will be added to this group if it's enabled in 71 * @param group pointer to a group (can be `NULL`) 73 void lv_group_set_default(lv_group_t * group); 76 * Get default group. [all …]
|
D | lv_obj.c | 246 lv_group_t * group = lv_obj_get_group(obj); in lv_obj_add_flag() local 247 if(group != NULL) { in lv_obj_add_flag() 248 lv_group_focus_next(group); in lv_obj_add_flag() 249 lv_obj_t * next_obj = lv_group_get_focused(group); in lv_obj_add_flag() 525 /*Delete from the group*/ in lv_obj_destructor() 526 lv_group_t * group = lv_obj_get_group(obj); in lv_obj_destructor() local 527 if(group) lv_group_remove_obj(obj); in lv_obj_destructor()
|
/lvgl-latest/docs/details/main-components/ |
D | indev.rst | 240 - Create a Widget Group (``lv_group_t * g = lv_group_create()``) and add Widgets to 242 - Assign the group to an input device: :cpp:expr:`lv_indev_set_group(indev, g)`. 243 - Use ``LV_KEY_...`` to navigate among the Widgets in the group. See 282 To use an Encoder (similar to the *Keypads*) the Widgets should be added to a group. 303 input from a keypad or encoder), that set of Widgets is placed in a group which 306 In each group there is exactly one object with focus which receives the pressed keys 312 You need to associate an input device with a group. An input device can 313 send key events to only one group but a group can receive data from more 316 To create a group use :cpp:expr:`lv_group_t * g = lv_group_create()` and to add 317 a Widget to the group use :cpp:expr:`lv_group_add_obj(g, widget)`. [all …]
|
/lvgl-latest/src/drivers/wayland/ |
D | lv_wayland_smm.c | 178 /* Allocate and initialize a new buffer group */ in smm_create() 323 struct smm_group * grp = rbuf->props.group; in smm_release() 329 /* Buffer group was resized while this buffer was in-use, thus it must be in smm_release() 361 struct smm_group * grp = nbuf->props.group; in smm_next() 376 struct smm_group * grp = buf->props.group; in purge_history() 428 if(buf->props.group == NULL) { in get_from_pool() 435 (LL_NEXT(buf, pool)->props.group == NULL)) { in get_from_pool() 452 (last->props.group == NULL)) { in get_from_pool() 507 /* Set buffer group */ in get_from_pool() 508 memcpy((void *)&buf->props.group, &grp, sizeof(struct smm_group *)); in get_from_pool() [all …]
|
/lvgl-latest/src/misc/ |
D | lv_style.h | 186 …* Props are split into groups of 16. When adding a new prop to a group, ensure it does not overflo… 191 /*Group 0*/ 209 /*Group 1*/ 224 /*Group 2*/ 246 /*Group 3*/ 259 /*Group 4*/ 279 /*Group 5*/ 535 …* Tell the group of a property. If the a property from a group is set in a style the (1 << group) … 538 * @return the group [0..30] 30 means all the custom properties with index > 120 542 uint32_t group = prop >> 2; in lv_style_get_prop_group() local [all …]
|
/lvgl-latest/examples/porting/ |
D | lv_port_indev_template.c | 124 /*Later you should create group(s) with `lv_group_t * group = lv_group_create()`, 125 *add objects to the group with `lv_group_add_obj(group, obj)` 126 *and assign this input device to group to navigate in it: 127 *`lv_indev_set_group(indev_keypad, group);`*/ 141 /*Later you should create group(s) with `lv_group_t * group = lv_group_create()`, 142 *add objects to the group with `lv_group_add_obj(group, obj)` 143 *and assign this input device to group to navigate in it: 144 *`lv_indev_set_group(indev_encoder, group);`*/
|
/lvgl-latest/scripts/ |
D | properties.py | 53 id = f"LV_PROPERTY_{match.group(1).upper()}_{match.group(2).upper()}" 55 match.group(1).lower(), 56 match.group(2).lower(), match.group(3), match.group(4), 65 name = match.group(1).upper() 68 match.group(1).lower(), "style", 69 match.group(2), id)
|
/lvgl-latest/tests/src/test_cases/ |
D | test_group.c | 44 lv_group_t * group = lv_group_create(); in test_group_obj_by_index() local 46 TEST_ASSERT_EQUAL_PTR(lv_group_get_obj_by_index(group, 0), NULL); in test_group_obj_by_index() 50 lv_group_add_obj(group, obj_0); in test_group_obj_by_index() 51 lv_group_add_obj(group, obj_1); in test_group_obj_by_index() 53 TEST_ASSERT_EQUAL_PTR(lv_group_get_obj_by_index(group, 0), obj_0); in test_group_obj_by_index() 54 TEST_ASSERT_EQUAL_PTR(lv_group_get_obj_by_index(group, 1), obj_1); in test_group_obj_by_index() 57 TEST_ASSERT_EQUAL_PTR(lv_group_get_obj_by_index(group, 0), obj_1); in test_group_obj_by_index() 58 TEST_ASSERT_EQUAL_PTR(lv_group_get_obj_by_index(group, 1), NULL); in test_group_obj_by_index()
|
/lvgl-latest/env_support/rt-thread/ |
D | SConscript | 7 group = [] 13 group = group + DefineGroup('LVGL-port', port_src, depend = ['PKG_USING_LVGL'], CPPPATH = port_inc) 64 group = group + DefineGroup('LVGL', src, depend = ['PKG_USING_LVGL'], CPPPATH = inc, LOCAL_CFLAGS =… 70 group = group + SConscript(os.path.join(d, 'SConscript')) 72 Return('group')
|
/lvgl-latest/src/indev/ |
D | lv_indev.c | 349 return indev->group; in lv_indev_get_group() 453 void lv_indev_set_group(lv_indev_t * indev, lv_group_t * group) in lv_indev_set_group() argument 456 indev->group = group; in lv_indev_set_group() 769 lv_group_t * g = i->group; in indev_keypad_proc() 915 lv_group_t * g = i->group; in indev_encoder_proc() 1591 /*If both the last and act. obj. are in the same group (or have no group)*/ in indev_click_focus() 1593 /*The objects are in a group*/ in indev_click_focus() 1598 /*The object are not in group*/ in indev_click_focus() 1609 /*The object are not in the same group (in different groups or one has no group)*/ in indev_click_focus() 1611 /*If the prev. obj. is not in a group then defocus it.*/ in indev_click_focus() [all …]
|
D | lv_indev.h | 213 * Get the indev assigned group 215 * @return Pointer to indev assigned group or NULL if indev is NULL 275 * Set a destination group for a keypad input device (for LV_INDEV_TYPE_KEYPAD) 277 * @param group pointer to a group 279 void lv_indev_set_group(lv_indev_t * indev, lv_group_t * group);
|
/lvgl-latest/src/libs/thorvg/ |
D | tvgLottieExpressions.cpp | 187 static jerry_value_t _buildGroup(LottieGroup* group, float frameNo) in _buildGroup() argument 192 for (auto c = group->children.begin(); c < group->children.end(); ++c) { in _buildGroup() 198 jerry_object_set_native_ptr(obj, &freeCb, _expcontent(nullptr, frameNo, group)); in _buildGroup() 643 auto group = static_cast<LottieGroup*>(data->obj); in _content() local 644 auto target = group->content(_idByName(args[0])); in _content() 647 //find the a path property(sh) in the group layer? in _content() 649 … case LottieObject::Group: return _buildGroup(static_cast<LottieGroup*>(target), data->frameNo); in _content() 718 //intermediate group in _propertyGroup() 720 auto group = jerry_function_external(_property); in _propertyGroup() local 721 … jerry_object_set_native_ptr(group, &freeCb, _expcontent(data->exp, data->frameNo, data->obj)); in _propertyGroup() [all …]
|
D | tvgLottieBuilder.cpp | 207 auto group = static_cast<LottieGroup*>(*child); in updateGroup() local 209 if (!group->visible) return; in updateGroup() 212 group->scene = parent->scene; in updateGroup() 213 group->reqFragment |= ctx->reqFragment; in updateGroup() 216 if (group->mergeable()) _draw(parent, nullptr, ctx); in updateGroup() 219 …auto propagator = group->mergeable() ? ctx->propagator : static_cast<Shape*>(PP(ctx->propagator)->… in updateGroup() 220 contexts.back(new RenderContext(*ctx, propagator, group->mergeable())); in updateGroup() 222 updateChildren(group, frameNo, contexts); in updateGroup() 890 case LottieObject::Group: { in updateChildren() 1031 //new text group, single scene for each line in updateText() [all …]
|
D | tvgLottieModel.cpp | 353 /* Figure out if this group is a simple path drawing. in prepare() 355 … if (allowMerge && (child->type == LottieObject::Group || !child->mergeable())) allowMerge = false; in prepare() 357 //Figure out this group has visible contents in prepare() 359 case LottieObject::Group: { in prepare() 380 if (child->type == LottieObject::Group && !child->mergeable()) { in prepare() 391 //Reverse the drawing order if this group has a trimpath. in prepare()
|
D | tvgLottieModel.h | 126 Group, enumerator 721 void prepare(LottieObject::Type type = LottieObject::Group); 731 … if (child->type == LottieObject::Type::Group || child->type == LottieObject::Type::Layer) { in content() 743 bool trimpath : 1; //this group has a trimpath. 744 bool visible : 1; //this group has visible contents. 745 bool allowMerge : 1; //if this group is consisted of simple (transformed) shapes.
|
/lvgl-latest/src/libs/svg/ |
D | lv_svg_render.c | 1067 lv_svg_render_group_t * group = (lv_svg_render_group_t *)obj; in _init_group() local 1068 lv_array_init(&group->items, LV_TREE_NODE(node)->child_cnt, sizeof(lv_svg_render_obj_t *)); in _init_group() 1381 lv_svg_render_group_t * group = (lv_svg_render_group_t *)obj; in _render_group() local 1389 for(uint32_t i = 0; i < group->items.size; i++) { in _render_group() 1390 lv_svg_render_obj_t * list = *((lv_svg_render_obj_t **)lv_array_at(&group->items, i)); in _render_group() 1750 lv_svg_render_group_t * group = (lv_svg_render_group_t *)obj; in _destroy_group() local 1751 lv_array_deinit(&group->items); in _destroy_group() 1957 lv_svg_render_group_t * group = lv_malloc_zeroed(sizeof(lv_svg_render_group_t)); in _lv_svg_render_create() local 1958 LV_ASSERT_MALLOC(group); in _lv_svg_render_create() 1959 group->base.init = _init_group; in _lv_svg_render_create() [all …]
|
/lvgl-latest/tests/src/test_cases/widgets/ |
D | test_slider.c | 94 /* Setup group and encoder indev */ in test_slider_range_mode_should_leave_edit_mode_if_released() 106 /* Group leaved edit mode */ in test_slider_range_mode_should_leave_edit_mode_if_released() 114 /* Setup group and encoder indev */ in test_slider_range_mode_should_not_leave_edit_mode_if_released_with_no_left_knob_focus() 134 /* Setup group and encoder indev */ in test_slider_normal_mode_should_leave_edit_mode_if_released() 146 /* Group leaved edit mode */ in test_slider_normal_mode_should_leave_edit_mode_if_released() 155 /* Setup group and encoder indev */ in test_ranged_mode_adjust_with_encoder()
|
D | test_spinbox.c | 191 /* Setup group and encoder indev */ in test_spinbox_event_key_encoder_indev_turn_right() 206 /* Setup group and encoder indev */ in test_spinbox_event_key_encoder_indev_turn_left() 221 /* Setup group and encoder indev */ in test_spinbox_event_key_encoder_indev_editing_group() 249 /* Setup group and encoder indev */ in test_spinbox_event_key_encoder_indev_editing_group_left_step_direction() 290 /* Setup group and encoder indev */ in test_spinbox_zero_crossing()
|
/lvgl-latest/docs/details/other-components/ |
D | observer.rst | 90 - **Group** ``void lv_subject_init_group(lv_subject_t * subject, lv_subject_t * list[], uint32_t li… 200 this array as a parameter when you initialize a subject with group type. 208 The trick is that when any element of the group is notified the subject group will be notified as w… 219 lv_subject_t subject_all; //It will be the subject group 220 …_t * subject_list[3] = {&subject_mode, &subject_value, &subject_unit}; //The elements of the group
|
/lvgl-latest/examples/libs/rlottie/ |
D | lv_example_rlottie_approve.json | 1 …Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.298039215686,0.686274509804,0.313725490196,1],"ix"…
|
/lvgl-latest/tests/src/test_assets/ |
D | test_lottie_approve.json | 1 …Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.298039215686,0.686274509804,0.313725490196,1],"ix"…
|
/lvgl-latest/examples/widgets/lottie/ |
D | lv_example_lottie_approve.json | 1 …Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.298039215686,0.686274509804,0.313725490196,1],"ix"…
|
/lvgl-latest/examples/others/monkey/ |
D | lv_example_monkey_2.c | 16 /*Set the default group*/ in lv_example_monkey_2() 17 lv_group_t * group = lv_group_create(); in lv_example_monkey_2() local 18 lv_indev_set_group(lv_monkey_get_indev(monkey), group); in lv_example_monkey_2() 19 lv_group_set_default(group); in lv_example_monkey_2()
|
/lvgl-latest/demos/high_res/ |
D | lv_demo_high_res_util.c | 324 lv_subject_init_group(&c->subject_groups.time.group, c->subject_groups.time.members, in lv_demo_high_res_base_obj_create() 329 lv_subject_init_group(&c->subject_groups.date.group, c->subject_groups.date.members, in lv_demo_high_res_base_obj_create() 333 lv_subject_init_group(&c->subject_groups.wifi.group, c->subject_groups.wifi.members, in lv_demo_high_res_base_obj_create() 580 lv_subject_deinit(&c->subject_groups.time.group); in free_ctx_event_cb() 581 lv_subject_deinit(&c->subject_groups.date.group); in free_ctx_event_cb() 582 lv_subject_deinit(&c->subject_groups.wifi.group); in free_ctx_event_cb()
|