# US 2024/0203011 A1 · Display Method and Electronic Device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0203011 A1
- Document ID: US20240203011A1
- Status: Published application
- Kind: A1
- Application number: 17/905,731
- Filed: 2022-03-17
- Published: 2024-06-20
- Earliest claimed: 2021-05-12
- Assignees: Honor Device Co., Ltd.
- Applicants: Honor Device Co., Ltd.
- Inventors: Liwei Huang; Jie Ren; Kai Qian; Xia Wu
- Web page: https://patentgrep.com/patent/US20240203011A1

## CPC

- G06F 3/0481: based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06T 13/00: Animation
- G06F 3/04845: for image manipulation, e.g. dragging, rotation, expansion or change of colour
- G06F 3/14: Digital output to display device {; Cooperation and interconnection of the display device with other functional units}
- G06T 3/40: Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T 13/80: Two-dimensional [2D] animation, e.g. using sprites
- G06T 2200/24: involving graphical user interfaces [GUIs]
- G06T 2210/22: Cropping
- G09G 2340/045: Zooming at least part of an image, i.e. enlarging it or shrinking it
- G09G 2354/00: Aspects of interface with display user
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G09G: ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION (arrangements for transferring data between digital computers and displays G06F3/14; static indicating arrangements comprising an association of a number of separate sources or light control cells G09F9/00; static indicating arrangements comprising integral associations of a number of light sources H01J, H01K, H10H, H05B33/12; scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission, details thereof H04N1/00)

## Abstract

This application provides a display method and an electronic device. When the electronic device switches from a screen-off mode to a lock-screen mode, the electronic device may perform gradual expansion from a last image frame displayed in a screen-off interface, and in a gradual expansion process, successively play a transition animation during switching from the screen-off interface to a lock-screen interface.

## Claims

### Claim 1

An electronic device, comprising:
a memory and a processor, wherein
the processor is coupled to the memory; and
the memory stores program instructions, and when the program instructions are executed by the 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.

### Claim 2 (depends on 1)

The electronic device according to claim 1, wherein the first transition animation comprises N image frames, N is an integer greater than 1, and when the program instructions are executed by the processor, the electronic device is enabled to perform the following steps:
cropping each of the N image frames based on a specified first size;
adjusting a size of each cropped image frame based on a specified second size; and
successively playing, in the first display box, each image frame obtained after the cropping and size adjustment, and freezing at a last image frame that is in the first transition animation and that is obtained after the cropping and size adjustment, wherein the size of the first display box is the same as the second size.

### Claim 3 (depends on 2)

The electronic device according to claim 2, wherein the second transition animation comprises M image frames, M is an integer greater than 1, and when the program instructions are executed by the processor, the electronic device is enabled to perform the following steps:
adjusting a first image frame in the M image frames based on the second size; and
superimposing an adjusted first image frame under the second display box, wherein an image in an overlapping part between the second display box and the adjusted first image frame is the same as an image of the last image frame obtained after the cropping and size adjustment.

### Claim 4 (depends on 3)

The electronic device according to claim 3, wherein when the program instructions are executed by the processor, the electronic device is enabled to perform the following steps:
enlarging the adjusted first image frame gradually and moving the adjusted first image frame toward the center of the display 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, wherein an image displayed in the second display box changes with the overlapping part between the second display box and the adjusted first image frame.

### Claim 5 (depends on 4)

The electronic device according to claim 4, wherein when the program instructions are executed by the processor, the electronic device is enabled to perform the following steps:
when playing of the adjusted first image frame is completed, enlarging the adjusted first image frame to a third size, and moving the adjusted first image frame to a first position on the display;
switching from the adjusted first image frame superimposed with the second display box to a next image frame based on a sequence of the M image frames, wherein a size of the next image frame is the third size, and the next image frame is in the first position on the display; and
enlarging the next image frame gradually, and moving the next image frame toward the screen center of the display, wherein the image displayed in the second display box changes with an overlapping part between the second display box and the next image frame.

### Claim 6 (depends on 1)

