Lines Matching refs:child
465 lv_obj_t * child = obj->spec_attr->children[i]; in find_snap_point_x() local
466 if(lv_obj_has_flag_any(child, LV_OBJ_FLAG_HIDDEN | LV_OBJ_FLAG_FLOATING)) continue; in find_snap_point_x()
467 if(lv_obj_has_flag(child, LV_OBJ_FLAG_SNAPPABLE)) { in find_snap_point_x()
472 x_child = child->coords.x1; in find_snap_point_x()
476 x_child = child->coords.x2; in find_snap_point_x()
480 x_child = child->coords.x1 + lv_area_get_width(&child->coords) / 2; in find_snap_point_x()
520 lv_obj_t * child = obj->spec_attr->children[i]; in find_snap_point_y() local
521 if(lv_obj_has_flag_any(child, LV_OBJ_FLAG_HIDDEN | LV_OBJ_FLAG_FLOATING)) continue; in find_snap_point_y()
522 if(lv_obj_has_flag(child, LV_OBJ_FLAG_SNAPPABLE)) { in find_snap_point_y()
527 y_child = child->coords.y1; in find_snap_point_y()
531 y_child = child->coords.y2; in find_snap_point_y()
535 y_child = child->coords.y1 + lv_area_get_height(&child->coords) / 2; in find_snap_point_y()