CN106354383A - Method and device for hiding toolbars - Google Patents

Method and device for hiding toolbars Download PDF

Info

Publication number
CN106354383A
CN106354383A CN201610707659.XA CN201610707659A CN106354383A CN 106354383 A CN106354383 A CN 106354383A CN 201610707659 A CN201610707659 A CN 201610707659A CN 106354383 A CN106354383 A CN 106354383A
Authority
CN
China
Prior art keywords
slide
specified
conditioned
toolbar
sliding 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.)
Granted
Application number
CN201610707659.XA
Other languages
Chinese (zh)
Other versions
CN106354383B (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

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 invention discloses a method and a device for hiding toolbars, and relates to the technical field of terminals. The method comprises the steps that (1) when a display screen based on a current application detects a first assigned sliding operation, determining a sliding distance of the first assigned sliding operation, wherein the first assigned sliding operation is an any kind among an upward sliding operation, a downward sliding operation, a left sliding operation or a right operation; (2) based on the sliding distance of the first assigned sliding operation, judging whether the first assigned sliding operation meets a first preset condition, wherein the first preset condition is the one which hides a first toolbar, the first toolbar is the one which corresponds to the sliding direction of the first assigned sliding operation; (3) when the first assigned sliding operation meets the first preset condition and the first toolbar is displayed in the display interface, hiding the first toolbar or all the toolbars displayed in the display interface. The method and the device for hiding toolbars can avoid the situation where the toolbars are hid not intentionally by a user, which is caused by wrong operations of the user, thus improving accuracy of hiding toolbars.

Description

The method and device on hide tools hurdle
Technical field
It relates to field of terminal technology, more particularly, to a kind of method and device on hide tools hurdle.
Background technology
At present, the top of the display interface of many applications is typically provided with toolbar, and this toolbar will occupy this display In interface, the subregion of concrete content of pages, during user checks concrete content of pages, shows to improve the page It is ensured that this concrete content of pages has bigger displaying scope, user it is generally desirable to the toolbar that terminal can hide top to effect.
A kind of method on hide tools hurdle is provided: when user is using application, if based on this application in correlation technique Display interface sliding operation is detected, this terminal can hide the toolbar at top, hence into full-screen display mode, namely It is that this display interface will be displayed in full screen the concrete content of pages of this application.In addition, after hide tools hurdle, aobvious if based on this Show that Interface detection arrives downslide operation, this terminal can also exit full-screen display mode, again show the toolbar at top.
Content of the invention
For overcoming problem present in correlation technique, present disclose provides a kind of method and device on hide tools hurdle.Institute State technical scheme as follows:
A kind of first aspect according to the embodiment of the present disclosure, there is provided method on hide tools hurdle, methods described includes:
When the first specified slide is detected based on the display interface of current application, determine that described first specifies slip The sliding distance of operation, described first specifies slide to be upper sliding operation, operation of gliding, in left sliding operation or right sliding operation Any one;
Based on the described first sliding distance specifying slide, judge whether the described first specified slide meets the One is pre-conditioned, the described first pre-conditioned condition for hiding the first toolbar, and described first toolbar is described first finger Determine the corresponding toolbar of glide direction of slide;
Described in meeting and show in the described first pre-conditioned and described display interface when the described first specified slide During the first toolbar, hide all toolbars of display in described first toolbar or described display interface.
Alternatively, the described sliding distance specifying slide based on described first, judges that described first specifies the behaviour that slides Whether meet first pre-conditioned, comprising:
Judge that described first specifies whether the sliding distance of slide is more than or equal to the first predeterminable range;
When the described first sliding distance specifying slide is more than or equal to described first predeterminable range, increase described The first slip number of times specifying slide;
When after increasing described first specifies the slip number of times of slide to be more than preset times, determine described first finger Determining slide, to meet described first pre-conditioned.
Alternatively, the described sliding distance specifying slide based on described first, judges that described first specifies the behaviour that slides Whether meet first pre-conditioned, comprising:
Judge that described first specifies the sliding distance of slide whether to be more than or equal to the second predeterminable range, described second Predeterminable range is more than the first predeterminable range;
When the described first sliding distance specifying slide is more than or equal to described second predeterminable range, determine described It is pre-conditioned that first specified slide meets described first.
Alternatively, methods described also includes:
Remove described first specify slide outside slide slip number of times.
Alternatively, methods described also includes:
When the second specified slide is detected based on described display interface, determine that described second specifies slide Sliding distance, described second specifies the contrary slip behaviour of the glide direction that slide is with described first specifies slide Make;
Based on the described second sliding distance specifying slide, judge whether the described second specified slide meets the Two is pre-conditioned, the described second pre-conditioned condition for showing described first toolbar;
When described second specify slide meet described second pre-conditioned when, show described first toolbar or institute State all toolbars hidden in display interface.
Alternatively, the described sliding distance specifying slide based on described second, judges that described second specifies the behaviour that slides Whether meet second pre-conditioned, comprising:
Judge that described second specifies whether the sliding distance of slide is more than or equal to the first predeterminable range;
When the described second sliding distance specifying slide is more than or equal to described first predeterminable range, increase described The second slip number of times specifying slide;
When after increasing described second specifies the slip number of times of slide to be more than preset times, determine described second finger Determining slide, to meet described second pre-conditioned.
Alternatively, the described sliding distance specifying slide based on described second, judges that described second specifies the behaviour that slides Whether meet second pre-conditioned, comprising:
Judge that described second specifies whether the sliding distance of slide is more than or equal to the second predeterminable range;
When the described second sliding distance specifying slide is more than or equal to described second predeterminable range, determine described It is pre-conditioned that second specified slide meets described second.
A kind of second aspect according to the embodiment of the present disclosure, there is provided device on hide tools hurdle, described device includes:
First determining module, for when based on the display interface of current application detect first specify slide when, really Fixed described first sliding distance specifying slide, described first specifies slide for upper sliding operation, glide operation, left cunning Any one in operation or right sliding operation;
First judge module, for specifying the sliding distance of slide based on described first, judges that described first specifies It is first pre-conditioned whether slide meets, the described first pre-conditioned condition for hiding the first toolbar, and described first Toolbar is the described first corresponding toolbar of glide direction specifying slide;
Hidden module, for meeting the described first pre-conditioned and described display interface when the described first specified slide In when showing described first toolbar, hide all instruments of display in described first toolbar or described display interface Hurdle.
Alternatively, described first judge module includes:
First judging submodule, for judging that described first specifies the sliding distance of slide whether more than or equal to the One predeterminable range;
First increase submodule, the sliding distance for specifying slide when described first is more than or equal to described first During predeterminable range, increase by the described first slip number of times specifying slide;
First determination sub-module, the slip number of times specifying slide for described first after increasing is more than default time During number, determine that the described first specified slide meets described first pre-conditioned.
Alternatively, described first judge module includes:
Second judging submodule, for judging that described first specifies the sliding distance of slide whether more than or equal to the Two predeterminable ranges, described second predeterminable range is more than the first predeterminable range;
Second determination sub-module, the sliding distance for specifying slide when described first is more than or equal to described second During predeterminable range, determine that the described first specified slide meets described first pre-conditioned.
Alternatively, described device also includes:
Remove module, for remove described first specify slide outside slide slip number of times.
Alternatively, described device also includes:
Second determining module, described for when the second specified slide is detected based on described display interface, determining Second sliding distance specifying slide, described second specifies slide to be the slip specifying slide with described first Slide in opposite direction;
Second judge module, for specifying the sliding distance of slide based on described second, judges that described second specifies Whether slide meets second pre-conditioned, the described second pre-conditioned condition for showing described first toolbar;
Display module, for when described second specify slide meet described second pre-conditioned when, display described the The all toolbars hidden in one toolbar or described display interface.
Alternatively, described second judge module includes:
3rd judging submodule, for judging that described second specifies the sliding distance of slide whether more than or equal to the One predeterminable range;
Second increase submodule, the sliding distance for specifying slide when described second is more than or equal to described first During predeterminable range, increase by the described second slip number of times specifying slide;
3rd determination sub-module, the slip number of times specifying slide for described second after increasing is more than default time During number, determine that the described second specified slide meets described second pre-conditioned.
Alternatively, described second judge module includes:
4th judging submodule, for judging that described second specifies the sliding distance of slide whether more than or equal to the Two predeterminable ranges;
4th determination sub-module, the sliding distance for specifying slide when described second is more than or equal to described second During predeterminable range, determine that the described second specified slide meets described second pre-conditioned.
A kind of second aspect according to the embodiment of the present disclosure, there is provided device on hide tools hurdle, described device includes:
Processor;
For storing the memorizer of described processor executable;
Wherein, described processor is used for:
When the first specified slide is detected based on the display interface of current application, determine that described first specifies slip The sliding distance of operation, described first specifies slide to be upper sliding operation, operation of gliding, in left sliding operation or right sliding operation Any one;
Based on the described first sliding distance specifying slide, judge whether the described first specified slide meets the One is pre-conditioned, the described first pre-conditioned condition for hiding the first toolbar, and described first toolbar is described first finger Determine the corresponding toolbar of glide direction of slide;
Described in meeting and show in the described first pre-conditioned and described display interface when the described first specified slide During the first toolbar, hide all toolbars of display in described first toolbar or described display interface.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:
In the embodiment of the present disclosure, terminal can specify slide detecting first based on the display interface of current application When, determine the sliding distance of this first specified slide, this first specified slide is upper sliding operation, downslide operates, left Any one in sliding operation or right sliding operation, and the sliding distance based on this first specified slide, judge this first finger Determine whether slide meets first pre-conditioned, this first pre-conditioned condition for hiding the first toolbar, this first work Tool hurdle is the corresponding toolbar of glide direction of this first specified slide, when this first specified slide satisfaction of determination should First is pre-conditioned and this display interface in when showing this first toolbar, just hide this first toolbar or this display circle All toolbars of display in face.By increasing by the first pre-conditioned judgement after the first specified slide is detected, can To further determine that the intention on user's hide tools hurdle, thus avoid by the maloperation of user lead to non-user be intended to In the case of hide tools hurdle situation, improve the accuracy on hide tools hurdle.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement meeting the disclosure Example, and be used for explaining the principle of the disclosure together with description.
Fig. 1 is a kind of method flow diagram on the hide tools hurdle according to an exemplary embodiment;
Fig. 2 is a kind of method flow diagram on the hide tools hurdle implementing to exemplify according to another exemplary;
Fig. 3 a is a kind of device block diagram on the hide tools hurdle according to an exemplary embodiment;
Fig. 3 b is a kind of structural representation of first judge module 320 according to an exemplary embodiment;
Fig. 3 c is a kind of structural representation of first judge module 320 implementing to exemplify according to another exemplary;
Fig. 3 d is a kind of device block diagram on the hide tools hurdle implementing to exemplify according to another exemplary;
Fig. 3 e is a kind of device block diagram on the hide tools hurdle according to further example embodiment;
Fig. 3 f is a kind of structural representation of second judge module 360 according to an exemplary embodiment;
Fig. 3 g is a kind of structural representation of second judge module 360 implementing to exemplify according to another exemplary;
Fig. 4 is a kind of block diagram of the device 400 on hide tools hurdle according to an exemplary embodiment.
Specific embodiment
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, the disclosure.
Before detailed explanation is carried out to the embodiment of the present disclosure, first the application scenarios of the embodiment of the present disclosure are given Introduce.In correlation technique, when terminal detects upper sliding operation based on the display interface of current application, will directly hide top Toolbar, enter full-screen display mode, but the mode on this triggering terminal hide tools hurdle excessively simple it is easy to cause Maloperation so that terminal non-user intention in the case of hide tools hurdle.For this reason, a kind of present disclose provides hide tools hurdle Method, to further determine that the true intention of user, improves the accuracy on hide tools hurdle, details are as follows.
Fig. 1 is a kind of method flow diagram on the hide tools hurdle according to an exemplary embodiment, as shown in figure 1, should Method is used in terminal, comprises the following steps:
In a step 101, when detecting first based on the display interface of current application and specifying slide, determine this The sliding distance of one specified slide, this first specified slide is upper cunning operation, downslide operates, left cunning operates or right Any one in sliding operation.
In a step 102, the sliding distance based on this first specified slide, judges that this first specified slide is No meet first pre-conditioned, this first pre-conditioned condition for hiding the first toolbar, this first toolbar be this first The corresponding toolbar of glide direction of specified slide.
In step 103, when this first specify slide to meet this first is pre-conditioned and this display interface in show When having this first toolbar, hide all toolbars of display in this first toolbar or this display interface.
In the embodiment of the present disclosure, terminal can specify slide detecting first based on the display interface of current application When, determine the sliding distance of this first specified slide, this first specified slide is upper sliding operation, downslide operates, left Any one in sliding operation or right sliding operation, and the sliding distance based on this first specified slide, judge this first finger Determine whether slide meets first pre-conditioned, this first pre-conditioned condition for hiding the first toolbar, this first work Tool hurdle is the corresponding toolbar of glide direction of this first specified slide, when this first specified slide satisfaction of determination should First is pre-conditioned and this display interface in when showing this first toolbar, just hide this first toolbar or this display circle All toolbars of display in face.By increasing by the first pre-conditioned judgement after the first specified slide is detected, can To further determine that the intention on user's hide tools hurdle, thus avoid by the maloperation of user lead to non-user be intended to In the case of hide tools hurdle situation, improve the accuracy on hide tools hurdle.
Alternatively, it is somebody's turn to do the sliding distance based on this first specified slide, whether judge this first specified slide Meet first pre-conditioned, comprising:
Judge whether the sliding distance of this first specified slide is more than or equal to the first predeterminable range;
When the sliding distance of this first specified slide is more than or equal to this first predeterminable range, increase this first finger Determine the slip number of times of slide;
When the slip number of times of this first specified slide after increasing is more than preset times, determine this first specified cunning It is first pre-conditioned that dynamic operation meets this.
In the embodiment of the present disclosure, by judging whether the sliding distance of this first specified slide is more than or equal to first Predeterminable range, it may be determined that going out effective slide, thus excluding invalid small maloperation, improves the accurate of detection Degree, in addition, by judging first to specify the slip number of times of slide whether to be more than preset times after increasing, to determine this One to specify slide whether to meet this first pre-conditioned, it is possible to achieve multiple first specifies the behaviour that slides by detect user Make, to determine that user wants the intention on hide tools hurdle, such that it is able to guarantee that triggering terminal is hidden under the true intention of user Toolbar, improves the accuracy on hide tools hurdle.
Alternatively, it is somebody's turn to do the sliding distance based on this first specified slide, whether judge this first specified slide Meet first pre-conditioned, comprising:
Judge that this first specifies the sliding distance of slide whether to be more than or equal to the second predeterminable range, this second is preset Distance is more than the first predeterminable range;
When the sliding distance of this first specified slide is more than or equal to this second predeterminable range, determine this first finger Determining slide, to meet this first pre-conditioned.
In the embodiment of the present disclosure, by judge this first specify the sliding distance of slide whether more than or equal to this Two predeterminable ranges, determining this, first to specify slide whether to meet this first pre-conditioned, it is possible to achieve use is being detected When family performs the more clear and definite first specified slide, determine that user has the intention on hide tools hurdle, such that it is able to true Protect triggering terminal hide tools hurdle under the true intention of user, improve the accuracy on hide tools hurdle.
Alternatively, methods described also includes:
Remove this first specify slide outside slide slip number of times.
In the embodiment of the present disclosure, by after detecting first and specifying slide, removing this first specified behaviour that slides The slip number of times of the slide outside work, so that this terminal detects again in addition to this first specified slide During slide, can start from scratch and recalculate the slip number of times of the slide in addition to this first specified slide, Thus avoiding carrying out the cumulative of mistake, improve the accuracy calculating slip number of times.
Alternatively, methods described also includes:
When the second specified slide is detected based on this display interface, determine the slip of this second specified slide Distance, this second specified slide is the slide contrary with the glide direction of this first specified slide;
Based on the sliding distance of this second specified slide, judge whether this second specified slide meets second pre- If condition, this second pre-conditioned condition for showing this first toolbar;
When this second specify slide meet this second pre-conditioned when, show this first toolbar or this display circle The all toolbars hidden in face.
In the embodiment of the present disclosure, terminal can also first being specified after slide conceals toolbar based on this, when When the second specified slide contrary with the glide direction of this first specified slide is detected, based on this second specified cunning The sliding distance of dynamic operation, judging this, whether second to specify slide to meet second pre-conditioned, and this second pre-conditioned is Show the condition of this first toolbar, when determination meet this second pre-conditioned when, show this first toolbar or this display The all toolbars hidden in interface.The toolbar hidden by display, so that user can be based on the work showing Tool hurdle execution associative operation, realizes the flexible use to this current application, improves Consumer's Experience.And, by detecting Second specifies increase the second pre-conditioned judgement after slide, may further determine that the intention of user's show toolbar, Thus avoid by the maloperation of user lead to non-user be intended in the case of show toolbar situation, improve display The accuracy of toolbar.
Alternatively, it is somebody's turn to do the sliding distance based on this second specified slide, whether judge this second specified slide Meet second pre-conditioned, comprising:
Judge whether the sliding distance of this second specified slide is more than or equal to the first predeterminable range;
When the sliding distance of this second specified slide is more than or equal to this first predeterminable range, increase this second finger Determine the slip number of times of slide;
When the slip number of times of this second specified slide after increasing is more than preset times, determine this second specified cunning It is second pre-conditioned that dynamic operation meets this.
In the embodiment of the present disclosure, by judging whether the sliding distance of this second specified slide is more than or equal to first Predeterminable range, it may be determined that going out effective slide, thus excluding invalid small maloperation, improves the accurate of detection Degree, in addition, by judging second to specify the slip number of times of slide whether to be more than preset times after increasing, to determine this Two to specify slides whether to meet this second pre-conditioned, it is possible to achieve multiple second specifies the behaviour that slides by detect user Make, to determine that user wants the intention of show toolbar, such that it is able to guarantee that triggering terminal shows under the true intention of user The toolbar hidden, improves the accuracy of show toolbar.
Alternatively, it is somebody's turn to do the sliding distance based on this second specified slide, whether judge this second specified slide Meet second pre-conditioned, comprising:
Judge whether the sliding distance of this second specified slide is more than or equal to the second predeterminable range;
When the sliding distance of this second specified slide is more than or equal to this second predeterminable range, determine this second finger Determining slide, to meet this second pre-conditioned.
In the embodiment of the present disclosure, by judge this second specify the sliding distance of slide whether more than or equal to this Two predeterminable ranges, determining this, second to specify slide whether to meet this second pre-conditioned, it is possible to achieve use is being detected When family performs the more clear and definite second specified slide, determine that user has the intention of show toolbar, such that it is able to true Protect triggering terminal under the true intention of user and show hide tools hurdle, improve the accuracy of show toolbar.
Above-mentioned all optional technical schemes, all can be according to the alternative embodiment arbitrarily combining to form the disclosure, and the disclosure is real Apply example this is no longer repeated one by one.
Fig. 2 is a kind of method flow diagram on the hide tools hurdle according to an exemplary embodiment, as shown in Fig. 2 should Method is used in terminal, comprises the following steps:
In step 201, when detecting first based on the display interface of current application and specifying slide, determine this The sliding distance of one specified slide, this first specified slide is upper cunning operation, downslide operates, left cunning operates or right Any one in sliding operation.
Wherein, this first specified slide can be triggered by user.In practical application, when user wants to hide this display In interface during the toolbar of display, this first specified slide can be triggered in this display interface, certainly, use in user During application it is also possible to triggered due to maloperation this first specify slide, now user do not want hidden Hide the intention of shown toolbar.
In order to when this first specified slide is detected, determine that this first specified slide is by the mistake behaviour of user Work triggers, or user really has the intention wanting hide tools hurdle, and this terminal can detect this first specified cunning further The sliding distance of dynamic operation, so that the follow-up sliding distance based on this first specified slide, determines the true intention of user.
Wherein, this first specifies the sliding distance of slide first can specify slide from starting to go to for this The distance slided during stopping execution, such as, the finger of user is from contacting this display interface to leaving this display interface During slide distance.In practical application, this terminal this sliding distance can be detected by pressure transducer naturally it is also possible to Detect this sliding distance by other means, the embodiment of the present disclosure does not limit to this.
In step 202., the sliding distance based on this first specified slide, judges that this first specified slide is No meet first pre-conditioned, this first pre-conditioned condition for hiding the first toolbar, this first toolbar be this first The corresponding toolbar of glide direction of specified slide.
It should be noted that this first toolbar i.e. corresponding toolbar of glide direction of this first specified slide can With by terminal default setting it is also possible to by user setup, the embodiment of the present disclosure does not limit to this.
In order to meet the use habit of user, the corresponding toolbar of glide direction of this first specified slide, generally Toolbar pointed by the glide direction of this first specified slide.Such as, the first instrument that upper sliding operation instruction is hidden Hurdle is usually top tool hurdle, and the first toolbar that downslide operation instruction is hidden is usually bottom tool hurdle, left sliding operation instruction The first hiding toolbar is usually right side toolbar, and the toolbar that right sliding operation instruction is hidden is usually left side toolbar etc..
Certainly, this first specify slide the corresponding toolbar of glide direction or with this glide direction phase The toolbar that anti-direction is pointed to, or it is configured toolbar etc. according to other corresponded manners, the embodiment of the present disclosure is to this not Limit.Such as, the first toolbar that upper sliding operation instruction is hidden can also be bottom tool hurdle, and left sliding operation instruction is hidden First toolbar can be left side toolbar, etc..
In addition, the sliding distance based on this first specified slide, judge whether this first specified slide meets First pre-conditioned process can include various ways, that is to say, this first pre-conditioned can have multiple set-up modes, only Can determine that this first specified slide is that user really wants to trigger during hide tools hurdle, the embodiment of the present disclosure pair This does not limit.
By increasing by the first pre-conditioned judgement after the first specified slide is detected, may further determine that use The intention on family hide tools hurdle, thus avoid the hide tools in the case that non-user is intended to being led to by the maloperation of user The situation on hurdle, improves the accuracy on hide tools hurdle.
In practical application, based on the sliding distance of this first specified slide, judge that this first specified slide is No satisfaction the first pre-conditioned process, can include but is not limited to following several ways:
First kind of way: judge this first specify the sliding distance of slide whether more than or equal to first default away from From;When the sliding distance of this first specified slide is more than or equal to this first predeterminable range, increase this first specified cunning The slip number of times of dynamic operation;When the slip number of times of this first specified slide after increasing is more than preset times, determining should First to specify slide to meet this first pre-conditioned.
Wherein, this first predeterminable range is used for indicating whether this first specified slide is effective slide, and This first specified predeterminable range can be by terminal default setting it is also possible to by user setup, the embodiment of the present disclosure limit to this Fixed.For example, it is possible to this first predeterminable range is set to 0.5cm, 1cm etc..
In practical application, when user is using application it is possible to this display interface can accidentally be touched, lead to this terminal This first sliding distance specifying slide is detected, and this sliding distance be usually a less distance, that is, this One specifies slide to be not an effective slide.In the embodiment of the present disclosure, in order to improve accuracy, can exclude Invalid slide, and only effective slide is detected.
That is to say, this terminal may determine that whether the sliding distance of this first specified slide is pre- more than or equal to first If distance, when this first specify slide sliding distance be more than or equal to this first predeterminable range when, that is, determine this first Specified slide is effective slide, and increases the slip number of times of this first specified slide.
It should be noted is that, when determining this first specified slide for effective slide, increase every time First specifies the slip number of times of slide can be by terminal default setting it is also possible to by user setup, the embodiment of the present disclosure pair This does not limit.For example, it is possible to the number of times of each increased slide is set to 1 time, 2 times etc..Generally, often The number of times of the slide of secondary increase is usually 1 time, that is to say, when this currently detected first specified slide of determination is Effectively after slide, this first the slip number of times of slide will be specified to add 1.
Need explanation on the other hand, this preset times can be by terminal default setting it is also possible to by user setup, this public affairs Open embodiment this is not also limited.For example, it is possible to preset times are set to 2 times, 3 times etc..And, this preset times is led to It is often greater than the first of the above-mentioned each increase slip number of times specifying slide.For example, when each increased slide time When number is set to 1 time, generally, in order to improve accuracy, generally this preset times is set greater than or is equal to 2 times, Slide is specified with multiple first by detecting user, to determine the intention wanting hide tools hurdle.
Further, after this first specified slide is detected, this terminal can also remove this first specified slip The slip number of times of the slide outside operation.
It is contemplated that before this first specified slide is detected, this terminal may also record in the embodiment of the present disclosure Except this first specify slide in addition to other slides slip number of times, in order to avoid first specifying detecting this After slide, then when this other slide is detected, the slide of this other slide can not be opened from zero again Begin record, and this terminal can also remove the slip time of this other slide after this first specified slide is detected Number, thus improve the accuracy of detection.
For example, if this currently detected first specified slide is upper sliding operation, on this, cunning detects before operating Glide and operate, and the slip number of times of this downslide operation is 2 times, then, on detecting this during sliding operation, this terminal can be by under this The slip number of times of sliding operation is set to 0, thus removing the slip number of times of this downslide operation, so that follow-up detect downslide operation again When, can be from the slip number of times of this downslide of 0 start recording operation.
The second way: judge this first specify the sliding distance of slide whether more than or equal to second default away from From this second predeterminable range is more than the first predeterminable range;It is somebody's turn to do when the sliding distance of this first specified slide is more than or equal to During the second predeterminable range, determining this, first to specify slide to meet this first pre-conditioned.
Wherein, this second predeterminable range is used for indicating the larger distance that this first specified slide is slided, And this second predeterminable range can be by terminal default setting it is also possible to by user setup, the embodiment of the present disclosure limit to this. For example, it is possible to this second predeterminable range is set to half of length of this display interface etc..
When the sliding distance of this first specified slide is more than or equal to this second predeterminable range, represent that user slides One larger distance, and do want to first to specify slide come hide tools hurdle by this, thus now this terminal Can determine this, first to specify slide to meet this first pre-conditioned.
It should be noted that above two mode individually to be judged and can be executed it is also possible to by above two mode It is combined to judge and to execute, the embodiment of the present disclosure does not limit to this.For example, when above two mode combines, this terminal Can first judge that this first specifies the sliding distance of slide whether to be more than or equal to the second predeterminable range, when being more than or equal to During this second predeterminable range, you can directly determine this first specify slide to meet this is first pre-conditioned, be also no need for really Slip number of times that is fixed and recording this first specified slide.And the sliding distance working as this first specified slide is more than or waits In this first predeterminable range, and during less than this second predeterminable range, you can increase the slip number of times of this first specified slide, And whether the slip number of times of this first specified slide after judging to increase is more than this preset times, and then based on after this increase This first specify the slip number of times of slide to determine this first to specify slide to meet this first pre-conditioned.So, The judge process of terminal can be simplified, improve detection efficiency.
In step 203, when this first specify slide to meet this first is pre-conditioned and this display interface in show When having this first toolbar, hide all toolbars of display in this first toolbar or this display interface.
It should be noted that when this first specify slide to meet this first is pre-conditioned and this display interface in show When having this first toolbar, this terminal can only be hidden this first specified toolbar and show it is also possible to hide in this display interface All toolbars naturally it is also possible to hide this display interface in display partly specify toolbar, the embodiment of the present disclosure is to this Do not limit.
In practical application, this terminal specifically executes any mode in above-mentioned several Stealth Modus, can be write from memory by terminal Recognize setting it is also possible to by user setup, the embodiment of the present disclosure does not limit to this.
Wherein, when this terminal only hide this first specify toolbar be top tool hurdle when, with this first specify slide behaviour As upper sliding operation, this first specify toolbar to be top tool hurdle as a example, this display interface can have following several situation:
1) this terminal only shows top tool hurdle.When detecting, upper cunning operates and on this, sliding operation satisfaction first presets bar During part, this terminal can directly hide this top tool hurdle, and now, this terminal can enter full-screen display mode.
2) this terminal is removed and is shown top tool marge, also shows other toolbars, such as bottom tool hurdle, left side instrument Hurdle and right side toolbar.When detect upper sliding operation and on this sliding operation meet first pre-conditioned when, this terminal can be only hidden Hide the top tool hurdle in all toolbars, due to also showing other toolbars, thus now this terminal be introduced into full frame Display pattern.
In the same manner, when this terminal hides the partly specified toolbar of display in this display interface, it is possibility to have above two feelings Condition, the embodiment of the present disclosure will not be described here.
In addition, when this terminal hides all toolbars of display in this display interface, this terminal will be directly entered entirely Screen display pattern.
Further, when this terminal hides when partly specifying toolbar of display in this display interface, this partly specifies work Tool hurdle can be by terminal default setting it is also possible to by user setup, the embodiment of the present disclosure also limit to this.For example, this portion Divide specified toolbar can be the toolbar in the glide direction of this first specified slide in this display interface, certainly Can be toolbar in the glide direction of this first specified slide etc. in this display interface.Example it is considered to To the use habit of user, usually check or refresh the behaviour of the concrete content of pages of application when sliding operation in user's execution Make, therefore when this first specified slide is upper sliding operation, this terminal can hide top tool hurdle and bottom tool hurdle; Correspondingly, when this first specify slide to be left sliding operation or right sliding operation when, this terminal can hide left side toolbar and Right side toolbar.
By hiding the toolbar in this display interface, so that this display interface has more spaces to show this application Concrete content of pages, being easy to user and check this concrete content of pages, thus improve display effect, improve Consumer's Experience.
Based on above-mentioned steps 201-203, it is assumed that the display interface of this current application has in a kind of typical implementation Top tool hurdle, and indicate that the operation hiding this top tool hurdle is upper sliding operation, then this terminal following initial value can be set:
The slip number of times of upper sliding operation: up_count=0;
Glide the slip number of times operating: down_count=0;
First predeterminable range: threshhold_distance;
Second predeterminable range: scree_height/2 (half of the height of current display screen);
Wherein, scree_height/2 > threshho1d_distance.
During user uses application by terminal, operate when upper cunning is detected based on this display screen, and on this When the sliding distance of sliding operation is distance, this terminal can perform and instructs as follows:
If (down_count > 0)
Down_count=0;
};
That is to say, operate when upper cunning is detected based on this display screen, and the slip operating of gliding that this terminal is recorded When number of times is more than zero, the slip number of times of this downslide operation is set to 0, to remove the slip number of times of this downslide operation.
However, it is determined that sliding distance distance >=scree_height/2 that on this, cunning operates in subsequent process, then should Display interface can hide this top tool hurdle, thus automatically into full-screen display mode.In addition however, it is determined that being somebody's turn to do Threshhold_distance=< distance <=scree_height/2, then this terminal be executable instruction: up_ Count=up_count+1, will add 1 by the slip number of times of sliding operation on this;Afterwards, if up_count >=2, this display circle Face can hide this top tool hurdle, thus automatically into full-screen display mode.
In step 204, when the second specified slide is detected based on this display interface, determine this second specified cunning The sliding distance of dynamic operation, this second specified slide is the slip contrary with the glide direction of this first specified slide Operation.
After this terminal conceals in this first toolbar or this display interface all toolbars of display, when being based on When this display interface detects the second specified slide contrary with the glide direction of this first specified slide, this terminal It may also be determined that the sliding distance of this second specified slide.
For example, when this first specified slide is upper sliding operation, sliding operation on based on this conceals top tool After hurdle, when the detection of this terminal detects downslide operation based on this display interface, this terminal can determine that this downslide operation Sliding distance.
It should be noted that determining the operation of the sliding distance of this second specified slide, should with determination in step 201 The operation of the first sliding distance specifying slide in the same manner, no longer repeats herein one by one.
In step 205, the sliding distance based on this second specified slide, judges that this second specified slide is No satisfaction second pre-conditioned, this second pre-conditioned condition for showing this first toolbar.
Wherein, the sliding distance based on this second specified slide, judges whether this second specified slide meets Second pre-conditioned process can include various ways, that is to say, this second pre-conditioned can have multiple set-up modes, only Can determine that this second specified slide is that user really wants to trigger when showing the toolbar hidden, the disclosure Embodiment does not limit to this.
By increasing by the second pre-conditioned judgement after the second specified slide is detected, may further determine that use The intention of family show toolbar, thus avoid the show tools in the case that non-user is intended to being led to by the maloperation of user The situation on hurdle, improves the accuracy of show toolbar.
In practical application, based on the sliding distance of this second specified slide, judge that this second specified slide is No satisfaction the second pre-conditioned process, can include but is not limited to following several ways:
First kind of way: judge this second specify the sliding distance of slide whether more than or equal to first default away from From;When the sliding distance of this second specified slide is more than or equal to this first predeterminable range, increase this second specified cunning The slip number of times of dynamic operation;When the slip number of times of this second specified slide after increasing is more than preset times, determining should Second to specify slide to meet this second pre-conditioned.
The second way: judge this second specify the sliding distance of slide whether more than or equal to second default away from From;When the sliding distance of this second specified slide is more than or equal to this second predeterminable range, determine this second specified cunning It is second pre-conditioned that dynamic operation meets this.
Wherein, this first kind of way and this second way implement process, with step 202 in relevant way with Reason, no longer repeats herein one by one.
Further, after the second specified slide is detected based on this display interface, this terminal can also remove this The slip number of times of the slide outside the second specified slide.For example, it is possible to remove above-mentioned first to specify slide Slip number of times.
In step 206, when this second specify slide meet this second pre-conditioned when, show this first toolbar Or all toolbars hidden in this display interface.
When this second specify slide meet this second pre-conditioned when, this terminal can in this display interface again Show all toolbars hidden in this first specified toolbar or this display interface naturally it is also possible to show this display circle What face had hidden partly specifies toolbar, and the embodiment of the present disclosure does not limit to this.
Wherein, the specific implementation of above-mentioned several show toolbar, the realization with hide tools hurdle in above-mentioned steps 203 Mode in the same manner, no longer repeats herein one by one.
In the embodiment of the present disclosure, by the hiding toolbar of display, so that user can be based on the instrument showing Hurdle executes associative operation, realizes the flexible use to this current application, improves Consumer's Experience.
It should be noted that being only to work as the slip side detecting with this first specified slide in the embodiment of the present disclosure After specifying slide to contrary second, said as a example showing the toolbar that this first specified slide instruction is hidden Bright, and in practical application, when detecting that the 3rd specifies slide, this terminal can also specify slide based on the 3rd Sliding distance, whether judging the 3rd, to specify slide to meet the 3rd pre-conditioned, the 3rd pre-conditioned for display second The condition of toolbar, this second toolbar is the 3rd corresponding toolbar of glide direction specifying slide, when the 3rd Specified slide meet that the 3rd is pre-conditioned and this display interface in when not showing this second toolbar, you can display should All toolbars that second toolbar or this display interface have been hidden.Wherein, the 3rd specify slide be except this second Slide outside specified slide, can be appointing in upper sliding operation, operation of gliding, left sliding operation or right sliding operation A kind of.
In sum, in the embodiment of the present disclosure, show this display interface is concealed based on this first specified slide Related tool hurdle after, when the specified slip all as above sliding operation, operation of gliding, left sliding operation, right sliding operation etc. is detected Operation, and this specified slide meets pre-conditioned, and this display interface do not show the slip of this specified slide During the corresponding toolbar in direction, this display interface can show the corresponding toolbar of the glide direction of this specified slide, or Person shows the hiding all toolbars of this display interface or partly specifies toolbar.
For example, in a kind of typical implementation, this first specified slide is based on this display interface and conceals In display interface display all toolbars, hence into as a example full-screen display mode it is assumed that this all toolbar include push up Portion's toolbar, bottom tool hurdle, left side toolbar and right side toolbar, then in subsequent process, when based on the detection of this display interface To meet condition downslide operate when, this display interface can show top tool hurdle;Grasp when the upper cunning meeting condition is detected When making, you can display bottom tool hurdle;When the left sliding operation meeting condition is detected, you can the toolbar of display right side;Work as inspection When measuring the right sliding operation meeting condition, you can the toolbar of display left side, etc..
Again for example, in another kind of typical implementation, when the upper sliding operation meeting condition is detected, this display circle Face can hide top tool hurdle and the bottom tool hurdle of this display interface, afterwards, operates when the downslide meeting condition is detected When, you can again show this top tool hurdle and bottom tool hurdle.
Certainly the method being provided based on the embodiment of the present disclosure, in actual applications, it is possibility to have other implementations, this public affairs Open embodiment this is not limited.
In sum, in the embodiment of the present disclosure, terminal can detect the first finger based on the display interface of current application When determining slide, determine this first sliding distance specifying slide, this first specifies slide to be upper sliding operation, under Any one in sliding operation, left sliding operation or right sliding operation, and based on this first sliding distance specifying slide, judge Whether this first specified slide meets first pre-conditioned, this first pre-conditioned condition for hiding the first toolbar, This first toolbar is the corresponding toolbar of glide direction of this first specified slide, as this first specified behaviour that slides of determination Make to meet this first is pre-conditioned and this display interface in when showing this first toolbar, just this first toolbar hiding or All toolbars of display in this display interface.Pre-conditioned by increasing by first after the first specified slide is detected Judge, may further determine that the intention on user's hide tools hurdle, thus avoid by the maloperation of user lead in non-use In the case of the intention of family, the situation on hide tools hurdle, improves the accuracy on hide tools hurdle.
Fig. 3 a is a kind of device block diagram on the hide tools hurdle according to an exemplary embodiment, and this device can be for eventually End.Reference picture 3a, this device includes the first determining module 310, the first judge module 320 and hidden module 330.
This first determining module 310, detects the first specified slide for working as based on the display interface of current application When, determine the sliding distance of this first specified slide, this first specified slide is upper sliding operation, downslide operates, left Any one in sliding operation or right sliding operation;
This first judge module 320, for based on this first specify slide sliding distance, judge this first specify Whether slide meets first pre-conditioned, this first pre-conditioned condition for hiding the first toolbar, this first instrument Hurdle is the corresponding toolbar of glide direction of this first specified slide;
This hidden module 330, for meeting this first pre-conditioned and this display interface when this first specified slide In when showing this first toolbar, hide all toolbars of display in this first toolbar or this display interface.
Alternatively, referring to Fig. 3 b, this first judge module includes 320:
First judging submodule 321, whether the sliding distance for judging this first specified slide is more than or equal to First predeterminable range;
First increase submodule 322, for when this first specify slide sliding distance be more than or equal to this first During predeterminable range, increase the slip number of times of this first specified slide;
First determination sub-module 323, for this after increasing, first to specify the slip number of times of slide to be more than default During number of times, determining this, first to specify slide to meet this first pre-conditioned.
Alternatively, referring to Fig. 3 c, this first judge module 320 includes:
Second judging submodule 324, whether the sliding distance for judging this first specified slide is more than or equal to Second predeterminable range, this second predeterminable range is more than the first predeterminable range;
Second determination sub-module 325, for when this first specify slide sliding distance be more than or equal to this second During predeterminable range, determining this, first to specify slide to meet this first pre-conditioned.
Alternatively, referring to Fig. 3 d, this device also includes:
Remove module 340, for remove this first specify slide outside slide slip number of times.
Alternatively, referring to Fig. 3 e, this device also includes:
Second determining module 350, for when detecting second based on this display interface and specifying slide, determine this Two sliding distances specifying slide, this second specified slide is the glide direction phase with this first specified slide Anti- slide;
Second judge module 360, for the sliding distance based on this second specified slide, judges this second specified cunning Whether dynamic operation meets second pre-conditioned, this second pre-conditioned condition for showing this first toolbar;
Display module 370, for when this second specify slide meet this second pre-conditioned when, show this first work The all toolbars hidden in tool hurdle or this display interface.
Alternatively, referring to Fig. 3 f, this second judge module 360 includes:
3rd judging submodule 361, whether the sliding distance for judging this second specified slide is more than or equal to First predeterminable range;
Second increase submodule 362, for when this second specify slide sliding distance be more than or equal to this first During predeterminable range, increase the slip number of times of this second specified slide;
3rd determination sub-module 363, for this after increasing, second to specify the slip number of times of slide to be more than default During number of times, determining this, second to specify slide to meet this second pre-conditioned.
Alternatively, referring to Fig. 3 g, this second judge module 360 includes:
4th judging submodule 364, whether the sliding distance for judging this second specified slide is more than or equal to Second predeterminable range;
4th determination sub-module 365, for when this second specify slide sliding distance be more than or equal to this second During predeterminable range, determining this, second to specify slide to meet this second pre-conditioned.
In the embodiment of the present disclosure, the device on this hide tools hurdle can detect based on the display interface of current application During one specified slide, determine the sliding distance of this first specified slide, this first specified slide is that upper cunning is grasped Make, operation of gliding, any one in left sliding operation or right sliding operation, and based on this first specify the slip of slide away from From, judging this, whether first to specify slide to meet first pre-conditioned, this first pre-conditioned for hiding the first toolbar Condition, this first toolbar be this first specify slide the corresponding toolbar of glide direction, when determine this first finger Determine slide meet this first is pre-conditioned and this display interface in when showing this first toolbar, just hide this first work All toolbars of display in tool hurdle or this display interface.Pre- by increasing by first after the first specified slide is detected If the judgement of condition, may further determine that the intention on user's hide tools hurdle, thus avoid being led to by the maloperation of user Non-user be intended in the case of hide tools hurdle situation, improve the accuracy on hide tools hurdle.
With regard to the device in above-described embodiment, wherein the concrete mode of modules execution operation is in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 4 is a kind of block diagram of the device 400 on hide tools hurdle according to an exemplary embodiment.For example, device 400 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, and medical treatment sets Standby, body-building equipment, personal digital assistant etc..
With reference to Fig. 4, device 400 can include following one or more assemblies: process assembly 402, memorizer 404, power supply Assembly 406, multimedia groupware 408, audio-frequency assembly 410, the interface 412 of input/output (i/o), sensor cluster 414, and Communication component 416.
The integrated operation of the usual control device 400 of process assembly 402, such as with display, call, data communication, phase Machine operation and record operate associated operation.Process assembly 402 can include one or more processors 420 and refer to execute Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 402 can include one or more modules, just Interaction between process assembly 402 and other assemblies.For example, process assembly 402 can include multi-media module, many to facilitate Interaction between media component 408 and process assembly 402.
Memorizer 404 is configured to store various types of data to support the operation in device 400.The showing of these data Example includes the instruction for any application program of operation or method on device 400, contact data, telephone book data, disappears Breath, picture, video etc..Memorizer 404 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (sram), Electrically Erasable Read Only Memory (eeprom), erasable 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 can include power management system System, one or more power supplys, and other generate, manage and distribute, with for device 400, the assembly that power supply is associated.
Multimedia groupware 408 includes the screen of one output interface of offer between described device 400 and user.One In a little embodiments, screen can include liquid crystal display (lcd) and touch panel (tp).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sensing touch or sliding action Border, but also detection and described touch or slide related persistent period and pressure.In certain embodiments, many matchmakers Body assembly 408 includes a front-facing camera and/or post-positioned pick-up head.When device 400 is in operator scheme, such as screening-mode or During video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and Post-positioned pick-up head can be the optical lens system of a fixation or have focusing and optical zoom capabilities.
Audio-frequency assembly 410 is configured to output and/or input audio signal.For example, audio-frequency assembly 410 includes a Mike Wind (mic), when device 400 is in operator scheme, during as call model, logging mode and speech recognition mode, mike is joined It is set to reception external audio signal.The audio signal being received can be further stored in memorizer 404 or via communication set Part 416 sends.In certain embodiments, audio-frequency assembly 410 also includes a speaker, for exports audio signal.
, for providing interface between process assembly 402 and peripheral interface module, above-mentioned peripheral interface module can for i/o interface 412 To be keyboard, click wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and lock Determine button.
Sensor cluster 414 includes one or more sensors, for providing the state of various aspects to comment for device 400 Estimate.For example, sensor cluster 414 can detect/the closed mode of opening of device 400, and the relative localization of assembly is for example described Assembly is display and the keypad of device 400, and sensor cluster 414 can be with detection means 400 or 400 1 assemblies of device Position change, user is presence or absence of with what device 400 contacted, device 400 orientation or acceleration/deceleration and device 400 Temperature change.Sensor cluster 414 can include proximity transducer, is configured to the detection when not having any physical contact The presence of object nearby.Sensor cluster 414 can also include optical sensor, such as cmos or ccd imageing sensor, for becoming Use as in application.In certain embodiments, this sensor cluster 414 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure transducer 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 combinations thereof.In an exemplary enforcement In example, communication component 416 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, described communication component 416 also includes near-field communication (nfc) module, to promote junction service.Example As, RF identification (rfid) technology can be based in nfc module, Infrared Data Association (irda) technology, ultra broadband (uwb) technology, Bluetooth (bt) technology and other technologies are realizing.
In the exemplary embodiment, device 400 can be by one or more application specific integrated circuits (asic), numeral letter Number processor (dsp), digital signal processing appts (dspd), PLD (pld), field programmable gate array (fpga), controller, microcontroller, microprocessor or other electronic components are realized, for executing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided As included the memorizer 404 instructing, above-mentioned instruction can be executed by the processor 420 of device 400 to complete said method.For example, Described 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 described storage medium is by the process of mobile terminal So that mobile terminal is able to carry out a kind of method on hide tools hurdle during device execution, methods described includes:
When the first specified slide is detected based on the display interface of current application, determine that described first specifies slip The sliding distance of operation, described first specifies slide to be upper sliding operation, operation of gliding, in left sliding operation or right sliding operation Any one;
Based on the described first sliding distance specifying slide, judge whether the described first specified slide meets the One is pre-conditioned, the described first pre-conditioned condition for hiding the first toolbar, and described first toolbar is described first finger Determine the corresponding toolbar of glide direction of slide;
Described in meeting and show in the described first pre-conditioned and described display interface when the described first specified slide During the first toolbar, hide all toolbars of display in described first toolbar or described display interface.
Alternatively, the described sliding distance specifying slide based on described first, judges that described first specifies the behaviour that slides Whether meet first pre-conditioned, comprising:
Judge that described first specifies whether the sliding distance of slide is more than or equal to the first predeterminable range;
When the described first sliding distance specifying slide is more than or equal to described first predeterminable range, increase described The first slip number of times specifying slide;
When after increasing described first specifies the slip number of times of slide to be more than preset times, determine described first finger Determining slide, to meet described first pre-conditioned.
Alternatively, the described sliding distance specifying slide based on described first, judges that described first specifies the behaviour that slides Whether meet first pre-conditioned, comprising:
Judge that described first specifies the sliding distance of slide whether to be more than or equal to the second predeterminable range, described second Predeterminable range is more than the first predeterminable range;
When the described first sliding distance specifying slide is more than or equal to described second predeterminable range, determine described It is pre-conditioned that first specified slide meets described first.
Alternatively, methods described also includes:
Remove described first specify slide outside slide slip number of times.
Alternatively, methods described also includes:
When the second specified slide is detected based on described display interface, determine that described second specifies slide Sliding distance, described second specifies the contrary slip behaviour of the glide direction that slide is with described first specifies slide Make;
Based on the described second sliding distance specifying slide, judge whether the described second specified slide meets the Two is pre-conditioned, the described second pre-conditioned condition for showing described first toolbar;
When described second specify slide meet described second pre-conditioned when, show described first toolbar or institute State all toolbars hidden in display interface.
Alternatively, the described sliding distance specifying slide based on described second, judges that described second specifies the behaviour that slides Whether meet second pre-conditioned, comprising:
Judge that described second specifies whether the sliding distance of slide is more than or equal to the first predeterminable range;
When the described second sliding distance specifying slide is more than or equal to described first predeterminable range, increase described The second slip number of times specifying slide;
When after increasing described second specifies the slip number of times of slide to be more than preset times, determine described second finger Determining slide, to meet described second pre-conditioned.
Alternatively, the described sliding distance specifying slide based on described second, judges that described second specifies the behaviour that slides Whether meet second pre-conditioned, comprising:
Judge that described second specifies whether the sliding distance of slide is more than or equal to the second predeterminable range;
When the described second sliding distance specifying slide is more than or equal to described second predeterminable range, determine described It is pre-conditioned that second specified slide meets described second.
Those skilled in the art, after considering description and putting into practice scheme disclosed herein, will readily occur to its of the disclosure Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations are followed the general principle of the disclosure and are included the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments be considered only as exemplary, the true scope of the disclosure and spirit by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to be described above and precision architecture illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure only to be limited by appended claim.

