CN109683759A - Desktop wallpaper display methods, device, mobile terminal and storage medium - Google Patents

Desktop wallpaper display methods, device, mobile terminal and storage medium Download PDF

Info

Publication number
CN109683759A
CN109683759A CN201811527540.XA CN201811527540A CN109683759A CN 109683759 A CN109683759 A CN 109683759A CN 201811527540 A CN201811527540 A CN 201811527540A CN 109683759 A CN109683759 A CN 109683759A
Authority
CN
China
Prior art keywords
wallpaper
desktop
display
mobile terminal
desktop view
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
CN201811527540.XA
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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201811527540.XA priority Critical patent/CN109683759A/en
Publication of CN109683759A publication Critical patent/CN109683759A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present application discloses a kind of desktop wallpaper display methods, device, mobile terminal and storage medium, and the embodiment of the present application can obtain the desktop view for being provided with display layer when mobile terminal enters wallpaper preview mode;The desktop view is added in the display area of wallpaper preview interface;Selection instruction is received, and wallpaper is obtained according to the selection instruction;The wallpaper is added to the display layer of the desktop view;The desktop view and wallpaper are shown within the display area.Realize display effect of the real time inspection wallpaper in conjunction with mobile terminal desktop in wallpaper preview interface, improve desktop wallpaper display effect, so that user is without setting replacement wallpaper repeatedly, it can be convenient user and quickly select desirable wallpaper, to improve the convenience and efficiency of mobile terminal wallpaper setting.

Description

