Lines Matching refs:txt_area
1377 lv_area_t txt_area; in slider_event_cb() local
1380 … txt_area.x1 = draw_task_area.x1 + lv_area_get_width(&draw_task_area) / 2 - text_size.x / 2; in slider_event_cb()
1381 txt_area.x2 = txt_area.x1 + text_size.x; in slider_event_cb()
1382 txt_area.y2 = draw_task_area.y1 - 10; in slider_event_cb()
1383 txt_area.y1 = txt_area.y2 - text_size.y; in slider_event_cb()
1386 bg_area.x1 = txt_area.x1 - LV_DPX(8); in slider_event_cb()
1387 bg_area.x2 = txt_area.x2 + LV_DPX(8); in slider_event_cb()
1388 bg_area.y1 = txt_area.y1 - LV_DPX(8); in slider_event_cb()
1389 bg_area.y2 = txt_area.y2 + LV_DPX(8); in slider_event_cb()
1403 lv_draw_label(draw_rect_dsc->base.layer, &label_dsc, &txt_area); in slider_event_cb()
1513 lv_area_t txt_area; in chart_event_cb() local
1516 txt_area.y2 = draw_task_area.y1 - LV_DPX(15); in chart_event_cb()
1517 txt_area.y1 = txt_area.y2 - text_size.y; in chart_event_cb()
1518 … txt_area.x1 = draw_task_area.x1 + (lv_area_get_width(&draw_task_area) - text_size.x) / 2; in chart_event_cb()
1519 txt_area.x2 = txt_area.x1 + text_size.x; in chart_event_cb()
1522 bg_area.x1 = txt_area.x1 - LV_DPX(8); in chart_event_cb()
1523 bg_area.x2 = txt_area.x2 + LV_DPX(8); in chart_event_cb()
1524 bg_area.y1 = txt_area.y1 - LV_DPX(8); in chart_event_cb()
1525 bg_area.y2 = txt_area.y2 + LV_DPX(8); in chart_event_cb()
1539 lv_draw_label(base_dsc->layer, &label_dsc, &txt_area); in chart_event_cb()