CN106354383B - The method and device on hide tools column - Google Patents

The method and device on hide tools column Download PDF

Info

Publication number
CN106354383B
CN106354383B CN201610707659.XA CN201610707659A CN106354383B CN 106354383 B CN106354383 B CN 106354383B CN 201610707659 A CN201610707659 A CN 201610707659A CN 106354383 B CN106354383 B CN 106354383B
Authority
CN
China
Prior art keywords
specified slide
sliding
slide
specified
distance
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.)
Active
Application number
CN201610707659.XA
Other languages
Chinese (zh)
Other versions
CN106354383A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610707659.XA priority Critical patent/CN106354383B/en
Publication of CN106354383A publication Critical patent/CN106354383A/en
Application granted granted Critical
Publication of CN106354383B publication Critical patent/CN106354383B/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/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
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The disclosure is a kind of method and device on hide tools column, is related to field of terminal technology.This method comprises: when the display interface based on current application detects the first specified slide, determine the sliding distance of the first specified slide, which is any one of upper sliding operation, operation of gliding, left sliding operation or right sliding operation;Sliding distance based on the first specified slide, judge whether the first specified slide meets the first preset condition, first preset condition is to hide the condition of the first toolbar, which is the corresponding toolbar of glide direction of the first specified slide;When meet show first toolbar in first preset condition and the display interface when, hide all toolbars shown in first toolbar or the display interface.The disclosure can to avoid caused by the maloperation as user non-user be intended in the case where hide tools column the case where, improve the accuracy on hide tools column.

Description