Claims (15)

1. a kind of method on hide tools hurdle is it is characterised in that methods described includes:
When the first specified slide is detected based on the display interface of current application, determine that described first specifies slide Sliding distance, described first specifies slide to be upper sliding operation, operation of gliding, appointing in left sliding operation or right sliding operation A kind of;
Based on the described first sliding distance specifying slide, judge whether the described first specified slide meets first pre- If condition, the described first pre-conditioned condition for hiding the first toolbar, described first toolbar is the described first specified cunning The corresponding toolbar of glide direction of dynamic operation;
Show described first when the described first specified slide meets in the described first pre-conditioned and described display interface During toolbar, hide all toolbars of display in described first toolbar or described display interface.
2. the method for claim 1 it is characterised in that described based on described first specify slide slip away from From judging that described first specifies slide whether to meet first pre-conditioned, comprising:
Judge that described first specifies whether the sliding distance of slide is more than or equal to the first predeterminable range;
When the described first sliding distance specifying slide is more than or equal to described first predeterminable range, increase described first The slip number of times of specified slide;
When after increasing described first specifies the slip number of times of slide to be more than preset times, determine that described first specifies cunning It is pre-conditioned that dynamic operation meets described first.
3. the method for claim 1 it is characterised in that described based on described first specify slide slip away from From judging that described first specifies slide whether to meet first pre-conditioned, comprising:
Judge that described first specifies whether the sliding distance of slide is more than or equal to the second predeterminable range, described second presets Distance is more than the first predeterminable range;
When the described first sliding distance specifying slide is more than or equal to described second predeterminable range, determine described first It is pre-conditioned that specified slide meets described first.
4. the method for claim 1 is it is characterised in that methods described also includes:
Remove described first specify slide outside slide slip number of times.
5. described method as arbitrary in claim 1-4 is it is characterised in that methods described also includes:
When the second specified slide is detected based on described display interface, determine the described second slip specifying slide Distance, described second specifies the contrary slide of the glide direction that slide is with described first specifies slide;
Based on the described second sliding distance specifying slide, judge whether the described second specified slide meets second pre- If condition, the described second pre-conditioned condition for showing described first toolbar;
When described second specify slide meet described second pre-conditioned when, show described first toolbar or described aobvious Show all toolbars hidden in interface.
6. method as claimed in claim 5 it is characterised in that described based on described second specify slide slip away from From judging that described second specifies slide whether to meet second pre-conditioned, comprising:
Judge that described second specifies whether the sliding distance of slide is more than or equal to the first predeterminable range;
When the described second sliding distance specifying slide is more than or equal to described first predeterminable range, increase described second The slip number of times of specified slide;
When after increasing described second specifies the slip number of times of slide to be more than preset times, determine that described second specifies cunning It is pre-conditioned that dynamic operation meets described second.
7. method as claimed in claim 5 it is characterised in that described based on described second specify slide slip away from From judging that described second specifies slide whether to meet second pre-conditioned, comprising:
Judge that described second specifies whether the sliding distance of slide is more than or equal to the second predeterminable range;
When the described second sliding distance specifying slide is more than or equal to described second predeterminable range, determine described second It is pre-conditioned that specified slide meets described second.
8. a kind of device on hide tools hurdle is it is characterised in that described device includes:
First determining module, for when the first specified slide is detected based on the display interface of current application, determining institute State the first sliding distance specifying slide, described first specifies slide to operate for upper cunning operation, operation of gliding, left cunning Or any one in right sliding operation;
First judge module, for specifying the sliding distance of slide based on described first, judges that described first specifies slip Whether operation meets first pre-conditioned, the described first pre-conditioned condition for hiding the first toolbar, described first instrument Hurdle is the described first corresponding toolbar of glide direction specifying slide;
Hidden module, for showing when the described first specified slide meets in the described first pre-conditioned and described display interface When being shown with described first toolbar, hide all toolbars of display in described first toolbar or described display interface.
9. device as claimed in claim 8 is it is characterised in that described first judge module includes:
First judging submodule, whether the sliding distance for judging the described first specified slide is pre- more than or equal to first If distance;
First increase submodule, the sliding distance for specifying slide when described first is more than or equal to described first to be preset Apart from when, increase described first specify slide slip number of times;
First determination sub-module, the slip number of times specifying slide for described first after increasing is more than preset times When, determine that the described first specified slide meets described first pre-conditioned.
10. device as claimed in claim 8 is it is characterised in that described first judge module includes:
Second judging submodule, whether the sliding distance for judging the described first specified slide is pre- more than or equal to second If distance, described second predeterminable range is more than the first predeterminable range;
Second determination sub-module, the sliding distance for specifying slide when described first is more than or equal to described second to be preset Apart from when, determine that described first specifies slide to meet described first pre-conditioned.
11. devices as claimed in claim 8 are it is characterised in that described device also includes:
Remove module, for remove described first specify slide outside slide slip number of times.
12. such as claim 8-11 arbitrary described devices are it is characterised in that described device also includes:
Second determining module, for when the second specified slide is detected based on described display interface, determining described second The sliding distance of specified slide, described second specifies slide to be the glide direction specifying slide with described first Contrary slide;
Second judge module, for specifying the sliding distance of slide based on described second, judges that described second specifies slip Whether operation meets second pre-conditioned, the described second pre-conditioned condition for showing described first toolbar;
Display module, for when described second specify slide meet described second pre-conditioned when, show described first work The all toolbars hidden in tool hurdle or described display interface.
13. devices as claimed in claim 12 are it is characterised in that described second judge module includes:
3rd judging submodule, whether the sliding distance for judging the described second specified slide is pre- more than or equal to first If distance;
Second increase submodule, the sliding distance for specifying slide when described second is more than or equal to described first to be preset Apart from when, increase described second specify slide slip number of times;
3rd determination sub-module, the slip number of times specifying slide for described second after increasing is more than preset times When, determine that the described second specified slide meets described second pre-conditioned.
14. devices as claimed in claim 12 are it is characterised in that described second judge module includes:
4th judging submodule, whether the sliding distance for judging the described second specified slide is pre- more than or equal to second If distance;
4th determination sub-module, the sliding distance for specifying slide when described second is more than or equal to described second to be preset Apart from when, determine that described second specifies slide to meet described second pre-conditioned.
A kind of 15. devices on hide tools hurdle are it is characterised in that described device includes:
Processor;
For storing the memorizer of described processor executable;
Wherein, described processor is used for:
When the first specified slide is detected based on the display interface of current application, determine that described first specifies slide Sliding distance, described first specifies slide to be upper sliding operation, operation of gliding, appointing in left sliding operation or right sliding operation A kind of;
Based on the described first sliding distance specifying slide, judge whether the described first specified slide meets first pre- If condition, the described first pre-conditioned condition for hiding the first toolbar, described first toolbar is the described first specified cunning The corresponding toolbar of glide direction of dynamic operation;
Show described first when the described first specified slide meets in the described first pre-conditioned and described display interface During toolbar, hide all toolbars of display in described first toolbar or described display interface.
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 true CN106354383A (en) 2017-01-25
CN106354383B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193451A (en) * 2017-06-15 2017-09-22 广东欧珀移动通信有限公司 Information displaying method, device, computer equipment and computer-readable recording medium
CN109271764A (en) * 2018-08-30 2019-01-25 北京珠穆朗玛移动通信有限公司 Private data guard method, mobile terminal and storage medium
CN110471594A (en) * 2019-08-22 2019-11-19 北京字节跳动网络技术有限公司 A kind of page method of adjustment, device, equipment and medium

