Algorithm of progress bar of breathing lamp effect
A progress bar and breathing light technology, which is applied in computing, instruments, electrical digital data processing, etc., can solve problems such as heavy CPU and GPU load, serious power consumption, and application crashes, and achieve good versatility, less resource consumption, and algorithmic high efficiency effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0052] The present invention will be described in further detail below in conjunction with the accompanying drawings.
[0053] like figure 1 , 2 As shown, the algorithm of the progress bar of the breathing lamp effect described in the present invention comprises the following steps:
[0054] Step 1, based on the layout control Linearlayout, customize the new control class BurnProgressView, add initialization methods to the constructor, including: construct 200 brush blur filters, set the radius of the circular progress bar, initialize the drawing progress and use A brush for drawing the background;
[0055] Step 2, in the onSizeChanged callback, initialize the size of the circular progress bar according to the size of the control, and determine the inner and outer circle areas according to the width of the brush, so as to draw gradient arc lines on both sides of the progress bar to achieve a concave-convex three-dimensional effect;
[0056] Step 3: Open the thread for chang...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com