Android animation execution method, device, terminal, and readable medium

An execution method and animation technology, applied in the computer field, can solve problems such as unfriendly interface and lower user experience, and achieve the effects of improving user experience, smooth animation execution, and smooth connection

Pending Publication Date: 2018-12-21
WUHAN DOUYU NETWORK TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This leads to the fact that when changing the animation target value, the progress animation 1 starts to have a certain progress, and then switches to the evolution animation 2 so that the progress bar suddenly changes to 0, and then gradually increases to the target value, resulting in an unfriendly interface and reducing the user experience.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Android animation execution method, device, terminal, and readable medium
  • Android animation execution method, device, terminal, and readable medium
  • Android animation execution method, device, terminal, and readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] figure 1 It is a flowchart of an Android animation execution method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the target value is dynamically changed during the execution of the first animation. This method can be implemented by the terminal, specifically through the software in the terminal and / or hardware to implement.

[0041] see figure 1 , the Android animation execution method is applied to the first animation execution process, including the following steps:

[0042] S110. Receive the target value change message, define the end value of the second animation according to the target value change message, define the start value of the second animation according to the end value of the first animation, and set the second animation according to the start value of the second animation The on value of , wherein the on value of the second animation is smaller than the start value of the second animation.

...

Embodiment 2

[0099] figure 2 It is a schematic structural diagram of an Android animation execution device provided in Embodiment 2 of the present invention. This embodiment is applicable to the situation where the target value is dynamically changed during the execution of the first animation.

[0100] see figure 2 In this embodiment, the Android animation execution device is applied to the first animation execution process, including:

[0101] The value definition module 210 is configured to receive the target value change message, define the end value of the second animation according to the target value change message, define the start value of the second animation according to the end value of the first animation, and define the start value of the second animation according to the start value of the second animation value sets the start value of the second animation, wherein the start value of the second animation is smaller than the start value of the second animation;

[0102] T...

Embodiment 3

[0119] This embodiment provides a terminal that can be used in a situation where a target value is dynamically changed during the execution of the first animation. image 3 It is a schematic structural diagram of a terminal provided in Embodiment 3 of the present invention. see image 3 , the terminal includes:

[0120] one or more processors 310;

[0121] memory 320, for storing one or more programs;

[0122] When the one or more programs are executed by the one or more processors 310, the one or more processors 310 implement the Android animation execution method as proposed in the first embodiment.

[0123] image 3 Take a processor 310 as an example; the processor 310 and the memory 320 can be connected through a bus or in other ways, image 3 Take connection via bus as an example.

[0124] As a computer-readable storage medium, the memory 320 can be used to store software programs, computer-executable programs and modules, such as program instructions / modules corres...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

An embodiment of the invention discloses an Android animation execution method, a device, a terminal and readable medium. The method includes receiving a target value change message, defining an end value of a second animation according to the target value change message, defining a start value of the second animation according to the end value of the first animation, and setting an open value ofthe second animation according to the start value of the second animation, wherein the open value of the second animation is smaller than the start value of the second animation; Invoking an animationconstruction method to construct a second animation according to a start value of the second animation and an end value of the second animation; The first animation listening function is called to determine the execution animation value of the first animation, and when the execution animation value is equal to the start value of the second animation, the animation start method is called to startthe second animation. The embodiment of the invention provides an Android animation execution method, a device, a terminal and a readable medium, which realize the dynamic change of the animation target value in the animation execution process, enable the animation execution to be more smooth, and improve the user experience.

Description

technical field [0001] Embodiments of the present invention relate to computer technology, and in particular to an Android animation execution method, device, terminal and readable medium. Background technique [0002] The animation in the embodiment of the present invention refers to the animation that the Android terminal draws through the code to change the control value, for example, it can be a progress animation, and the progress animation can be understood as the animation of the loading process of the progress bar control, wherein the progress animation is set with a target value. Exemplarily, when the progress animation is an animation from 0% to 50%, the target value is 50; when the progress animation is an animation from 0% to 80%, the target value is 80. [0003] In the prior art, when the progress animation 1 is being executed, the animation target value cannot be dynamically changed, and the progress animation 1 can only be stopped, and the progress animation 2...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06T13/00G06F8/34
CPCG06F8/34G06T13/00
Inventor 张磊
Owner WUHAN DOUYU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products