Home
last modified time | relevance | path

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

12

/GUIX-v6.2.1/common/src/
Dgx_radial_progress_bar_value_calculate.c80 INT y_dist; in _gx_radial_progress_bar_value_calculate() local
86 y_dist = (INT)(new_position.gx_point_y - info -> gx_radial_progress_bar_info_ycenter); in _gx_radial_progress_bar_value_calculate()
88 dist = (x_dist * x_dist) + (y_dist * y_dist); in _gx_radial_progress_bar_value_calculate()
105 y_dist = GX_FIXED_VAL_MAKE(y_dist) / dist; in _gx_radial_progress_bar_value_calculate()
108 new_value = _gx_utility_math_asin(y_dist); in _gx_radial_progress_bar_value_calculate()
Dgx_radial_slider_angle_calculate.c79 INT y_dist; in _gx_radial_slider_angle_calculate() local
89 y_dist = (INT)(point.gx_point_y - y_center); in _gx_radial_slider_angle_calculate()
91 dist = (x_dist * x_dist) + (y_dist * y_dist); in _gx_radial_slider_angle_calculate()
109 y_dist = (GX_FIXED_VAL_MAKE(y_dist)) / dist; in _gx_radial_slider_angle_calculate()
112 new_value = _gx_utility_math_asin(y_dist); in _gx_radial_slider_angle_calculate()
Dgx_radial_progress_bar_event_process.c87 INT y_dist; in _gx_radial_progress_bar_event_process() local
128 y_dist = (INT)(click -> gx_point_y - info -> gx_radial_progress_bar_info_ycenter); 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.c82 INT y_dist; in test_calculate_line_ends() local
89 y_dist = gx_utility_math_sin(scaled_angle) * LINE_LENGTH; in test_calculate_line_ends()
91 y_dist = GX_FIXED_VAL_TO_INT(y_dist); in test_calculate_line_ends()
95 line_y1 = y_center - y_dist; in test_calculate_line_ends()
96 line_y2 = y_center + y_dist; in test_calculate_line_ends()
Dvalidation_guix_display_driver_alised_wide_line_draw.c82 INT y_dist; in test_calculate_line_ends() local
89 y_dist = gx_utility_math_sin(scaled_angle) * LINE_LENGTH; in test_calculate_line_ends()
91 y_dist = GX_FIXED_VAL_TO_INT(y_dist); in test_calculate_line_ends()
95 line_y1 = y_center - y_dist; in test_calculate_line_ends()
96 line_y2 = y_center + y_dist; in test_calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/lines/
Ddemo_guix_lines.c98 INT y_dist; in calculate_line_ends() local
105 y_dist = gx_utility_math_sin(scaled_angle) * LINE_LENGTH; in calculate_line_ends()
107 y_dist = GX_FIXED_VAL_TO_INT(y_dist); in calculate_line_ends()
111 line_y1 = y_center - y_dist; in calculate_line_ends()
112 line_y2 = y_center + y_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/partial_frame_buffer_16bpp/
Dline_screen.c29 INT y_dist; in calculate_line_ends() local
36 y_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_sin(scaled_angle) * LINE_LENGTH); in calculate_line_ends()
40 line_y1 = y_center - y_dist; in calculate_line_ends()
41 line_y2 = y_center + y_dist; in calculate_line_ends()
/GUIX-v6.2.1/samples/demo_guix_smart_watch/
Dpage_2_clock_3_screen.c90 INT y_dist; in clock_3_screen_draw() local
99 y_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_sin(scaled_angle) * LINE_LENGTH); in clock_3_screen_draw()
106 polygon[0].gx_point_y = y_center - y_dist; in clock_3_screen_draw()
108 polygon[1].gx_point_y = y_center + y_dist; in clock_3_screen_draw()
/GUIX-v6.2.1/test/example_internal/all_widgets_4bpp/
Dline_screen.c29 INT y_dist; in calculate_line_ends() local
36 y_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_sin(scaled_angle) * LINE_WINDOW_LINE_LENGTH); in calculate_line_ends()
40 line_y1 = y_center - y_dist; in calculate_line_ends()
41 line_y2 = y_center + y_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_332rgb/
Dline_screen.c29 INT y_dist; in calculate_line_ends() local
36 y_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_sin(scaled_angle) * LINE_LENGTH); in calculate_line_ends()
40 line_y1 = y_center - y_dist; in calculate_line_ends()
41 line_y2 = y_center + y_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_8bpp_rotated_ccw/
Dlines_screen.c28 INT y_dist; in calculate_line_ends() local
35 y_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_sin(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
39 line_y1 = y_center - y_dist; in calculate_line_ends()
40 line_y2 = y_center + y_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_8bpp_rotated_ccw_binary/
Dlines_screen.c28 INT y_dist; in calculate_line_ends() local
35 y_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_sin(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
39 line_y1 = y_center - y_dist; in calculate_line_ends()
40 line_y2 = y_center + y_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_synergy_8bpp_6_1_3/
Dlines_screen.c27 INT y_dist; in calculate_line_ends() local
34 y_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_sin(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
38 line_y1 = y_center - y_dist; in calculate_line_ends()
39 line_y2 = y_center + y_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_synergy_8bpp/
Dlines_screen.c28 INT y_dist; in calculate_line_ends() local
35 y_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_sin(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
39 line_y1 = y_center - y_dist; in calculate_line_ends()
40 line_y2 = y_center + y_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_synergy_8bpp_rotated_ccw_binary/
Dlines_screen.c28 INT y_dist; in calculate_line_ends() local
35 y_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_sin(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
39 line_y1 = y_center - y_dist; in calculate_line_ends()
40 line_y2 = y_center + y_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_synergy_8bpp_rotated_ccw/
Dlines_screen.c28 INT y_dist; in calculate_line_ends() local
35 y_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_sin(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
39 line_y1 = y_center - y_dist; in calculate_line_ends()
40 line_y2 = y_center + y_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_synergy_8bpp_rotated_cw_binary/
Dlines_screen.c28 INT y_dist; in calculate_line_ends() local
35 y_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_sin(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
39 line_y1 = y_center - y_dist; in calculate_line_ends()
40 line_y2 = y_center + y_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_synergy_8bpp_rotated_cw/
Dlines_screen.c28 INT y_dist; in calculate_line_ends() local
35 y_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_sin(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
39 line_y1 = y_center - y_dist; in calculate_line_ends()
40 line_y2 = y_center + y_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_synergy_8bpp_rotated_cw_dave2d_disabled/
Dlines_screen.c28 INT y_dist; in calculate_line_ends() local
35 y_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_sin(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
39 line_y1 = y_center - y_dist; in calculate_line_ends()
40 line_y2 = y_center + y_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_8bpp_rotated_cw/
Dlines_screen.c28 INT y_dist; in calculate_line_ends() local
35 y_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_sin(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
39 line_y1 = y_center - y_dist; in calculate_line_ends()
40 line_y2 = y_center + y_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_8bpp_rotated_cw_binary/
Dlines_screen.c28 INT y_dist; in calculate_line_ends() local
35 y_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_sin(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
39 line_y1 = y_center - y_dist; in calculate_line_ends()
40 line_y2 = y_center + y_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_synergy_16bpp_rotated_cw_dave2d_disabled/
Dlines_screen.c29 INT y_dist; in calculate_line_ends() local
36 y_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_sin(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
40 line_y1 = y_center - y_dist; in calculate_line_ends()
41 line_y2 = y_center + y_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_synergy_16bpp_rotated_cw_binary/
Dlines_screen.c29 INT y_dist; in calculate_line_ends() local
36 y_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_sin(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
40 line_y1 = y_center - y_dist; in calculate_line_ends()
41 line_y2 = y_center + y_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_synergy_24xrgb_rotated_cw_dave2d_disabled/
Dlines_screen.c28 INT y_dist; in calculate_line_ends() local
35 y_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_sin(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
39 line_y1 = y_center - y_dist; in calculate_line_ends()
40 line_y2 = y_center + y_dist; in calculate_line_ends()
/GUIX-v6.2.1/test/example_internal/all_widgets_synergy_24xrgb_rotated_ccw/
Dlines_screen.c28 INT y_dist; in calculate_line_ends() local
35 y_dist = GX_FIXED_VAL_TO_INT(gx_utility_math_sin(scaled_angle) * lines_screen_line_length); in calculate_line_ends()
39 line_y1 = y_center - y_dist; in calculate_line_ends()
40 line_y2 = y_center + y_dist; in calculate_line_ends()

12