CN104866273A - Wallpaper display method and device for electronic equipment - Google Patents

Wallpaper display method and device for electronic equipment Download PDF

Info

Publication number
CN104866273A
CN104866273A CN201510330650.7A CN201510330650A CN104866273A CN 104866273 A CN104866273 A CN 104866273A CN 201510330650 A CN201510330650 A CN 201510330650A CN 104866273 A CN104866273 A CN 104866273A
Authority
CN
China
Prior art keywords
wallpaper
image
drawn
electronic equipment
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510330650.7A
Other languages
Chinese (zh)
Inventor
马国群
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Allwinner Technology Co Ltd
Original Assignee
Allwinner Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Allwinner Technology Co Ltd filed Critical Allwinner Technology Co Ltd
Priority to CN201510330650.7A priority Critical patent/CN104866273A/en
Publication of CN104866273A publication Critical patent/CN104866273A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The invention provides a wallpaper display method and device for electronic equipment. The method comprises the steps of receiving a wallpaper rotating signal, judging whether a rotated wallpaper image is already drawn according to the wallpaper rotating signal, if yes, acquiring the drawn wallpaper image and outputting and displaying the wallpaper image; if not, drawing the rotated wallpaper image and outputting and displaying the wallpaper image. The device comprises a signal receiving module receiving the wallpaper rotating signal, also comprises a judging module used for judging whether the rotated wallpaper image is already drawn according to the wallpaper rotating signal, also comprises a wallpaper drawing module used for drawing the rotated wallpaper image after the judgment result shows that the rotated wallpaper image is not drawn, and also comprises a wallpaper display module used for acquiring the drawn wallpaper image or a wallpaper image drawn by the wallpaper drawing module according to the wallpaper rotating signal and displaying the wallpaper image. Through adoption of the method, the wallpaper image display time can be saved, so that the screen rotating time can be reduced.

Description