The method and device on hide tools column
Technical field
This disclosure relates to field of terminal technology more particularly to a kind of method and device on hide tools column.
Background technique
Currently, being typically provided with toolbar at the top of the display interface of many applications, which will occupy the display The partial region of specific content of pages is shown during user checks specific content of pages in order to improve the page in interface Effect guarantees that the specific content of pages has bigger displaying range, and it is generally desirable to the toolbars that terminal can hide top by user.
A kind of method on hide tools column is provided in the related technology: is used in user in application, if based on the application Display interface detect sliding operation, which can hide the toolbar at top, hence into full-screen display mode, namely It is the specific content of pages that the display interface will be displayed in full screen the application.In addition, after hide tools column, if aobvious based on this Show that Interface detection is operated to gliding, which can also exit full-screen display mode, show the toolbar at top again.
Summary of the invention
To overcome the problems in correlation technique, present disclose provides a kind of method and devices on hide tools column.Institute It is as follows to state technical solution:
According to the first aspect of the embodiments of the present disclosure, a kind of method on hide tools column is provided, which comprises
When the display interface based on current application detects the first specified slide, the described first specified sliding is determined The sliding distance of operation, the first specified slide are in upper sliding operation, operation of gliding, left sliding operation or right sliding operation It is any;
Based on the sliding distance of the described first specified slide, judge whether the described first specified slide meets One preset condition, first preset condition are to hide the condition of the first toolbar, and first toolbar is first finger Determine the corresponding toolbar of glide direction of slide;
Described in meeting and shown in first preset condition and the display interface when the described first specified slide When the first toolbar, all toolbars shown in first toolbar or the display interface are hidden.
Optionally, the sliding distance based on the described first specified slide judges the described first specified sliding behaviour Whether first preset condition is met, comprising:
Judge whether the sliding distance of the described first specified slide is greater than or equal to the first pre-determined distance;
When the sliding distance of the described first specified slide is greater than or equal to first pre-determined distance, described in increase The sliding number of first specified slide;
When the sliding number of the described first specified slide after increase is greater than preset times, determine that described first refers to Determine slide and meets first preset condition.
Optionally, the sliding distance based on the described first specified slide judges the described first specified sliding behaviour Whether first preset condition is met, comprising:
Judge whether the sliding distance of the described first specified slide is greater than or equal to the second pre-determined distance, described second Pre-determined distance is greater than the first pre-determined distance;
When the sliding distance of the described first specified slide is greater than or equal to second pre-determined distance, described in determination First specified slide meets first preset condition.
Optionally, the method also includes:
Remove the sliding number of the slide except the described first specified slide.
Optionally, the method also includes:
When detecting the second specified slide based on the display interface, the described second specified slide is determined Sliding distance, the second specified slide are that the sliding opposite with the glide direction of the described first specified slide is grasped Make;
Based on the sliding distance of the described second specified slide, judge whether the described second specified slide meets Two preset conditions, second preset condition are to show the condition of first toolbar;
When the described second specified slide meets second preset condition, first toolbar or institute are shown State all toolbars hidden in display interface.
Optionally, the sliding distance based on the described second specified slide judges the described second specified sliding behaviour Whether second preset condition is met, comprising:
Judge whether the sliding distance of the described second specified slide is greater than or equal to the first pre-determined distance;
When the sliding distance of the described second specified slide is greater than or equal to first pre-determined distance, described in increase The sliding number of second specified slide;
When the sliding number of the described second specified slide after increase is greater than preset times, determine that described second refers to Determine slide and meets second preset condition.
Optionally, the sliding distance based on the described second specified slide judges the described second specified sliding behaviour Whether second preset condition is met, comprising:
Judge whether the sliding distance of the described second specified slide is greater than or equal to the second pre-determined distance;
When the sliding distance of the described second specified slide is greater than or equal to second pre-determined distance, described in determination Second specified slide meets second preset condition.
According to the second aspect of an embodiment of the present disclosure, a kind of device on hide tools column is provided, described device includes:
First determining module, for when the display interface based on current application detects the first specified slide, really The sliding distance of the fixed first specified slide, the first specified slide are upper sliding operation, glide operation, left cunning Any one of operation or right sliding operation;
First judgment module judges that described first is specified for the sliding distance based on the described first specified slide Whether slide meets the first preset condition, and first preset condition is to hide the condition of the first toolbar, and described first Toolbar is the corresponding toolbar of glide direction of the described first specified slide;
Hidden module, for meeting first preset condition and the display interface when the described first specified slide In when showing first toolbar, hide all tools shown in first toolbar or the display interface Column.
Optionally, the first judgment module includes:
First judging submodule, for judging whether the sliding distance of the described first specified slide is greater than or equal to One pre-determined distance;
First increases submodule, is greater than or equal to described first for the sliding distance when the described first specified slide When pre-determined distance, increase the sliding number of the first specified slide;
First determines submodule, and the sliding number for the described first specified slide after increasing is greater than default time When number, determine that the described first specified slide meets first preset condition.
Optionally, the first judgment module includes:
Second judgment submodule, for judging whether the sliding distance of the described first specified slide is greater than or equal to Two pre-determined distances, second pre-determined distance are greater than the first pre-determined distance;
Second determines submodule, is greater than or equal to described second for the sliding distance when the described first specified slide When pre-determined distance, determine that the described first specified slide meets first preset condition.
Optionally, described device further include:
Module is removed, for removing the sliding number of the slide except the described first specified slide.
Optionally, described device further include:
Second determining module, described in determining when detecting the second specified slide based on the display interface The sliding distance of second specified slide, the second specified slide are the sliding with the described first specified slide Contrary slide;
Second judgment module judges that described second is specified for the sliding distance based on the described second specified slide Whether slide meets the second preset condition, and second preset condition is to show the condition of first toolbar;
Display module shows described for when the described second specified slide meets second preset condition All toolbars hidden in one toolbar or the display interface.
Optionally, second judgment module includes:
Third judging submodule, for judging whether the sliding distance of the described second specified slide is greater than or equal to One pre-determined distance;
Second increases submodule, is greater than or equal to described first for the sliding distance when the described second specified slide When pre-determined distance, increase the sliding number of the second specified slide;
Third determines submodule, and the sliding number for the described second specified slide after increasing is greater than default time When number, determine that the described second specified slide meets second preset condition.
Optionally, second judgment module includes:
4th judging submodule, for judging whether the sliding distance of the described second specified slide is greater than or equal to Two pre-determined distances;
4th determines submodule, is greater than or equal to described second for the sliding distance when the described second specified slide When pre-determined distance, determine that the described second specified slide meets second preset condition.
According to the second aspect of an embodiment of the present disclosure, a kind of device on hide tools column is provided, described device includes:
Processor;
For storing the memory of the processor-executable instruction;
Wherein, the processor is used for:
When the display interface based on current application detects the first specified slide, the described first specified sliding is determined The sliding distance of operation, the first specified slide are in upper sliding operation, operation of gliding, left sliding operation or right sliding operation It is any;
Based on the sliding distance of the described first specified slide, judge whether the described first specified slide meets One preset condition, first preset condition are to hide the condition of the first toolbar, and first toolbar is first finger Determine the corresponding toolbar of glide direction of slide;
Described in meeting and shown in first preset condition and the display interface when the described first specified slide When the first toolbar, all toolbars shown in first toolbar or the display interface are hidden.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the embodiment of the present disclosure, terminal can detect the first specified slide in the display interface based on current application When, determine the sliding distance of the first specified slide, which is upper sliding operation, gliding operates, is left Any one of sliding operation or right sliding operation, and the sliding distance based on the first specified slide judge first finger Determine whether slide meets the first preset condition, which is to hide the condition of the first toolbar, first work Have the corresponding toolbar of glide direction that column is the first specified slide, is somebody's turn to do when determining that the first specified slide meets When showing first toolbar in the first preset condition and the display interface, first toolbar or display circle are just hidden All toolbars shown in face.It, can by increasing the judgement of the first preset condition after detecting the first specified slide To further determine that the intention on user's hide tools column, so as to avoid what is be intended to caused by the maloperation as user in non-user In the case of hide tools column the case where, improve the accuracy on hide tools column.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of method flow diagram on hide tools column shown according to an exemplary embodiment;
Fig. 2 is a kind of method flow diagram on the hide tools column shown according to another exemplary embodiment;
Fig. 3 A is a kind of device block diagram on hide tools column shown according to an exemplary embodiment;
Fig. 3 B is a kind of structural schematic diagram of first judgment module 320 shown according to an exemplary embodiment;
Fig. 3 C is a kind of structural schematic diagram of the first judgment module 320 shown according to another exemplary embodiment;
Fig. 3 D is a kind of device block diagram on the hide tools column shown according to another exemplary embodiment;
Fig. 3 E is a kind of device block diagram on the hide tools column shown according to a further exemplary embodiment;
Fig. 3 F is a kind of structural schematic diagram of second judgment module 360 shown according to an exemplary embodiment;
Fig. 3 G is the structural schematic diagram of the second judgment module of one kind 360 shown according to another exemplary embodiment;
Fig. 4 is a kind of block diagram of the device 400 on hide tools column shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Before carrying out detailed explanation to the embodiment of the present disclosure, first the application scenarios of the embodiment of the present disclosure are given It introduces.In the related technology, when terminal detects upper sliding operation based on the display interface of current application, top will directly be hidden Toolbar, into full-screen display mode, but the mode on this triggering terminal hide tools column is too simple, it is easy to cause Maloperation, so that terminal hide tools column when non-user is intended to.For this purpose, present disclose provides a kind of hide tools columns Method improves the accuracy on hide tools column, details are as follows to further determine that the true intention of user.
Fig. 1 is a kind of method flow diagram on hide tools column shown according to an exemplary embodiment, as shown in Figure 1, should Method is in terminal, comprising the following steps:
In a step 101, when the display interface based on current application detects the first specified slide, determine this The sliding distance of one specified slide, the first specified slide are upper sliding operation, operation of gliding, left sliding operation or right Any one of sliding operation.
In a step 102, the sliding distance based on the first specified slide judges that the first specified slide is The first preset condition of no satisfaction, first preset condition be hide the first toolbar condition, first toolbar be this first The corresponding toolbar of glide direction of specified slide.
In step 103, it is shown when the first specified slide meets in first preset condition and the display interface When having first toolbar, all toolbars shown in first toolbar or the display interface are hidden.
In the embodiment of the present disclosure, terminal can detect the first specified slide in the display interface based on current application When, determine the sliding distance of the first specified slide, which is upper sliding operation, gliding operates, is left Any one of sliding operation or right sliding operation, and the sliding distance based on the first specified slide judge first finger Determine whether slide meets the first preset condition, which is to hide the condition of the first toolbar, first work Have the corresponding toolbar of glide direction that column is the first specified slide, is somebody's turn to do when determining that the first specified slide meets When showing first toolbar in the first preset condition and the display interface, first toolbar or display circle are just hidden All toolbars shown in face.It, can by increasing the judgement of the first preset condition after detecting the first specified slide To further determine that the intention on user's hide tools column, so as to avoid what is be intended to caused by the maloperation as user in non-user In the case of hide tools column the case where, improve the accuracy on hide tools column.
Optionally, it is somebody's turn to do the sliding distance based on the first specified slide, whether judges the first specified slide Meet the first preset condition, comprising:
Judge whether the sliding distance of the first specified slide is greater than or equal to the first pre-determined distance;
When the sliding distance of the first specified slide is greater than or equal to first pre-determined distance, increase by first finger Determine the sliding number of slide;
When the sliding number of the first specified slide after increase is greater than preset times, the first specified cunning is determined Dynamic operation meets first preset condition.
In the embodiment of the present disclosure, by judging whether the sliding distance of the first specified slide is greater than or equal to first Pre-determined distance can determine effective slide, to exclude invalid small maloperation, improve the accurate of detection Degree, in addition, by judge whether the sliding number of the first specified slide after increase is greater than preset times, come determine this Whether one specified slide meets first preset condition, may be implemented through the detect user multiple first specified sliding behaviour Make, to determine that user wants the intention on hide tools column, so as to ensure that triggering terminal is hidden under the true intention of user Toolbar improves the accuracy on hide tools column.
Optionally, it is somebody's turn to do the sliding distance based on the first specified slide, whether judges the first specified slide Meet the first preset condition, comprising:
Judge whether the sliding distance of the first specified slide is greater than or equal to the second pre-determined distance, this is second default Distance is greater than the first pre-determined distance;
When the sliding distance of the first specified slide is greater than or equal to second pre-determined distance, first finger is determined Determine slide and meets first preset condition.
In the embodiment of the present disclosure, by judge the sliding distance of the first specified slide whether be greater than or equal to this Two pre-determined distances may be implemented detecting use to determine whether the first specified slide meets first preset condition When family performs more specific first specified slide, determine that user has the intention on hide tools column, so as to true The triggering terminal hide tools column under the true intention of user is protected, the accuracy on hide tools column is improved.
Optionally, the method also includes:
Remove the sliding number of the slide except the first specified slide.
In the embodiment of the present disclosure, by after detecting the first specified slide, removing the first specified sliding behaviour The sliding number of slide except work can make the terminal detected in addition to the first specified slide again When slide, it can start from scratch and recalculate the sliding number of the slide in addition to the first specified slide, To avoid carrying out the cumulative of mistake, the accuracy for calculating sliding number is improved.
Optionally, the method also includes:
When detecting the second specified slide based on the display interface, the sliding of the second specified slide is determined Distance, the second specified slide are the slide opposite with the glide direction of the first specified slide;
Based on the sliding distance of the second specified slide, it is pre- to judge whether the second specified slide meets second If condition, which is to show the condition of first toolbar;
When the second specified slide meets second preset condition, first toolbar or display circle are shown All toolbars hidden in face.
In the embodiment of the present disclosure, terminal can also after concealing toolbar based on the first specified slide, when When detecting the second specified slide opposite with the glide direction of the first specified slide, based on the second specified cunning The sliding distance of dynamic operation, judges whether the second specified slide meets the second preset condition, which is The condition for showing first toolbar shows first toolbar or the display when determination meets second preset condition All toolbars hidden in interface.By showing the toolbar hidden, user can be allowed based on the work of display Have column and execute relevant operation, realizes the flexible use to the current application, improve user experience.Moreover, by detecting The judgement for increasing by the second preset condition after second specified slide, may further determine that the intention of user's show toolbar, So as to avoid caused by the maloperation as user non-user be intended in the case where show toolbar the case where, improve display The accuracy of toolbar.
Optionally, it is somebody's turn to do the sliding distance based on the second specified slide, whether judges the second specified slide Meet the second preset condition, comprising:
Judge whether the sliding distance of the second specified slide is greater than or equal to the first pre-determined distance;
When the sliding distance of the second specified slide is greater than or equal to first pre-determined distance, increase by second finger Determine the sliding number of slide;
When the sliding number of the second specified slide after increase is greater than preset times, the second specified cunning is determined Dynamic operation meets second preset condition.
In the embodiment of the present disclosure, by judging whether the sliding distance of the second specified slide is greater than or equal to first Pre-determined distance can determine effective slide, to exclude invalid small maloperation, improve the accurate of detection Degree, in addition, by judge whether the sliding number of the second specified slide after increase is greater than preset times, come determine this Whether two specified slides meet second preset condition, may be implemented through the detect user multiple second specified sliding behaviour Make, to determine that user wants the intention of show toolbar, so as to ensure that triggering terminal is shown under the true intention of user The toolbar hidden improves the accuracy of show toolbar.
Optionally, it is somebody's turn to do the sliding distance based on the second specified slide, whether judges the second specified slide Meet the second preset condition, comprising:
Judge whether the sliding distance of the second specified slide is greater than or equal to the second pre-determined distance;
When the sliding distance of the second specified slide is greater than or equal to second pre-determined distance, second finger is determined Determine slide and meets second preset condition.
In the embodiment of the present disclosure, by judge the sliding distance of the second specified slide whether be greater than or equal to this Two pre-determined distances may be implemented detecting use to determine whether the second specified slide meets second preset condition When family performs more specific second specified slide, determine that user has the intention of show toolbar, so as to true It protects the triggering terminal under the true intention of user and shows hide tools column, improve the accuracy of show toolbar.
All the above alternatives, can form the alternative embodiment of the disclosure according to any combination, and the disclosure is real It applies example and this is no longer repeated one by one.
Fig. 2 is a kind of method flow diagram on hide tools column shown according to an exemplary embodiment, as shown in Fig. 2, should Method is in terminal, comprising the following steps:
In step 201, when the display interface based on current application detects the first specified slide, determine this The sliding distance of one specified slide, the first specified slide are upper sliding operation, operation of gliding, left sliding operation or right Any one of sliding operation.
Wherein, which can be triggered by user.In practical application, when user wants to hide the display When the toolbar shown in interface, the first specified slide can be triggered in the display interface, certainly, used in user During, it is also possible to trigger the first specified slide due to maloperation, user does not want hidden at this time The intention of the shown toolbar in hiding.
In order to when detecting the first specified slide, determine that the first specified slide is grasped by the mistake of user Work triggers or user really has the intention on desired hide tools column, which can further detect the first specified cunning The sliding distance of dynamic operation determines the true intention of user so as to the subsequent sliding distance based on the first specified slide.
Wherein, the sliding distance of the first specified slide can be the first specified slide from starting to go to Stop the distance slided during executing, for example, the finger of user is from the display interface is contacted to leaving the display interface The distance slided in the process.In practical application, which can detect the sliding distance by pressure sensor, naturally it is also possible to The sliding distance is detected by other means, and the embodiment of the present disclosure does not limit this.
In step 202, the sliding distance based on the first specified slide judges that the first specified slide is The first preset condition of no satisfaction, first preset condition be hide the first toolbar condition, first toolbar be this first The corresponding toolbar of glide direction of specified slide.
It should be noted that the first toolbar i.e. corresponding toolbar of glide direction of the first specified slide can Can also not limited this by user setting, the embodiment of the present disclosure by terminal default setting.
In order to meet the use habit of user, the corresponding toolbar of glide direction of the first specified slide, usually Toolbar pointed by glide direction for the first specified slide.For example, the first tool that upper sliding operation instruction is hiding Column is usually top tool column, and the first hiding toolbar of downslide operation instruction is usually bottom tool column, left sliding operation instruction The first hiding toolbar is usually right side toolbar, and the hiding toolbar of right sliding operation instruction is usually left side toolbar etc..
Certainly, the corresponding toolbar of glide direction of the first specified slide, or with the glide direction phase The toolbar that anti-direction is directed toward, or be configured toolbar etc. according to other corresponded manners, the embodiment of the present disclosure to this not It limits.For example, the first toolbar that upper sliding operation instruction is hidden may be bottom tool column, what left sliding operation instruction was hidden First toolbar can be left side toolbar, etc..
In addition, the sliding distance based on the first specified slide, judges whether the first specified slide meets The process of first preset condition may include various ways, that is to say, which can be there are many set-up mode, only It can determine that the first specified slide is that user really wants to trigger when hide tools column, the embodiment of the present disclosure pair This is without limitation.
By increasing the judgement of the first preset condition after detecting the first specified slide, use may further determine that The intention on family hide tools column, so as to avoid caused by the maloperation as user non-user be intended in the case where hide tools The case where column, improves the accuracy on hide tools column.
In practical application, based on the sliding distance of the first specified slide, judge that the first specified slide is The no process for meeting the first preset condition, can include but is not limited to following methods:
First way: judge the sliding distance of the first specified slide whether be greater than or equal to first it is default away from From;When the sliding distance of the first specified slide is greater than or equal to first pre-determined distance, increase by the first specified cunning The sliding number of dynamic operation;When the sliding number of the first specified slide after increase is greater than preset times, determining should First specified slide meets first preset condition.
Wherein, which is used to indicate whether the first specified slide is effective slide, and The first specified pre-determined distance can not can also limit this by user setting, the embodiment of the present disclosure by terminal default setting It is fixed.For example, 0.5cm, 1cm etc. can be set by first pre-determined distance.
In practical application, in user's use in application, being possible to accidentally touch the display interface, lead to the terminal Detect the sliding distance of the first specified slide, and the sliding distance is usually a lesser distance, i.e., this One specified slide is not an effective slide.In the embodiment of the present disclosure, in order to improve accuracy, it can exclude Invalid slide, and only effective slide is detected.
It that is to say, it is pre- which may determine that whether the sliding distance of the first specified slide is greater than or equal to first If distance, when the sliding distance of the first specified slide be greater than or equal to first pre-determined distance when, that is, determine this first Specified slide is effective slide, and increases the sliding number of the first specified slide.
It should be noted is that when determining that the first specified slide is effective slide, it is increased every time The sliding number of first specified slide can be by terminal default setting, can also be by user setting, the embodiment of the present disclosure pair This is without limitation.For example, can set the number of each increased slide to 1 time, 2 times etc..Under normal circumstances, often The number of secondary increased slide is usually 1 time, be that is to say, when determining that the currently detected first specified slide is After effective slide, i.e., the sliding number of the first specified slide is added 1.
It needs to illustrate on the other hand, which can be by terminal default setting, can also be by user setting, this public affairs Embodiment is opened to this also without limitation.For example, preset times can be set to 2 times, 3 times etc..Moreover, the preset times are logical The sliding number of often greater than above-mentioned increased first specified slide every time.For example, when time of each increased slide When number is set as 1 time, under normal circumstances, in order to improve accuracy, usually the preset times is set greater than or is equal to 2 times, To pass through the multiple first specified slide of detection user, to determine the intention on desired hide tools column.
Further, after detecting the first specified slide, which can also remove the first specified sliding The sliding number of slide except operation.
In the embodiment of the present disclosure, it is contemplated that before detecting the first specified slide, which may also be recorded The sliding number of other slides in addition to the first specified slide, in order to avoid detecting that this is first specified Slide and then when detecting other slides, the slide of other slides cannot be opened from zero again Begin record, which after detecting the first specified slide, can also remove the sliding time of other slides Number, to improve the accuracy of detection.
For example, being detected before sliding operation on this if the currently detected first specified slide is upper sliding operation It glides operation, and the sliding number of downslide operation is 2 times, then in sliding operation on detecting this, which can will be under this The sliding number of sliding operation is set to 0, to remove the sliding number of downslide operation, detects downslide operation again so as to subsequent When, it can be from the sliding number of 0 start recording downslide operation.
The second way: judge the sliding distance of the first specified slide whether be greater than or equal to second it is default away from From second pre-determined distance is greater than the first pre-determined distance;It is somebody's turn to do when the sliding distance of the first specified slide is greater than or equal to When the second pre-determined distance, determine that the first specified slide meets first preset condition.
Wherein, which is used to indicate the biggish distance that the first specified slide is slided, And second pre-determined distance can also not limited this by terminal default setting by user setting, the embodiment of the present disclosure. For example, second pre-determined distance can be set to the half etc. of the length of the display interface.
When the sliding distance of the first specified slide is greater than or equal to second pre-determined distance, user's sliding is indicated One biggish distance, and do want to will be by the first specified slide come hide tools column, thus the terminal at this time It can determine that the first specified slide meets first preset condition.
It should be noted that above two mode individually can be judged and be executed, it can also be by above two mode It is combined to judge and execute, the embodiment of the present disclosure does not limit this.For example, when above two mode combines, the terminal It can first judge whether the sliding distance of the first specified slide is greater than or equal to the second pre-determined distance, when being greater than or equal to When second pre-determined distance, the first specified slide can be directly determined and meet first preset condition, also just without true Sliding number that is fixed and recording the first specified slide.And when the sliding distance of the first specified slide is greater than or waits In first pre-determined distance, and be less than second pre-determined distance when, can be increased the sliding number of the first specified slide, And judge whether the sliding number of the first specified slide after increasing is greater than the preset times, and then based on after the increase The sliding number of the first specified slide determine that the first specified slide meets first preset condition.In this way, It can simplify the deterministic process of terminal, improve detection efficiency.
In step 203, it is shown when the first specified slide meets in first preset condition and the display interface When having first toolbar, all toolbars shown in first toolbar or the display interface are hidden.
It should be noted that being shown when the first specified slide meets in first preset condition and the display interface When having first toolbar, which can only hide the first specified toolbar, can also hide in the display interface and show All toolbars, naturally it is also possible to hide the part that shows in the display interface and specify toolbar, the embodiment of the present disclosure is to this Without limitation.
In practical application, which specifically executes any mode in above-mentioned several hidings, can be write from memory by terminal Recognize setting, can also not limited this by user setting, the embodiment of the present disclosure.
Wherein, when the terminal only hides the i.e. top tool column of the first specified toolbar, with the first specified sliding behaviour As upper sliding operation, the first specified toolbar is for top tool column, which can have following several situations:
1) terminal only shows top tool column.When detecting upper sliding operation and sliding operation meets the first default item on this When part, which can directly hide the top tool column, at this point, the terminal can enter full-screen display mode.
2) terminal also shows other toolbars, such as bottom tool column, left side tool except top tool marge is shown Column and right side toolbar.When detecting upper sliding operation and sliding operation meets the first preset condition on this, which can be only hidden The top tool column in all toolbars is hidden, the terminal and is not entered full frame due to also showing other toolbars, thus at this time Display pattern.
Similarly, the part shown in the display interface is hidden when the terminal and specify toolbar, there can also be above two feelings Condition, details are not described herein for the embodiment of the present disclosure.
In addition, the terminal will be directly entered entirely when the terminal hides all toolbars shown in the display interface Shield display pattern.
Further, when the terminal, which hides the part shown in the display interface, specifies toolbar, which specifies work Have column can by terminal default setting, can also by user setting, the embodiment of the present disclosure to this also without limitation.For example, the portion Dividing specified toolbar can be the toolbar in the display interface in the glide direction of the first specified slide, certainly It can be in the display interface perpendicular to the toolbar etc. in the glide direction of the first specified slide.It is exemplary, consider It is usually the behaviour for checking or refreshing the specific content of pages of application when sliding operation in user's execution to the use habit of user Make, therefore when the first specified slide is upper sliding operation, which can hide top tool column and bottom tool column; Correspondingly, when the first specified slide is left sliding operation or right sliding operation, the terminal can hide left side toolbar and Right side toolbar.
By hiding the toolbar in the display interface, the display interface can be made to have the application of more spatial displays Specific content of pages, check that the specific content of pages improves user experience to improve display effect convenient for user.
Based on above-mentioned steps 201-203, in a kind of typical implementation, it is assumed that the display interface of the current application has Top tool column, and it is upper sliding operation that the operation on the top tool column is hidden in instruction, then following initial value can be set in the terminal:
The sliding number of upper sliding operation: up_count=0;
Glide the sliding number operated: down_count=0;
First pre-determined distance: threshhold_distance;
Second pre-determined distance: scree_height/2 (half of the height of current display screen);
Wherein, scree_height/2 > threshho1d_distance.
During user uses application by terminal, upper sliding operation is detected when being based on the display screen, and on this When the sliding distance of sliding operation is distance, the i.e. executable following instruction of the terminal:
If (down_count > 0)
Down_count=0;
};
It that is to say, detect upper sliding operation, and the sliding operated of gliding that the terminal is recorded when being based on the display screen When number is greater than zero, the sliding number which operates is set to 0, to remove the sliding number of downslide operation.
In subsequent process, however, it is determined that sliding distance distance >=scree_height/2 of sliding operation on this then should Display interface can hide the top tool column, thus automatically into full-screen display mode.In addition, however, it is determined that should Threshhold_distance=< distance <=scree_height/2, the then terminal, that is, executable instruction: up_ Count=up_count+1, i.e. the sliding number by operation sliding on this add 1;Later, if >=2 up_count, display circle Face can hide the top tool column, thus automatically into full-screen display mode.
In step 204, when detecting the second specified slide based on the display interface, the second specified cunning is determined The sliding distance of dynamic operation, the second specified slide are the sliding opposite with the glide direction of the first specified slide Operation.
After the terminal conceals all toolbars shown in first toolbar or the display interface, when being based on When the display interface detects the second specified slide opposite with the glide direction of the first specified slide, the terminal It can also determine the sliding distance of the second specified slide.
For example, concealing top tool based on operation sliding on this when the first specified slide is upper sliding operation After column, when terminal detection detects downslide operation based on the display interface, which is that can determine downslide operation Sliding distance.
It should be noted that determine the operation of the sliding distance of the second specified slide, it should with being determined in step 201 The operation of the sliding distance of first specified slide similarly, no longer repeats one by one herein.
In step 205, the sliding distance based on the second specified slide judges that the second specified slide is The second preset condition of no satisfaction, second preset condition are to show the condition of first toolbar.
Wherein, the sliding distance based on the second specified slide, judges whether the second specified slide meets The process of second preset condition may include various ways, that is to say, which can be there are many set-up mode, only It can determine that the second specified slide is that user really wants to trigger when the toolbar that display has been hidden, the disclosure Embodiment does not limit this.
By increasing the judgement of the second preset condition after detecting the second specified slide, use may further determine that The intention of family show toolbar, so as to avoid caused by the maloperation as user non-user be intended in the case where show tools The case where column, improves the accuracy of show toolbar.
In practical application, based on the sliding distance of the second specified slide, judge that the second specified slide is The no process for meeting the second preset condition, can include but is not limited to following methods:
First way: judge the sliding distance of the second specified slide whether be greater than or equal to first it is default away from From;When the sliding distance of the second specified slide is greater than or equal to first pre-determined distance, increase by the second specified cunning The sliding number of dynamic operation;When the sliding number of the second specified slide after increase is greater than preset times, determining should Second specified slide meets second preset condition.
The second way: judge the sliding distance of the second specified slide whether be greater than or equal to second it is default away from From;When the sliding distance of the second specified slide is greater than or equal to second pre-determined distance, the second specified cunning is determined Dynamic operation meets second preset condition.
Wherein, the specific implementation process of the first way and the second way, it is same with the relevant way in step 202 Reason, no longer repeats one by one herein.
Further, after detecting the second specified slide based on the display interface, which can also remove this The sliding number of slide except second specified slide.For example, the above-mentioned first specified slide can be removed Slide number.
In step 206, when the second specified slide meets second preset condition, first toolbar is shown Or all toolbars hidden in the display interface.
When the second specified slide meets second preset condition, which can be in the display interface again Show all toolbars hidden in the first specified toolbar or the display interface, naturally it is also possible to show display circle Toolbar is specified in the part that face has hidden, and the embodiment of the present disclosure does not limit this.
Wherein, the specific implementation of above-mentioned several show toolbars, the realization with hide tools column in above-mentioned steps 203 Mode similarly, no longer repeats one by one herein.
In the embodiment of the present disclosure, by showing the toolbar hidden, user can be allowed based on the tool of display Column executes relevant operation, realizes the flexible use to the current application, improves user experience.
It should be noted that being only to work as the sliding side detected with the first specified slide in the embodiment of the present disclosure To after the second opposite specified slide, show that the first specified slide indicates to be said for hiding toolbar It is bright, and in practical application, when detection third specifies slide, which can also specify slide based on the third Sliding distance judges that the third specifies whether slide meets third preset condition, which is display second The condition of toolbar, which is the corresponding toolbar of glide direction that the third specifies slide, when the third Specified slide meets when not showing second toolbar in the third preset condition and the display interface, can show this All toolbars that second toolbar or the display interface have been hidden.Wherein, the third specify slide be except this second Slide except specified slide can be appointing in upper sliding operation, operation of gliding, left sliding operation or right sliding operation It is a kind of.
In conclusion being shown in the embodiment of the present disclosure concealing the display interface based on the first specified slide Related tool column after, when the specified sliding for detecting all sliding operations as above, operation of gliding, left sliding operation, right sliding operation etc. Operation, and the specified slide meets preset condition and the display interface does not show the sliding of the specified slide When the corresponding toolbar in direction, which can show the corresponding toolbar of glide direction of the specified slide, or Person shows that all toolbars that the display interface has been hidden or part specify toolbar.
For example, being based on the first specified slide in a kind of typical implementation with the display interface and concealing All toolbars shown in display interface, for full-screen display mode, it is assumed that all toolbars include top Portion's toolbar, bottom tool column, left side toolbar and right side toolbar then in subsequent process, are detected when based on the display interface To the condition that meets downslide operation when, which can show top tool column;As the upper sliding behaviour for detecting the condition of satisfaction When making, bottom tool column can be shown;When detecting the left sliding operation of the condition of satisfaction, right side toolbar can be shown;Work as inspection When measuring the right sliding operation of the condition of satisfaction, left side toolbar, etc. can be shown.
For another example in another typical implementation, when detecting the upper sliding operation of the condition of satisfaction, display circle Face can hide the top tool column and bottom tool column of the display interface, later, when the downslide for detecting the condition of satisfaction operates When, the top tool column and bottom tool column can be shown again.
Certainly the method provided based on the embodiment of the present disclosure can also have other implementations, this public affairs in practical applications Embodiment is opened not limit this.
In conclusion terminal can detect the first finger in the display interface based on current application in the embodiment of the present disclosure When determining slide, determine the sliding distance of the first specified slide, the first specified slide be upper sliding operation, under Any one of sliding operation, left sliding operation or right sliding operation, and the sliding distance based on the first specified slide, judgement Whether the first specified slide meets the first preset condition, which is to hide the condition of the first toolbar, First toolbar is the corresponding toolbar of glide direction of the first specified slide, when determining the first specified sliding behaviour Work meets when showing first toolbar in first preset condition and the display interface, just hide first toolbar or All toolbars shown in the display interface.By increasing by the first preset condition after detecting the first specified slide Judgement, may further determine that the intention on user's hide tools column, so as to avoid caused by the maloperation as user in non-use In the case that family is intended to the case where hide tools column, the accuracy on hide tools column is improved.
Fig. 3 A is a kind of device block diagram on hide tools column shown according to an exemplary embodiment, which can be for eventually End.Referring to Fig. 3 A, which includes the first determining module 310, first judgment module 320 and hidden module 330.
First determining module 310, for detecting the first specified slide when the display interface based on current application When, determine the sliding distance of the first specified slide, which is upper sliding operation, gliding operates, is left Any one of sliding operation or right sliding operation;
The first judgment module 320 judges that this is first specified for the sliding distance based on the first specified slide Whether slide meets the first preset condition, which is to hide the condition of the first toolbar, first tool Column is the corresponding toolbar of glide direction of the first specified slide;
The hidden module 330, for meeting first preset condition and the display interface when the first specified slide In when showing first toolbar, hide all toolbars shown in first toolbar or the display interface.
Optionally, referring to Fig. 3 B, which includes 320:
First judging submodule 321, for judging whether the sliding distance of the first specified slide is greater than or equal to First pre-determined distance;
First increase submodule 322, for when the first specified slide sliding distance be greater than or equal to this first When pre-determined distance, increase the sliding number of the first specified slide;
First determines submodule 323, and the sliding number for first specified slide after increasing is greater than default When number, determine that the first specified slide meets first preset condition.
Optionally, referring to Fig. 3 C, which includes:
Second judgment submodule 324, for judging whether the sliding distance of the first specified slide is greater than or equal to Second pre-determined distance, second pre-determined distance are greater than the first pre-determined distance;
Second determine submodule 325, for when the first specified slide sliding distance be greater than or equal to this second When pre-determined distance, determine that the first specified slide meets first preset condition.
Optionally, referring to Fig. 3 D, the device further include:
Module 340 is removed, for removing the sliding number of the slide except the first specified slide.
Optionally, referring to Fig. 3 E, the device further include:
Second determining module 350, for when detecting the second specified slide based on the display interface, determine this The sliding distance of two specified slides, the second specified slide are the glide direction phase with the first specified slide Anti- slide;
Second judgment module 360 judges the second specified cunning for the sliding distance based on the second specified slide Whether dynamic operation meets the second preset condition, which is to show the condition of first toolbar;
Display module 370, for showing first work when the second specified slide meets second preset condition All toolbars hidden in tool column or the display interface.
Optionally, referring to Fig. 3 F, which includes:
Third judging submodule 361, for judging whether the sliding distance of the second specified slide is greater than or equal to First pre-determined distance;
Second increase submodule 362, for when the second specified slide sliding distance be greater than or equal to this first When pre-determined distance, increase the sliding number of the second specified slide;
Third determines submodule 363, and the sliding number for second specified slide after increasing is greater than default When number, determine that the second specified slide meets second preset condition.
Optionally, referring to Fig. 3 G, which includes:
4th judging submodule 364, for judging whether the sliding distance of the second specified slide is greater than or equal to Second pre-determined distance;
4th determine submodule 365, for when the second specified slide sliding distance be greater than or equal to this second When pre-determined distance, determine that the second specified slide meets second preset condition.
In the embodiment of the present disclosure, the device on the hide tools column can detect in the display interface based on current application When one specified slide, the sliding distance of the first specified slide is determined, which is upper sliding behaviour Make, operation of gliding, any one of left sliding operation or right sliding operation, and the sliding based on the first specified slide away from From, judge whether the first specified slide meets the first preset condition, first preset condition be hide the first toolbar Condition, first toolbar be the first specified slide the corresponding toolbar of glide direction, when determine this first refer to Determine slide to meet when showing first toolbar in first preset condition and the display interface, just hides first work All toolbars shown in tool column or the display interface.It is pre- by increasing by first after detecting the first specified slide If the judgement of condition may further determine that the intention on user's hide tools column, cause so as to avoid by the maloperation of user Non-user be intended in the case where hide tools column the case where, improve the accuracy on hide tools column.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 4 is a kind of block diagram of the device 400 on hide tools column shown according to an exemplary embodiment.For example, device 400 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, and medical treatment is set It is standby, body-building equipment, personal digital assistant etc..
Referring to Fig. 4, device 400 may include following one or more components: processing component 402, memory 404, power supply Component 406, multimedia component 408, audio component 410, the interface 412 of input/output (I/O), sensor module 414, and Communication component 416.
The integrated operation of the usual control device 400 of processing component 402, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 402 may include that one or more processors 420 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 402 may include one or more modules, just Interaction between processing component 402 and other assemblies.For example, processing component 402 may include multi-media module, it is more to facilitate Interaction between media component 408 and processing component 402.
Memory 404 is configured as storing various types of data to support the operation in device 400.These data are shown Example includes the instruction of any application or method for operating on device 400, contact data, and telephone book data disappears Breath, picture, video etc..Memory 404 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 406 provides power supply for the various assemblies of device 400.Power supply module 406 may include power management system System, one or more power supplys and other with for device 400 generate, manage, and distribute the associated component of power supply.
Multimedia component 408 includes the screen of one output interface of offer between described device 400 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 408 includes a front camera and/or rear camera.When device 400 is in operation mode, such as screening-mode or When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 410 is configured as output and/or input audio signal.For example, audio component 410 includes a Mike Wind (MIC), when device 400 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched It is set to reception external audio signal.The received audio signal can be further stored in memory 404 or via communication set Part 416 is sent.In some embodiments, audio component 410 further includes a loudspeaker, is used for output audio signal.
I/O interface 412 provides interface between processing component 402 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 414 includes one or more sensors, and the state for providing various aspects for device 400 is commented Estimate.For example, sensor module 414 can detecte the state that opens/closes of device 400, and the relative positioning of component, for example, it is described Component is the display and keypad of device 400, and sensor module 414 can be with 400 1 components of detection device 400 or device Position change, the existence or non-existence that user contacts with device 400,400 orientation of device or acceleration/deceleration and device 400 Temperature change.Sensor module 414 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 414 can also include optical sensor, such as CMOS or ccd image sensor, at As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 400 and other equipment.Device 400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation In example, communication component 416 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 416 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 400 can be believed by one or more application specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 404 of instruction, above-metioned instruction can be executed by the processor 420 of device 400 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device executes, so that a kind of method that mobile terminal is able to carry out hide tools column, which comprises
When the display interface based on current application detects the first specified slide, the described first specified sliding is determined The sliding distance of operation, the first specified slide are in upper sliding operation, operation of gliding, left sliding operation or right sliding operation It is any;
Based on the sliding distance of the described first specified slide, judge whether the described first specified slide meets One preset condition, first preset condition are to hide the condition of the first toolbar, and first toolbar is first finger Determine the corresponding toolbar of glide direction of slide;
Described in meeting and shown in first preset condition and the display interface when the described first specified slide When the first toolbar, all toolbars shown in first toolbar or the display interface are hidden.
Optionally, the sliding distance based on the described first specified slide judges the described first specified sliding behaviour Whether first preset condition is met, comprising:
Judge whether the sliding distance of the described first specified slide is greater than or equal to the first pre-determined distance;
When the sliding distance of the described first specified slide is greater than or equal to first pre-determined distance, described in increase The sliding number of first specified slide;
When the sliding number of the described first specified slide after increase is greater than preset times, determine that described first refers to Determine slide and meets first preset condition.
Optionally, the sliding distance based on the described first specified slide judges the described first specified sliding behaviour Whether first preset condition is met, comprising:
Judge whether the sliding distance of the described first specified slide is greater than or equal to the second pre-determined distance, described second Pre-determined distance is greater than the first pre-determined distance;
When the sliding distance of the described first specified slide is greater than or equal to second pre-determined distance, described in determination First specified slide meets first preset condition.
Optionally, the method also includes:
Remove the sliding number of the slide except the described first specified slide.
Optionally, the method also includes:
When detecting the second specified slide based on the display interface, the described second specified slide is determined Sliding distance, the second specified slide are that the sliding opposite with the glide direction of the described first specified slide is grasped Make;
Based on the sliding distance of the described second specified slide, judge whether the described second specified slide meets Two preset conditions, second preset condition are to show the condition of first toolbar;
When the described second specified slide meets second preset condition, first toolbar or institute are shown State all toolbars hidden in display interface.
Optionally, the sliding distance based on the described second specified slide judges the described second specified sliding behaviour Whether second preset condition is met, comprising:
Judge whether the sliding distance of the described second specified slide is greater than or equal to the first pre-determined distance;
When the sliding distance of the described second specified slide is greater than or equal to first pre-determined distance, described in increase The sliding number of second specified slide;
When the sliding number of the described second specified slide after increase is greater than preset times, determine that described second refers to Determine slide and meets second preset condition.
Optionally, the sliding distance based on the described second specified slide judges the described second specified sliding behaviour Whether second preset condition is met, comprising:
Judge whether the sliding distance of the described second specified slide is greater than or equal to the second pre-determined distance;
When the sliding distance of the described second specified slide is greater than or equal to second pre-determined distance, described in determination Second specified slide meets second preset condition.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing scheme disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (11)

