Lines Matching refs:x
510 p[0].x = cx + (r * _lv_trigo_sin(i) >> LV_TRIGO_SHIFT); in draw_disc_grad()
512 p[1].x = cx + ((r - cir_w_extra) * _lv_trigo_sin(i) >> LV_TRIGO_SHIFT); in draw_disc_grad()
653 knob_area.x1 = cpicker->coords.x1 + ext->knob.pos.x - r - left; in get_knob_area()
655 knob_area.x2 = cpicker->coords.x1 + ext->knob.pos.x + r + top; in get_knob_area()
781 p.x = cpicker->coords.x1 + lv_obj_get_width(cpicker) / 2; in lv_cpicker_signal()
788 if((LV_MATH_ABS(p.x - ext->last_press_point.x) > indev->driver.drag_limit / 2) || in lv_cpicker_signal()
791 ext->last_press_point.x = p.x; in lv_cpicker_signal()
795 p.x -= cpicker->coords.x1; in lv_cpicker_signal()
812 angle = (p.x * 360) / w; in lv_cpicker_signal()
821 p.x -= r_in; in lv_cpicker_signal()
832 if(p.x * p.x + p.y * p.y < r_in * r_in) { in lv_cpicker_signal()
847 angle = _lv_atan2(p.x, p.y) % 360; in lv_cpicker_signal()
952 ext->knob.pos.x = ind_pos; in refr_knob_pos()
959 ext->knob.pos.x = (((int32_t)r * _lv_trigo_sin(angle)) >> LV_TRIGO_SHIFT); in refr_knob_pos()
961 ext->knob.pos.x = ext->knob.pos.x + w / 2; in refr_knob_pos()