Stacked display algorithm of progress bar for breathing lamp effect

A technology for displaying algorithms and progress bars, applied in user interface execution, program control devices, etc., can solve problems such as serious power consumption, heavy CPU and GPU burden, application crashes, etc., and achieves less resource occupation, good versatility, and algorithm efficiency. high effect

Active Publication Date: 2017-11-14
BEIJING KUWO TECH
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Usually, the burn-in process lasts for a long time, ranging from 10 to 100 hours. Therefore, in the process of fortification, an intelligent display of the burn-in progress is needed. If the animation is not handle

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
  • Stacked display algorithm of progress bar for breathing lamp effect
  • Stacked display algorithm of progress bar for breathing lamp effect

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0052] Such as figure 1 , 2 As shown, the cascading display algorithm of the progress bar of the breathing lamp effect according to the present invention includes the following steps:

[0053] Step 1, background adaptation processing of the progress bar, the progress bar is a circular progress bar, and the background of the progress bar is a circle;

[0054] The diameter of the circular progress bar is smaller than the diameter of the background of the progress bar;

[0055] First, according to the resolution of the design drawing of the circular progress bar, measure the size of the background of the progress bar,

[0056] Then obtain the current resolution on different devices, calculate the size of the progress bar background in different devices according to the proportion of the design drawing, so as to accurately determine the area displayed by the b...

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 relates to a stacked display algorithm of a progress bar for a breathing lamp effect. The stacked display algorithm comprises the following steps of (1) carrying out background adaptive processing on the progress bar, wherein the progress bar is a circular progress bar, the background of the progress bar is round and the diameter of the circular progress bar is smaller than that of the background of the progress bar; (2) setting a control and drawing related parameters; (3) drawing the circular progress bar in a stacking manner in the background area of the progress bar; (4) displaying the breathing lamp effect; (5) starting a change thread of the breathing lamp; (6) drawing progress text displayed along with the progress; and (7) drawing description text at the center of the circular progress bar. Through the circular progress bar and surrounding of the breathing lamp effect, aesthetic, individual, intuitive and easy-to-understand progress bar showing is achieved, and the algorithm is high in efficiency, few in occupied resources, good in universality and suitable for an Android system.

Description

technical field [0001] The invention relates to the technical field of progress bar calculation and presentation, in particular to a stacked display algorithm of a progress bar with a breathing light effect. Background technique [0002] The Android input control is a component used for human-computer interaction. The Android SDK provides a variety of input controls for this purpose, including: [0003] Native controls, such as: text field (TextView), button (Button), edit box (EditText), radio button (RadioButton), list control (ListView) and display picture control (ImageView), etc., [0004] Layout controls, such as: Linearlayout, Relativelayout, Framelayout, and less commonly used TableLayout, etc. [0005] Using these basic input controls, ordinary layout display can be realized, but for special application scenarios, such as complex animation display, or special graphics and image requirements, these basic input controls cannot be realized, so custom controls are need...

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): G06F9/44
CPCG06F9/451
Inventor 孙征
Owner BEIJING KUWO TECH
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