1. a kind of method on hide tools column, which is characterized in that the described method includes:
When the display interface based on current application detects the first specified slide, the described first specified slide is determined Sliding distance, the first specified slide is appointing in upper sliding operation, operation of gliding, left sliding operation or right sliding operation It is a kind of;
Judge whether the sliding distance of the described first specified slide is greater than or equal to the second pre-determined distance;
When the sliding distance of the described first specified slide is greater than or equal to second pre-determined distance, described first is determined Specified slide meets the first preset condition, and first preset condition is to hide the condition of the first toolbar, and described first Toolbar is the corresponding toolbar of glide direction of the described first specified slide;When the cunning of the described first specified slide When dynamic distance is less than second pre-determined distance, judge whether the sliding distance of the described first specified slide is greater than or equal to First pre-determined distance increases when the sliding distance of the described first specified slide is greater than or equal to first pre-determined distance The sliding number of the sliding number for adding the described first specified slide, the described first specified slide after increase is greater than When preset times, determine that the described first specified slide meets first preset condition, second pre-determined distance is greater than First pre-determined distance;
Described first is shown when the described first specified slide meets in first preset condition and the display interface When toolbar, all toolbars shown in first toolbar or the display interface are hidden.
2. the method as described in claim 1, which is characterized in that the method also includes:
Remove the sliding number of the slide except the described first specified slide.
3. method according to claim 1 or 2, which is characterized in that the method also includes:
When detecting the second specified slide based on the display interface, the sliding of the described second specified slide is determined Distance, the second specified slide are the slide opposite with the glide direction of the described first specified slide;
Based on the sliding distance of the described second specified slide, it is pre- to judge whether the described second specified slide meets second If condition, second preset condition is to show the condition of first toolbar;
When the described second specified slide meets second preset condition, first toolbar or described aobvious is shown Show all toolbars hidden in interface.
4. method as claimed in claim 3, which is characterized in that the sliding based on the described second specified slide away from From judging whether the described second specified slide meets the second preset condition, comprising:
Judge whether the sliding distance of the described second specified slide is greater than or equal to the first pre-determined distance;
When the sliding distance of the described second specified slide is greater than or equal to first pre-determined distance, increase described second The sliding number of specified slide;
When the sliding number of the described second specified slide after increase is greater than preset times, the described second specified cunning is determined Dynamic operation meets second preset condition.
5. method as claimed in claim 3, which is characterized in that the sliding based on the described second specified slide away from From judging whether the described second specified slide meets the second preset condition, comprising:
Judge whether the sliding distance of the described second specified slide is greater than or equal to the second pre-determined distance;
When the sliding distance of the described second specified slide is greater than or equal to second pre-determined distance, described second is determined Specified slide meets second preset condition.
6. a kind of device on hide tools column, which is characterized in that described device includes:
First determining module, for determining institute when the display interface based on current application detects the first specified slide The sliding distance of the first specified slide is stated, the first specified slide is upper sliding operation, operation of gliding, left sliding operation Or any one of right sliding operation;
First judgment module judges the described first specified sliding for the sliding distance based on the described first specified slide Whether operation meets the first preset condition, and first preset condition is to hide the condition of the first toolbar, first tool Column is the corresponding toolbar of glide direction of the described first specified slide;
Hidden module, for being shown when the described first specified slide meets in first preset condition and the display interface When being shown with first toolbar, all toolbars shown in first toolbar or the display interface are hidden;
Wherein, the first judgment module is specifically used for:
Judge whether the sliding distance of the described first specified slide is greater than or equal to the second pre-determined distance;
When the sliding distance of the described first specified slide is greater than or equal to second pre-determined distance, described first is determined Specified slide meets first preset condition;When the sliding distance of the described first specified slide is less than described second When pre-determined distance, judge whether the sliding distance of the described first specified slide is greater than or equal to the first pre-determined distance, works as institute When stating the sliding distance of the first specified slide more than or equal to first pre-determined distance, increase by the described first specified sliding The sliding number of operation determines institute when the sliding number of the described first specified slide after increase is greater than preset times It states the first specified slide and meets first preset condition, second pre-determined distance is greater than the first pre-determined distance.
7. device as claimed in claim 6, which is characterized in that described device further include:
Module is removed, for removing the sliding number of the slide except the described first specified slide.
8. device as claimed in claims 6 or 7, which is characterized in that described device further include:
Second determining module, for determining described second when detecting the second specified slide based on the display interface The sliding distance of specified slide, the second specified slide are the glide direction with the described first specified slide Opposite slide;
Second judgment module judges the described second specified sliding for the sliding distance based on the described second specified slide Whether operation meets the second preset condition, and second preset condition is to show the condition of first toolbar;
Display module, for showing first work when the described second specified slide meets second preset condition All toolbars hidden in tool column or the display interface.
9. device as claimed in claim 8, which is characterized in that second judgment module includes:
Third judging submodule, for judging it is pre- whether the sliding distance of the described second specified slide is greater than or equal to first If distance;
Second increases submodule, and it is default to be greater than or equal to described first for the sliding distance when the described second specified slide Apart from when, increase the sliding number of the second specified slide;
Third determines submodule, and the sliding number for the described second specified slide after increasing is greater than preset times When, determine that the described second specified slide meets second preset condition.
10. device as claimed in claim 8, which is characterized in that second judgment module includes:
4th judging submodule, for judging it is pre- whether the sliding distance of the described second specified slide is greater than or equal to second If distance;
4th determines submodule, and it is default to be greater than or equal to described second for the sliding distance when the described second specified slide Apart from when, determine that the described second specified slide meets second preset condition.
11. a kind of device on hide tools column, which is characterized in that described device includes:
Processor;
For storing the memory of the processor-executable instruction;
Wherein, the processor is used for:
When the display interface based on current application detects the first specified slide, the described first specified slide is determined Sliding distance, the first specified slide is appointing in upper sliding operation, operation of gliding, left sliding operation or right sliding operation It is a kind of;
Judge whether the sliding distance of the described first specified slide is greater than or equal to the second pre-determined distance;
When the sliding distance of the described first specified slide is greater than or equal to second pre-determined distance, described first is determined Specified slide meets the first preset condition, and first preset condition is to hide the condition of the first toolbar, and described first Toolbar is the corresponding toolbar of glide direction of the described first specified slide;When the cunning of the described first specified slide When dynamic distance is less than second pre-determined distance, judge whether the sliding distance of the described first specified slide is greater than or equal to First pre-determined distance increases when the sliding distance of the described first specified slide is greater than or equal to first pre-determined distance The sliding number of the sliding number for adding the described first specified slide, the described first specified slide after increase is greater than When preset times, determine that the described first specified slide meets first preset condition, second pre-determined distance is greater than First pre-determined distance;
Described first is shown when the described first specified slide meets in first preset condition and the display interface When toolbar, all toolbars shown in first toolbar or the display interface are hidden.
CN201610707659.XA 2016-08-23 2016-08-23 The method and device on hide tools column Active CN106354383B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610707659.XA CN106354383B (en) 2016-08-23 2016-08-23 The method and device on hide tools column

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610707659.XA CN106354383B (en) 2016-08-23 2016-08-23 The method and device on hide tools column

