Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Calculation method and device for countdown animation position

A calculation method and countdown technology, applied in the computer field, can solve problems such as trouble and complexity, lack of flexibility, difficult maintenance and adjustment

Active Publication Date: 2021-09-07
WUHAN DOUYU NETWORK TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] If the text length is often changed, the implementation of the existing solution is very troublesome and complicated. The manual adjustment method in the existing solution lacks flexibility and is difficult to maintain and adjust

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
  • Calculation method and device for countdown animation position
  • Calculation method and device for countdown animation position
  • Calculation method and device for countdown animation position

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] Embodiments of the present invention provide a method and device for calculating the position of a countdown animation, which are used to effectively and quickly calculate the position information of the countdown animation, and improve the calculation efficiency.

[0024] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0025] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above drawings are used to distinguish similar objects, and not nec...

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

The invention discloses a method and device for calculating the position of a countdown animation. The complexity evaluation value determines the predicted loading time of the countdown animation, and the predicted loading time satisfies the formula: T=V / n*10; the predicted loading time T is delayed by the preset function Handler.postMessageDelay() to send a timeout message, and the timeout message is sent during loading In the next T seconds, use the preset function getMeasuredWidth() to obtain the width information ForecastWidth of the layout file of the countdown animation; judge whether the width information is the initial value, and the initial value is preset; if the width information is not the initial value, then according to the width Info Determines the position information for the countdown animation.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and device for calculating the position of a countdown animation. Background technique [0002] At present, the method of calculating the start position and end position of the countdown animation is usually to design the animation position by defining a global variable, but if the length of the text on the countdown changes, the size of the view will change. [0003] In the existing solution, in order to ensure that the animation can be performed normally, it is necessary to adjust the start position and end position information of the animation. [0004] If the text length is often changed, the implementation of the existing solution is very troublesome and complicated. The manual adjustment method in the existing solution lacks flexibility and is difficult to maintain and adjust. Contents of the invention [0005] Embodiments of the present invention provide a method and d...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/451G06T13/00
CPCG06T13/00G06F9/451
Inventor 张磊
Owner WUHAN DOUYU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products