Desktop wallpaper display methods, device, mobile terminal and storage medium
Technical field
This application involves technical field of mobile terminals, and in particular to a kind of desktop wallpaper display methods, device, mobile terminal And storage medium.
Background technique
With the development of science and technology and intelligent mobile terminal it is universal, demand of the user to mobile terminal gradually turns from function Become personalized, other than the difference of mobile terminal shape-designing, user is set by the personalization of mobile terminal It sets to show individual character, for example, can refer to table according to the desktop wallpaper of the hobby setting mobile terminal of oneself, the desktop wallpaper One layer of background after face.
In the prior art, it when the desktop wallpaper of mobile terminal is arranged, needs to enter wallpaper preview interface, and in the wallpaper A wallpaper is selected in preview interface, only shows the display effect of selected this wallpaper in display interface at this time, then point It hits after accomplishing the setting up, exits wallpaper preview interface, return to the effect that desktop checks wallpaper setting, to judge whether selected wallpaper fits Close the desktop of mobile terminal.When user does not like the combination effect of the set wallpaper and desktop, need to reenter wallpaper Preview interface, and another wallpaper is selected in the wallpaper preview interface, only shown in display interface at this time it is selected this Then the display effect of wallpaper is clicked after accomplishing the setting up, wallpaper preview interface is exited, and returns to the effect that desktop checks wallpaper setting Fruit, until setting customer satisfaction system desktop wallpaper effect.
Due to the display effect in existing scheme due to only showing selected this wallpaper in display interface, It needs to exit wallpaper set interface after selection wallpaper and returns to desktop, can check the setting effect of desktop wallpaper, moreover, if current The step of wallpaper of setting is dissatisfied, then needs to repeat wallpaper setting, therefore, to the desktop for being suitble to mobile terminal is arranged Wallpaper, the operating procedure needed to be implemented is comparatively laborious, and the setting low efficiency of wallpaper.
Summary of the invention
The embodiment of the present application provides a kind of desktop wallpaper display methods, device, mobile terminal and storage medium, can be promoted Desktop wallpaper display effect, to improve the convenience and efficiency of mobile terminal wallpaper setting.
In a first aspect, the embodiment of the present application provides a kind of desktop wallpaper display methods, comprising:
When mobile terminal enters wallpaper preview mode, the desktop view for being provided with display layer is obtained;
The desktop view is added in the display area of wallpaper preview interface;
Selection instruction is received, and wallpaper is obtained according to the selection instruction;
The wallpaper is added to the display layer of the desktop view;
The desktop view and wallpaper are shown within the display area.
In some embodiments, described acquisition the step of being provided with the desktop view of display layer, includes:
Display layer is set in the desktop view of the mobile terminal;
The reference of the class object of the desktop view is obtained from the global application class of the mobile terminal;
Call by reference based on the class object is provided with the desktop view of the display layer.
In some embodiments, the class of the desktop view is obtained in the global application class from the mobile terminal Before the step of reference of object, the method also includes:
The display of desktop view layout is deleted from the father of mobile terminal desktop layout, and by the desktop Global application class is gone in the reference of the class object of view.
In some embodiments, the step in the display area that the desktop view is added to wallpaper preview interface Suddenly include:
Obtain the area information of the display area;
Dimension correction, desktop view after being corrected are carried out to the desktop view according to the area information;
Desktop view after the amendment is added in the display area of wallpaper preview interface.
In some embodiments, described the step of obtaining wallpaper according to the selection instruction, includes:
When the wallpaper is system wallpaper, judge whether rolling mode is opened;
If rolling mode is not opened, the wall of the first pre-set dimension is obtained from system database according to the selection instruction Paper;
If rolling mode is opened, the wall of the second pre-set dimension is obtained from system database according to the selection instruction Paper, second pre-set dimension are greater than first pre-set dimension.
In some embodiments, described the step of obtaining wallpaper according to the selection instruction, includes:
When the wallpaper is picture library wallpaper, judge whether rolling mode is opened;
If rolling mode is not opened, the wallpaper is intercepted according to the selection instruction, obtains the first default ruler Very little wallpaper;
If rolling mode is opened, processing is zoomed in and out to the wallpaper according to the selection instruction, and to scaling processing Wallpaper afterwards is intercepted, and the wallpaper of the second pre-set dimension is obtained, and second pre-set dimension is greater than first pre-set dimension.
In some embodiments, the step of showing the desktop view and wallpaper within the display area packet It includes:
The resolution ratio of the desktop view and/or the wallpaper is reduced to default resolution ratio;
The desktop view and wallpaper after display reduction resolution ratio.
Second aspect, the embodiment of the present application also provides a kind of desktop wallpaper display devices, comprising:
Module is obtained, for obtaining the desktop view for being provided with display layer when mobile terminal enters wallpaper preview mode;
First adding module, for the desktop view to be added in the display area of wallpaper preview interface;
Selecting module obtains wallpaper for receiving selection instruction, and according to the selection instruction;
Second adding module, for the wallpaper to be added to the display layer of the desktop view;
Display module, for showing the desktop view and wallpaper within the display area.
In some embodiments, the acquisition module includes:
Setting unit, for display layer to be arranged in the desktop view of the mobile terminal;
Acquiring unit, the class object for obtaining from the global application class of the mobile terminal desktop view draw With;
Call unit is provided with the desktop view of the display layer for the call by reference based on the class object.
In some embodiments, the acquisition module further include:
Processing unit, for deleting the display layout of the desktop view from the father of mobile terminal desktop layout It removes, and global application class will be gone in the reference of the class object of the desktop view.
In some embodiments, first adding module is specifically used for:
Obtain the area information of the display area;
Dimension correction, desktop view after being corrected are carried out to the desktop view according to the area information;
Desktop view after the amendment is added in the display area of wallpaper preview interface.
In some embodiments, the selecting module is specifically used for:
When the wallpaper is system wallpaper, judge whether rolling mode is opened;
If rolling mode is not opened, the wall of the first pre-set dimension is obtained from system database according to the selection instruction Paper;
If rolling mode is opened, the wall of the second pre-set dimension is obtained from system database according to the selection instruction Paper, second pre-set dimension are greater than first pre-set dimension.
In some embodiments, the selecting module is specifically used for:
When the wallpaper is picture library wallpaper, judge whether rolling mode is opened;
If rolling mode is not opened, the wallpaper is intercepted according to the selection instruction, obtains the first default ruler Very little wallpaper;
If rolling mode is opened, processing is zoomed in and out to the wallpaper according to the selection instruction, and to scaling processing Wallpaper afterwards is intercepted, and the wallpaper of the second pre-set dimension is obtained, and second pre-set dimension is greater than first pre-set dimension.
In some embodiments, the display module is specifically used for:
The resolution ratio of the desktop view and/or the wallpaper is reduced to default resolution ratio;
The desktop view and wallpaper after display reduction resolution ratio.
The third aspect, the embodiment of the present application also provides a kind of mobile terminal, including memory and processor, the storages Program code is stored in device, the processor executes the embodiment of the present application offer when calling the program code in the memory Any desktop wallpaper display methods in step.
Fourth aspect, the embodiment of the present application also provides a kind of storage medium, the storage medium is stored with a plurality of instruction, Described instruction is suitable for processor and is loaded, to execute in any desktop wallpaper display methods provided by the embodiments of the present application Step.
The embodiment of the present application is when mobile terminal enters wallpaper preview mode, the available desktop view for being provided with display layer Figure, and desktop view is added in the display area of wallpaper preview interface;And selection instruction is received, and according to selection instruction Wallpaper is obtained, wallpaper can be added to the display layer of desktop view at this time, so as to show that desktop regards in display area Figure and wallpaper, for user's preview.Real time inspection wallpaper is realized in wallpaper preview interface in conjunction with mobile terminal desktop Display effect improves desktop wallpaper display effect, so that it is quick to can be convenient user without setting replacement wallpaper repeatedly by user Desirable wallpaper is selected, to improve the convenience and efficiency of mobile terminal wallpaper setting.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is the flow diagram of desktop wallpaper display methods provided by the embodiments of the present application;
Fig. 2 is another flow diagram of desktop wallpaper display methods provided by the embodiments of the present application;
Fig. 3 is the schematic diagram of desktop wallpaper preview provided by the embodiments of the present application;
Fig. 4 is the structural schematic diagram of desktop wallpaper display device provided by the embodiments of the present application;
Fig. 5 is the structural schematic diagram of mobile terminal provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, those skilled in the art's every other implementation obtained without creative efforts Example, shall fall in the protection scope of this application.
Referring to Fig. 1, Fig. 1 is the flow diagram for the desktop wallpaper display methods that one embodiment of the application provides.The table The executing subject of surface wallpaper display methods can be desktop wallpaper display device provided by the embodiments of the present application, or be integrated with this The mobile terminal of desktop wallpaper display device, wherein the desktop wallpaper display device can be by the way of hardware or software It realizes, which can be smart phone, tablet computer, palm PC or laptop etc..The desktop wallpaper is aobvious Show that method may include:
S101, when mobile terminal enters wallpaper preview mode, obtain and be provided with the desktop view of display layer.
For example, entering wall according to long-pressing instruction when mobile terminal can receive long-pressing instruction in desktop display area Paper preview mode, long-pressing instruction can be the time pressed in desktop display area based on finger greater than preset time threshold Value, and the pressure value of pressing are greater than preset pressure threshold value and generate, wherein preset time threshold and preset pressure threshold value can To carry out flexible setting according to actual needs.
Alternatively, mobile terminal can be introduced into set interface, interface is then arranged by the wallpaper in set interface and is entered Wallpaper preview mode.Certainly, mobile terminal can also enter wallpaper preview mode by other means, particular content this not It limits.
Enter wallpaper preview mode after, in order to show in the display area of wallpaper preview interface desktop view with Wallpaper, at this point, the available desktop view for being provided with display layer of mobile terminal, wherein the display layer is referred to as false wall Paper view is mainly used for placing wallpaper, and display and the offset etc. for simulating wallpaper, and mobile terminal can be in advance in desktop view Display layer is set.
S102, desktop view is added in the display area of wallpaper preview interface.
Under wallpaper preview mode, the display interface of mobile terminal can show wallpaper preview interface, in wallpaper preview circle Display area can be set in face, the area of the display area can be less than the display screen of mobile terminal, the display area Size, position or shape etc. can carry out flexible setting according to actual needs.
After obtaining being provided with the desktop view of display layer, desktop view can be added to wallpaper preview circle by mobile terminal In the display area in face, for example, mobile terminal can be by table if the area of display area is less than the display screen of mobile terminal Face view is reduced according to preset ratio, the desktop view after being reduced, and it is pre- that the desktop view after diminution is added to wallpaper It lookes in the display area at interface.
In another example mobile terminal can regard desktop if the shape of desktop view and the shape of display area are inconsistent Figure is intercepted according to the shape of display area, the desktop view after being intercepted, and the desktop view after interception is added to In the display area of wallpaper preview interface.
S103, selection instruction is received, and wallpaper is obtained according to selection instruction.
When mobile terminal has just enter into wallpaper preview mode, wallpaper can be obtained according to the selection instruction of default, with And it can receive the selection instruction of user's input, and wallpaper is obtained according to selection instruction.The wallpaper may include system wallpaper and Picture library wallpaper etc., wherein system wallpaper can be the included picture of mobile terminal system, and picture library wallpaper can be above and below network The picture or picture library wallpaper of load can be the picture etc. taken pictures by the camera of mobile terminal.
For example, mobile terminal can determine the first load path of wallpaper according to selection instruction, and based on the first load road Diameter obtains picture library wallpaper from picture library;Alternatively, the second load path of wallpaper is determined according to selection instruction, based on the second load road Diameter obtains system wallpaper from system database.
S104, the display layer that wallpaper is added to desktop view.
After obtaining wallpaper, wallpaper can be added to the display layer of desktop view by mobile terminal, which can be Positioned at the lower section of desktop view, such wallpaper can be shown in below desktop view, since desktop view is located at wallpaper preview circle In the display area in face, therefore, wallpaper will be also added in display area at this time.For example, mobile terminal can by wallpaper according to Preset ratio zooms in or out, the wallpaper after being zoomed in or out, and the wallpaper after zooming in or out is added to desktop view The display layer of figure.
In another example mobile terminal can be by wallpaper according to display if the shape of wallpaper and the shape of display layer are inconsistent The shape of layer is intercepted, the wallpaper after being intercepted, and the wallpaper after interception is added to the display layer of desktop view.
S105, desktop view and wallpaper are shown in display area.
After desktop view and wallpaper are added in display area, desktop view and wall can be shown in display area Paper, at this point, under wallpaper preview mode, user can in the display area of wallpaper preview interface preview desktop view and wallpaper In conjunction with display effect.
The embodiment of the present application is when mobile terminal enters wallpaper preview mode, the available desktop view for being provided with display layer Figure, and desktop view is added in the display area of wallpaper preview interface;And selection instruction is received, and according to selection instruction Wallpaper is obtained, wallpaper can be added to the display layer of desktop view at this time, so as to show that desktop regards in display area Figure and wallpaper, for user's preview.Real time inspection wallpaper is realized in wallpaper preview interface in conjunction with mobile terminal desktop Display effect improves desktop wallpaper display effect, so that it is quick to can be convenient user without setting replacement wallpaper repeatedly by user Desirable wallpaper is selected, to improve the convenience and efficiency of mobile terminal wallpaper setting.
The desktop wallpaper display methods according to described in above-described embodiment, will now be described in further detail below.
Referring to figure 2., Fig. 2 is another flow diagram of desktop wallpaper display methods provided by the embodiments of the present application.It should Desktop wallpaper display methods can be applied to mobile terminal, as shown in Fig. 2, the process of the desktop wallpaper display methods can be as Under:
S201, when mobile terminal enters wallpaper preview mode, display layer is set in the desktop view of mobile terminal.
For example, entering wall according to long-pressing instruction when mobile terminal can receive long-pressing instruction in desktop display area Paper preview mode;Alternatively, mobile terminal can be introduced into set interface, then by the wallpaper in set interface be arranged interface into Enter wallpaper preview mode, etc..
Enter wallpaper preview mode after, in order to show in the display area of wallpaper preview interface desktop view with Then desktop view is being added to display area at this point, display layer can be first arranged in mobile terminal in desktop view by wallpaper Afterwards, wallpaper can be loaded onto the display layer of desktop view, is shown in the display area so as to reach wallpaper preview interface Show the purpose of desktop view and wallpaper.
S202, the display of desktop view layout is deleted from the father of mobile terminal desktop layout, and by desktop view Global application class is gone in the reference of class object.
In order to realize that the desktop view by mobile terminal desktop interface display is transferred to the display of wallpaper preview interface It is shown in region, the reference of the class object of desktop view can be subjected to transfer by the global application class of mobile terminal, so as to From the call by reference desktop view in global application class, at this point, the display of desktop view can be laid out from shifting by mobile terminal It is deleted in father's layout of dynamic terminal desktop, to will no longer be shown the display layout of desktop in the desk interface of mobile terminal, The father layout be desktop view (being referred to as main screen application view or launcher view) before container, delete at this time What is deleted is the layout view shown, and is laid out object also in class object, which is not deleted;And by table Global application class is gone in the reference of the class object of face view, which includes the application class of application.
S203, from the global application class of mobile terminal obtain desktop view class object reference.
S204, the call by reference based on class object are provided with the desktop view of display layer.
At this point, mobile terminal can obtain the reference of the class object of desktop view from global application class, pass through class object Reference can call class object, based on the available desktop view for being provided with display layer of the class object.Due in class object Including topology data, therefore desktop view can be generated according to topology data in class object, such as obtain by the method for addView Desktop view is taken, desktop view is then added to display area.
S205, the area information for obtaining display area carry out Dimension correction to desktop view according to area information, are repaired Desktop view after just.
S206, desktop view after amendment is added in the display area of wallpaper preview interface.
It is inconsistent and asking for display can not be matched in order to solve area and shape between desktop view and display area etc. Topic, can first obtain the area information of display area, which may include the area of display area, location and shape Deng, it then can be according to area information to desktop view progress Dimension correction, desktop view after being corrected.For example, by practical Desktop view interpolate row Dimension correction by certain scaling, desktop view after amendment is added to the aobvious of wallpaper preview interface Show in region, desktop view can be matched to display in display area in this way, to realize desktop layouts real-time display.
For example, mobile terminal can be by desktop view if the area of display area is less than the display screen of mobile terminal It is reduced according to preset ratio, the desktop view after being reduced, and the desktop view after diminution is added to wallpaper preview interface Display area in.
In another example mobile terminal can regard desktop if the shape of desktop view and the shape of display area are inconsistent Figure is intercepted according to the shape of display area, the desktop view after being intercepted, and the desktop view after interception is added to In the display area of wallpaper preview interface.
S207, selection instruction is received, and wallpaper is obtained according to selection instruction.
Mobile terminal can receive the selection instruction of default, or receive the selection instruction of user's input, and according to selection Instruction obtains wallpaper.For example, mobile terminal can determine the first load path of wallpaper according to selection instruction, and add based on first It carries path and obtains picture library wallpaper from picture library;Alternatively, determining the second load path of wallpaper according to selection instruction, add based on second It carries path and obtains system wallpaper from system database.
In some embodiments, the step of obtaining wallpaper according to selection instruction may include: when wallpaper is system wallpaper When, judge whether rolling mode is opened;If rolling mode is not opened, first is obtained from system database according to selection instruction The wallpaper of pre-set dimension;If rolling mode is opened, the second pre-set dimension is obtained from system database according to selection instruction Wallpaper, the second pre-set dimension are greater than the first pre-set dimension.
Wherein, rolling mode can select to open or close according to the demand of user, for example, mobile terminal can roll The setting instruction that user's input is received in mode setting interface opens or closes rolling mode according to setting instruction.It is rolling In the case that mode is opened, wallpaper can be moved with the movement of desktop view;In the case where rolling mode is closed, desktop The movement of view, and wallpaper does not move.
Mobile terminal is during obtaining wallpaper according to selection instruction, it can be determined that the wallpaper currently selected is system wall Paper or picture library wallpaper can further judge whether rolling mode is opened when the wallpaper of selection is system wallpaper.If rolling Mode is not opened, then mobile terminal can obtain the wallpaper of the first pre-set dimension according to selection instruction from system database, should First pre-set dimension can carry out flexible setting according to actual needs, for example, first pre-set dimension can be length and width It is consistent with desktop view.
If rolling mode is opened, the wallpaper of the second pre-set dimension is obtained from system database according to selection instruction, the Two pre-set dimensions are greater than the first pre-set dimension, which can carry out flexible setting according to actual needs, for example, should Second pre-set dimension can be the equivalent width of width and desktop view, and length is twice of the length of desktop view.In order to The wallpaper of the first pre-set dimension or the wallpaper of the second pre-set dimension can be got, mobile terminal can be by selected system wall Paper automatic centering simultaneously intercepts the wallpaper met the size requirements.
In some embodiments, the step of obtaining wallpaper according to selection instruction may include: when wallpaper is picture library wallpaper When, judge whether rolling mode is opened;If rolling mode is not opened, wallpaper is intercepted according to selection instruction, obtains The wallpaper of one pre-set dimension;If rolling mode is opened, processing is zoomed in and out to wallpaper according to selection instruction, and to scaling processing Wallpaper afterwards is intercepted, and the wallpaper of the second pre-set dimension is obtained, and the second pre-set dimension is greater than the first pre-set dimension.
Specifically, when wallpaper is picture library wallpaper, mobile terminal can further judge whether rolling mode is opened;If rolling Dynamic model formula is not opened, then is intercepted according to selection instruction to wallpaper, and the wallpaper of the first pre-set dimension is obtained.For example, working as wallpaper Size less than the first pre-set dimension when, wallpaper can be amplified according to preset ratio, obtain the wall of the first pre-set dimension Paper;Alternatively, can reduce wallpaper according to preset ratio when the size of wallpaper is greater than the first pre-set dimension, the is obtained The wallpaper of one pre-set dimension;Alternatively, when the size of wallpaper is greater than the first pre-set dimension, can the direct screenshot wallpaper it is default Region (such as intermediate region or upper left corner area etc.), obtains the wallpaper of the first pre-set dimension;Alternatively, the size when wallpaper is equal to It, can be directly using wallpaper as the wallpaper of the first pre-set dimension when the first pre-set dimension;Etc..
If rolling mode is opened, processing is zoomed in and out to wallpaper according to selection instruction, and to the wallpaper after scaling processing It is intercepted, obtains the wallpaper of the second pre-set dimension.For example, when the size of wallpaper is less than the first pre-set dimension, it can be by wall Paper amplifies (such as amplifying twice) according to preset ratio, then intercepts the wallpaper of the second pre-set dimension;Alternatively, when wallpaper When size is greater than the second pre-set dimension, wallpaper can be reduced according to preset ratio, obtain the wallpaper of the second pre-set dimension; Alternatively, when the size of wallpaper is greater than the second pre-set dimension, can the direct screenshot wallpaper predeterminable area (such as intermediate region Or upper left corner area etc.), obtain the wallpaper of the second pre-set dimension;Alternatively, when the size of wallpaper is equal to the second pre-set dimension, it can Directly by wallpaper as the wallpaper of the second pre-set dimension;Etc..
S208, the display layer that wallpaper is added to desktop view.
After obtaining wallpaper, wallpaper can be added to the display layer of desktop view by mobile terminal, which can be Positioned at the lower section of desktop view, such wallpaper can be shown in below desktop view, since desktop view is located at wallpaper preview circle In the display area in face, therefore, wallpaper will be also added in display area at this time.
The area information of the available display area of mobile terminal carries out Dimension correction to wallpaper according to area information, obtains Wallpaper after amendment is added to the display layer of desktop view by wallpaper after to amendment.For example, can be according to the screen of mobile terminal point Resolution and wallpaper size carry out wallpaper to zoom in or out processing, obtain the suitable wallpaper of size, which is added to desktop In the display layer of view, so as to simulate the actual displayed effect of wallpaper.In another example if the shape of wallpaper and the shape of display layer Shape is inconsistent, then mobile terminal can intercept wallpaper according to the shape of display layer, the wallpaper after being intercepted, and will cut Wallpaper after taking is added to the display layer of desktop view.
S209, desktop view and wallpaper are shown in display area.
After desktop view and wallpaper are added in display area, desktop view and wall can be shown in display area Paper, at this point, under wallpaper preview mode, user can in the display area of wallpaper preview interface preview desktop view and wallpaper In conjunction with display effect, for example, as shown in Figure 3.
The coordinate information of the available wallpaper of mobile terminal cuts wallpaper according to preset strategy according to coordinate information It takes, wallpaper after being intercepted, sets desktop wallpaper for wallpaper after interception.The preset strategy can carry out spirit according to actual needs Setting living, for example, the wallpaper in display area can be intercepted, is set as desktop wallpaper.
When needing to exit wallpaper preview mode, mobile terminal can be deleted the desktop view of wallpaper preview interface, into The readjustment of row desktop view pulls back to the display layout of desktop view in father's layout of mobile terminal desktop, and from transfer The reference that the class object of desktop view is obtained in global application class, the table of mobile terminal desktop interface display is restored based on the reference Face view, the display size etc. including restoring desktop view.
In some embodiments, the step of desktop view and wallpaper are shown in display area may include: by desktop The resolution ratio of view and/or wallpaper is reduced to default resolution ratio;Desktop view and wallpaper after display reduction resolution ratio.
It, can be with when mobile terminal shows desktop view and wallpaper in display area in order to reduce the power consumption of mobile terminal The resolution ratio of desktop view is reduced to default resolution ratio, then shows that wallpaper and display reduce the desktop view after resolution ratio; Alternatively, the resolution ratio of wallpaper can be reduced to default resolution ratio, after then showing that desktop view and display reduce resolution ratio Wallpaper;Alternatively, desktop view and the resolution ratio of wallpaper can be reduced to default resolution ratio, then show after reducing resolution ratio Desktop view and wallpaper, the default resolution ratio can carry out flexible setting according to actual needs.
After showing desktop view and wallpaper in the display area of wallpaper preview interface, mobile terminal may determine that viewing area In domain whether there is trigger action, the trigger action may include to the left slide, to the right slide, upward sliding behaviour Work, slide downward operation and pressing operation etc..
When that, there are when trigger action, can determine the action type of trigger action in display area, for example, working as display area When inside there is the trigger action of upward sliding, it can be determined that whether the sliding parameter of upward sliding meets the item of upward sliding operation Part, if satisfied, then determining the action type of the trigger action for upward sliding operation, if not satisfied, then determining the trigger action Action type be not upward sliding operation.The sliding parameter may include sliding distance, sliding speed or sliding pressure value etc., For example, when sliding distance in pre-determined distance threshold range, sliding speed in pre-set velocity threshold range, and/or sliding pressure When force value is in preset pressure threshold range, which meets the condition of upward sliding operation, wherein pre-determined distance threshold value Range, pre-set velocity threshold range and preset pressure threshold range etc. can carry out flexible setting according to actual needs.
In another example when there is the trigger action of pressing in display area, it can be determined that whether the pressing parameter of pressing is full The sufficient condition to pressing operation, if satisfied, then determining that the action type of the trigger action is pressing operation, if not satisfied, then really The action type of the fixed trigger action is not pressing operation.The pressing parameter may include compressing time or press pressure value etc., For example, between when pushed within the scope of preset time threshold and when press pressure value is in preset pressure threshold range, the pressing Parameter meets the condition to pressing operation, wherein preset time threshold range and preset pressure threshold range etc., it can be according to reality Border needs to carry out flexible setting.After determining action type, at this point, mobile terminal can be according to action type to desktop view And/or wallpaper executes corresponding preview operation.
In some embodiments, corresponding preview operation is executed to desktop view and/or wallpaper according to action type Step includes: to obtain the corresponding sliding parameter of left/right slide, and judge to roll when action type is left/right slide Whether dynamic model formula opens;If rolling mode is opened, the first offset information and wallpaper of desktop view are determined according to sliding parameter The second offset information, according to the first offset information mobile desktop view, and according to the mobile wallpaper of the second offset information;If rolling Dynamic model formula is not opened, then the third offset information of desktop view is determined according to sliding parameter, according to third offset information Mobile table Face view.
For example, available left slide is corresponding when action type is left slide (i.e. slide to the left) Sliding parameter;When action type is right slide (i.e. slide to the right), available right slide is corresponding Parameter is slided, which may include sliding distance, sliding pressure value and sliding speed etc..Left/right in the present embodiment Slide can be, and finger pressing executes the left/right slide that do not loose one's grip in the display area of mobile terminal.
When rolling mode is opened, mobile terminal can according to the sliding parameter of left/right slide and offset information it Between corresponding relationship, the first offset information of desktop view and the second offset information of wallpaper are determined, for example, available sliding The sliding distance of operation determines the first offset letter of desktop view according to the corresponding relationship between sliding distance and offset information Breath, and determine the second offset information of wallpaper, which may include moving direction and the movement of desktop view Distance etc., the second offset information may include moving direction and moving distance of wallpaper etc..
It should be noted that if be shown in the desktop view in the display area of wallpaper preview interface, relative to being shown in The desktop view of the screen display interface of mobile terminal is reduced according to preset ratio (such as 0.7 times), is then existed at this time There are trigger actions can also suitably be reduced according to the ratio in display area, such as reduces to sliding distance, obtains Sliding distance after to diminution acts on sliding distance after diminution in the display area.
Then, mobile terminal can according in the first offset information moving direction and the mobile desktops such as moving distance regard Figure, and according to the moving direction and the mobile wallpaper such as moving distance in the second offset information.
It should be noted that multiple different wallpapers can be carried out tiled display, example during wallpaper is mobile Such as, when move right wallpaper when, it is available at this time next if display area can not be covered after the wallpaper that currently shows is mobile Wallpaper is opened, next wallpaper is spliced with current wallpaper, obtains spliced wallpaper, spliced wallpaper is shown aobvious Show in region.
When rolling mode is not opened, mobile terminal can determine that desktop is regarded according to the sliding parameter of left/right slide The third offset information of figure, the sliding parameter may include sliding distance, sliding pressure value and sliding speed etc., for example, can be with The sliding distance for obtaining slide determines the of desktop view according to the corresponding relationship between sliding distance and offset information Three offset informations, the third offset information may include moving direction and moving distance of desktop view etc..Then, mobile terminal It can be according to the mobile desktops view such as the moving direction of third offset information and moving distance.It is i.e. sliding for left/right when action type When dynamic operation, if rolling mode is opened, desktop view and wallpaper are mobile simultaneously;If rolling mode is not opened, desktop view It is mobile, and wallpaper does not move.
In wallpaper preview interface, it is true that user can check that wallpaper mixes mobile terminal in real time by horizontally slipping Desktop view effect, with true desktop page switching operation it is identical so that user can intuitively check wall The actual effect of paper setting, promotes the effect of user's preview wallpaper, to improve the efficiency of wallpaper setting.
In some embodiments, corresponding preview operation is executed to desktop view and/or wallpaper according to action type Step includes: to obtain the corresponding sliding parameter of left/right slide, and judge to roll when action type is left/right slide Whether dynamic model formula opens;If rolling mode is opened, the scrolling information of wallpaper is determined according to sliding parameter, is moved according to scrolling information Dynamic wallpaper, and when sliding parameter meets preset condition, the current page of desktop view is switched into next page;If rolling Mode is not opened, then when sliding parameter meets preset condition, the current page of desktop view is switched to next page.
Specifically, when action type is left slide (i.e. slide to the left), available left slide pair The sliding parameter answered;When action type is right slide (i.e. slide to the right), available right slide is corresponding Sliding parameter, which may include sliding distance, sliding pressure value and sliding speed etc..A left side in the present embodiment/ Right slide can be, and finger pressing executes the behaviour of release hand after left/right slide in the display area of mobile terminal Make.
When rolling mode is opened, mobile terminal can be according to the corresponding relationship between sliding parameter and scrolling information, really Determine the scrolling information of wallpaper, which may include rotating direction and roll value etc., for example, roll value=(wallpaper width- The screen width of mobile terminal) * rolling ratio value, which can be WallpaperOffsetSteps, each table When the number of pages of face view changes, which can change, which can carry out spirit according to actual needs Setting living.At this point it is possible to according to rotating direction and the mobile wallpaper such as roll value in scrolling information, and judgement sliding parameter is It is no to meet preset condition, when sliding parameter meets preset condition, the current page of desktop view can be switched into lower one page Face.The preset condition can carry out flexible setting according to actual needs, for example, ought slide to the left sliding distance be greater than it is pre- If when distance threshold, the current page of desktop view can be switched to previous page to the left;When the sliding of slide to the right When distance is greater than pre-determined distance threshold value, the current page of desktop view can be switched into the right following page.If rolling mode It does not open, then mobile terminal may determine that whether sliding parameter meets preset condition, can when sliding parameter meets preset condition The current page of desktop view is switched to next page.So as to realize multipage live preview effect, user when preview It can intuitively check the display effect combined between the desktop view and wallpaper of all pages, greatly improve user and select wall The efficiency of paper.
In some embodiments, corresponding preview operation is executed to desktop view and/or wallpaper according to action type Step includes: to judge whether rolling mode is opened when action type is up/down slide;If rolling mode is opened, obtain Take the corresponding sliding parameter of up/down slide;According to sliding parameter deterministic type it is the offset information of wallpaper, and is believed according to offset Cease mobile wallpaper.
When action type is upper slide (i.e. upward sliding operation), it can be determined that whether rolling mode is opened, when When rolling mode is opened, the corresponding sliding parameter of the available upper slide of mobile terminal;When action type is lower slider behaviour When making (i.e. slide downward operation), it can be determined that whether rolling mode is opened, and when rolling mode is opened, mobile terminal can be obtained The corresponding sliding parameter of slide is removed, which may include sliding distance, sliding pressure value and sliding speed etc.. Mobile terminal can be the offset information of wallpaper according to the corresponding relationship between sliding parameter and offset information, deterministic type, this is partially Moving information may include moving direction and moving distance of wallpaper etc., and then, mobile terminal can be according to the shifting in offset information The dynamic mobile wallpaper such as direction and moving distance.When rolling mode is not opened, mobile terminal can not execute any operation, or Other operations are executed, particular content is not construed as limiting here.So as to check that wallpaper combines in real time by sliding up and down The preview effect of mobile terminal desktop view, promotes the convenience of user's preview, to improve the efficiency of wallpaper setting.
It should be noted that may have wallpaper can not cover display area during wallpaper up or down is mobile The case where, at this point, in one embodiment, mobile terminal can amplify current wallpaper, then by amplified wallpaper It is shown in display area, so that display area can be completely covered in amplified wallpaper.In another embodiment, it can incite somebody to action Multiple different wallpapers carry out tiled display, for example, when moving down wallpaper, if after the wallpaper currently shown is mobile, it can not Display area is covered, next wallpaper available at this time splices next wallpaper with current wallpaper, after obtaining splicing Wallpaper, spliced wallpaper is shown in display area.
In some embodiments, corresponding preview operation is executed to desktop view and/or wallpaper according to action type Step includes: to judge whether rolling mode is opened when action type is up/down slide;If rolling mode is opened, obtain Take the corresponding sliding parameter of up/down slide;Wallpaper switching direction is determined according to sliding parameter, and will be worked as according to switching direction Preceding wallpaper switches to next wallpaper.
When action type is upper slide, it can be determined that whether rolling mode is opened, and when rolling mode is opened, moves The corresponding sliding parameter of the available upper slide of dynamic terminal;When action type is that lower slider operates, it can be determined that roll Whether mode opens, and when rolling mode is opened, the available lower slider of mobile terminal operates corresponding sliding parameter, the sliding Parameter may include sliding distance, sliding pressure value and sliding speed etc..Mobile terminal can according to sliding parameter deterministic type be The switching direction of wallpaper, switching direction may include switching to previous wallpaper of current wallpaper, or to the latter of current wallpaper Wallpaper switching etc. is opened, then, current wallpaper can be switched to next wallpaper according to switching direction by mobile terminal.When rolling mould When formula is not opened, mobile terminal can not execute any operation, or execute other operations, and particular content does not limit here It is fixed.Can be with quick-replaceable wallpaper so as to be slided up and down by sliding up and down, when wallpaper preview, being capable of Complete Mappings desktop Practical layout effect, promoted user's preview convenience and flexibility, thus improve wallpaper setting efficiency.
In some embodiments, corresponding preview operation is executed to desktop view and/or wallpaper according to action type Step includes: that the desktop view currently shown is switched to screen locking view when action type is pressing operation.
When action type is pressing operation, the desktop view currently shown is switched to screen locking view, at this point, in wallpaper Screen locking view and wallpaper are shown in the display area of preview interface, user can be to the reality combined between screen locking view and wallpaper Effect carries out preview.
In some embodiments, desktop wallpaper method for previewing further include: receive setting instruction, will be worked as according to setting instruction The wallpaper of preceding display, while being set as desktop wallpaper and screen locking wallpaper, be set as desktop wallpaper or being set as screen locking wallpaper.
Wherein, setting instruction may include the first setting instruction, the second setting instruction and third setting instruction etc., to table After combining reality to carry out preview between face view and wallpaper, desktop wallpaper if desired is set by current wallpaper, then can be connect The the first setting instruction for receiving user's input sets desktop wallpaper for the wallpaper currently shown according to the first setting instruction;If It needs to set screen locking wallpaper for current wallpaper, then can receive the second setting instruction of user's input, second set according to this It sets instruction and sets screen locking wallpaper for the wallpaper currently shown;If desired it sets desktop wallpaper and lock simultaneously by current wallpaper Screen-wall paper then can receive the third setting instruction of user's input, according to third setting instruction that the wallpaper currently shown is same When be set as desktop wallpaper and screen locking wallpaper.
The embodiment of the present application can be set when mobile terminal enters wallpaper preview mode in the desktop view of mobile terminal Display layer is set, and the reference of the class object of desktop view is subjected to transfer by global application class, so that mobile terminal can obtain The desktop view for being provided with display layer is got, is added to the aobvious of wallpaper preview interface after desktop view is then carried out Dimension correction Show in region;And selection instruction is received, and wallpaper is obtained according to selection instruction, wallpaper can be added to desktop view at this time Display layer, so as to show desktop view and wallpaper in display area, for user's preview.It realizes in wallpaper preview Display effect of the real time inspection wallpaper in conjunction with mobile terminal desktop in interface, improves desktop wallpaper display effect, so that with Family can be convenient user and quickly select desirable wallpaper, to improve mobile terminal wall without setting replacement wallpaper repeatedly The convenience and efficiency of paper setting.
For convenient for better implementation desktop wallpaper display methods provided by the embodiments of the present application, the embodiment of the present application is also provided A kind of device based on above-mentioned desktop wallpaper display methods.The wherein meaning of noun and phase in above-mentioned desktop wallpaper display methods Together, specific implementation details can be with reference to the explanation in embodiment of the method.
Referring to Fig. 4, Fig. 4 is the structural schematic diagram of desktop wallpaper display device provided by the embodiments of the present application, wherein should Desktop wallpaper display device 300 may include obtaining module 301, the first adding module 302, selecting module 303, second to add mould Block 304 and display module 305 etc..
Wherein, module 301 is obtained, for when mobile terminal enters wallpaper preview mode, acquisition to be provided with display layer Desktop view.
First adding module 302, for desktop view to be added in the display area of wallpaper preview interface.
Selecting module 303 obtains wallpaper for receiving selection instruction, and according to selection instruction.
Second adding module, for wallpaper to be added to the display layer of desktop view.
Display module 304, for showing desktop view and wallpaper in display area.
In some embodiments, obtaining module 301 includes:
Setting unit, for display layer to be arranged in the desktop view of mobile terminal;
Acquiring unit, the reference of the class object for obtaining desktop view from the global application class of mobile terminal;
Call unit is provided with the desktop view of display layer for the call by reference based on class object.
In some embodiments, module 301 is obtained further include:
Processing unit, for deleting the display of desktop view layout from the father of mobile terminal desktop layout, and by table Global application class is gone in the reference of the class object of face view.
In some embodiments, the first adding module 302 is specifically used for: obtaining the area information of display area;According to Area information carries out Dimension correction, desktop view after being corrected to desktop view;Desktop view after amendment is added to wallpaper In the display area of preview interface.
In some embodiments, selecting module 303 is specifically used for: when wallpaper is system wallpaper, judging rolling mode Whether open;If rolling mode is not opened, the wallpaper of the first pre-set dimension is obtained from system database according to selection instruction; If rolling mode is opened, the wallpaper of the second pre-set dimension, the second default ruler are obtained from system database according to selection instruction It is very little to be greater than the first pre-set dimension.
In some embodiments, selecting module 303 is specifically used for: when wallpaper is picture library wallpaper, judging rolling mode Whether open;If rolling mode is not opened, wallpaper is intercepted according to selection instruction, obtains the wall of the first pre-set dimension Paper;If rolling mode is opened, processing is zoomed in and out to wallpaper according to selection instruction, and cut to the wallpaper after scaling processing It takes, obtains the wallpaper of the second pre-set dimension, the second pre-set dimension is greater than the first pre-set dimension.
In some embodiments, display module 304 is specifically used for: desktop view and/or the resolution ratio of wallpaper are reduced To preset resolution ratio;Desktop view and wallpaper after display reduction resolution ratio.
The specific implementation of above each operation can be found in the embodiment of front, and details are not described herein.
The embodiment of the present application when mobile terminal enters wallpaper preview mode, obtain module 301 it is available be provided with it is aobvious Show the desktop view of layer, and desktop view is added in the display area of wallpaper preview interface by the first adding module 302;With And selection instruction receiving by selecting module 303, and wallpaper is obtained according to selection instruction, the second adding module 304 can incite somebody to action at this time Wallpaper is added to the display layer of desktop view, so that display module 305 can show desktop view and wallpaper in display area, For user's preview.Display effect of the real time inspection wallpaper in conjunction with mobile terminal desktop in wallpaper preview interface is realized, Desktop wallpaper display effect is improved, so that user can be convenient user and quickly select to close the heart without setting replacement wallpaper repeatedly The wallpaper of meaning, to improve the convenience and efficiency of mobile terminal wallpaper setting.
Fig. 5 shows the specific block diagram of mobile terminal provided in an embodiment of the present invention, which can be used for The desktop wallpaper display methods provided in above-described embodiment is provided.The mobile terminal 1200 can be smart phone or tablet computer Deng.
As shown in figure 5, mobile terminal 1200 may include RF (Radio Frequency, radio frequency) circuit 110, include The memory 120 of one or more (one is only shown in figure) computer readable storage mediums, input unit 130, display Unit 140, voicefrequency circuit 160, transmission module 170, includes one or more than one and (only shows one in figure sensor 150 It is a) processor 180 of processing core and the equal components of power supply 190.It will be understood by those skilled in the art that being moved shown in Fig. 5 Dynamic 1200 structure of terminal does not constitute the restriction to mobile terminal 1200, may include components more more or fewer than diagram, or Person combines certain components or different component layouts.Wherein:
RF circuit 110 realizes the mutual conversion of electromagnetic wave and electric signal, thus with logical for receiving and transmitting electromagnetic wave News network or other equipment are communicated.RF circuit 110 may include various existing for executing the circuit elements of these functions Part, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module (SIM) card, storage Device etc..RF circuit 110 can carry out communicating or by wireless with various networks such as internet, intranet, wireless network Network is communicated with other equipment.Above-mentioned wireless network may include cellular telephone networks, WLAN or Metropolitan Area Network (MAN). Various communication standards, agreement and technology, including but not limited to global system for mobile communications can be used in above-mentioned wireless network (Global System for Mobile Communication, GSM), enhanced mobile communication technology (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (Wideband Code Division Multiple Access, WCDMA), Code Division Multiple Access (Code Division Access, CDMA), time division multiple access technology (Time Division Multiple Access, TDMA), adopting wireless fidelity technology (Wireless Fidelity, Wi-Fi) (such as U.S.'s electricity Gas and Electronic Engineering Association standard IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n), the networking telephone (Voice over Internet Protocol, VoIP), worldwide interoperability for microwave accesses (Worldwide Interoperability for Microwave Access, Wi-Max), other be used for mail, Instant Messenger The agreement and any other suitable communications protocol of news and short message, or even may include that those are not developed currently yet Agreement.
Memory 120 can be used for storing software program and module, such as desktop wallpaper display methods in above-described embodiment Program instruction/module, the software program and module that processor 180 is stored in memory 120 by operation, thereby executing each The function that kind functional application and data processing, i.e. realization desktop wallpaper are shown.Memory 120 may include high speed random storage Device may also include nonvolatile memory, such as one or more magnetic storage device, flash memory or other are non-volatile solid State memory.In some instances, memory 120 can further comprise the memory remotely located relative to processor 180, this A little remote memories can pass through network connection to mobile terminal 1200.The example of above-mentioned network include but is not limited to internet, Intranet, local area network, mobile radio communication and combinations thereof.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 130 may include touching Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional , touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and mobile terminal that are supplied to user 1200 various graphical user interface, these graphical user interface can be by figure, text, icon, video and any combination thereof To constitute.Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal display), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) come Configure display panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 is detected at it On or near touch operation after, send processor 180 to determine the type of touch event, be followed by subsequent processing device 180 according to touching The type for touching event provides corresponding visual output on display panel 141.Although in Fig. 5, touch sensitive surface 131 and display surface Plate 141 is to output and input function as two independent components to realize, but in some embodiments it is possible to by touch-sensitive table Face 131 and display panel 141 integrate and realize and output and input function.
Mobile terminal 1200 may also include at least one sensor 150, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can basis The light and shade of ambient light adjusts the brightness of display panel 141, proximity sensor can when mobile terminal 1200 is moved in one's ear, Close display panel 141 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect all directions The size of upper (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile phone posture when static Application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (for example pedometer, strikes Hit) etc.;Gyroscope, barometer, hygrometer, thermometer, infrared sensor for can also configure as mobile terminal 1200 etc. its His sensor, details are not described herein.
Voicefrequency circuit 160, loudspeaker 161, the audio that microphone 162 can provide between user and mobile terminal 1200 connect Mouthful.Electric signal after the audio data received conversion can be transferred to loudspeaker 161, by loudspeaker 161 by voicefrequency circuit 160 Be converted to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, by voicefrequency circuit 160 receive after be converted to audio data, then by after the processing of audio data output processor 180, through RF circuit 110 to be sent to ratio Such as another terminal, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that Earphone jack, to provide the communication of peripheral hardware earphone Yu mobile terminal 1200.
Mobile terminal 1200 can help user send and receive e-mail, is clear by transmission module 170 (such as Wi-Fi module) Look at webpage and access streaming video etc., it provides wireless broadband internet for user and accesses.Although Fig. 5 shows transmission mould Block 170, but it is understood that, and it is not belonging to must be configured into for mobile terminal 1200, it is can according to need completely not Change in the range of the essence of invention and omits.
Processor 180 is the control centre of mobile terminal 1200, utilizes each of various interfaces and connection whole mobile phone A part by running or execute the software program and/or module that are stored in memory 120, and calls and is stored in storage Data in device 120 execute the various functions and processing data of mobile terminal 1200, to carry out integral monitoring to mobile phone.It can Choosing, processor 180 may include one or more processing cores;In some embodiments, processor 180 can be integrated using processing Device and modem processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation Demodulation processor mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processing In device 180.
Mobile terminal 1200 further includes the power supply 190 (such as battery) powered to all parts, in some embodiments, electricity Source can be logically contiguous by power-supply management system and processor 180, to realize management charging by power-supply management system, put The functions such as electricity and power managed.Power supply 190 can also include one or more direct current or AC power source, recharge The random components such as system, power failure detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, mobile terminal 1200 can also include camera (such as front camera, rear camera), bluetooth Module etc., details are not described herein.Specifically in the present embodiment, the display unit 140 of mobile terminal 1200 is touch-screen display, Mobile terminal 1200 further includes having the perhaps more than one program one of them or more than one of memory 120 and one Program is stored in memory 120, and be configured to by one or more than one processor 180 execute one or one with Upper program includes the instruction for performing the following operation:
When mobile terminal enters wallpaper preview mode, the desktop view for being provided with display layer is obtained;Desktop view is added It adds in the display area of wallpaper preview interface;Selection instruction is received, and wallpaper is obtained according to selection instruction;Wallpaper is added to The display layer of desktop view;Desktop view and wallpaper are shown in display area.
In some embodiments, when acquisition is provided with the desktop view of display layer, processor 180 be can also be performed: Display layer is set in the desktop view of mobile terminal;The class object of desktop view is obtained from the global application class of mobile terminal Reference;Call by reference based on class object is provided with the desktop view of display layer.
In some embodiments, the reference of the class object of desktop view is obtained in the global application class from mobile terminal Before, processor 180 can also be performed: the display layout of desktop view is deleted from the father of mobile terminal desktop layout, and Global application class will be gone in the reference of the class object of desktop view.
In some embodiments, when desktop view to be added in the display area of wallpaper preview interface, processor 180 can also be performed: obtain the area information of display area;Dimension correction is carried out to desktop view according to area information, is obtained Desktop view after amendment;Desktop view after amendment is added in the display area of wallpaper preview interface.
In some embodiments, when obtaining wallpaper according to selection instruction, processor 180 be can also be performed: work as wallpaper When being system wallpaper, judge whether rolling mode is opened;If rolling mode is not opened, according to selection instruction from system database The middle wallpaper for obtaining the first pre-set dimension;If rolling mode is opened, second is obtained from system database according to selection instruction The wallpaper of pre-set dimension, the second pre-set dimension are greater than the first pre-set dimension.
In some embodiments, when obtaining wallpaper according to selection instruction, processor 180 be can also be performed: work as wallpaper When being picture library wallpaper, judge whether rolling mode is opened;If rolling mode is not opened, wallpaper is cut according to selection instruction It takes, obtains the wallpaper of the first pre-set dimension;If rolling mode is opened, processing is zoomed in and out to wallpaper according to selection instruction, and Wallpaper after scaling processing is intercepted, the wallpaper of the second pre-set dimension is obtained, the second pre-set dimension is greater than the first default ruler It is very little.
In some embodiments, when showing desktop view and wallpaper in display area, processor 180 can also be held Row: the resolution ratio of desktop view and/or wallpaper is reduced to default resolution ratio;Desktop view and wall after display reduction resolution ratio Paper.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the detailed description above with respect to desktop wallpaper display methods, details are not described herein again.
The embodiment of the present application is when mobile terminal enters wallpaper preview mode, the available desktop view for being provided with display layer Figure, and desktop view is added in the display area of wallpaper preview interface;And selection instruction is received, and according to selection instruction Wallpaper is obtained, wallpaper can be added to the display layer of desktop view at this time, so as to show that desktop regards in display area Figure and wallpaper, for user's preview.Real time inspection wallpaper is realized in wallpaper preview interface in conjunction with mobile terminal desktop Display effect improves desktop wallpaper display effect, so that it is quick to can be convenient user without setting replacement wallpaper repeatedly by user Desirable wallpaper is selected, to improve the convenience and efficiency of mobile terminal wallpaper setting.
It will appreciated by the skilled person that all or part of the steps in the various methods of above-described embodiment can be with It is completed by instructing, or relevant hardware is controlled by instruction to complete, which can store computer-readable deposits in one In storage media, and is loaded and executed by processor.
For this purpose, the embodiment of the present application provides a kind of storage medium, wherein being stored with a plurality of instruction, which can be processed Device is loaded, to execute the step in any desktop wallpaper display methods provided by the embodiment of the present application.For example, this refers to Order can execute following steps:
When mobile terminal enters wallpaper preview mode, the desktop view for being provided with display layer is obtained;Desktop view is added It adds in the display area of wallpaper preview interface;Selection instruction is received, and wallpaper is obtained according to selection instruction;Wallpaper is added to The display layer of desktop view;Desktop view and wallpaper are shown in display area.
The specific implementation of above each operation can be found in the embodiment of front, and details are not described herein.
Wherein, which may include: read-only memory (ROM, Read Only Memory), random access memory Body (RAM, Random Access Memory), disk or CD etc..
By the instruction stored in the storage medium, any desktop wall provided by the embodiment of the present application can be executed Step in paper display methods, it is thereby achieved that any desktop wallpaper display methods institute provided by the embodiment of the present application The beneficial effect being able to achieve is detailed in the embodiment of front, and details are not described herein.
It is situated between above to a kind of desktop wallpaper display methods, device provided by the embodiment of the present application, mobile terminal and storage Matter is described in detail, and specific examples are used herein to illustrate the principle and implementation manner of the present application, above The explanation of embodiment is merely used to help understand the present processes and its core concept;Meanwhile for those skilled in the art Member, according to the thought of the application, there will be changes in the specific implementation manner and application range, in conclusion this explanation Book content should not be construed as the limitation to the application.