Publications (2)

Publication Number Publication Date
CN106354383A CN106354383A (en) 2017-01-25
CN106354383B true CN106354383B (en) 2019-05-28

Family

ID=57843839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610707659.XA Active CN106354383B (en) 2016-08-23 2016-08-23 The method and device on hide tools column

Country Status (1)

Country Link
CN (1) CN106354383B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193451B (en) * 2017-06-15 2020-02-18 Oppo广东移动通信有限公司 Information display method and device, computer equipment and computer readable storage medium
CN109271764B (en) * 2018-08-30 2023-10-17 北京珠穆朗玛移动通信有限公司 Private data protection method, mobile terminal and storage medium
CN110471594B (en) * 2019-08-22 2022-02-22 北京字节跳动网络技术有限公司 Page adjusting method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103235688A (en) * 2013-04-17 2013-08-07 昆山富泰科电脑有限公司 Method and graphical user interface for processing messages rapidly in intelligent device notification bar
CN104346044A (en) * 2013-08-06 2015-02-11 北京怡孚和融科技有限公司 Dropdown menu control method
CN104516666A (en) * 2013-09-30 2015-04-15 腾讯科技(深圳)有限公司 Notice deleting method and device in intelligent terminal and intelligent terminal
CN105120067A (en) * 2015-07-16 2015-12-02 努比亚技术有限公司 Terminal slide distance obtaining device and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110029904A1 (en) * 2009-07-30 2011-02-03 Adam Miles Smith Behavior and Appearance of Touch-Optimized User Interface Elements for Controlling Computer Function

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103235688A (en) * 2013-04-17 2013-08-07 昆山富泰科电脑有限公司 Method and graphical user interface for processing messages rapidly in intelligent device notification bar
CN104346044A (en) * 2013-08-06 2015-02-11 北京怡孚和融科技有限公司 Dropdown menu control method
CN104516666A (en) * 2013-09-30 2015-04-15 腾讯科技(深圳)有限公司 Notice deleting method and device in intelligent terminal and intelligent terminal
CN105120067A (en) * 2015-07-16 2015-12-02 努比亚技术有限公司 Terminal slide distance obtaining device and method

