Interface Transition Animation Without Vsync Tap Delay
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current electronic devices experience significant tap response delays during transition animation effects, affecting user experience, particularly in scenarios like application startup and in-application interface switching.
Innovation Solution
The method involves sending an animation effect start notification message to a target animation effect playing thread after completing the drawing operation on the second interface, allowing the thread to draw transition animation effects without waiting for a Vsync signal, thereby optimizing tap response delay.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a Vsync signal is used to trigger drawing of transition animation effect, then display synchronization is ensured, but tap response delay increases by half a Vsync period on average
Solution Approach 1:
The patent applies preliminary action by pre-drawing the second interface before the animation effect starts. The system completes the drawing operation of the second interface in advance, then sends an animation effect start notification message to trigger the animation playback. This allows the animation to start immediately without waiting for the next Vsync signal, reducing tap response delay while maintaining display synchronization through coordinated timing with the pre-drawn interface.
2Stability of the object's composition
If animation effect playing thread waits for Vsync signal to draw transition animation, then screen refresh synchronization is maintained, but interface switching speed decreases
Solution Approach 1:
The system performs preliminary drawing of the second interface and prepares the animation effect resources in advance. When the animation effect start notification message is received, the animation playback thread can immediately start playing the pre-prepared animation frames without waiting for Vsync signal, thus improving interface switching speed while maintaining screen refresh synchronization by coordinating the animation completion with the display timeline.
Solution Approach 2:
The patent segments the interface switching process into distinct phases: (1) drawing the second interface in advance, (2) sending animation effect start notification, (3) playing animation frames, and (4) switching to the second interface. This segmentation allows the system to prepare resources independently of the display refresh cycle, enabling faster response to user taps while maintaining synchronization during the actual display phase.
3Illumination intensity
If transition animation effect is played during interface switching, then visual effect quality improves, but user perceived responsiveness deteriorates
Solution Approach 1:
The system applies preliminary action by completing the drawing operation of the second interface and preparing animation resources before the user perceives the transition. The animation effect start notification message is sent immediately after drawing completion, allowing the animation to start without additional delay. This maintains high visual effect quality while improving user perceived responsiveness by eliminating the waiting period for Vsync signal triggering.
Data Source
AI summary
A transition animation effect playing method includes displaying, by an electronic device, a first interface, where the first interface includes a first control; performing a drawing operation on a second interface in response to a tap operation input by a user on the first control; sending an animation effect start notification message to a target animation effect playing thread after the drawing operation on the second interface is completed; drawing, by the target animation effect playing thread, a transition animation effect between the first interface and the second interface in response to the animation effect start notification message; and displaying, by the electronic device, the second interface after display of a plurality of frames of animation effect pictures is completed.