Claims (10)

1. a kind of desktop wallpaper display methods characterized by comprising
When mobile terminal enters wallpaper preview mode, the desktop view for being provided with display layer is obtained;
The desktop view is added in the display area of wallpaper preview interface;
Selection instruction is received, and wallpaper is obtained according to the selection instruction;
The wallpaper is added to the display layer of the desktop view;
The desktop view and wallpaper are shown within the display area.
2. desktop wallpaper display methods according to claim 1, which is characterized in that described to obtain the table for being provided with display layer The step of face view includes:
Display layer is set in the desktop view of the mobile terminal;
The reference of the class object of the desktop view is obtained from the global application class of the mobile terminal;
Call by reference based on the class object is provided with the desktop view of the display layer.
3. desktop wallpaper display methods according to claim 2, which is characterized in that the overall situation from the mobile terminal Using the class object that the desktop view is obtained in class reference the step of before, the method also includes:
The display of desktop view layout is deleted from the father of mobile terminal desktop layout, and by the desktop view Class object reference in go to global application class.
4. desktop wallpaper display methods according to claim 1, which is characterized in that described to be added to the desktop view Step in the display area of wallpaper preview interface includes:
Obtain the area information of the display area;
Dimension correction, desktop view after being corrected are carried out to the desktop view according to the area information;
Desktop view after the amendment is added in the display area of wallpaper preview interface.
5. desktop wallpaper display methods according to claim 1, which is characterized in that described to be obtained according to the selection instruction The step of wallpaper includes:
When the wallpaper is system wallpaper, judge whether rolling mode is opened;
If rolling mode is not opened, the wallpaper of the first pre-set dimension is obtained from system database according to the selection instruction;
If rolling mode is opened, the wallpaper of the second pre-set dimension, institute are obtained from system database according to the selection instruction The second pre-set dimension is stated greater than first pre-set dimension.
6. desktop wallpaper display methods according to claim 1, which is characterized in that described to be obtained according to the selection instruction The step of wallpaper includes:
When the wallpaper is picture library wallpaper, judge whether rolling mode is opened;
If rolling mode is not opened, the wallpaper is intercepted according to the selection instruction, obtains the first pre-set dimension Wallpaper;
If rolling mode open, processing is zoomed in and out to the wallpaper according to the selection instruction, and to scaling processing after Wallpaper is intercepted, and the wallpaper of the second pre-set dimension is obtained, and second pre-set dimension is greater than first pre-set dimension.
7. desktop wallpaper display methods according to any one of claims 1 to 6, which is characterized in that described in the display It is shown in region and includes: the step of the desktop view and wallpaper
The resolution ratio of the desktop view and/or the wallpaper is reduced to default resolution ratio;
The desktop view and wallpaper after display reduction resolution ratio.
8. a kind of desktop wallpaper display device characterized by comprising
Module is obtained, for obtaining the desktop view for being provided with display layer when mobile terminal enters wallpaper preview mode;
First adding module, for the desktop view to be added in the display area of wallpaper preview interface;
Selecting module obtains wallpaper for receiving selection instruction, and according to the selection instruction;
Second adding module, for the wallpaper to be added to the display layer of the desktop view;
Display module, for showing the desktop view and wallpaper within the display area.
9. a kind of mobile terminal, which is characterized in that including processor and memory, it is stored with program code in the memory, The processor executes desktop wallpaper as described in any one of claim 1 to 7 when calling the program code in the memory Display methods.
10. a kind of storage medium, which is characterized in that the storage medium is stored with a plurality of instruction, and described instruction is suitable for processor It is loaded, the step in 1 to 7 described in any item desktop wallpaper display methods is required with perform claim.
CN201811527540.XA 2018-12-13 2018-12-13 Desktop wallpaper display methods, device, mobile terminal and storage medium Pending CN109683759A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811527540.XA CN109683759A (en) 2018-12-13 2018-12-13 Desktop wallpaper display methods, device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811527540.XA CN109683759A (en) 2018-12-13 2018-12-13 Desktop wallpaper display methods, device, mobile terminal and storage medium

