Unlock instant, AI-driven research and patent intelligence for your innovation.

A method for locating desktop lyrics after moving

It is a technology of mobile lyrics, which is applied in the direction of user interface execution, data processing input/output process, instruments, etc. It can solve the problems of incomplete display of lyrics, inaccurate position, and incorrect text color, etc., to achieve accurate presentation interface and user-friendly Experience good and responsive effects

Active Publication Date: 2021-12-14
BEIJING KUWO TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

After moving the position of the lyrics on the desktop, the problem of inaccurate position is prone to occur, resulting in incomplete display of lyrics, incorrect text color, etc., which affects the user experience. For example, when the lyrics reach the next line, all the lyrics are directly lit, not singing Fast and slow light up one by one; single-line lyrics are not lit at all, switch lyrics directly; double-line lyrics will light up, but not one by one; lyrics are stuck on the right side of the screen and cannot be adjusted; lyrics are out of sync with the song, etc.

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
  • A method for locating desktop lyrics after moving

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0054] Such as figure 1 As shown, the method for locating after the desktop lyrics of the present invention moves comprises the following steps:

[0055] Step 1, create the desktop lyrics control DeskLyricView, inherit the basic control TextView,

[0056] The basic control TextView is provided by the Android sdk. TextView itself is used to display fonts and set font size and color. After inheriting TextView, you can use the API provided by it to conveniently set and display fonts;

[0057] Step 2, set the timer timer, inherit the Timer timer class provided by the Android system, and refresh the lyrics once every 50 milliseconds by default;

[0058] Step 3, obtain the preset font size and font color;

[0059] Step 4, define brush, described brush includes:

[0060] The front brush setFrontPaint is used to draw the color and font size of the normal lyrics, ...

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 method for locating desktop lyrics after moving, comprising the following steps: Step 1, creating a desktop lyrics control DeskLyricView, inheriting the basic control TextView; Step 2, setting a timer timer, inheriting the Timer timer class provided by the Android system, default Refresh the lyrics once in 50 milliseconds; step 3, obtain the preset font size and font color; step 4, define the brush, which includes: setFrontPaint for the front brush, setBackPaint for the back brush, setShadowPaint for the shadow brush; step 5, draw the lyrics; Step 6. Respond to the operation of the desktop lyrics control DeskLyricView. The present invention can support the display of one or more lines of lyrics, and the conventional functions of desktop lyrics. Good experience.

Description

technical field [0001] The invention relates to the technical field of desktop lyrics display, in particular to a method for locating desktop lyrics after being moved. Background technique [0002] When using music apps (music players), people like to listen to the lyrics while listening. Sometimes, the app cannot run in the foreground, but people still want to see the lyrics. Therefore, the desktop lyrics function was created to meet people's needs. need. [0003] The desktop lyrics function uses the permission to open the floating window to display the lyrics on the desktop. When the App is running in the background, you can still directly see the lyrics, and the lyrics are displayed synchronously with the song (the lyrics follow the playback progress). Therefore, desktop lyrics is a floating window function. [0004] With the rich functions of Desktop Lyrics, you can not only change the style of font, font size, color, etc., but also adjust details such as transparency,...

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): G06F3/0481G06F3/0484G06F9/451
CPCG06F3/0481G06F3/0484G06F9/451
Inventor 孙征
Owner BEIJING KUWO TECH