Home
last modified time | relevance | path

Searched refs:x_dist (Results 1 – 4 of 4) sorted by relevance

/GUIX-v6.2.1/common/src/
Dgx_radial_progress_bar_value_calculate.c80 INT x_dist; in _gx_radial_progress_bar_value_calculate() local
86 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()
Dgx_radial_slider_angle_calculate.c79 INT x_dist; in _gx_radial_slider_angle_calculate() local
89 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()
Dgx_radial_progress_bar_event_process.c87 INT x_dist; in _gx_radial_progress_bar_event_process() local
128 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()
/GUIX-v6.2.1/samples/demo_guix_smart_watch/
Dpage_2_clock_3_screen.c89 INT x_dist; in clock_3_screen_draw() local
98 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()