Searched refs:x_dist (Results 1 – 4 of 4) sorted by relevance
80 INT x_dist; in _gx_radial_progress_bar_value_calculate() local86 x_dist = (INT)(new_position.gx_point_x - info -> gx_radial_progress_bar_info_xcenter); in _gx_radial_progress_bar_value_calculate()89 dist = (x_dist * x_dist) + (y_dist * y_dist); in _gx_radial_progress_bar_value_calculate()99 x_dist = GX_FIXED_VAL_MAKE(x_dist) / dist; in _gx_radial_progress_bar_value_calculate()102 new_value = _gx_utility_math_acos(x_dist); in _gx_radial_progress_bar_value_calculate()
79 INT x_dist; in _gx_radial_slider_angle_calculate() local89 x_dist = (INT)(point.gx_point_x - x_center); in _gx_radial_slider_angle_calculate()92 dist = (x_dist * x_dist) + (y_dist * y_dist); in _gx_radial_slider_angle_calculate()103 x_dist = GX_FIXED_VAL_MAKE(x_dist) / dist; in _gx_radial_slider_angle_calculate()106 new_value = _gx_utility_math_acos(x_dist); in _gx_radial_slider_angle_calculate()
87 INT x_dist; in _gx_radial_progress_bar_event_process() local128 x_dist = (INT)(click -> gx_point_x - info -> gx_radial_progress_bar_info_xcenter); in _gx_radial_progress_bar_event_process()131 dist = (x_dist * x_dist) + (y_dist * y_dist); in _gx_radial_progress_bar_event_process()
89 INT x_dist; in clock_3_screen_draw() local98 x_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_cos(scaled_angle) * LINE_LENGTH); in clock_3_screen_draw()105 polygon[0].gx_point_x = x_center - x_dist; in clock_3_screen_draw()107 polygon[1].gx_point_x = x_center + x_dist; in clock_3_screen_draw()