| CPC G06T 13/00 (2013.01) [G06F 3/14 (2013.01); G06T 3/40 (2013.01); G06T 2200/24 (2013.01); G06T 2210/22 (2013.01)] | 20 Claims |

|
1. An electronic device, comprising:
a memory and at least one processor, wherein
the at least one processor is coupled to the memory; and
the memory stores program instructions, and when the program instructions are executed by the at least one processor, the electronic device is enabled to perform the following steps:
when a first interface is displayed on a display of the electronic device, playing each image frame of a first transition animation in a first display box of the first interface, and freezing at a last image frame of the first transition animation, wherein a center of the first display box deviates from a screen center of the display of the electronic device;
switching from the first interface on the display of the electronic device to a second interface in response to a received first user operation, wherein the second interface comprises a second display box, a size of the second display box is the same as a size of the first display box, and a position of the second display box on the display is the same as a position of the first display box on the display; and
enlarging the second display box gradually, and moving the second display box toward the screen center of the display of the electronic device, wherein each image frame of a second transition animation is played in the second display box in a process in which the second display box is gradually enlarged and moved toward the screen center of the display of the electronic device, and a first image frame of the second transition animation is the same as the last image frame of the first transition animation.
|