Lines Matching refs:coords
485 int32_t label_y_prop = label->coords.y1 - (roller_h / 2 + in draw_main()
486 … obj->coords.y1); /*label offset from the middle line of the roller*/ in draw_main()
496 int32_t label_sel_y = roller_h / 2 + obj->coords.y1; in draw_main()
506 label_sel_area.x1 = obj->coords.x1 + pleft + bwidth; in draw_main()
508 label_sel_area.x2 = obj->coords.x2 - pright - bwidth; in draw_main()
538 if(!_lv_area_intersect(&roller_clip_area, draw_ctx->clip_area, &roller->coords)) return; in draw_label()
545 clip2.x1 = label_obj->coords.x1; in draw_label()
546 clip2.y1 = label_obj->coords.y1; in draw_label()
547 clip2.x2 = label_obj->coords.x2; in draw_label()
552 … lv_draw_label(draw_ctx, &label_draw_dsc, &label_obj->coords, lv_label_get_text(label_obj), NULL); in draw_label()
556 clip2.x1 = label_obj->coords.x1; in draw_label()
558 clip2.x2 = label_obj->coords.x2; in draw_label()
559 clip2.y2 = label_obj->coords.y2; in draw_label()
563 … lv_draw_label(draw_ctx, &label_draw_dsc, &label_obj->coords, lv_label_get_text(label_obj), NULL); in draw_label()
579 sel_area->y1 = obj->coords.y1 + lv_obj_get_height(obj) / 2 - d / 2; in get_sel_area()
677 p.y -= label->coords.y1; in release_handler()
678 p.x -= label->coords.x1; in release_handler()
702 lv_coord_t mid = obj->coords.y1 + (obj->coords.y2 - obj->coords.y1) / 2; in release_handler()
703 … lv_coord_t label_y1 = label->coords.y1 + lv_indev_scroll_throw_predict(indev, LV_DIR_VER); in release_handler()