Lines Matching refs:child

37 static void scroll_area_into_view(const lv_area_t * area, lv_obj_t * child, lv_point_t * scroll_val…
142 lv_obj_t * child = obj->spec_attr->children[i]; in lv_obj_get_scroll_bottom() local
143 if(lv_obj_has_flag_any(child, LV_OBJ_FLAG_HIDDEN | LV_OBJ_FLAG_FLOATING)) continue; in lv_obj_get_scroll_bottom()
144 child_res = LV_MAX(child_res, child->coords.y2); in lv_obj_get_scroll_bottom()
183 lv_obj_t * child = obj->spec_attr->children[i]; in lv_obj_get_scroll_left() local
184 if(lv_obj_has_flag_any(child, LV_OBJ_FLAG_HIDDEN | LV_OBJ_FLAG_FLOATING)) continue; in lv_obj_get_scroll_left()
185 x1 = LV_MIN(x1, child->coords.x1); in lv_obj_get_scroll_left()
220 lv_obj_t * child = obj->spec_attr->children[i]; in lv_obj_get_scroll_right() local
221 if(lv_obj_has_flag_any(child, LV_OBJ_FLAG_HIDDEN | LV_OBJ_FLAG_FLOATING)) continue; in lv_obj_get_scroll_right()
222 child_res = LV_MAX(child_res, child->coords.x2); in lv_obj_get_scroll_right()
402 lv_obj_t * child = obj; in lv_obj_scroll_to_view_recursive() local
403 lv_obj_t * parent = lv_obj_get_parent(child); in lv_obj_scroll_to_view_recursive()
405 scroll_area_into_view(&obj->coords, child, &p, anim_en); in lv_obj_scroll_to_view_recursive()
406 child = parent; in lv_obj_scroll_to_view_recursive()
683 static void scroll_area_into_view(const lv_area_t * area, lv_obj_t * child, lv_point_t * scroll_val… in scroll_area_into_view() argument
686 lv_obj_t * parent = lv_obj_get_parent(child); in scroll_area_into_view()
696 if(snap_y != LV_SCROLL_SNAP_NONE) area_tmp = &child->coords; in scroll_area_into_view()
739 if(snap_x != LV_SCROLL_SNAP_NONE) area_tmp = &child->coords; in scroll_area_into_view()