The wallpaper displaying method of electronic equipment and device
Technical field
The present invention relates to image real time transfer field, particularly, be the display packing of the wallpaper that electronic equipment shows and realize the device of this display packing.
Background technology
Existing electronic equipment, as dull and stereotyped mobile phone, panel computer etc. all have larger display screen, and the resolution of display screen is more and more higher.Electronic equipment all has the wallpaper of pattern as a setting usually, and the resolution of wallpaper image resolution that is usual and electronic equipment display screen matches, and namely the resolution of wallpaper image is also more and more higher.Further, present Flat electronic equipment has multiple view direction, and electronic equipment can vertically be placed by people, also can laterally place, and laterally can place from two different directions.Usually, the wallpaper image of electronic equipment is also followed the placement direction of electronic equipment and rotates.
At present, the wallpaper of electronic equipment typically uses GPU and draws or use CPU to draw, and four common core CPU draw a wallpaper image approximately needs 150 microseconds, and using GPU to draw needs wallpaper image needs 300 microseconds.Owing to using GPU to draw wallpaper image in Android system acquiescence, and wallpaper image needs to repaint when Android system rotates.Therefore, the wallpaper Time dependent speed of Android system screen rotation of drawing.
When people use electronic equipment, be usually concerned about the rotational speed of screen, and the drafting speed of the main interface rotational speed of screen and wallpaper image has much relations, the drafting time of wallpaper image often accounts for 40% of screen main interface rotational time.Visible, improving the speed of screen rotation as needed, first must improve the drafting speed of wallpaper.
In prior art, because system only creates a wallpaper bitmap object when starting, when the screen of operating system rotates, then need repaint a wallpaper image according to new direction, could by the wallpaper image display after drafting.Due to the time that the drawing process consumption of wallpaper image is a large amount of, thus cause the rotational speed of screen slow.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of wallpaper displaying method improving electronic equipment screen rotational speed.
Another object of the present invention is to provide a kind of wallpaper display device reducing wallpaper image displaying time.
In order to realize above-mentioned fundamental purpose, the wallpaper displaying method of electronic equipment provided by the invention comprises reception wallpaper rotating signal, and, judge that whether postrotational wallpaper image is drawn according to wallpaper rotating signal, as drawn, obtain the wallpaper image output display drawn; As drawn in judged that postrotational wallpaper image does not have, then draw postrotational wallpaper image and output display.
From such scheme, after electronic equipment receives wallpaper rotating signal, first judge whether postrotational wallpaper image is drawn, when wallpaper image is drawn by directly showing the wallpaper image drawn, only just draw wallpaper image when wallpaper image is not drawn.Therefore, as long as electronic equipment drew once this direction wallpaper image and store after, without the need to again drawing the wallpaper image in this direction during the wallpaper image in follow-up this direction of display, thus greatly improve the displaying time of wallpaper image, and then improve the rotational speed at the main interface of screen.
A preferred scheme is, after drawing wallpaper image, stores the wallpaper image after drawing.Like this, call when can facilitate show the wallpaper image in this direction next time and draw and the wallpaper image stored, thus improve the display efficiency of wallpaper image.
Further scheme is, after storing the wallpaper image after drawing, the wallpaper image marking this anglec of rotation is drawn.
As can be seen here, by marking the anglec of rotation of the wallpaper image drawn, when showing the wallpaper image of this anglec of rotation next time, this mark can be quickly move through and determine whether the wallpaper image under this anglec of rotation is drawn, thus improve the display efficiency of wallpaper.
Further scheme is, after the system startup of electronic equipment, create the wallpaper bitmap object of more than two, shown wallpaper image is the pixel data of a wallpaper bitmap object.
As can be seen here, can be corresponding with a wallpaper bitmap object by the wallpaper image under different rotary angle easily by creating multiple wallpaper bitmap object, thus namely wallpaper image can be called display by calling wallpaper bitmap object.
For realizing another above-mentioned object, the wallpaper display device of electronic equipment provided by the invention comprises the signal receiving module receiving wallpaper rotating signal, also comprise judge module, for judging that according to wallpaper rotating signal whether postrotational wallpaper image is drawn, also comprise wallpaper drafting module, for drawing postrotational wallpaper image when judging that postrotational wallpaper image does not have drawn; Also comprise wallpaper display module, for obtaining wallpaper image that is that drawn or that drawn by wallpaper drafting module according to wallpaper rotating signal and showing.
From such scheme, after judge module receives wallpaper rotation letter, first judge whether the wallpaper image under this sense of rotation is drawn, and the image that direct display has been drawn when wallpaper image is drawn, thus save the time of drawing wallpaper image, reduce the time that electronic equipment shows postrotational wallpaper image.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of the wallpaper display device embodiment of electronic equipment of the present invention.
Fig. 2 is the process flow diagram of the wallpaper displaying method embodiment of electronic equipment of the present invention.
Below in conjunction with drawings and Examples, the invention will be further described.
Embodiment
Wallpaper displaying method of the present invention is applied on the electronic equipments such as such as dull and stereotyped mobile phone, panel computer, mainly when the viewing angle of electronic equipment rotates for show rotate after the wallpaper image of main screen.Because method of the present invention can store the wallpaper image under multiple different rotary angle, greatly can improve the speed of the wallpaper image shown by electronic equipment main screen, thus improve the rotational speed of main screen.Wallpaper display device of the present invention is the computer program run on an electronic device, for controlling the display of wallpaper.
See Fig. 1, wallpaper display device of the present invention comprises wallpaper bitmap object creation module 10, signal receiving module 11, judge module 12, wallpaper drafting module 13, wallpaper display module 14, wallpaper image memory module 15 and mark module 16, and above-mentioned module is all the computer programs operating in electronic equipment.
Wallpaper bitmap object creation module 10 is for creating wallpaper bitmap (bitmap) object, and preferably, when the system of electronic equipment starts, first wallpaper bitmap object creation module 10 creates multiple wallpaper bitmap object.In existing electronic product, usual establishment wallpaper bitmap object, therefore when showing wallpaper image, the wallpaper bitmap object that this is unique can only be called, therefore when the main screen of each electronic equipment rotates, all need to repaint this wallpaper image, cause the displaying time of wallpaper image long, also have influence on the screen rotation time of electronic equipment.In the present embodiment, wallpaper bitmap object creation module 10 is for creating two wallpaper bitmap objects, and one of them is the horizontal wallpaper bitmap object that the horizontal wallpaper shown is corresponding, and another is longitudinal wallpaper bitmap object that longitudinal wallpaper shown is corresponding.
Signal receiving module 11 is for receiving the screen rotation signal of electronic equipment, owing to being provided with acceleration transducer in electronic equipment, namely the signal being received acceleration transducer output by the CPU of electronic equipment can judge the direction that electronic equipment is current, once find that the view direction of electronic equipment changes, namely send wallpaper rotating signal.Signal receiving module 11 for receiving this wallpaper rotating signal, and outputs signal to judge module 12.
The signal that judge module 12 exports for Received signal strength Received signal strength module 11, and judge whether postrotational wallpaper image has been drawn and be stored, owing to draw and the wallpaper image be stored will be labeled and draws, therefore check that namely the mark under this anglec of rotation can judge whether the wallpaper image under relevant rotating angle is drawn.
Once judge module 12 judges that the wallpaper image under the anglec of rotation is not drawn, wallpaper drafting module 13 draws the wallpaper image under this anglec of rotation, namely determines the pixel datas such as the colourity of each pixel on display screen, luminance brightness.Further, wallpaper image memory module 15 will store the wallpaper image under this anglec of rotation, namely store the pixel data such as colourity, luminance brightness of each pixel in wallpaper image under this anglec of rotation.Certainly, mark module 16 also needs to mark, and the wallpaper image namely marked under this anglec of rotation is drawn.
Wallpaper display module 14 is for showing wallpaper image, as judge module 12 judges that wallpaper image is previously drawn and stores, then directly call the wallpaper bitmap object under this anglec of rotation, due to position bitmap object corresponding be pixel data under a certain angle on display screen, therefore, after calling wallpaper bitmap object, the wallpaper image stored can be shown on a display screen.After wallpaper image as judged under this anglec of rotation is not drawn, then, after being drawn by wallpaper drafting module 13, show the wallpaper image drawn by wallpaper drafting module 13.
The workflow of wallpaper displaying method is described below in conjunction with Fig. 2.First, after the system startup of electronic equipment, create two wallpaper bitmap objects by wallpaper bitmap creation module 10, namely perform step S1.Preferably, two wallpaper bitmap wallpaper objects are horizontal wallpaper bitmap object and longitudinal wallpaper bitmap object respectively.Then, perform step S2, judge whether signal receiving module 11 receives wallpaper rotating signal, if receive wallpaper rotating signal, then perform step S3, otherwise continue wait-receiving mode wallpaper rotating signal.
Electronic equipment is not when receiving wallpaper rotating signal, and the wallpaper image shown by main screen can't change, and therefore only needs to maintain the original wallpaper image of display.
In step S3, judge module 12 judges that postrotational wallpaper image is the wallpaper of laterally display or the wallpaper of longitudinally display.Due to electronic equipment rotate time, acceleration transducer will export the signal in direction of current electronic device, according to this signal, namely judge module 12 can judge that postrotational wallpaper is the wallpaper of laterally display or the wallpaper of longitudinally display.
As the wallpaper image that postrotational wallpaper is laterally display, then perform step S4, judge whether horizontal wallpaper image is drawn.After drawing wallpaper image, wallpaper image downward for mark the party is drawn by mark module 16, therefore in step S4, only need the wallpaper image judging horizontal direction whether to be marked as and draw, namely can judge whether transverse paper image is drawn.As transverse paper image is drawn, then perform step S7, by wallpaper display module 14, drawn horizontal wallpaper is shown.As judged, transverse paper image is not drawn, then perform step S5, draw transverse paper image, and store drawn wallpaper image by wallpaper image memory module 15 by wallpaper drafting module 13.Then, mark module 16 marks transverse paper image and has drawn and stored.Finally, by wallpaper display module 14, horizontal wallpaper is shown, namely perform step S7.
As in step S3, as judged, postrotational wallpaper image is longitudinal wallpaper image, then perform step S8, judge whether longitudinal wallpaper image is drawn, and as drawn, then performs step S11, is shown by drawn longitudinal wallpaper by wallpaper display module 14.As longitudinal wallpaper image does not have drawn, then perform step S9, draw longitudinal wallpaper image by wallpaper drafting module 13, and after longitudinal wallpaper image is drawn, store drawn longitudinal wallpaper image by wallpaper image memory module 15.Then, perform step S10, mark module 16 marks longitudinal wallpaper image and has drawn complete, finally, performs step S11, shows longitudinal wallpaper image.
Visible, create two wallpaper bitmap objects after system start-up, the corresponding horizontal wallpaper image of each wallpaper bitmap object or longitudinal wallpaper image, when receiving the signal that main screen rotates, no longer wallpaper image is drawn when judging that postrotational wallpaper image is drawn, but directly call the wallpaper image display stored, thus save the time of drawing wallpaper image, reduce the time required for main screen rotation.
Certainly, above-mentioned scheme is the preferred embodiment of the invention, practical application to have more change, such as, system creates four wallpaper bitmap objects when starting, the wallpaper image of corresponding main screen under 0 °, 90 °, 180 ° and 270 °, namely has the wallpaper bitmap object of two transverse paper bitmap objects and two longitudinal directions respectively respectively.Like this, when electronic equipment rotates, the wallpaper rotating signal that signal receiving module 11 receives also comprises the angle information that wallpaper rotates, and judges that postrotational wallpaper image is the wallpaper image under which angle according to wallpaper rotation angle information.When judging that the wallpaper image under this anglec of rotation is drawn, the wallpaper image that direct display has been drawn, as the wallpaper image under this anglec of rotation is not drawn, then draws the wallpaper image under this angle.Above-mentioned scheme can meet the display requirement of electronic equipment wallpaper image under different rotary angle.
Finally it is emphasized that and the invention is not restricted to above-mentioned embodiment, as the changes such as the change of the method whether change of wallpaper bitmap object quantity, mark wallpaper are drawn also should be included in the protection domain of the claims in the present invention.