Publications (1)

Publication Number Publication Date
CN109683759A true CN109683759A (en) 2019-04-26

Family

ID=66187644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811527540.XA Pending CN109683759A (en) 2018-12-13 2018-12-13 Desktop wallpaper display methods, device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109683759A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103543910A (en) * 2013-10-18 2014-01-29 广东欧珀移动通信有限公司 Desktop wallpaper previewing method and desktop wallpaper previewing system
CN103645830A (en) * 2013-12-19 2014-03-19 广州市久邦数码科技有限公司 Method and system for wallpaper preview
CN104267868A (en) * 2014-09-05 2015-01-07 联想(北京)有限公司 Information processing method and electronic device
CN106293408A (en) * 2016-08-10 2017-01-04 乐视控股(北京)有限公司 A kind of wallpaper treatment method and device
CN107368295A (en) * 2017-06-07 2017-11-21 努比亚技术有限公司 A kind of terminal wallpaper generation method, terminal and computer-readable recording medium
US20180246632A1 (en) * 2015-08-27 2018-08-30 Beijing Kingsoft Internet Security Software Co., Ltd. Method and device for generating mobile terminal theme, and electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103543910A (en) * 2013-10-18 2014-01-29 广东欧珀移动通信有限公司 Desktop wallpaper previewing method and desktop wallpaper previewing system
CN103645830A (en) * 2013-12-19 2014-03-19 广州市久邦数码科技有限公司 Method and system for wallpaper preview
CN104267868A (en) * 2014-09-05 2015-01-07 联想(北京)有限公司 Information processing method and electronic device
US20180246632A1 (en) * 2015-08-27 2018-08-30 Beijing Kingsoft Internet Security Software Co., Ltd. Method and device for generating mobile terminal theme, and electronic device
CN106293408A (en) * 2016-08-10 2017-01-04 乐视控股(北京)有限公司 A kind of wallpaper treatment method and device
CN107368295A (en) * 2017-06-07 2017-11-21 努比亚技术有限公司 A kind of terminal wallpaper generation method, terminal and computer-readable recording medium

