| /GUIX-v6.2.1/common/src/ |
| D | gx_radial_progress_bar_value_calculate.c | 79 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()
|
| D | gx_radial_slider_angle_calculate.c | 78 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()
|
| D | gx_radial_progress_bar_event_process.c | 86 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/ |
| D | validation_guix_lines_565rgb.c | 81 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()
|
| D | validation_guix_display_driver_alised_wide_line_draw.c | 81 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/ |
| D | demo_guix_lines.c | 97 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/ |
| D | line_screen.c | 28 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/ |
| D | page_2_clock_3_screen.c | 89 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/ |
| D | line_screen.c | 28 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/ |
| D | line_screen.c | 28 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/ |
| D | lines_screen.c | 27 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/ |
| D | lines_screen.c | 27 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/ |
| D | lines_screen.c | 26 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/ |
| D | lines_screen.c | 27 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/ |
| D | lines_screen.c | 27 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/ |
| D | lines_screen.c | 27 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/ |
| D | lines_screen.c | 27 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/ |
| D | lines_screen.c | 27 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/ |
| D | lines_screen.c | 27 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/ |
| D | lines_screen.c | 27 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/ |
| D | lines_screen.c | 27 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/ |
| D | lines_screen.c | 28 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/ |
| D | lines_screen.c | 28 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/ |
| D | lines_screen.c | 27 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/ |
| D | lines_screen.c | 27 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()
|