Animation effect display method and electronic device
AssigneeHuawei Technologies Co., Ltd.
InventorsChao Liu, Kun Cui, Jian Chen, Yuheng Chen, Wei Li
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorsChao Liu, Kun Cui, Jian Chen, Yuheng Chen, Wei Li
Estimating the term…
Embodiments of this application provide an animation effect display method and an electronic device, and relate to the field of electronic technologies. According to the animation effect display method provided in an embodiment of this application, before an animation effect is displayed, a UI thread of an application, or a rendering thread of the application, or a rendering process determines controls whose properties change in duration of the animation effect, and determines properties of controls on an interface of each frame, and then the rendering thread of the application or the rendering process generates, based on the properties of the controls on the interface of each frame, a bitmap corresponding to the interface of the frame. Because the properties like sizes and locations of the controls on the interface of each frame are determined before the animation effect is displayed, the UI thread does not need to perform measurement, layout, and drawing and recording (recording) on the interface of each frame, so that display of the animation effect is not affected by UI thread blocking.
1-19. (canceled)
An animation effect display method, applied to an electronic device, wherein the method comprises:
The method according to claim 4, further comprising using the description information about the target frame to determine properties of the controls in the second control group in the target frame, wherein the property of the control comprises at least one of a size of the control, a location of the control, and a transparency of the control.
An electronic device, wherein the electronic device comprises one or more processors and a memory, wherein
A non-transitory computer-readable storage medium, comprising instructions, wherein when the instructions are run on an electronic device, the electronic device is enabled to:
Dependencies are inferred from the claim text.