Similar Documents

Publication Publication Date Title
US10775979B2 (en) Buddy list presentation control method and system, and computer storage medium
CN113360238A (en) Message processing method and device, electronic equipment and storage medium
CN106375179B (en) Method and device for displaying instant communication message
CN109460181A (en) Screen locking wallpaper displaying method, device, mobile terminal and storage medium
CN110007835B (en) Object management method and mobile terminal
CN111142747A (en) Group management method and electronic equipment
CN112068744A (en) Interaction method, mobile terminal and storage medium
CN107992263A (en) A kind of information sharing method and mobile terminal
CN110196668B (en) Information processing method and terminal equipment
CN103744592A (en) Information processing method and terminal
CN110109593A (en) A kind of screenshotss method and terminal device
JP2016511875A (en) Image thumbnail generation method, apparatus, terminal, program, and recording medium
US11290591B2 (en) Dialing method and mobile terminal
CN109871358A (en) A kind of management method and terminal device
CN108334265A (en) A kind of document handling method and mobile terminal
CN110768804A (en) Group creation method and terminal device
CN111104380A (en) Application file management method and device, mobile terminal and storage medium
CN109669604A (en) Desktop wallpaper display methods, device, mobile terminal and storage medium
CN109491632A (en) A kind of resource sharing method and terminal
CN109542311B (en) File processing method and electronic equipment
CN107045418A (en) A kind of method, device, computer installation and the storage medium of information input
CN110221741A (en) Icon management method and terminal device
CN109408472A (en) A kind of file display methods and terminal
CN109408187A (en) Head portrait setting method, device, mobile terminal and readable storage medium storing program for executing
CN109739406B (en) File sending method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190426