Home
last modified time | relevance | path

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

12

/GUIX-v6.2.1/common/src/
Dgx_radial_progress_bar_value_calculate.c79 INT x_dist; in _gx_radial_progress_bar_value_calculate() local
85 x_dist = (INT)(new_position.gx_point_x - info -> gx_radial_progress_bar_info_xcenter); in _gx_radial_progress_bar_value_calculate()
88 dist = (x_dist * x_dist) + (y_dist * y_dist); in _gx_radial_progress_bar_value_calculate()
98 x_dist = GX_FIXED_VAL_MAKE(x_dist) / dist; in _gx_radial_progress_bar_value_calculate()
101 new_value = _gx_utility_math_acos(x_dist); in _gx_radial_progress_bar_value_calculate()
Dgx_radial_slider_angle_calculate.c78 INT x_dist; in _gx_radial_slider_angle_calculate() local
88 x_dist = (INT)(point.gx_point_x - x_center); in _gx_radial_slider_angle_calculate()
91 dist = (x_dist * x_dist) + (y_dist * y_dist); in _gx_radial_slider_angle_calculate()
102 x_dist = GX_FIXED_VAL_MAKE(x_dist) / dist; in _gx_radial_slider_angle_calculate()
105 new_value = _gx_utility_math_acos(x_dist); in _gx_radial_slider_angle_calculate()
Dgx_radial_progress_bar_event_process.c86 INT x_dist; in _gx_radial_progress_bar_event_process() local
127 x_dist = (INT)(click -> gx_point_x - info -> gx_radial_progress_bar_info_xcenter); in _gx_radial_progress_bar_event_process()
130 dist = (x_dist * x_dist) + (y_dist * y_dist); in _gx_radial_progress_bar_event_process()
/GUIX-v6.2.1/test/guix_test/regression_test/tests/
Dvalidation_guix_lines_565rgb.c81 INT x_dist; in test_calculate_line_ends() local
88 x_dist = gx_utility_math_cos(scaled_angle) * LINE_LENGTH; in test_calculate_line_ends()
90 x_dist = GX_FIXED_VAL_TO_INT(x_dist); in test_calculate_line_ends()
93 line_x1 = x_center - x_dist; in test_calculate_line_ends()
94 line_x2 = x_center + x_dist; in test_calculate_line_ends()
Dvalidation_guix_display_driver_alised_wide_line_draw.c81 INT x_dist; in test_calculate_line_ends() local
88 x_dist = gx_utility_math_cos(scaled_angle) * LINE_LENGTH; in test_calculate_line_ends()
90 x_dist = GX_FIXED_VAL_TO_INT(x_dist); in test_calculate_line_ends()
93 line_x1 = x_center - x_dist; in test_calculate_line_ends()
94 line_x2 = x_center + x_dist; in test_calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/lines/
Ddemo_guix_lines.c97 INT x_dist; in calculate_line_ends() local
104 x_dist = gx_utility_math_cos(scaled_angle) * LINE_LENGTH; in calculate_line_ends()
106 x_dist = GX_FIXED_VAL_TO_INT(x_dist); in calculate_line_ends()
109 line_x1 = x_center - x_dist; in calculate_line_ends()
110 line_x2 = x_center + x_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/partial_frame_buffer_16bpp/
Dline_screen.c28 INT x_dist; in calculate_line_ends() local
35 x_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_cos(scaled_angle) * LINE_LENGTH); in calculate_line_ends()
38 line_x1 = x_center - x_dist; in calculate_line_ends()
39 line_x2 = x_center + x_dist; in calculate_line_ends()
/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()
/GUIX-v6.2.1/test/example_internal/all_widgets_4bpp/
Dline_screen.c28 INT x_dist; in calculate_line_ends() local
35 x_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_cos(scaled_angle) * LINE_WINDOW_LINE_LENGTH); in calculate_line_ends()
38 line_x1 = x_center - x_dist; in calculate_line_ends()
39 line_x2 = x_center + x_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_332rgb/
Dline_screen.c28 INT x_dist; in calculate_line_ends() local
35 x_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_cos(scaled_angle) * LINE_LENGTH); in calculate_line_ends()
38 line_x1 = x_center - x_dist; in calculate_line_ends()
39 line_x2 = x_center + x_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_8bpp_rotated_ccw/
Dlines_screen.c27 INT x_dist; in calculate_line_ends() local
34 x_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_cos(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
37 line_x1 = x_center - x_dist; in calculate_line_ends()
38 line_x2 = x_center + x_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_8bpp_rotated_ccw_binary/
Dlines_screen.c27 INT x_dist; in calculate_line_ends() local
34 x_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_cos(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
37 line_x1 = x_center - x_dist; in calculate_line_ends()
38 line_x2 = x_center + x_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_synergy_8bpp_6_1_3/
Dlines_screen.c26 INT x_dist; in calculate_line_ends() local
33 x_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_cos(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
36 line_x1 = x_center - x_dist; in calculate_line_ends()
37 line_x2 = x_center + x_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_synergy_8bpp/
Dlines_screen.c27 INT x_dist; in calculate_line_ends() local
34 x_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_cos(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
37 line_x1 = x_center - x_dist; in calculate_line_ends()
38 line_x2 = x_center + x_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_synergy_8bpp_rotated_ccw_binary/
Dlines_screen.c27 INT x_dist; in calculate_line_ends() local
34 x_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_cos(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
37 line_x1 = x_center - x_dist; in calculate_line_ends()
38 line_x2 = x_center + x_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_synergy_8bpp_rotated_ccw/
Dlines_screen.c27 INT x_dist; in calculate_line_ends() local
34 x_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_cos(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
37 line_x1 = x_center - x_dist; in calculate_line_ends()
38 line_x2 = x_center + x_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_synergy_8bpp_rotated_cw_binary/
Dlines_screen.c27 INT x_dist; in calculate_line_ends() local
34 x_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_cos(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
37 line_x1 = x_center - x_dist; in calculate_line_ends()
38 line_x2 = x_center + x_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_synergy_8bpp_rotated_cw/
Dlines_screen.c27 INT x_dist; in calculate_line_ends() local
34 x_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_cos(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
37 line_x1 = x_center - x_dist; in calculate_line_ends()
38 line_x2 = x_center + x_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_synergy_8bpp_rotated_cw_dave2d_disabled/
Dlines_screen.c27 INT x_dist; in calculate_line_ends() local
34 x_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_cos(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
37 line_x1 = x_center - x_dist; in calculate_line_ends()
38 line_x2 = x_center + x_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_8bpp_rotated_cw/
Dlines_screen.c27 INT x_dist; in calculate_line_ends() local
34 x_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_cos(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
37 line_x1 = x_center - x_dist; in calculate_line_ends()
38 line_x2 = x_center + x_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_8bpp_rotated_cw_binary/
Dlines_screen.c27 INT x_dist; in calculate_line_ends() local
34 x_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_cos(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
37 line_x1 = x_center - x_dist; in calculate_line_ends()
38 line_x2 = x_center + x_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_synergy_16bpp_rotated_cw_dave2d_disabled/
Dlines_screen.c28 INT x_dist; in calculate_line_ends() local
35 x_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_cos(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
38 line_x1 = x_center - x_dist; in calculate_line_ends()
39 line_x2 = x_center + x_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_synergy_16bpp_rotated_cw_binary/
Dlines_screen.c28 INT x_dist; in calculate_line_ends() local
35 x_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_cos(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
38 line_x1 = x_center - x_dist; in calculate_line_ends()
39 line_x2 = x_center + x_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_synergy_24xrgb_rotated_cw_dave2d_disabled/
Dlines_screen.c27 INT x_dist; in calculate_line_ends() local
34 x_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_cos(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
37 line_x1 = x_center - x_dist; in calculate_line_ends()
38 line_x2 = x_center + x_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_synergy_24xrgb_rotated_ccw/
Dlines_screen.c27 INT x_dist; in calculate_line_ends() local
34 x_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_cos(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
37 line_x1 = x_center - x_dist; in calculate_line_ends()
38 line_x2 = x_center + x_dist; in calculate_line_ends()

12