/GUIX-v6.4.1/common/src/ |
D | gx_utility_math_sin.c | 207 angle += GX_FIXED_VAL_MAKE(360); in _gx_utility_math_sin() 209 while (angle > GX_FIXED_VAL_MAKE(360)) in _gx_utility_math_sin() 211 angle -= GX_FIXED_VAL_MAKE(360); in _gx_utility_math_sin() 214 if (angle <= GX_FIXED_VAL_MAKE(90)) in _gx_utility_math_sin() 218 else if (angle <= GX_FIXED_VAL_MAKE(180)) in _gx_utility_math_sin() 220 angle = GX_FIXED_VAL_MAKE(180) - angle; in _gx_utility_math_sin() 223 else if (angle <= GX_FIXED_VAL_MAKE(270)) in _gx_utility_math_sin() 225 angle -= GX_FIXED_VAL_MAKE(180); in _gx_utility_math_sin() 230 angle = GX_FIXED_VAL_MAKE(360) - angle; in _gx_utility_math_sin() 239 sine = GX_FIXED_VAL_MAKE(y_sign); in _gx_utility_math_sin() [all …]
|
D | gx_display_driver_generic_wide_line_points_calculate.c | 113 …istance = (GX_FIXED_VAL)_gx_utility_math_sqrt((UINT)(GX_FIXED_VAL_MAKE(dx * dx) + GX_FIXED_VAL_MAK… in _gx_display_driver_generic_wide_line_points_calculate() 115 brush_distance = GX_FIXED_VAL_MAKE(brush_width - 1); in _gx_display_driver_generic_wide_line_points_calculate() 155 FixedPoints[LineDirection[0]].x = GX_FIXED_VAL_MAKE(xStart) - xside; in _gx_display_driver_generic_wide_line_points_calculate() 156 FixedPoints[LineDirection[0]].y = GX_FIXED_VAL_MAKE(yStart) + yside; in _gx_display_driver_generic_wide_line_points_calculate() 157 FixedPoints[LineDirection[1]].x = GX_FIXED_VAL_MAKE(xStart) + xside; in _gx_display_driver_generic_wide_line_points_calculate() 158 FixedPoints[LineDirection[1]].y = GX_FIXED_VAL_MAKE(yStart) - yside; in _gx_display_driver_generic_wide_line_points_calculate() 159 FixedPoints[LineDirection[2]].x = GX_FIXED_VAL_MAKE(xEnd) + xside; in _gx_display_driver_generic_wide_line_points_calculate() 160 FixedPoints[LineDirection[2]].y = GX_FIXED_VAL_MAKE(yEnd) - yside; in _gx_display_driver_generic_wide_line_points_calculate() 161 FixedPoints[LineDirection[3]].x = GX_FIXED_VAL_MAKE(xEnd) - xside; in _gx_display_driver_generic_wide_line_points_calculate() 162 FixedPoints[LineDirection[3]].y = GX_FIXED_VAL_MAKE(yEnd) + yside; in _gx_display_driver_generic_wide_line_points_calculate()
|
D | gx_display_driver_generic_simple_wide_line_draw.c | 108 sxcenter = GX_FIXED_VAL_MAKE(xstart); in _gx_display_driver_generic_simple_wide_line_draw() 109 sycenter = GX_FIXED_VAL_MAKE(ystart); in _gx_display_driver_generic_simple_wide_line_draw() 110 excenter = GX_FIXED_VAL_MAKE(xend); in _gx_display_driver_generic_simple_wide_line_draw() 111 eycenter = GX_FIXED_VAL_MAKE(yend); in _gx_display_driver_generic_simple_wide_line_draw() 130 GX_FIXED_VAL_MAKE(brush_width) >> 1); in _gx_display_driver_generic_simple_wide_line_draw() 133 GX_FIXED_VAL_MAKE(brush_width) >> 1); in _gx_display_driver_generic_simple_wide_line_draw()
|
D | gx_display_driver_generic_aliased_wide_line_draw.c | 116 sxcenter = GX_FIXED_VAL_MAKE(xstart); in _gx_display_driver_generic_aliased_wide_line_draw() 117 sycenter = GX_FIXED_VAL_MAKE(ystart); in _gx_display_driver_generic_aliased_wide_line_draw() 118 excenter = GX_FIXED_VAL_MAKE(xend); in _gx_display_driver_generic_aliased_wide_line_draw() 119 eycenter = GX_FIXED_VAL_MAKE(yend); in _gx_display_driver_generic_aliased_wide_line_draw() 138 GX_FIXED_VAL_MAKE(brush_width) >> 1); in _gx_display_driver_generic_aliased_wide_line_draw() 141 GX_FIXED_VAL_MAKE(brush_width) >> 1); in _gx_display_driver_generic_aliased_wide_line_draw()
|
D | gx_display_driver_generic_filled_circle_draw.c | 111 y = GX_FIXED_VAL_MAKE(y) - yfraction; in _gx_display_driver_generic_filled_circle_draw() 134 decision += 2 * (x - y) + GX_FIXED_VAL_MAKE(3); in _gx_display_driver_generic_filled_circle_draw() 171 x = GX_FIXED_VAL_MAKE(x) - xfraction; in _gx_display_driver_generic_filled_circle_draw() 201 decision += 2 * (y - x) + GX_FIXED_VAL_MAKE(3); in _gx_display_driver_generic_filled_circle_draw()
|
/GUIX-v6.4.1/test/guix_test/regression_test/tests/ |
D | validation_guix_display_driver_aliased_fixed_point_line_draw.c | 101 xend = GX_FIXED_VAL_MAKE(size->gx_rectangle_left + 10); in test_line_win_draw() 102 yend = GX_FIXED_VAL_MAKE(size->gx_rectangle_bottom - 10); in test_line_win_draw() 103 xstart = xend + GX_FIXED_VAL_MAKE(50); in test_line_win_draw() 104 ystart = yend - GX_FIXED_VAL_MAKE(70); in test_line_win_draw() 107 xend += GX_FIXED_VAL_MAKE(10); in test_line_win_draw() 108 xstart = xend + GX_FIXED_VAL_MAKE(1); in test_line_win_draw() 109 ystart = yend + GX_FIXED_VAL_MAKE(1); in test_line_win_draw() 112 xend += GX_FIXED_VAL_MAKE(10) + (GX_FIXED_VAL_MAKE(1) >> 1); in test_line_win_draw() 113 xstart = xend + GX_FIXED_VAL_MAKE(1); in test_line_win_draw() 114 ystart = yend + GX_FIXED_VAL_MAKE(1); in test_line_win_draw()
|
D | validation_guix_display_driver_aliased_filled_circle_draw.c | 89 xcenter = GX_FIXED_VAL_MAKE((size->gx_rectangle_left + size->gx_rectangle_right) >> 1); in test_filled_circle_draw() 90 ycenter = GX_FIXED_VAL_MAKE((size->gx_rectangle_top + size->gx_rectangle_bottom) >> 1); in test_filled_circle_draw() 91 r = GX_FIXED_VAL_MAKE(100); in test_filled_circle_draw()
|
/GUIX-v6.4.1/test/example_internal/line_chart/ |
D | demo_guix_chart.c | 118 step = GX_FIXED_VAL_MAKE(step); in test_line_chart_scale_draw() 122 offset = GX_FIXED_VAL_MAKE(chart_bound.gx_rectangle_left); in test_line_chart_scale_draw() 178 step = GX_FIXED_VAL_MAKE(step); in test_line_chart_grid_draw() 183 offset = GX_FIXED_VAL_MAKE(chart_bound.gx_rectangle_left) + step; in test_line_chart_grid_draw() 199 step = GX_FIXED_VAL_MAKE(step); in test_line_chart_grid_draw() 203 offset = GX_FIXED_VAL_MAKE(chart_bound.gx_rectangle_bottom) - step; in test_line_chart_grid_draw()
|
/GUIX-v6.4.1/tutorials/demo_guix_generic_scroll_wheel/ |
D | demo_guix_generic_scroll_wheel.c | 224 GX_FIXED_VAL_MAKE(1), /* The rate of start speed to flick speed. */ in generic_scroll_wheel_children_create() 225 GX_FIXED_VAL_MAKE(1) / 5, /* The rate of end speed to flick speed. */ in generic_scroll_wheel_children_create() 229 …gx_scroll_wheel_speed_set((GX_SCROLL_WHEEL *)wrap_wheel, GX_FIXED_VAL_MAKE(1), GX_FIXED_VAL_MAKE(1… in generic_scroll_wheel_children_create()
|
/GUIX-v6.4.1/test/example_internal/generic_scroll_wheel/ |
D | demo_guix_generic_scroll_wheel.c | 193 GX_FIXED_VAL_MAKE(1), /* The rate of start speed to flick speed. */ in widget_scroll_wheel_init() 194 GX_FIXED_VAL_MAKE(1) / 5, /* The rate of end speed to flick speed. */ in widget_scroll_wheel_init() 198 gx_scroll_wheel_speed_set(wrap_wheel, GX_FIXED_VAL_MAKE(1), GX_FIXED_VAL_MAKE(1) / 2, 10, 2); in widget_scroll_wheel_init()
|
/GUIX-v6.4.1/test/example_internal/all_widgets_synergy_16bpp_rotated_cw_binary/ |
D | scroll_wheel_screen.c | 96 gx_scroll_wheel_speed_set(day_wheel, GX_FIXED_VAL_MAKE(1), 100, 10, 2); in animation_speed_set() 97 gx_scroll_wheel_speed_set(month_wheel, (GX_FIXED_VAL_MAKE(1) / 2), 100, 10, 2); in animation_speed_set() 98 gx_scroll_wheel_speed_set(year_wheel, GX_FIXED_VAL_MAKE(2), 100, 10, 2); in animation_speed_set()
|
/GUIX-v6.4.1/test/example_internal/all_widgets_synergy_8bpp_6_1_3/ |
D | scroll_wheel_screen.c | 96 gx_scroll_wheel_speed_set(day_wheel, GX_FIXED_VAL_MAKE(1), 100, 10, 2); in animation_speed_set() 97 gx_scroll_wheel_speed_set(month_wheel, (GX_FIXED_VAL_MAKE(1) / 2), 100, 10, 2); in animation_speed_set() 98 gx_scroll_wheel_speed_set(year_wheel, GX_FIXED_VAL_MAKE(2), 100, 10, 2); in animation_speed_set()
|
/GUIX-v6.4.1/test/example_internal/all_widgets_synergy_8bpp_rotated_cw_binary/ |
D | scroll_wheel_screen.c | 96 gx_scroll_wheel_speed_set(day_wheel, GX_FIXED_VAL_MAKE(1), 100, 10, 2); in animation_speed_set() 97 gx_scroll_wheel_speed_set(month_wheel, (GX_FIXED_VAL_MAKE(1) / 2), 100, 10, 2); in animation_speed_set() 98 gx_scroll_wheel_speed_set(year_wheel, GX_FIXED_VAL_MAKE(2), 100, 10, 2); in animation_speed_set()
|
/GUIX-v6.4.1/test/example_internal/all_widgets_synergy_8bpp_rotated_cw_dave2d_disabled/ |
D | scroll_wheel_screen.c | 96 gx_scroll_wheel_speed_set(day_wheel, GX_FIXED_VAL_MAKE(1), 100, 10, 2); in animation_speed_set() 97 gx_scroll_wheel_speed_set(month_wheel, (GX_FIXED_VAL_MAKE(1) / 2), 100, 10, 2); in animation_speed_set() 98 gx_scroll_wheel_speed_set(year_wheel, GX_FIXED_VAL_MAKE(2), 100, 10, 2); in animation_speed_set()
|
/GUIX-v6.4.1/test/example_internal/all_widgets_synergy_24xrgb_rotated_cw/ |
D | scroll_wheel_screen.c | 96 gx_scroll_wheel_speed_set(day_wheel, GX_FIXED_VAL_MAKE(1), 100, 10, 2); in animation_speed_set() 97 gx_scroll_wheel_speed_set(month_wheel, (GX_FIXED_VAL_MAKE(1) / 2), 100, 10, 2); in animation_speed_set() 98 gx_scroll_wheel_speed_set(year_wheel, GX_FIXED_VAL_MAKE(2), 100, 10, 2); in animation_speed_set()
|
/GUIX-v6.4.1/test/example_internal/all_widgets_synergy_24xrgb_rotated_cw_binary/ |
D | scroll_wheel_screen.c | 93 gx_scroll_wheel_speed_set(day_wheel, GX_FIXED_VAL_MAKE(1), 100, 10, 2); in animation_speed_set() 94 gx_scroll_wheel_speed_set(month_wheel, (GX_FIXED_VAL_MAKE(1) / 2), 100, 10, 2); in animation_speed_set() 95 gx_scroll_wheel_speed_set(year_wheel, GX_FIXED_VAL_MAKE(2), 100, 10, 2); in animation_speed_set()
|
/GUIX-v6.4.1/test/example_internal/all_widgets_synergy_24xrgb_rotated_ccw/ |
D | scroll_wheel_screen.c | 96 gx_scroll_wheel_speed_set(day_wheel, GX_FIXED_VAL_MAKE(1), 100, 10, 2); in animation_speed_set() 97 gx_scroll_wheel_speed_set(month_wheel, (GX_FIXED_VAL_MAKE(1) / 2), 100, 10, 2); in animation_speed_set() 98 gx_scroll_wheel_speed_set(year_wheel, GX_FIXED_VAL_MAKE(2), 100, 10, 2); in animation_speed_set()
|
/GUIX-v6.4.1/test/example_internal/all_widgets_synergy_24xrgb_rotated_ccw_binary/ |
D | scroll_wheel_screen.c | 93 gx_scroll_wheel_speed_set(day_wheel, GX_FIXED_VAL_MAKE(1), 100, 10, 2); in animation_speed_set() 94 gx_scroll_wheel_speed_set(month_wheel, (GX_FIXED_VAL_MAKE(1) / 2), 100, 10, 2); in animation_speed_set() 95 gx_scroll_wheel_speed_set(year_wheel, GX_FIXED_VAL_MAKE(2), 100, 10, 2); in animation_speed_set()
|
/GUIX-v6.4.1/test/example_internal/all_widgets_synergy_8bpp_rotated_cw/ |
D | scroll_wheel_screen.c | 96 gx_scroll_wheel_speed_set(day_wheel, GX_FIXED_VAL_MAKE(1), 100, 10, 2); in animation_speed_set() 97 gx_scroll_wheel_speed_set(month_wheel, (GX_FIXED_VAL_MAKE(1) / 2), 100, 10, 2); in animation_speed_set() 98 gx_scroll_wheel_speed_set(year_wheel, GX_FIXED_VAL_MAKE(2), 100, 10, 2); in animation_speed_set()
|
/GUIX-v6.4.1/test/example_internal/all_widgets_synergy_8bpp/ |
D | scroll_wheel_screen.c | 96 gx_scroll_wheel_speed_set(day_wheel, GX_FIXED_VAL_MAKE(1), 100, 10, 2); in animation_speed_set() 97 gx_scroll_wheel_speed_set(month_wheel, (GX_FIXED_VAL_MAKE(1) / 2), 100, 10, 2); in animation_speed_set() 98 gx_scroll_wheel_speed_set(year_wheel, GX_FIXED_VAL_MAKE(2), 100, 10, 2); in animation_speed_set()
|
/GUIX-v6.4.1/test/example_internal/all_widgets_synergy_24xrgb_rotated_cw_dave2d_disabled/ |
D | scroll_wheel_screen.c | 96 gx_scroll_wheel_speed_set(day_wheel, GX_FIXED_VAL_MAKE(1), 100, 10, 2); in animation_speed_set() 97 gx_scroll_wheel_speed_set(month_wheel, (GX_FIXED_VAL_MAKE(1) / 2), 100, 10, 2); in animation_speed_set() 98 gx_scroll_wheel_speed_set(year_wheel, GX_FIXED_VAL_MAKE(2), 100, 10, 2); in animation_speed_set()
|
/GUIX-v6.4.1/test/example_internal/all_widgets_synergy_8bpp_rotated_ccw/ |
D | scroll_wheel_screen.c | 96 gx_scroll_wheel_speed_set(day_wheel, GX_FIXED_VAL_MAKE(1), 100, 10, 2); in animation_speed_set() 97 gx_scroll_wheel_speed_set(month_wheel, (GX_FIXED_VAL_MAKE(1) / 2), 100, 10, 2); in animation_speed_set() 98 gx_scroll_wheel_speed_set(year_wheel, GX_FIXED_VAL_MAKE(2), 100, 10, 2); in animation_speed_set()
|
/GUIX-v6.4.1/test/example_internal/all_widgets_5_3_4/ |
D | scroll_wheel_screen.c | 102 gx_scroll_wheel_speed_set(day_wheel, GX_FIXED_VAL_MAKE(1), 100, 10, 2); in animation_speed_set() 103 gx_scroll_wheel_speed_set(month_wheel, (GX_FIXED_VAL_MAKE(1) / 2), 100, 10, 2); in animation_speed_set() 104 gx_scroll_wheel_speed_set(year_wheel, GX_FIXED_VAL_MAKE(2), 100, 10, 2); in animation_speed_set()
|
/GUIX-v6.4.1/test/example_internal/all_widgets_synergy_8bpp_rotated_ccw_binary/ |
D | scroll_wheel_screen.c | 95 gx_scroll_wheel_speed_set(day_wheel, GX_FIXED_VAL_MAKE(1), 100, 10, 2); in animation_speed_set() 96 gx_scroll_wheel_speed_set(month_wheel, (GX_FIXED_VAL_MAKE(1) / 2), 100, 10, 2); in animation_speed_set() 97 gx_scroll_wheel_speed_set(year_wheel, GX_FIXED_VAL_MAKE(2), 100, 10, 2); in animation_speed_set()
|
/GUIX-v6.4.1/test/example_internal/all_widgets_8bpp_rotated_ccw/ |
D | scroll_wheel_screen.c | 96 gx_scroll_wheel_speed_set(day_wheel, GX_FIXED_VAL_MAKE(1), 100, 10, 2); in animation_speed_set() 97 gx_scroll_wheel_speed_set(month_wheel, (GX_FIXED_VAL_MAKE(1) / 2), 100, 10, 2); in animation_speed_set() 98 gx_scroll_wheel_speed_set(year_wheel, GX_FIXED_VAL_MAKE(2), 100, 10, 2); in animation_speed_set()
|