The electronic device according to claim 1, wherein when the program instructions are executed by the processor, the electronic device is enabled to perform the following steps:
when a center of the second display box overlaps the center of the display, and at least one border of the second display box falls inside a border of the display, stopping moving the second display box, and continuing to enlarge the second display box, until all borders of the second display box overlap or fall outside borders of the display.

### Claim 7 (depends on 1)

The electronic device according to claim 1, wherein a shape of the first display box is a rectangle, a circle, a triangle, an oval, or an irregular shape.

### Claim 8 (depends on 1)

The electronic device according to claim 1, wherein a shape of the second display box is a rectangle, a circle, a triangle, an oval, or an irregular shape.

### Claim 9 (depends on 1)

The electronic device according to claim 1, wherein the first interface is a screen-off interface, and the second interface is a lock-screen interface.

### Claim 10 (depends on 1)

The electronic device according to claim 1, wherein the first interface is a screen-off interface, and the second interface is a home screen.

### Claim 11

A display method, comprising:
when a first interface is displayed on a display of an 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, by the electronic device, 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, by the electronic device, 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.

### Claim 12 (depends on 11)

The method according to claim 11, wherein the first transition animation comprises N image frames, N is an integer greater than 1, and the playing each image frame of a first transition animation in a first display box of the first interface comprises:
cropping each of the N image frames based on a specified first size;
adjusting a size of each cropped image frame based on a specified second size; and
successively playing, in the first display box, each image frame obtained after the cropping and size adjustment, and freezing at a last image frame that is in the first transition animation and that is obtained after the cropping and size adjustment, wherein the size of the first display box is the same as the second size.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the second transition animation comprises M image frames, M is an integer greater than 1, and the playing each image frame of a first transition animation in a first display box of the first interface comprises:
adjusting a first image frame in the M image frames based on the second size; and
superimposing an adjusted first image frame under the second display box, wherein an image in an overlapping part between the second display box and the adjusted first image frame is the same as an image of the last image frame obtained after the cropping and size adjustment.

### Claim 14 (depends on 13)

The method according to claim 13, wherein the enlarging, by the electronic device, the second display box gradually, and moving the second display box toward the screen center of the display of the electronic device comprises:
enlarging the adjusted first image frame gradually and moving the adjusted first image frame toward the center of the display 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, wherein an image displayed in the second display box changes with the overlapping part between the second display box and the adjusted first image frame.

### Claim 15 (depends on 14)

The method according to claim 14, wherein the enlarging, by the electronic device, the second display box gradually, and moving the second display box toward the screen center of the display of the electronic device comprises:
when playing of the adjusted first image frame is completed, enlarging the adjusted first image frame to a third size, and moving the adjusted first image frame to a first position on the display;
switching from the adjusted first image frame superimposed with the second display box to a next image frame based on a sequence of the M image frames, wherein a size of the next image frame is the third size, and the next image frame is in the first position on the display; and
enlarging the next image frame gradually, and moving the next image frame toward the screen center of the display, wherein the image displayed in the second display box changes with an overlapping part between the second display box and the next image frame.

### Claim 16 (depends on 11)

The method according to claim 11, wherein the enlarging, by the electronic device, the second display box gradually, and moving the second display box toward the screen center of the display of the electronic device comprises:
when a center of the second display box overlaps the center of the display, and at least one border of the second display box falls inside a border of the display, stopping moving the second display box, and continuing to enlarge the second display box, until all borders of the second display box overlap or fall outside borders of the display.

### Claim 17 (depends on 11)

The method according to claim 11, wherein a shape of the first display box is a rectangle, a circle, a triangle, an oval, or an irregular shape; and a shape of the second display box is a rectangle, a circle, a triangle, an oval, or an irregular shape.

### Claim 18

(canceled)

### Claim 19 (depends on 11)

The method according to claim 11, wherein the first interface is a screen-off interface, and the second interface is a lock-screen interface.

### Claim 20 (depends on 11)

The method according to claim 11, wherein the first interface is a screen-off interface, and the second interface is a home screen.

### Claim 21 (depends on 11)

A computer-readable storage medium, comprising a computer program, wherein when the computer program is run on an electronic device, the electronic device is enabled to perform the display method according to claim 11.
