CN109656438A - Desktop wallpaper method for previewing, device, mobile terminal and storage medium - Google Patents

Desktop wallpaper method for previewing, device, mobile terminal and storage medium Download PDF

Info

Publication number
CN109656438A
CN109656438A CN201811528695.5A CN201811528695A CN109656438A CN 109656438 A CN109656438 A CN 109656438A CN 201811528695 A CN201811528695 A CN 201811528695A CN 109656438 A CN109656438 A CN 109656438A
Authority
CN
China
Prior art keywords
wallpaper
desktop
mobile terminal
preview
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.)
Granted
Application number
CN201811528695.5A
Other languages
Chinese (zh)
Other versions
CN109656438B (en
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 CN201811528695.5A priority Critical patent/CN109656438B/en
Publication of CN109656438A publication Critical patent/CN109656438A/en
Application granted granted Critical
Publication of CN109656438B publication Critical patent/CN109656438B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

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 method for previewing, device, mobile terminal and storage medium, the embodiment of the present application and shows desktop view and wallpaper in the display area of wallpaper preview interface when mobile terminal enters wallpaper preview mode;Judge in the display area with the presence or absence of trigger action;When, there are when trigger action, determining the action type of the trigger action in the display area;Corresponding preview operation is executed to the desktop view and/or wallpaper according to the action type.Preview effect of the real time inspection wallpaper in conjunction with mobile terminal desktop in wallpaper preview interface is realized in the program, improve desktop wallpaper preview 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 method for previewing, 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 method for previewing, 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 be according to the desktop wallpaper of the hobby setting mobile terminal of oneself.
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, at this point, with Family is only capable of carrying out preview to wallpaper.Then it clicks after accomplishing the setting up, exits wallpaper preview interface, return to desktop and check that wallpaper is arranged Effect, to judge selected wallpaper if appropriate for the desktop of mobile terminal.When user does not like the set wallpaper and desktop When in conjunction with effect, needs to reenter wallpaper preview interface, and select another wallpaper in the wallpaper preview interface, show at this time Show the display effect that selected this wallpaper is only shown in interface, user is only capable of carrying out preview to wallpaper.Then it clicks and completes After setting, wallpaper preview interface is exited, desktop is returned to and checks the effect of wallpaper setting, until setting customer satisfaction system desktop wall Paper effect.
Due to the display effect in existing scheme due to only showing selected this wallpaper in display interface, user is only capable of Preview is carried out to wallpaper therefore to need to exit wallpaper preview interface after selecting wallpaper and return to desktop, can check desktop wallpaper Preview effect, moreover, if the wallpaper of current setting is dissatisfied, the step of needing to repeat wallpaper setting, therefore, to The wallpaper for being suitble to the desktop of mobile terminal is set, and 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 method for previewing, device, mobile terminal and storage medium, can be promoted Desktop wallpaper preview effect, so as to improve the convenience and efficiency of the setting of mobile terminal wallpaper.
In a first aspect, the embodiment of the present application provides a kind of desktop wallpaper method for previewing, comprising:
When mobile terminal enters wallpaper preview mode, shown in the display area of wallpaper preview interface desktop view and Wallpaper;
Judge in the display area with the presence or absence of trigger action;
When, there are when trigger action, determining the action type of the trigger action in the display area;
Corresponding preview operation is executed to the desktop view and/or wallpaper according to the action type.
In some embodiments, described that the desktop view and/or wallpaper are executed accordingly according to the action type Preview operation the step of include:
When the action type is left/right slide, the corresponding sliding parameter of the left/right slide is obtained, And judge whether rolling mode is opened;
If rolling mode is opened, the first offset information of the desktop view and described is determined according to the sliding parameter Second offset information of wallpaper, according to the mobile desktop view of first offset information, and according to second offset The mobile wallpaper of information;
If rolling mode is not opened, the third offset information of the desktop view, root are determined according to the sliding parameter According to the mobile desktop view of the third offset information.
In some embodiments, described that the desktop view and/or wallpaper are executed accordingly according to the action type Preview operation the step of include:
When the action type is left/right slide, the corresponding sliding parameter of the left/right slide is obtained, And judge whether rolling mode is opened;
If rolling mode is opened, the scrolling information of the wallpaper is determined according to the sliding parameter, according to the rolling The mobile wallpaper of information, and when the sliding parameter meets preset condition, the current page of the desktop view is cut Shift to next page;
If rolling mode is not opened, when the sliding parameter meets preset condition, by the current of the desktop view Page switching is to next page.
In some embodiments, described that the desktop view and/or wallpaper are executed accordingly according to the action type Preview operation the step of include:
When the action type is up/down slide, judge whether rolling mode is opened;
If rolling mode is opened, the corresponding sliding parameter of the up/down slide is obtained;
It is the offset information of the wallpaper according to the sliding parameter deterministic type, and according to offset information movement Wallpaper.
In some embodiments, described that the desktop view and/or wallpaper are executed accordingly according to the action type Preview operation the step of include:
When the action type is up/down slide, judge whether rolling mode is opened;
If rolling mode is opened, the corresponding sliding parameter of the up/down slide is obtained;
The wallpaper switching direction is determined according to the sliding parameter, and is switched current wallpaper according to the switching direction To next wallpaper.
In some embodiments, described that the desktop view and/or wallpaper are executed accordingly according to the action type Preview operation the step of include:
When the action type is pressing operation, the desktop view currently shown is switched to screen locking view.
In some embodiments, the desktop wallpaper method for previewing further include:
Setting instruction is received, according to the wallpaper that the setting instruction will currently be shown, while being set as desktop wallpaper and lock Screen-wall paper is set as desktop wallpaper or is set as screen locking wallpaper.
Second aspect, the embodiment of the present application also provides a kind of desktop wallpaper pre-viewing devices, comprising:
Display module, for when mobile terminal enters wallpaper preview mode, in the display area of wallpaper preview interface Show desktop view and wallpaper;
Judgment module, for judging in the display area with the presence or absence of trigger action;
Determining module, for when there are the operation classes for when trigger action, determining the trigger action in the display area Type;
Execution module is grasped for executing corresponding preview to the desktop view and/or wallpaper according to the action type Make.
In some embodiments, the execution module is specifically used for:
When the action type is left/right slide, the corresponding sliding parameter of the left/right slide is obtained, And judge whether rolling mode is opened;
If rolling mode is opened, the first offset information of the desktop view and described is determined according to the sliding parameter Second offset information of wallpaper, according to the mobile desktop view of first offset information, and according to second offset The mobile wallpaper of information;
If rolling mode is not opened, the third offset information of the desktop view, root are determined according to the sliding parameter According to the mobile desktop view of the third offset information.
In some embodiments, the execution module is specifically used for:
When the action type is left/right slide, the corresponding sliding parameter of the left/right slide is obtained, And judge whether rolling mode is opened;
If rolling mode is opened, the scrolling information of the wallpaper is determined according to the sliding parameter, according to the rolling The mobile wallpaper of information, and when the sliding parameter meets preset condition, the current page of the desktop view is cut Shift to next page;
If rolling mode is not opened, when the sliding parameter meets preset condition, by the current of the desktop view Page switching is to next page.
In some embodiments, the execution module is specifically used for:
When the action type is up/down slide, judge whether rolling mode is opened;
If rolling mode is opened, the corresponding sliding parameter of the up/down slide is obtained;
It is the offset information of the wallpaper according to the sliding parameter deterministic type, and according to offset information movement Wallpaper.
In some embodiments, the execution module is specifically used for:
When the action type is up/down slide, judge whether rolling mode is opened;
If rolling mode is opened, the corresponding sliding parameter of the up/down slide is obtained;
The wallpaper switching direction is determined according to the sliding parameter, and is switched current wallpaper according to the switching direction To next wallpaper.
In some embodiments, the execution module is specifically used for:
When the action type is pressing operation, the desktop view currently shown is switched to screen locking view.
In some embodiments, the desktop wallpaper pre-viewing device further include:
Setup module, according to the wallpaper that the setting instruction will currently be shown, is set as simultaneously for receiving setting instruction Desktop wallpaper and screen locking wallpaper are set as desktop wallpaper or are set as screen locking wallpaper.
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 method for previewing 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 method for previewing provided by the embodiments of the present application Step.
The embodiment of the present application, can be in the display area of wallpaper preview interface when mobile terminal enters wallpaper preview mode Then interior display desktop view and wallpaper judge in display area with the presence or absence of trigger action;It is triggered when existing in display area When operation, the action type of trigger action is determined;At this point it is possible to execute phase to desktop view and/or wallpaper according to action type The preview operation answered, for user's preview, for example, left/right slides mobile wallpaper or desktop view etc..It is realized in the program Preview effect of the real time inspection wallpaper in conjunction with mobile terminal desktop in wallpaper preview interface improves desktop wallpaper preview effect Fruit, so that user can be convenient user and quickly select desirable wallpaper, to improve shifting without setting replacement wallpaper repeatedly The convenience and efficiency of dynamic 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 method for previewing provided by the embodiments of the present application;
Fig. 2 is another flow diagram of desktop wallpaper method for previewing 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 another schematic diagram of desktop wallpaper preview provided by the embodiments of the present application;
Fig. 5 is another schematic diagram of desktop wallpaper preview provided by the embodiments of the present application;
Fig. 6 is another schematic diagram of desktop wallpaper preview provided by the embodiments of the present application;
Fig. 7 is another schematic diagram of desktop wallpaper preview provided by the embodiments of the present application;
Fig. 8 is another flow diagram of desktop wallpaper method for previewing provided by the embodiments of the present application;
Fig. 9 is another schematic diagram of desktop wallpaper preview provided by the embodiments of the present application;
Figure 10 is another schematic diagram of desktop wallpaper preview provided by the embodiments of the present application;
Figure 11 is another schematic diagram of desktop wallpaper preview provided by the embodiments of the present application;
Figure 12 is another flow diagram of desktop wallpaper method for previewing provided by the embodiments of the present application;
Figure 13 is another schematic diagram of desktop wallpaper preview provided by the embodiments of the present application;
Figure 14 is the structural schematic diagram of desktop wallpaper pre-viewing device provided by the embodiments of the present application;
Figure 15 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 method for previewing that one embodiment of the application provides.The table The executing subject of surface wallpaper method for previewing can be desktop wallpaper pre-viewing device provided by the embodiments of the present application, or be integrated with this The mobile terminal of desktop wallpaper pre-viewing device, wherein the desktop wallpaper pre-viewing 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 pre- The method of looking at may include:
S101, when mobile terminal enters wallpaper preview mode, show desktop in the display area of wallpaper preview interface View and wallpaper.
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.
After entering wallpaper preview mode, the available desktop view for being provided with display layer of mobile terminal regards desktop Figure is added in the display area of wallpaper preview interface, and receives selection instruction, and obtains wallpaper according to selection instruction, by wall Paper is added to the display layer of desktop view, can show desktop view and wallpaper in display area at this time.Wherein, the display layer Display and the offset etc. for being referred to as false wallpaper view, being mainly used for placing wallpaper, and simulate wallpaper.
For example, the display interface of mobile terminal can show wallpaper preview interface, pre- in wallpaper under wallpaper preview mode Looking in interface can be set display area, and the area of the display area can be less than the display screen of mobile terminal, the display Size, position or the shape in region 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.
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.
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.
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.
S102, judge in display area with the presence or absence of trigger action.
After showing desktop view and wallpaper in the display area of wallpaper preview interface, mobile terminal can monitor viewing area Operation in domain, such as judge in display area with the presence or absence of trigger action, the trigger action may include to the left slide, Slide, upward sliding operation, slide downward operation and pressing operation etc. to the right.
S103, when, there are when trigger action, determining the action type of trigger action in display area.
When, there are when trigger action, can determining the operation of trigger action in the display area for monitoring wallpaper preview interface Type.For example, when there are when the trigger action of upward sliding in display area, it can be determined that whether the sliding parameter of upward sliding Meet the condition of upward sliding operation, if satisfied, then determining the action type of the trigger action for upward sliding operation, if discontented Foot, it is determined that the action type of the trigger action is 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 is in pre-set velocity threshold value In range, and/or when sliding pressure value is in preset pressure threshold range, which meets the item of upward sliding operation Part, wherein pre-determined distance threshold range, pre-set velocity threshold range and preset pressure threshold range etc. can be according to practical need Carry out flexible setting.
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.
S104, corresponding preview operation is executed to desktop view and/or wallpaper according to action type.
After determining action type, mobile terminal can execute corresponding preview to desktop view according to action type and grasp Make, alternatively, corresponding preview operation can be executed to wallpaper according to action type, alternatively, can be according to action type to desktop View and wallpaper execute corresponding preview operation.
For example, can move right desktop view according to slide to the right when action type is slide to the right And/or wallpaper, the icon layout of desktop view is consistent with practical desktop page in the display area of mobile terminal, slidably desktop page Preview rolls wallpaper preview etc., and display effect and the desktop after being finally provided with are completely the same, so that user can be with It intuitively checks the actual effect of wallpaper setting, promotes the visual experience of user's preview, to promote wallpaper setting efficiency.
Alternatively, when action type is slide to the right, it can be according to slide to the right by the current of desktop view To next page multipage live preview effect may be implemented, every page of such desktop view layout is actual display in page switching Effect, user can intuitively check display effect made of icon, wallpaper and desktop cooperation when preview, and the multipage of desktop page is pre- It lookes at, user can check the display effect of all pages and wallpaper, greatly improve the efficiency that user selects wallpaper.
Alternatively, can be operated according to upward sliding when action type is that upward sliding is operated and move up wallpaper.Or The desktop view currently shown can be switched to screen locking view according to pressing operation when action type is pressing operation by person; Etc..For example, it is true that user can check that wallpaper mixes mobile terminal in real time by horizontally slipping into wallpaper preview interface The effect of real desktop view, it is identical as the operation of true desktop page switching, click the reality that preview area is switched to screen locking When preview, then sliding up and down can be with quick-replaceable wallpaper, and when wallpaper preview is capable of the practical layout effect of Complete Mappings desktop, And it can be switched in the desktop difference page, wallpaper epideictic behaviour is consistent with actual effect, including display position and wall Paper display effect and reality are consistent, and wallpaper can be moved with desktop view movement.It does not need to return to wallpaper preview circle in this way Face, setting replacement wallpaper, allows user just to choose the wallpaper admired during setting repeatedly.
The embodiment of the present application, can be in the display area of wallpaper preview interface when mobile terminal enters wallpaper preview mode Then interior display desktop view and wallpaper judge in display area with the presence or absence of trigger action;It is triggered when existing in display area When operation, the action type of trigger action is determined;At this point it is possible to execute phase to desktop view and/or wallpaper according to action type The preview operation answered, for user's preview, for example, left/right slides mobile wallpaper or desktop view etc..It is realized in the program Preview effect of the real time inspection wallpaper in conjunction with mobile terminal desktop in wallpaper preview interface improves desktop wallpaper preview effect Fruit, so that user can be convenient user and quickly select desirable wallpaper, to improve shifting without setting replacement wallpaper repeatedly The convenience and efficiency of dynamic terminal wallpaper setting.
The desktop wallpaper method for previewing 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 method for previewing provided by the embodiments of the present application.It should Desktop wallpaper method for previewing can be applied to mobile terminal, as shown in Fig. 2, the process of the desktop wallpaper method for previewing can be as Under:
S201, when mobile terminal enters wallpaper preview mode, show desktop in the display area of wallpaper preview interface View and wallpaper.
Wherein, display layer can be arranged in mobile terminal in desktop view, eventually from movement by the display layout of desktop view The global application class deleted in father's layout of end desktop, and mobile terminal will be gone in the reference of the class object of desktop view, so The reference of the class object of desktop view is obtained from global application class afterwards, the call by reference based on class object is provided with display layer Desktop view.Secondly, obtaining the area information of display area, Dimension correction is carried out to desktop view according to area information, is obtained Desktop view after amendment, and desktop view after amendment is added 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, at this point it is possible to show in display area Desktop view and wallpaper.
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.
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.
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.
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.
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..
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.
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.
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.
S202, when, there are when trigger action, determining the action type of trigger action in display area.
After showing desktop view and wallpaper in the display area of wallpaper preview interface, mobile terminal can monitor viewing area Operation in domain, such as judge in display area with the presence or absence of trigger action, the trigger action may include to the left slide, Slide, upward sliding operation, slide downward operation and pressing operation etc. to the right.
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.
S203, when action type is left/right slide, obtain the corresponding sliding parameter of left/right slide.
After determining action type, at this point, mobile terminal can execute desktop view and/or wallpaper according to action type Corresponding preview operation.For example, when action type is left slide (i.e. slide to the left), available left sliding behaviour Make corresponding sliding parameter;When action type is right slide (i.e. slide to the right), available right slide Corresponding sliding parameter, the sliding parameter may include sliding distance, sliding pressure value and sliding speed etc..In the present embodiment Left/right 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.
S204, judge whether rolling mode is opened;If rolling mode is opened,;If rolling mode is not opened,.
S205, the first offset information of desktop view and the second offset information of wallpaper are determined according to sliding parameter, according to First offset information mobile desktop view, and according to the mobile wallpaper of the second offset information.
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, for example, as shown in Figure 4.
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.
S206, the third offset information that desktop view is determined according to sliding parameter, according to third offset information mobile desktop View.
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, for example, as shown in Figure 5.Work as behaviour When to make type be left/right slide, if rolling mode is opened, desktop view and wallpaper move simultaneously;If rolling mode is not It opens, then desktop view 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 may include: to obtain the corresponding sliding parameter of left/right slide, and sentence when action type is left/right slide Whether disconnected rolling mode is opened;If rolling mode is opened, the scrolling information of wallpaper is determined according to sliding parameter, is believed according to rolling Mobile wallpaper is ceased, 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, for example, as shown in Figure 6.The preset condition can carry out flexible setting according to actual needs, for example, ought slide to the left Sliding distance be greater than pre-determined distance threshold value when, the current page of desktop view can be switched into previous page to the left;When to When the sliding distance of right slide is greater than pre-determined distance threshold value, the current page of desktop view can be switched to the right latter The page.If rolling mode is not opened, mobile terminal may determine that whether sliding parameter meets preset condition, when sliding parameter is full When sufficient preset condition, the current page of desktop view can be switched into next page, for example, as shown in Figure 7.So as to reality Existing multipage live preview effect, user, which can intuitively check, when preview combines between the desktop view and wallpaper of all pages Display effect greatly improves the efficiency that user selects wallpaper.
In some embodiments, as shown in figure 8, the process of the desktop wallpaper method for previewing can be such that
S201, when mobile terminal enters wallpaper preview mode, show desktop in the display area of wallpaper preview interface View and wallpaper.
S202, when, there are when trigger action, determining the action type of trigger action in display area.
Wherein, the step S201 in Fig. 3 and step S202 in above-mentioned Fig. 2 step S201 and step S202 it is similar, tool Hold in vivo and does not repeat here.
S207, when action type is up/down slide, and rolling mode is opened, it is corresponding to obtain up/down slide Sliding parameter;It is the offset information of wallpaper according to sliding parameter deterministic type, and according to the mobile wallpaper of offset information.
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, for example, as shown in Figure 9;At this point, in one embodiment, mobile terminal can amplify current wallpaper, then Amplified wallpaper is shown in display area, so that display area can be completely covered in amplified wallpaper, for example, such as Shown in Figure 10.In another embodiment, multiple different wallpapers can be subjected to tiled display, for example, when moving down wallpaper When, if after the wallpaper currently shown is mobile display area can not be covered, next wallpaper available at this time, by next wall Paper is spliced with current wallpaper, obtains spliced wallpaper, and spliced wallpaper is shown in display area, for example, such as Shown in Figure 11.
In some embodiments, corresponding preview operation is executed to desktop view and/or wallpaper according to action type Step may include: to judge whether rolling mode is opened when action type is up/down slide;If rolling mode is opened, Then obtain the corresponding sliding parameter of up/down slide;Wallpaper switching direction is determined according to sliding parameter, and according to switching direction Current wallpaper is switched into 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, as shown in figure 12, the process of the desktop wallpaper method for previewing can be such that
S201, when mobile terminal enters wallpaper preview mode, show desktop in the display area of wallpaper preview interface View and wallpaper.
S202, when, there are when trigger action, determining the action type of trigger action in display area.
S208, when action type be pressing operation when, the desktop view currently shown is switched to screen locking view.
Wherein, the step S201 in Fig. 4 and step S202 in above-mentioned Fig. 2 step S201 and step S202 it is similar, tool Hold in vivo and does not repeat here.
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, for example, as shown in figure 13.
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.
In some embodiments, desktop wallpaper method for previewing can also include: to receive setting instruction, be instructed according to setting The wallpaper that will currently show, while being set as desktop wallpaper and screen locking wallpaper, be set as desktop wallpaper or being set as screen locking wall Paper.
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 in the display area of wallpaper preview interface when mobile terminal enters wallpaper preview mode Then interior display desktop view and wallpaper judge in display area with the presence or absence of trigger action;It is triggered when existing in display area When operation, the action type of trigger action is determined;At this point it is possible to execute phase to desktop view and/or wallpaper according to action type The preview operation answered, for user's preview, for example, it is true to check that wallpaper mixes mobile terminal in real time by horizontally slipping The effect of real desktop view, it is identical as the operation of true desktop page switching, click the reality that preview area is switched to screen locking When preview, then sliding up and down can be with quick-replaceable wallpaper, and when wallpaper preview is capable of the practical layout effect of Complete Mappings desktop, And it can be switched in the desktop difference page, realize multipage live preview effect.It is realized in the program pre- in wallpaper It lookes at preview effect of the real time inspection wallpaper in conjunction with mobile terminal desktop in interface, improves desktop wallpaper preview effect, so that User can be convenient user and quickly select desirable wallpaper, to improve mobile terminal without setting replacement wallpaper repeatedly The convenience and efficiency of wallpaper setting.
For convenient for better implementation desktop wallpaper method for previewing 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 method for previewing.The wherein meaning of noun and phase in above-mentioned desktop wallpaper method for previewing Together, specific implementation details can be with reference to the explanation in embodiment of the method.
Figure 14 is please referred to, Figure 14 is the structural schematic diagram of desktop wallpaper pre-viewing device provided by the embodiments of the present application, wherein The desktop wallpaper pre-viewing device 300 may include display module 301, judgment module 302, determining module 303 and execute modulus block 304 etc..
Wherein, display module 301, for when mobile terminal enters wallpaper preview mode, in the aobvious of wallpaper preview interface Show and shows desktop view and wallpaper in region.
Judgment module 302, for judging in display area with the presence or absence of trigger action.
Determining module 303, for when, there are when trigger action, determining the action type of trigger action in display area.
Execution module 304, for executing corresponding preview operation to desktop view and/or wallpaper according to action type.
In some embodiments, execution module 304 is specifically used for: when action type is left/right slide, obtaining The corresponding sliding parameter of left/right slide, and judge whether rolling mode is opened;If rolling mode is opened, according to sliding Parameter determines the first offset information of desktop view and the second offset information of wallpaper, is regarded according to the first offset information mobile desktop Figure, and according to the mobile wallpaper of the second offset information;If rolling mode is not opened, desktop view is determined according to sliding parameter Third offset information, according to third offset information mobile desktop view.
In some embodiments, execution module 304 is specifically used for: when action type is left/right slide, obtaining The corresponding sliding parameter of left/right slide, and judge whether rolling mode is opened;If rolling mode is opened, according to sliding Parameter determines the scrolling information of wallpaper, according to the mobile wallpaper of scrolling information, and when sliding parameter meets preset condition, by table The current page of face view switches to next page;It, will when sliding parameter meets preset condition if rolling mode is not opened The current page of desktop view switches to next page.
In some embodiments, execution module 304 is specifically used for: when action type is up/down slide, judgement Whether rolling mode is opened;If rolling mode is opened, the corresponding sliding parameter of up/down slide is obtained;Joined according to sliding Number deterministic type is the offset information of wallpaper, and according to the mobile wallpaper of offset information.
In some embodiments, execution module 304 is specifically used for: when action type is up/down slide, judgement Whether rolling mode is opened;If rolling mode is opened, the corresponding sliding parameter of up/down slide is obtained;Joined according to sliding Number determines wallpaper switching direction, and current wallpaper is switched to next wallpaper according to switching direction.
In some embodiments, execution module 304 is specifically used for: when action type is pressing operation, will currently show The desktop view shown is switched to screen locking view.
In some embodiments, desktop wallpaper pre-viewing device further include:
Setup module according to the wallpaper that setting instruction will currently be shown, while being set as desktop for receiving setting instruction Wallpaper and screen locking wallpaper are set as desktop wallpaper or are set as screen locking wallpaper.
The specific implementation of above each operation can be found in the embodiment of front, and details are not described herein.
For the embodiment of the present application when mobile terminal enters wallpaper preview mode, display module 301 can be in wallpaper preview circle Desktop view and wallpaper are shown in the display area in face, then judgment module 302 judges in display area with the presence or absence of triggering behaviour Make;When, there are when trigger action, determining module 303 determines the action type of trigger action in display area;At this point, executing modulus Block 304 can execute corresponding preview operation to desktop view and/or wallpaper according to action type, for user's preview, for example, Left/right slides mobile wallpaper or desktop view etc..The real time inspection wallpaper in wallpaper preview interface is realized in the program and is moved The preview effect that dynamic terminal desktop combines, improves desktop wallpaper preview effect, so that user replaces wallpaper without setting repeatedly, It can be convenient user and quickly select desirable wallpaper, improve the convenience and efficiency of the setting of mobile terminal wallpaper.
Figure 15 shows the specific block diagram of mobile terminal provided in an embodiment of the present invention, which can be used for The desktop wallpaper method for previewing provided in above-described embodiment is provided.The mobile terminal 1200 can be smart phone or tablet computer Deng.
As shown in figure 15, 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 Figure 15 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 method for previewing 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 of desktop wallpaper preview is realized in kind functional application and data processing.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 Figure 15, touch sensitive surface 131 and display Panel 141 is to output and input function as two independent components to realize, but in some embodiments it is possible to by touch-sensitive Surface 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 Figure 15 shows transmission Module 170, but it is understood that, and it is not belonging to must be configured into for mobile terminal 1200, it can according to need completely Do 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, shown in the display area of wallpaper preview interface desktop view and Wallpaper;Judge in display area with the presence or absence of trigger action;When, there are when trigger action, determining trigger action in display area Action type;Corresponding preview operation is executed to desktop view and/or wallpaper according to action type.
In some embodiments, corresponding preview operation is being executed to desktop view and/or wallpaper according to action type When, processor 180 can also be performed: when action type is left/right slide, obtain the corresponding cunning of left/right slide Dynamic parameter, and judge whether rolling mode is opened;If rolling mode is opened, the first of desktop view is determined according to sliding parameter Second offset information of offset information and wallpaper is believed according to the first offset information mobile desktop view, and according to the second offset Cease mobile wallpaper;If rolling mode is not opened, the third offset information of desktop view is determined according to sliding parameter, according to third Offset information mobile desktop view.
In some embodiments, corresponding preview operation is being executed to desktop view and/or wallpaper according to action type When, processor 180 can also be performed: when action type is left/right slide, obtain the corresponding cunning of left/right slide Dynamic parameter, and judge whether rolling mode is opened;If rolling mode is opened, determine that the rolling of wallpaper is believed according to sliding parameter Breath according to the mobile wallpaper of scrolling information, and when sliding parameter meets preset condition, the current page of desktop view is switched To next page;If rolling mode is not opened, when sliding parameter meets preset condition, the current page of desktop view is cut Shift to next page.
In some embodiments, corresponding preview operation is being executed to desktop view and/or wallpaper according to action type When, processor 180 can also be performed: when action type is up/down slide, judge whether rolling mode is opened;If rolling Dynamic model formula is opened, then obtains the corresponding sliding parameter of up/down slide;Believed according to the offset that sliding parameter deterministic type is wallpaper Breath, and according to the mobile wallpaper of offset information.
In some embodiments, corresponding preview operation is being executed to desktop view and/or wallpaper according to action type When, processor 180 can also be performed: when action type is up/down slide, judge whether rolling mode is opened;If rolling Dynamic model formula is opened, then obtains the corresponding sliding parameter of up/down slide;Wallpaper switching direction is determined according to sliding parameter, and Current wallpaper is switched into next wallpaper according to switching direction.
In some embodiments, corresponding preview operation is being executed to desktop view and/or wallpaper according to action type When, processor 180 can also be performed: when action type is pressing operation, the desktop view currently shown being switched to screen locking View.
In some embodiments, processor 180 can also be performed: setting instruction is received, it will be current according to setting instruction The wallpaper of display, while being set as desktop wallpaper and screen locking wallpaper, be set as desktop wallpaper or being set as screen locking wallpaper.
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 method for previewing, details are not described herein again.
The embodiment of the present application, can be in the display area of wallpaper preview interface when mobile terminal enters wallpaper preview mode Then interior display desktop view and wallpaper judge in display area with the presence or absence of trigger action;It is triggered when existing in display area When operation, the action type of trigger action is determined;At this point it is possible to execute phase to desktop view and/or wallpaper according to action type The preview operation answered, for user's preview, for example, left/right slides mobile wallpaper or desktop view etc..It is realized in the program Preview effect of the real time inspection wallpaper in conjunction with mobile terminal desktop in wallpaper preview interface improves desktop wallpaper preview effect Fruit, so that user can be convenient user and quickly select desirable wallpaper, to improve shifting without setting replacement wallpaper repeatedly The convenience and efficiency of dynamic 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 method for previewing 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, shown in the display area of wallpaper preview interface desktop view and Wallpaper;Judge in display area with the presence or absence of trigger action;When, there are when trigger action, determining trigger action in display area Action type;Corresponding preview operation is executed to desktop view and/or wallpaper according to action type.
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 method for previewing, it is thereby achieved that any desktop wallpaper method for previewing 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 method for previewing, 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 method for previewing characterized by comprising
When mobile terminal enters wallpaper preview mode, desktop view and wall are shown in the display area of wallpaper preview interface Paper;
Judge in the display area with the presence or absence of trigger action;
When, there are when trigger action, determining the action type of the trigger action in the display area;
Corresponding preview operation is executed to the desktop view and/or wallpaper according to the action type.
2. desktop wallpaper method for previewing according to claim 1, which is characterized in that it is described according to the action type to institute Stating the step of desktop view and/or wallpaper execute corresponding preview operation includes:
When the action type is left/right slide, the corresponding sliding parameter of the left/right slide is obtained, and sentence Whether disconnected rolling mode is opened;
If rolling mode is opened, the first offset information and the wallpaper of the desktop view are determined according to the sliding parameter The second offset information, according to the mobile desktop view of first offset information, and according to second offset information The mobile wallpaper;
If rolling mode is not opened, the third offset information of the desktop view is determined according to the sliding parameter, according to institute State the mobile desktop view of third offset information.
3. desktop wallpaper method for previewing according to claim 1, which is characterized in that it is described according to the action type to institute Stating the step of desktop view and/or wallpaper execute corresponding preview operation includes:
When the action type is left/right slide, the corresponding sliding parameter of the left/right slide is obtained, and sentence Whether disconnected rolling mode is opened;
If rolling mode is opened, the scrolling information of the wallpaper is determined according to the sliding parameter, according to the scrolling information The mobile wallpaper, and when the sliding parameter meets preset condition, the current page of the desktop view is switched to Next page;
If rolling mode is not opened, when the sliding parameter meets preset condition, by the current page of the desktop view Switch to next page.
4. desktop wallpaper method for previewing according to claim 1, which is characterized in that it is described according to the action type to institute Stating the step of desktop view and/or wallpaper execute corresponding preview operation includes:
When the action type is up/down slide, judge whether rolling mode is opened;
If rolling mode is opened, the corresponding sliding parameter of the up/down slide is obtained;
It is the offset information of the wallpaper according to the sliding parameter deterministic type, and according to the mobile wall of the offset information Paper.
5. desktop wallpaper method for previewing according to claim 1, which is characterized in that it is described according to the action type to institute Stating the step of desktop view and/or wallpaper execute corresponding preview operation includes:
When the action type is up/down slide, judge whether rolling mode is opened;
If rolling mode is opened, the corresponding sliding parameter of the up/down slide is obtained;
The wallpaper switching direction is determined according to the sliding parameter, and is switched to down current wallpaper according to the switching direction One wallpaper.
6. desktop wallpaper method for previewing according to claim 1, which is characterized in that it is described according to the action type to institute Stating the step of desktop view and/or wallpaper execute corresponding preview operation includes:
When the action type is pressing operation, the desktop view currently shown is switched to screen locking view.
7. desktop wallpaper method for previewing according to any one of claims 1 to 6, which is characterized in that the desktop wallpaper is pre- Look at method further include:
Setting instruction is received, according to the wallpaper that the setting instruction will currently be shown, while being set as desktop wallpaper and screen locking wall Paper is set as desktop wallpaper or is set as screen locking wallpaper.
8. a kind of desktop wallpaper pre-viewing device characterized by comprising
Display module, for being shown in the display area of wallpaper preview interface when mobile terminal enters wallpaper preview mode Desktop view and wallpaper;
Judgment module, for judging in the display area with the presence or absence of trigger action;
Determining module, for when, there are when trigger action, determining the action type of the trigger action in the display area;
Execution module, for executing corresponding preview operation to the desktop view and/or wallpaper according to the action type.
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 Method for previewing.
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 method for previewing is required with perform claim.
CN201811528695.5A 2018-12-13 2018-12-13 Desktop wallpaper preview method and device, mobile terminal and storage medium Active CN109656438B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811528695.5A CN109656438B (en) 2018-12-13 2018-12-13 Desktop wallpaper preview method and device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811528695.5A CN109656438B (en) 2018-12-13 2018-12-13 Desktop wallpaper preview method and device, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109656438A true CN109656438A (en) 2019-04-19
CN109656438B CN109656438B (en) 2022-06-10

Family

ID=66114009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811528695.5A Active CN109656438B (en) 2018-12-13 2018-12-13 Desktop wallpaper preview method and device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109656438B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120210263A1 (en) * 2011-02-10 2012-08-16 Microsoft Corporation Directly assigning desktop backgrounds
CN103425427A (en) * 2012-05-14 2013-12-04 Lg电子株式会社 Mobile terminal and control method thereof
CN103472989A (en) * 2013-08-26 2013-12-25 广州市久邦数码科技有限公司 Wallpaper switching method and wallpaper switching terminal
CN103645830A (en) * 2013-12-19 2014-03-19 广州市久邦数码科技有限公司 Method and system for wallpaper preview
CN107368295A (en) * 2017-06-07 2017-11-21 努比亚技术有限公司 A kind of terminal wallpaper generation method, terminal and computer-readable recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120210263A1 (en) * 2011-02-10 2012-08-16 Microsoft Corporation Directly assigning desktop backgrounds
CN103425427A (en) * 2012-05-14 2013-12-04 Lg电子株式会社 Mobile terminal and control method thereof
CN103472989A (en) * 2013-08-26 2013-12-25 广州市久邦数码科技有限公司 Wallpaper switching method and wallpaper switching terminal
CN103645830A (en) * 2013-12-19 2014-03-19 广州市久邦数码科技有限公司 Method and system for wallpaper preview
CN107368295A (en) * 2017-06-07 2017-11-21 努比亚技术有限公司 A kind of terminal wallpaper generation method, terminal and computer-readable recording medium

Also Published As

Publication number Publication date
CN109656438B (en) 2022-06-10

Similar Documents

Publication Publication Date Title
US10775979B2 (en) Buddy list presentation control method and system, and computer storage medium
CN108228031B (en) Picture sharing method, picture display method and mobile terminal
CN113360238A (en) Message processing method and device, electronic equipment and storage medium
CN108536365A (en) A kind of images share method and terminal
WO2019206036A1 (en) Message management method and terminal
CN110007835B (en) Object management method and mobile terminal
CN109460181A (en) Screen locking wallpaper displaying method, device, mobile terminal and storage medium
CN106375179B (en) Method and device for displaying instant communication message
WO2014206101A1 (en) Gesture-based conversation processing method, apparatus, and terminal device
US9798713B2 (en) Method for configuring application template, method for launching application template, and mobile terminal device
CN107992263A (en) A kind of information sharing method and mobile terminal
CN110196668B (en) Information processing method and terminal equipment
CN108228902B (en) File display method and mobile terminal
CN103744592A (en) Information processing method and terminal
CN112068744A (en) Interaction method, mobile terminal and storage medium
CN109871358A (en) A kind of management method and terminal device
CN109683802A (en) A kind of icon moving method and terminal
CN109062634A (en) A kind of application starting method and mobile terminal
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
CN108345674A (en) A kind of file management method and mobile terminal
CN104238931B (en) Information input method and device 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

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
GR01 Patent grant
GR01 Patent grant