Claims (10)

1. the wallpaper displaying method of electronic equipment, comprises;
Receive wallpaper rotating signal;
It is characterized in that:
Judge that whether postrotational wallpaper image is drawn according to described wallpaper rotating signal, as drawn, obtain the described wallpaper image output display drawn; As drawn in judged that postrotational wallpaper image does not have, then draw postrotational wallpaper image and output display.
2. the wallpaper displaying method of electronic equipment according to claim 1, is characterized in that:
After drawing described wallpaper image, store the described wallpaper image after drawing.
3. the wallpaper displaying method of electronic equipment according to claim 2, is characterized in that:
After storing the described wallpaper image after drawing, the wallpaper image marking this anglec of rotation is drawn.
4. the wallpaper displaying method of the electronic equipment according to any one of claims 1 to 3, is characterized in that:
After the system startup of electronic equipment, create the wallpaper bitmap object of more than two, shown described wallpaper image is the pixel data of a described wallpaper bitmap object.
5. the wallpaper displaying method of electronic equipment according to claim 4, is characterized in that:
The wallpaper bitmap object of more than two at least comprises a horizontal wallpaper bitmap object and at least one longitudinal wallpaper bitmap object.
6. the wallpaper display device of electronic equipment, comprises
Signal receiving module, receives wallpaper rotating signal;
It is characterized in that:
According to described wallpaper rotating signal, judge module, judges that whether postrotational wallpaper image is drawn;
Wallpaper drafting module, for drawing postrotational wallpaper image when judging that postrotational wallpaper image does not have drawn;
Wallpaper display module, for obtaining wallpaper image that is that drawn or that drawn by described wallpaper drafting module and showing according to described wallpaper rotating signal.
7. the wallpaper display device of electronic equipment according to claim 6, is characterized in that:
Also comprise wallpaper image memory module, be stored to storer for the wallpaper drawn by described wallpaper drafting module.
8. the wallpaper display device of electronic equipment according to claim 7, is characterized in that:
Also comprise mark module, for after described wallpaper image stores by described wallpaper image memory module, the wallpaper image marking this anglec of rotation is drawn.
9. the wallpaper display device of the electronic equipment according to any one of claim 6 to 8, is characterized in that:
Also comprise wallpaper bitmap object creation module, for creating the wallpaper bitmap object of more than two after the system of electronic equipment starts, the described wallpaper image shown by described wallpaper display module is the pixel data of a described wallpaper bitmap object.
10. the wallpaper display device of electronic equipment according to claim 9, is characterized in that:
The wallpaper bitmap object of more than two at least comprises a horizontal wallpaper bitmap object and at least one longitudinal wallpaper bitmap object.
CN201510330650.7A 2015-06-15 2015-06-15 Wallpaper display method and device for electronic equipment Pending CN104866273A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510330650.7A CN104866273A (en) 2015-06-15 2015-06-15 Wallpaper display method and device for electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510330650.7A CN104866273A (en) 2015-06-15 2015-06-15 Wallpaper display method and device for electronic equipment