Also Published As

Publication number Publication date
CN106354383A (en) 2017-01-25

Similar Documents

Publication Publication Date Title
CN105975166B (en) Application control method and device
JP6199510B2 (en) Method and apparatus for switching display modes
CN106454336B (en) The method and device and terminal that detection terminal camera is blocked
CN104503689B (en) Application interface display methods and device
EP3099040B1 (en) Button operation processing method in single-hand mode, apparatus and electronic device
US10997477B2 (en) Foreign matter recognition method and device
EP3232299A2 (en) Physical key component, terminal, and touch response method and device
CN105607805B (en) The footmark processing method and processing device of application icon
EP3121701A1 (en) Method and apparatus for single-hand operation on full screen
CN105468695B (en) Information display method and device
CN106547663B (en) Key management method and device
EP3109772A1 (en) Text input method and device
CN106951884A (en) Gather method, device and the electronic equipment of fingerprint
CN106681592B (en) Display switching method and device based on electronic equipment and electronic equipment
US20170300190A1 (en) Method and device for processing operation
CN104793843B (en) desktop display method and device
US10061497B2 (en) Method, device and storage medium for interchanging icon positions
CN103885691A (en) Method and device for executing backspacing operation
EP3012725A1 (en) Method, device and electronic device for displaying descriptive icon information
CN107102772A (en) Touch control method and device
CN109144385A (en) The moving method and device of suspension ball
CN107992257A (en) Split screen method and device
CN106354383B (en) The method and device on hide tools column
CN104035673A (en) Object control method and relevant device
CN104049864A (en) Object control method and device

Legal Events

Date Code Title Description
C06 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