Citations (5)

* 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
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

Patent Citations (5)

* 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
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

Cited By (6)

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

Also Published As

Publication number Publication date
CN106354383B (en) 2019-05-28

Similar Documents

Publication Publication Date Title
CN104503689B (en) Application interface display methods and device
CN106951884A (en) Gather method, device and the electronic equipment of fingerprint
CN106454336B (en) The method and device and terminal that detection terminal camera is blocked
CN104238912B (en) application control method and device
CN106547466A (en) Display control method and device
CN106445238A (en) Edge touch inhibiting method and device
CN107102772A (en) Touch control method and device
CN106528131A (en) Application function display method and apparatus, and terminal device
CN107992257A (en) Split screen method and device
CN105487805A (en) Object operating method and device
CN106201108B (en) Gloves control mode touch mode control method and device and electronic equipment
CN107783711A (en) Application program is controlled to perform the method and device of operation
CN106354504A (en) Message display method and device thereof
CN107704190A (en) Gesture identification method, device, terminal and storage medium
CN106527869A (en) Application icon display control method and device
CN106168877A (en) Enter the method and device of singlehanded pattern
CN106354383A (en) Method and device for hiding toolbars
CN104035764B (en) Object control method and relevant apparatus
CN105187671A (en) Recording method and device
CN106775210A (en) The method and apparatus that wallpaper is changed
CN104461366A (en) Method and device for activating operation state of mobile terminal
CN106502406A (en) Application program deployment method, device and terminal unit
CN106095313A (en) The method and device that touch panel device event triggers
CN106484296A (en) Mobile terminal prevents processing method, device and the equipment of false touch
CN109445658A (en) A kind of method, apparatus, mobile terminal and storage medium switching display pattern

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