| /GUIX-v6.2.1/common/src/ |
| D | gx_animation_drag_event_process.c | 88 static UINT _gx_animation_drag_event_check(GX_ANIMATION *animation, GX_EVENT *event_ptr) in _gx_animation_drag_event_check() argument 90 GX_ANIMATION_INFO *info = &animation -> gx_animation_info; in _gx_animation_drag_event_check() 101 if (animation -> gx_animation_status == GX_ANIMATION_IDLE) in _gx_animation_drag_event_check() 106 animation -> gx_animation_status = GX_ANIMATION_SLIDE_TRACKING; in _gx_animation_drag_event_check() 110 …animation -> gx_animation_slide_tracking_start_pos = event_ptr -> gx_event_payload.gx_event_pointd… in _gx_animation_drag_event_check() 111 …animation -> gx_animation_slide_tracking_current_pos = event_ptr -> gx_event_payload.gx_event_poin… in _gx_animation_drag_event_check() 115 …animation -> gx_animation_slide_tracking_start_pos = event_ptr -> gx_event_payload.gx_event_pointd… in _gx_animation_drag_event_check() 116 …animation -> gx_animation_slide_tracking_current_pos = event_ptr -> gx_event_payload.gx_event_poin… in _gx_animation_drag_event_check() 118 animation -> gx_animation_slide_target_index_1 = -1; in _gx_animation_drag_event_check() 119 animation -> gx_animation_slide_target_index_2 = -1; in _gx_animation_drag_event_check() [all …]
|
| D | gx_animation_complete.c | 74 VOID _gx_animation_complete_event_send(GX_ANIMATION *animation) in _gx_animation_complete_event_send() argument 78 if (animation -> gx_animation_info.gx_animation_id) in _gx_animation_complete_event_send() 80 if (animation -> gx_animation_info.gx_animation_target) in _gx_animation_complete_event_send() 82 complete_event.gx_event_target = animation -> gx_animation_info.gx_animation_target; in _gx_animation_complete_event_send() 86 complete_event.gx_event_target = animation -> gx_animation_info.gx_animation_parent; in _gx_animation_complete_event_send() 92 complete_event.gx_event_sender = animation -> gx_animation_info.gx_animation_id; in _gx_animation_complete_event_send() 150 VOID _gx_animation_complete(GX_ANIMATION *animation) in _gx_animation_complete() argument 157 _gx_animation_stop(animation); in _gx_animation_complete() 160 target = animation -> gx_animation_info.gx_animation_target; in _gx_animation_complete() 162 if (animation -> gx_animation_canvas) in _gx_animation_complete() [all …]
|
| D | gx_animation_drag_tracking.c | 81 UINT _gx_animation_drag_tracking(GX_ANIMATION *animation, GX_POINT penpos) in _gx_animation_drag_tracking() argument 96 if (animation -> gx_animation_slide_target_index_1 >= 0) in _gx_animation_drag_tracking() 98 …target_1 = animation -> gx_animation_info.gx_animation_slide_screen_list[animation -> gx_animation… in _gx_animation_drag_tracking() 106 if (animation -> gx_animation_slide_target_index_2 >= 0) in _gx_animation_drag_tracking() 108 …target_2 = animation -> gx_animation_info.gx_animation_slide_screen_list[animation -> gx_animation… in _gx_animation_drag_tracking() 111 last_pos = animation -> gx_animation_slide_tracking_current_pos; in _gx_animation_drag_tracking() 112 if (animation -> gx_animation_info.gx_animation_style & GX_ANIMATION_VERTICAL) in _gx_animation_drag_tracking() 126 start_pos = animation -> gx_animation_slide_tracking_start_pos; in _gx_animation_drag_tracking() 128 …if (((animation -> gx_animation_slide_direction == GX_ANIMATION_SLIDE_LEFT) && (pen_pos > start_po… in _gx_animation_drag_tracking() 129 …((animation -> gx_animation_slide_direction == GX_ANIMATION_SLIDE_RIGHT) && (pen_pos < start_pos))… in _gx_animation_drag_tracking() [all …]
|
| D | gx_animation_drag_tracking_start.c | 76 UINT _gx_animation_drag_tracking_start(GX_ANIMATION *animation, GX_POINT penpos) in _gx_animation_drag_tracking_start() argument 90 info = &animation -> gx_animation_info; in _gx_animation_drag_tracking_start() 100 animation -> gx_animation_slide_target_index_1 = (GX_VALUE)index; in _gx_animation_drag_tracking_start() 106 animation -> gx_animation_slide_screen_list_size = (USHORT)index; in _gx_animation_drag_tracking_start() 108 if (animation -> gx_animation_slide_target_index_1 == -1) in _gx_animation_drag_tracking_start() 123 if (current_pos < animation -> gx_animation_slide_tracking_start_pos) in _gx_animation_drag_tracking_start() 126 index = animation -> gx_animation_slide_target_index_1 + 1; in _gx_animation_drag_tracking_start() 128 if ((index >= animation -> gx_animation_slide_screen_list_size) && in _gx_animation_drag_tracking_start() 137 index = animation -> gx_animation_slide_target_index_1 - 1; in _gx_animation_drag_tracking_start() 141 index = animation -> gx_animation_slide_screen_list_size - 1; in _gx_animation_drag_tracking_start() [all …]
|
| D | gx_animation_update.c | 86 GX_ANIMATION *animation; in _gx_animation_update() local 98 animation = _gx_system_animation_list; in _gx_animation_update() 100 while (animation) in _gx_animation_update() 102 info = &animation -> gx_animation_info; in _gx_animation_update() 103 next = animation -> gx_animation_next; in _gx_animation_update() 106 if (animation -> gx_animation_timer > 1) in _gx_animation_update() 109 animation -> gx_animation_timer--; in _gx_animation_update() 110 animation = next; in _gx_animation_update() 116 animation = next; in _gx_animation_update() 128 _gx_animation_complete(animation); in _gx_animation_update() [all …]
|
| D | gx_animation_slide_landing.c | 82 UINT _gx_animation_slide_landing(GX_ANIMATION *animation) in _gx_animation_slide_landing() argument 84 GX_ANIMATION_INFO *info = &animation -> gx_animation_info; in _gx_animation_slide_landing() 94 parent = animation -> gx_animation_info.gx_animation_parent; in _gx_animation_slide_landing() 97 if (animation -> gx_animation_slide_target_index_1 >= 0) in _gx_animation_slide_landing() 99 … target_1 = info -> gx_animation_slide_screen_list[animation -> gx_animation_slide_target_index_1]; in _gx_animation_slide_landing() 111 if (animation -> gx_animation_slide_target_index_2 >= 0) in _gx_animation_slide_landing() 113 … target_2 = info -> gx_animation_slide_screen_list[animation -> gx_animation_slide_target_index_2]; in _gx_animation_slide_landing() 125 if (animation -> gx_animation_canvas) in _gx_animation_slide_landing() 127 …_gx_utility_rectangle_shift(&target_size, animation -> gx_animation_canvas -> gx_canvas_display_of… in _gx_animation_slide_landing() 128 animation -> gx_animation_canvas -> gx_canvas_display_offset_y); in _gx_animation_slide_landing() [all …]
|
| D | gx_animation_start.c | 88 UINT _gx_animation_start(GX_ANIMATION *animation, GX_ANIMATION_INFO *info) in _gx_animation_start() argument 101 animation -> gx_animation_total_steps = info -> gx_animation_steps; in _gx_animation_start() 103 if (animation -> gx_animation_canvas) in _gx_animation_start() 118 _gx_canvas_offset_set(animation -> gx_animation_canvas, in _gx_animation_start() 124 while (root && root -> gx_window_root_canvas != animation -> gx_animation_canvas) in _gx_animation_start() 134 …_gx_canvas_drawing_initiate(animation -> gx_animation_canvas, (GX_WIDGET *) root, &root -> gx_widg… in _gx_animation_start() 136 _gx_canvas_drawing_complete(animation -> gx_animation_canvas, GX_FALSE); in _gx_animation_start() 139 … _gx_canvas_alpha_set(animation -> gx_animation_canvas, info -> gx_animation_start_alpha); in _gx_animation_start() 140 _gx_canvas_show(animation -> gx_animation_canvas); in _gx_animation_start() 179 animation -> gx_animation_info = *info; in _gx_animation_start() [all …]
|
| D | gx_animation_delete.c | 77 GX_ANIMATION *animation; in _gx_animation_delete() local 82 animation = target; in _gx_animation_delete() 86 animation = _gx_system_animation_list; in _gx_animation_delete() 89 while (animation) in _gx_animation_delete() 98 next = animation -> gx_animation_next; in _gx_animation_delete() 101 if (animation -> gx_animation_info.gx_animation_parent == parent) in _gx_animation_delete() 105 _gx_animation_stop(animation); in _gx_animation_delete() 107 if (animation -> gx_animation_system_allocated) in _gx_animation_delete() 111 _gx_system_animation_free(animation); in _gx_animation_delete() 116 animation -> gx_animation_status = 0; in _gx_animation_delete() [all …]
|
| D | gx_animation_slide_landing_start.c | 76 UINT _gx_animation_slide_landing_start(GX_ANIMATION *animation) in _gx_animation_slide_landing_start() argument 82 if ((animation -> gx_animation_slide_target_index_1 >= 0) && in _gx_animation_slide_landing_start() 83 (animation -> gx_animation_status == GX_ANIMATION_IDLE)) in _gx_animation_slide_landing_start() 85 info = &animation -> gx_animation_info; in _gx_animation_slide_landing_start() 87 if (animation -> gx_animation_slide_target_index_2 >= 0) in _gx_animation_slide_landing_start() 89 … target = info -> gx_animation_slide_screen_list[animation -> gx_animation_slide_target_index_2]; in _gx_animation_slide_landing_start() 93 … target = info -> gx_animation_slide_screen_list[animation -> gx_animation_slide_target_index_1]; in _gx_animation_slide_landing_start() 98 if (animation -> gx_animation_canvas) in _gx_animation_slide_landing_start() 100 …art_position.gx_point_x = (GX_VALUE)(target_size -> gx_rectangle_left + animation -> gx_animation_… in _gx_animation_slide_landing_start() 101 …tart_position.gx_point_y = (GX_VALUE)(target_size -> gx_rectangle_top + animation -> gx_animation_… in _gx_animation_slide_landing_start() [all …]
|
| D | gx_animation_drag_enable.c | 74 UINT _gx_animation_drag_enable(GX_ANIMATION *animation, GX_WIDGET *widget, GX_ANIMATION_INFO *info) in _gx_animation_drag_enable() argument 77 if (animation -> gx_animation_status != GX_ANIMATION_IDLE) in _gx_animation_drag_enable() 83 …animation -> gx_animation_original_event_process_function = widget -> gx_widget_event_process_func… in _gx_animation_drag_enable() 87 animation -> gx_animation_info = *info; in _gx_animation_drag_enable() 88 animation -> gx_animation_timer = animation -> gx_animation_info.gx_animation_frame_interval; in _gx_animation_drag_enable() 89 animation -> gx_animation_next = _gx_system_animation_list; in _gx_animation_drag_enable() 90 animation -> gx_animation_total_steps = info -> gx_animation_steps; in _gx_animation_drag_enable() 91 _gx_system_animation_list = animation; in _gx_animation_drag_enable()
|
| D | gx_system_animation_free.c | 73 UINT _gx_system_animation_free(GX_ANIMATION *animation) in _gx_system_animation_free() argument 76 animation -> gx_animation_status = 0; in _gx_system_animation_free() 77 animation -> gx_animation_system_allocated = GX_FALSE; in _gx_system_animation_free() 78 animation -> gx_animation_next = _gx_system_animation_free_list; in _gx_system_animation_free() 79 _gx_system_animation_free_list = animation; in _gx_system_animation_free()
|
| D | gxe_system_animation_free.c | 73 UINT _gxe_system_animation_free(GX_ANIMATION *animation) in _gxe_system_animation_free() argument 81 if (animation == GX_NULL) in _gxe_system_animation_free() 86 if (animation->gx_animation_system_allocated == 0) in _gxe_system_animation_free() 91 if (animation->gx_animation_status != GX_ANIMATION_IDLE) in _gxe_system_animation_free() 97 status = _gx_system_animation_free(animation); in _gxe_system_animation_free()
|
| D | gx_animation_stop.c | 79 UINT _gx_animation_stop(GX_ANIMATION *animation) in _gx_animation_stop() argument 85 animation -> gx_animation_status = GX_ANIMATION_IDLE; in _gx_animation_stop() 90 if (_gx_system_animation_list == animation) in _gx_animation_stop() 115 if (previous -> gx_animation_next == animation) in _gx_animation_stop() 117 previous -> gx_animation_next = animation -> gx_animation_next; in _gx_animation_stop()
|
| D | gx_animation_create.c | 73 UINT _gx_animation_create(GX_ANIMATION *animation) in _gx_animation_create() argument 75 memset(animation, 0, sizeof(GX_ANIMATION)); in _gx_animation_create() 76 animation -> gx_animation_status = GX_ANIMATION_IDLE; in _gx_animation_create() 77 animation -> gx_animation_landing_speed = 10; in _gx_animation_create()
|
| D | gxe_animation_stop.c | 76 UINT _gxe_animation_stop(GX_ANIMATION *animation) in _gxe_animation_stop() argument 81 if (animation == GX_NULL) in _gxe_animation_stop() 86 if (animation -> gx_animation_status != GX_ANIMATION_ACTIVE) in _gxe_animation_stop() 91 return _gx_animation_stop(animation); in _gxe_animation_stop()
|
| D | gxe_animation_create.c | 69 UINT _gxe_animation_create(GX_ANIMATION *animation) in _gxe_animation_create() argument 74 if (animation == GX_NULL) in _gxe_animation_create() 79 if (animation -> gx_animation_status != 0) in _gxe_animation_create() 85 status = _gx_animation_create(animation); in _gxe_animation_create()
|
| D | gx_animation_drag_disable.c | 73 UINT _gx_animation_drag_disable(GX_ANIMATION *animation, GX_WIDGET *widget) in _gx_animation_drag_disable() argument 78 …widget -> gx_widget_event_process_function = animation -> gx_animation_original_event_process_func… in _gx_animation_drag_disable() 79 animation -> gx_animation_original_event_process_function = GX_NULL; in _gx_animation_drag_disable() 82 status = _gx_animation_stop(animation); in _gx_animation_drag_disable()
|
| D | gxe_animation_drag_disable.c | 76 UINT _gxe_animation_drag_disable(GX_ANIMATION *animation, GX_WIDGET *widget) in _gxe_animation_drag_disable() argument 82 if ((animation == GX_NULL) || (widget == GX_NULL)) in _gxe_animation_drag_disable() 88 if (animation -> gx_animation_original_event_process_function == GX_NULL) in _gxe_animation_drag_disable() 93 return _gx_animation_drag_disable(animation, widget); in _gxe_animation_drag_disable()
|
| /GUIX-v6.2.1/common/inc/ |
| D | gx_animation.h | 65 UINT _gx_animation_create(GX_ANIMATION *animation); 66 UINT _gx_animation_canvas_define(GX_ANIMATION *animation, GX_CANVAS *canvas); 67 VOID _gx_animation_complete_event_send(GX_ANIMATION *animation); 69 UINT _gx_animation_start(GX_ANIMATION *animation, GX_ANIMATION_INFO *info); 70 UINT _gx_animation_stop(GX_ANIMATION *animation); 72 VOID _gx_animation_complete(GX_ANIMATION *animation); 74 UINT _gx_animation_drag_disable(GX_ANIMATION *animation, GX_WIDGET *widget); 75 UINT _gx_animation_drag_enable(GX_ANIMATION *animation, GX_WIDGET *widget, GX_ANIMATION_INFO *info); 77 UINT _gx_animation_drag_tracking(GX_ANIMATION *animation, GX_POINT penpos); 78 UINT _gx_animation_drag_tracking_start(GX_ANIMATION *animation, GX_POINT penpos); [all …]
|
| /GUIX-v6.2.1/guix_studio/ |
| D | trigger_action_edit_dlg.cpp | 825 GX_ANIMATION_INFO *animation = NULL; in ShowHideAnimationParams() local 839 animation = action->animation; in ShowHideAnimationParams() 845 if (animation) in ShowHideAnimationParams() 847 if (animation->gx_animation_style & GX_ANIMATION_DETACH) in ShowHideAnimationParams() 856 if (animation->gx_animation_style & GX_ANIMATION_PUSH_STACK) in ShowHideAnimationParams() 865 mAnimationEasingFuncId = animation->gx_animation_style & GX_ANIMATION_EASING_FUNC_MASK; in ShowHideAnimationParams() 888 if (animation) in ShowHideAnimationParams() 899 if (animation) in ShowHideAnimationParams() 901 string.Format(_T("%d"), animation->gx_animation_start_position.gx_point_x); in ShowHideAnimationParams() 910 if (animation) in ShowHideAnimationParams() [all …]
|
| /GUIX-v6.2.1/test/guix_test/regression_test/tests/ |
| D | validation_guix_animation_delete_no_output.c | 48 GX_ANIMATION *animation; in control_thread_entry() local 64 status = gx_system_animation_get(&animation); in control_thread_entry() 68 status = gx_animation_delete(animation, GX_NULL); in control_thread_entry() 71 status = gx_system_animation_get(&animation); in control_thread_entry() 85 status = gx_animation_start(animation, &info); in control_thread_entry() 96 EXPECT_EQ(animation->gx_animation_status, GX_ANIMATION_ACTIVE); in control_thread_entry() 101 EXPECT_EQ(animation->gx_animation_status, 0); in control_thread_entry()
|
| D | validation_guix_all_widgets_16bpp_canvas_animation.c | 66 GX_ANIMATION animation; in control_thread_entry() local 76 memset(&animation, 0, sizeof(GX_ANIMATION)); in control_thread_entry() 91 status = gx_animation_create(&animation); in control_thread_entry() 95 status = gx_animation_canvas_define(&animation, &animation_canvas); in control_thread_entry() 104 status = gx_animation_start(&animation, &info); in control_thread_entry() 131 gx_animation_start(&animation, &info); in control_thread_entry() 139 if(gx_animation_start(&animation, &info) != GX_SUCCESS) in control_thread_entry()
|
| D | validation_guix_animation_complete.c | 66 GX_ANIMATION animation; in control_thread_entry() local 81 memset(&animation, 0, sizeof(GX_ANIMATION)); in control_thread_entry() 97 gx_animation_create(&animation); in control_thread_entry() 104 gx_animation_canvas_define(&animation, &animation_canvas); in control_thread_entry() 106 gx_animation_start(&animation, &info); in control_thread_entry() 119 gx_animation_start(&animation, &info); in control_thread_entry() 129 gx_animation_start(&animation, &info); in control_thread_entry()
|
| D | validation_guix_animation_update.c | 66 GX_ANIMATION animation; in control_thread_entry() local 71 memset(&animation, 0, sizeof(GX_ANIMATION)); in control_thread_entry() 87 gx_animation_create(&animation); in control_thread_entry() 89 gx_animation_start(&animation, &info); in control_thread_entry() 97 gx_animation_canvas_define(&animation, &animation_canvas); in control_thread_entry() 113 gx_animation_start(&animation, &info); in control_thread_entry()
|
| /GUIX-v6.2.1/samples/demo_guix_home_automation/ |
| D | screen_base.c | 150 GX_ANIMATION *animation; in footer_icons_animation_start() local 162 if (gx_system_animation_get(&animation) == GX_SUCCESS) in footer_icons_animation_start() 175 gx_animation_start(animation, &info); in footer_icons_animation_start() 178 if (gx_system_animation_get(&animation) == GX_SUCCESS) in footer_icons_animation_start() 190 gx_animation_start(animation, &info); in footer_icons_animation_start() 193 if (gx_system_animation_get(&animation) == GX_SUCCESS) in footer_icons_animation_start() 206 gx_animation_start(animation, &info); in footer_icons_animation_start() 215 GX_ANIMATION *animation; in title_animation_start() local 219 if (gx_system_animation_get(&animation) == GX_SUCCESS) in title_animation_start() 237 gx_animation_start(animation, &info); in title_animation_start() [all …]
|