Publications (1)

Publication Number Publication Date
CN104866273A true CN104866273A (en) 2015-08-26

Family

ID=53912129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510330650.7A Pending CN104866273A (en) 2015-06-15 2015-06-15 Wallpaper display method and device for electronic equipment

Country Status (1)

Country Link
CN (1) CN104866273A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110018772A (en) * 2019-02-25 2019-07-16 努比亚技术有限公司 A kind of wallpaper setting method, terminal and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420484A (en) * 2008-11-28 2009-04-29 中兴通讯股份有限公司 Wallpaper displaying method used for mobile terminal and mobile terminal
CN103793151A (en) * 2012-11-05 2014-05-14 腾讯科技(深圳)有限公司 Method and device for tailoring wallpaper
US20150029206A1 (en) * 2013-07-23 2015-01-29 Samsung Electronics Co., Ltd. Method and electronic device for displaying wallpaper, and computer readable recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420484A (en) * 2008-11-28 2009-04-29 中兴通讯股份有限公司 Wallpaper displaying method used for mobile terminal and mobile terminal
CN103793151A (en) * 2012-11-05 2014-05-14 腾讯科技(深圳)有限公司 Method and device for tailoring wallpaper
US20150029206A1 (en) * 2013-07-23 2015-01-29 Samsung Electronics Co., Ltd. Method and electronic device for displaying wallpaper, and computer readable recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110018772A (en) * 2019-02-25 2019-07-16 努比亚技术有限公司 A kind of wallpaper setting method, terminal and computer readable storage medium
CN110018772B (en) * 2019-02-25 2022-01-25 努比亚技术有限公司 Wallpaper setting method, terminal and computer-readable storage medium

