Summary of the invention
For the problems referred to above, be necessary to provide a kind of method of adjusting dummy keyboard position, the method can facilitate the not user of homochirality size to carry out input information.
A method of adjusting dummy keyboard position, comprising:
Prompting user utilizes left thumb in the left side of screen left, or utilizes right thumb to slide at the right-hand part of screen to the right, carries out unlocking screen;
Judge that whether release is successful;
If release success, is divided into dummy keyboard two sub-keyboards; And
Described two sub-keyboards are presented at respectively screen two ends, and the lateral length of two the sub-keyboards of actual displacement relative set that slide on screen according to the left thumb of user or right thumb, and the lateral length of two sub-keyboards equates.
A method of adjusting dummy keyboard position, comprising:
Prompting user utilizes two thumbs respectively in the left side of screen, at the right-hand part of screen, slide left to the right, carries out unlocking screen;
Judge that whether release is successful;
If release success, is divided into dummy keyboard two sub-keyboards; And
Described two sub-keyboards are presented at respectively screen two ends, and the actual displacement setting of sliding in screen left side according to the left thumb of user is presented at the lateral length of the sub-keyboard of screen left side, and the actual displacement of sliding at screen right-hand part according to the right thumb of user is corresponding and the lateral length that is presented at the sub-keyboard of screen right-hand part.
The method of described adjustment dummy keyboard position, can make dummy keyboard be divided into two sub-keyboards and lay respectively at the two ends of screen, and according to user's not homochirality size, regulating the position of two sub-keyboards, can meet preferably the demand of different user.And, by user, during to unlocking screen, the position of dummy keyboard can be set, and without carrying out extra setting, improve the convenience that user uses.
Embodiment
Refer to Fig. 1, Figure 1 shows that the process flow diagram of method of the adjustment dummy keyboard position of first embodiment of the invention.The method comprises the steps:
Step S11: prompting user carries out unlocking screen.Particularly, prompting user utilizes left thumb in the left side of screen left, or utilizes right thumb to slide at the right-hand part of screen to the right, carries out unlocking screen.
Step S12: whether release is successful in interpretation.If release success, performs step S13; Otherwise return to step S11.
In the present embodiment, user's left thumb is along being roughly parallel to the direction slip of the top of screen or bottom and the terminal of left hand thumb slip in screen left side edge, or user's right thumb when screen right side edge, is considered as release success along the terminal that direction is slided and right thumb slides that is roughly parallel to the top of screen or bottom.
Step S13: dummy keyboard is divided into two sub-keyboards.In the present embodiment, the common key assignments that forms a complete dummy keyboard of the key assignments of two sub-keyboards.
Step S14: judge whether the actual displacement that user's thumb slides is more than or equal to a maximum preset value.If so, perform step S15; Otherwise execution step S16.Wherein, this maximum preset value is less than or equal to half of screen lateral length.
Step S15: two sub-keyboards are shown in the two ends of screen, and the lateral length that two sub-keyboards are set is this maximum preset value.
Step S16: judge whether the actual displacement that user's thumb slides is greater than a minimum preset value.If so, perform step S17; If not, that is, if the actual displacement that user's thumb slides is less than or equal to this minimum preset value, perform step S18.
Step S17: two sub-keyboards are shown in the two ends of screen, and the lateral length that two sub-keyboards are set is the actual displacement value that user's thumb slides.Flow process finishes.
Step S18: two sub-keyboards are shown in the two ends of screen, and the lateral length that two sub-keyboards are set is this minimum preset value.Flow process finishes.
Refer to Fig. 2 and Fig. 3, Fig. 2 and Figure 3 shows that the process flow diagram of method of the adjustment dummy keyboard position of second embodiment of the invention.The method comprises the steps:
Step S21: prompting user carries out unlocking screen.Particularly, prompting user utilizes two thumbs respectively in the left side of screen, at the right-hand part of screen, slide left to the right, carries out unlocking screen.
Step S22: judge whether release success.If release success, performs step S23; Otherwise, return to step S21 and utilize two thumbs respectively in the left-half of screen left with follow-up prompts user, at the right half part of screen, slide to the right, carry out unlocking screen.
In the present embodiment, two thumbs of user slide along the direction that is roughly parallel to the top of screen or bottom, and the terminal that slides of the terminal that slides of left hand thumb and hand thumb is while being respectively screen left side edge and right side edge, is considered as release success.
Step S23: dummy keyboard is divided into two sub-keyboards, and the common key assignments that forms a complete dummy keyboard of the key assignments of two sub-keyboards.Perform step S24 and step S29 simultaneously.
Step S24: judge whether the actual displacement that user slides in screen left side is more than or equal to a maximum preset value.If so, perform step S25; Otherwise execution step S26.Wherein, this maximum preset value is less than or equal to half of screen lateral length.
Step S25: the lateral length that the sub-keyboard that is shown in screen left side is set is this maximum preset value.Execution step S34.
Step S26: judge whether the actual displacement that user slides in screen left side is greater than a minimum preset value.If so, perform step S27; If not, that is, if the actual displacement that user slides in screen left side is less than or equal to this minimum preset value, perform step S28.
Step S27: the lateral length that the sub-keyboard that is shown in screen left side is set is the actual displacement of user in the slip of screen left side.Execution step S34.
Step S28: the lateral length that the sub-keyboard that is shown in screen left side is set is this minimum preset value.Execution step S34.
Step S29: judge whether user is more than or equal to this maximum preset value in the actual displacement of screen right-hand part.When user is when the actual displacement of screen right-hand part slip is more than or equal to this maximum preset value, perform step S30; Otherwise execution step S31.
Step S30: the lateral length that the sub-keyboard that is shown in screen right-hand part is set is this maximum preset value.Execution step S34.
Step S31: judge whether the actual displacement that user slides at screen right-hand part is greater than this minimum preset value.If so, perform step S32; If not, perform step S33.
Step S32: the lateral length that the sub-keyboard that is shown in screen right-hand part is set is the actual displacement of user in the slip of screen left side.Execution step S34.
Step S33: the lateral length that the sub-keyboard that is shown in screen left side is set is this minimum preset value.Execution step S34.
Step S34: simultaneously show two sub-keyboards, and two sub-keyboards lay respectively at the two ends of screen.Flow process finishes.
So, the method of the adjustment dummy keyboard position by above-mentioned the first embodiment and the second embodiment, can make dummy keyboard be divided into two sub-keyboards and lay respectively at the two ends of screen, and according to user's not homochirality size, regulate the position of two sub-keyboards, can meet preferably the demand of different user.And, by user, during to unlocking screen, the position of dummy keyboard can be set, and without carrying out extra setting, improve the convenience that user uses.