Home
last modified time | relevance | path

Searched refs:y_shift (Results 1 – 25 of 29) sorted by relevance

12

/GUIX-v6.2.1/common/src/
Dgx_animation_slide_landing.c89 INT y_shift = 0; in _gx_animation_slide_landing() local
153 animation -> gx_animation_total_steps, &y_shift); in _gx_animation_slide_landing()
155 y_shift -= target_size.gx_rectangle_top; in _gx_animation_slide_landing()
173 y_shift = -animation -> gx_animation_landing_speed; in _gx_animation_slide_landing()
177 y_shift = animation -> gx_animation_landing_speed; in _gx_animation_slide_landing()
185 …((y_shift < 0) && ((GX_VALUE)(target_size.gx_rectangle_top + y_shift) > parent -> gx_widget_size.g… in _gx_animation_slide_landing()
186 …((y_shift > 0) && ((GX_VALUE)(target_size.gx_rectangle_top + y_shift) < parent -> gx_widget_size.g… in _gx_animation_slide_landing()
192 … (GX_VALUE)(animation -> gx_animation_canvas -> gx_canvas_display_offset_y + y_shift)); in _gx_animation_slide_landing()
200 _gx_widget_scroll_shift(target_1, (GX_VALUE)x_shift, (GX_VALUE)y_shift, GX_TRUE); in _gx_animation_slide_landing()
204 … _gx_widget_scroll_shift(target_2, (GX_VALUE)x_shift, (GX_VALUE)y_shift, GX_TRUE); in _gx_animation_slide_landing()
[all …]
Dgx_widget_shift.c81 static VOID _gx_widget_shift_helper(GX_WIDGET *widget, GX_VALUE x_shift, GX_VALUE y_shift, GX_BOOL … in _gx_widget_shift_helper() argument
89 _gx_utility_rectangle_shift(&newsize, x_shift, y_shift); in _gx_widget_shift_helper()
106 _gx_utility_rectangle_shift(&win -> gx_window_client, x_shift, y_shift); in _gx_widget_shift_helper()
173 UINT _gx_widget_shift(GX_WIDGET *widget, GX_VALUE x_shift, GX_VALUE y_shift, GX_BOOL mark_dirty) in _gx_widget_shift() argument
177 if (x_shift == 0 && y_shift == 0) in _gx_widget_shift()
182 _gx_widget_shift_helper(widget, x_shift, y_shift, mark_dirty); in _gx_widget_shift()
191 _gx_widget_shift_helper(child, x_shift, y_shift, GX_FALSE); in _gx_widget_shift()
Dgx_scroll_wheel_scroll.c78 INT y_shift; in _gx_scroll_wheel_scroll() local
84 y_shift = wheel -> gx_scroll_wheel_selected_yshift + shift; in _gx_scroll_wheel_scroll()
89 y_shift = wheel -> gx_scroll_wheel_selected_yshift + shift; in _gx_scroll_wheel_scroll()
95 if ((y_shift < min_shift) || (y_shift > max_shift)) in _gx_scroll_wheel_scroll()
Dgx_canvas_block_move.c85 UINT _gx_canvas_block_move(GX_RECTANGLE *block, GX_VALUE x_shift, GX_VALUE y_shift, GX_RECTANGLE *d… in _gx_canvas_block_move() argument
126 display -> gx_display_driver_block_move(context, block, x_shift, y_shift); in _gx_canvas_block_move()
154 if (y_shift > 0) in _gx_canvas_block_move()
156 dirty -> gx_rectangle_bottom = (GX_VALUE)(dirty -> gx_rectangle_top + y_shift - 1); in _gx_canvas_block_move()
160 dirty -> gx_rectangle_top = (GX_VALUE)(dirty -> gx_rectangle_bottom + y_shift + 1); in _gx_canvas_block_move()
Dgx_generic_scroll_wheel_scroll.c90 INT y_shift; in _gx_generic_scroll_wheel_scroll() local
104 y_shift = wheel -> gx_scroll_wheel_selected_yshift + shift; in _gx_generic_scroll_wheel_scroll()
109 if ((y_shift < min_shift) || (y_shift > max_shift)) in _gx_generic_scroll_wheel_scroll()
Dgx_utility_rectangle_shift.c74 UINT _gx_utility_rectangle_shift(GX_RECTANGLE *rectangle, GX_VALUE x_shift, GX_VALUE y_shift) in _gx_utility_rectangle_shift() argument
77 rectangle -> gx_rectangle_top = (GX_VALUE)(rectangle -> gx_rectangle_top + y_shift); in _gx_utility_rectangle_shift()
79 rectangle -> gx_rectangle_bottom = (GX_VALUE)(rectangle -> gx_rectangle_bottom + y_shift); in _gx_utility_rectangle_shift()
Dgx_widget_block_move.c82 UINT _gx_widget_block_move(GX_WIDGET *widget, GX_RECTANGLE *block, INT x_shift, INT y_shift) in _gx_widget_block_move() argument
109 if ((GX_ABS(x_shift) >= width) || (GX_ABS(y_shift) >= height)) in _gx_widget_block_move()
117 status = _gx_canvas_block_move(block, (GX_VALUE)x_shift, (GX_VALUE)y_shift, &dirty); in _gx_widget_block_move()
Dgxe_utility_rectangle_shift.c74 UINT _gxe_utility_rectangle_shift(GX_RECTANGLE *rectangle, GX_VALUE x_shift, GX_VALUE y_shift) in _gxe_utility_rectangle_shift() argument
83 return(_gx_utility_rectangle_shift(rectangle, x_shift, y_shift)); in _gxe_utility_rectangle_shift()
Dgxe_canvas_block_move.c77 UINT _gxe_canvas_block_move(GX_RECTANGLE *block, GX_VALUE x_shift, GX_VALUE y_shift, GX_RECTANGLE *… in _gxe_canvas_block_move() argument
91 status = _gx_canvas_block_move(block, x_shift, y_shift, dirty); in _gxe_canvas_block_move()
Dgxe_widget_shift.c77 UINT _gxe_widget_shift(GX_WIDGET *widget, GX_VALUE x_shift, GX_VALUE y_shift, GX_BOOL mark_dirty) in _gxe_widget_shift() argument
97 status = _gx_widget_shift(widget, x_shift, y_shift, mark_dirty); in _gxe_widget_shift()
Dgxe_widget_block_move.c76 UINT _gxe_widget_block_move(GX_WIDGET *widget, GX_RECTANGLE *block, INT x_shift, INT y_shift) in _gxe_widget_block_move() argument
103 status = _gx_widget_block_move(widget, block, x_shift, y_shift); in _gxe_widget_block_move()
Dgx_accordion_menu_event_process.c579 GX_VALUE y_shift; in _gx_accordion_menu_pen_up_event_process() local
606y_shift = (GX_VALUE)(child -> gx_widget_size.gx_rectangle_bottom + 1 - menu_list -> gx_widget_size… in _gx_accordion_menu_pen_up_event_process()
609 if (x_shift || y_shift) in _gx_accordion_menu_pen_up_event_process()
611 _gx_widget_shift((GX_WIDGET *)menu_list, x_shift, y_shift, GX_FALSE); in _gx_accordion_menu_pen_up_event_process()
/GUIX-v6.2.1/test/guix_test/regression_test/tests/
Dvalidation_guix_all_widgets_1bpp_block_move.c64 INT y_shift; member
99 …t->window, &test->window->gx_window_client, width * test->x_shift / 2, height * test->y_shift / 2); in control_thread_entry()
101 if(GX_ABS(test->x_shift) > 1 || GX_ABS(test->y_shift) > 1) in control_thread_entry()
Dvalidation_guix_all_widgets_4bpp_block_move.c64 INT y_shift; member
99 …t->window, &test->window->gx_window_client, width * test->x_shift / 2, height * test->y_shift / 2); in control_thread_entry()
100 if(GX_ABS(test->x_shift) > 1 || GX_ABS(test->y_shift) > 1) in control_thread_entry()
Dvalidation_guix_all_widgets_16bpp_block_move.c64 INT y_shift; member
99 …t->window, &test->window->gx_window_client, width * test->x_shift / 2, height * test->y_shift / 2); in control_thread_entry()
Dvalidation_guix_all_widgets_24xrgb_rotated_ccw_block_move.c64 INT y_shift; member
100 …t->window, &test->window->gx_window_client, width * test->x_shift / 2, height * test->y_shift / 2); in control_thread_entry()
Dvalidation_guix_all_widgets_block_move.c64 INT y_shift; member
100 …t->window, &test->window->gx_window_client, width * test->x_shift / 2, height * test->y_shift / 2); in control_thread_entry()
Dvalidation_guix_all_widgets_16bpp_rotated_270_block_move.c64 INT y_shift; member
100 …t->window, &test->window->gx_window_client, width * test->x_shift / 2, height * test->y_shift / 2); in control_thread_entry()
Dvalidation_guix_all_widgets_8bpp_block_move.c64 INT y_shift; member
106 …t->window, &test->window->gx_window_client, width * test->x_shift / 2, height * test->y_shift / 2); in control_thread_entry()
Dvalidation_guix_all_widgets_8bpp_rotated_ccw_block_move.c66 INT y_shift; member
107 …t->window, &test->window->gx_window_client, width * test->x_shift / 2, height * test->y_shift / 2); in control_thread_entry()
Dvalidation_guix_all_widgets_24xrgb_rotated_cw_block_move.c64 INT y_shift; member
115 …t->window, &test->window->gx_window_client, width * test->x_shift / 2, height * test->y_shift / 2); in control_thread_entry()
Dvalidation_guix_all_widgets_16bpp_rotated_block_move.c64 INT y_shift; member
115 …t->window, &test->window->gx_window_client, width * test->x_shift / 2, height * test->y_shift / 2); in control_thread_entry()
Dvalidation_guix_all_widgets_8bpp_rotated_cw_block_move.c74 INT y_shift; member
122 …t->window, &test->window->gx_window_client, width * test->x_shift / 2, height * test->y_shift / 2); in control_thread_entry()
/GUIX-v6.2.1/samples/demo_guix_industrial/
Ddemo_guix_industrial.c278 INT y_shift; in button_indicator_attach() local
286y_shift = button->gx_widget_size.gx_rectangle_top + 16 - indicator->gx_widget_size.gx_rectangle_to… in button_indicator_attach()
287 gx_widget_shift(indicator, x_shift, y_shift, GX_TRUE); in button_indicator_attach()
/GUIX-v6.2.1/common/inc/
Dgx_widget.h64 UINT _gx_widget_block_move(GX_WIDGET *widget, GX_RECTANGLE *block, INT x_shift, INT y_shift);
109 UINT _gx_widget_shift(GX_WIDGET *widget, GX_VALUE x_shift, GX_VALUE y_shift, GX_BOOL mark_di…
160 UINT _gxe_widget_block_move(GX_WIDGET *widget, GX_RECTANGLE *block, INT x_shift, INT y_shift);
192 UINT _gxe_widget_shift(GX_WIDGET *widget, GX_VALUE x_shift, GX_VALUE y_shift, GX_BOOL mark_dirty);

12