Similar Documents

Publication Publication Date Title
US10606533B2 (en) Editing an image on a medium using a template including attribute information of an object in the image
CN103853512B (en) A kind of method and electronic equipment for realizing split screen
US10089957B2 (en) Page display method and terminal
AU2016269452B2 (en) User interface displaying and processing method and user interface displaying and processing device
CN103336816A (en) Canvas element rendering method and device realized on Android system based on GPU (Graphic Processing Unit)
CN104035664A (en) Display method and device for user interface of application program
CN110389730B (en) Method and device for large-screen display based on virtual display card and electronic equipment
US11301950B2 (en) Systems and methods for providing a visible watermark in a remote session
CN105511864A (en) Resource positioning method and device
CN104571992A (en) Simultaneous multi-screen marking method and device
CN111858793B (en) Map road marking processing method and device, electronic equipment and storage medium
CN106156132B (en) Picture loading display method and device
CN114201627A (en) Display method, device and equipment for electronic ink screen and storage medium
CN105511829A (en) Method and system for adjusting display scale of office software in self-adaption manner
CN104866273A (en) Wallpaper display method and device for electronic equipment
US9965676B2 (en) Method and system for identifying a plurality of reference points in a hand drawing track
CN103491416A (en) Single-layer displaying method and device of subtitle data
CN114697555B (en) Image processing method, device, equipment and storage medium
CN107133022B (en) Control display method and device in terminal equipment
US20190108814A1 (en) Method for improving system performance, device for improving system performance, and display apparatus
CN104951260B (en) The implementation method of the mixed interface based on Qt under embedded Linux platform
CN103559271A (en) Method for generating bitmap font library with gray level
CN113554546A (en) Watermark drawing method and device
CN102054463A (en) Displayer and method for dynamically displaying OSD (on screen display) menu
CN106708348B (en) Dynamic color icon display method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150826

RJ01 Rejection of invention patent application after publication