Trotting horse lamp effect achieving device and method based on Android platform

An implementation method and a technology for revolving lights, which are applied in program control devices, input/output processes of data processing, instruments, etc., can solve the problems of jitter, obvious stuck effect, poor revolving effect, etc., and achieve the improvement of jitter effect and stuck effect. Effect

Active Publication Date: 2017-05-10
XIAN NOVASTAR TECH
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this solution also has problems such as poor revolving lantern effect, obvious jitter and freezing effects during operation

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
  • Trotting horse lamp effect achieving device and method based on Android platform
  • Trotting horse lamp effect achieving device and method based on Android platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the above objects, features and advantages of the present invention more comprehensible, specific implementations of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0022] Specifically, see figure 1 , which is an overall module diagram for realizing static image display by using the RecyclerView control in the related technical solution. like figure 1 As shown, it is mainly divided into three parts: a data set (DataSet) module 11 , an adapter (Adapter) 13 and a RecyclerView (reusable view) control 15 . Wherein, the RecyclerView control 15 is a container control; the adapter 13 is mainly used to bind the data in the data set module 11 and the subview displayed by the RecyclerView control 15, on the one hand, it can be used to monitor the data in the data set module 15 Change, on the other hand, can be used to notify the RecyclerView control 15 when the data in the dataset module 11 changes. Howe...

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 provides a trotting horse lamp effect achieving device and method based on an Android platform. The device includes a data collection module (11), an adapter (13), a data processing module (24a), a smooth rolling module (24b) and a Recycler View control (15), wherein the Recycler View control (15) is provided with a layout manager (151). The data processing module (24a) is used for finding subviews in cycle and drawing the found subviews in a memory block in sequence; the smooth rolling module (24b) is used for calculating the speed of the subviews moving based on pixel points and the displacement in preset time duration when the found subviews are drew so as to control the image frame drawing speed in the found subview drawing process; the layout manager (151) is used for setting the rolling direction of the subviews. By the arrangement of the data processing module and the smooth rolling module, the Recycler View control is adopted on the Android platform to achieve a trotting horse lamp effect and allows trotting horse lamps to jitter, and the lagging effect is improved; in addition, the multi-directional trotting horse lamp effect can be achieved through the configuration of the layout manager.

Description

technical field [0001] The present invention relates to the technical field of realizing the effect of revolving lantern, and in particular to a device and method for realizing the effect of revolving lantern based on the Android platform. Background technique [0002] In the past few years, the Android platform has developed rapidly. The Android platform is becoming more and more stable, and the security holes have been gradually fixed by Google, which has gradually matured. Therefore, many platforms begin to transplant to the Android platform, which makes the existing software of the original platform also need to be re-implemented on the Android platform. However, the Android platform is not absolutely perfect, and its poor hardware processing performance is a more obvious shortcoming compared to other platforms. Because of this shortcoming, it determines that the Android platform has relatively large limitations in processing big data calculations, image processing, an...

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 Applications(China)
IPC IPC(8): G06F3/0484G06F9/44
CPCG06F3/04845G06F9/451
Inventor 成智刚刘延
Owner XIAN NOVASTAR 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