Method for moving a Chinese input candidate word box and mobile terminal
First Claim
1. A method for moving a Chinese input candidate word box, comprising:
- creating a candidate word box and drawing the candidate word box in a position within a range of a screen;
analyzing and calculating a moving distance after generating an input signal through directly dragging the candidate word box by a user or through operating a direction key or a direction soft key by the user to move the candidate word box; and
destroying the candidate word box in situ when the moving distance is not beyond the range of the screen, and redrawing a candidate word box in a new position which the candidate word box is moved to,when the moving distance is beyond the range of the screen, recording a distance between an initial position of the candidate word box and an edge of the screen in the direction as the moving distance,when the input signals are generated by direct dragging of the user, calculating the moving distances of the candidate word box in the horizontal and vertical directions according to a difference between a horizontal coordinate value of the initial position of before dragging and a horizontal coordinate value of the initial position after dragging and a difference between a vertical coordinate value of the initial position before dragging and a vertical coordinate value of the initial position after dragging, and respectively multiplying a horizontal moving distance and a vertical moving distance by a conversion coefficient to slow down a moving speed during the dragging and obtain the moving distances of the candidate word box, further comprising;
when the input signals are generated through operating the direction keys or direction soft keys to move the candidate word box, correspondingly moving a set step length each time when operating the direction key or the direction soft key once.
1 Assignment
0 Petitions
Accused Products
Abstract
The disclosure provides a method for moving a Chinese input candidate word box and a mobile terminal, wherein the method includes: creating a candidate word box and drawing the candidate word box in a position within the range of a screen; analyzing and calculating a moving distance after generating an input signal, through directly dragging the candidate word box by a user or through operating a direction key or a direction soft key by the user to move the candidate word box; and destroying the candidate word box in situ when the moving distance is not beyond the range of the screen, and redrawing a candidate word box in a new position which the candidate word box is moved to. The method and the mobile terminal of the disclosure enable the user to freely move the position of the candidate word box within the range of the screen according to the user'"'"'s requirement when the user inputs Chinese, so that the user can acquire the view in the range of the whole screen, thereby improving utilization rate of the range of the screen.
30 Citations
17 Claims
-
1. A method for moving a Chinese input candidate word box, comprising:
-
creating a candidate word box and drawing the candidate word box in a position within a range of a screen; analyzing and calculating a moving distance after generating an input signal through directly dragging the candidate word box by a user or through operating a direction key or a direction soft key by the user to move the candidate word box; and destroying the candidate word box in situ when the moving distance is not beyond the range of the screen, and redrawing a candidate word box in a new position which the candidate word box is moved to, when the moving distance is beyond the range of the screen, recording a distance between an initial position of the candidate word box and an edge of the screen in the direction as the moving distance, when the input signals are generated by direct dragging of the user, calculating the moving distances of the candidate word box in the horizontal and vertical directions according to a difference between a horizontal coordinate value of the initial position of before dragging and a horizontal coordinate value of the initial position after dragging and a difference between a vertical coordinate value of the initial position before dragging and a vertical coordinate value of the initial position after dragging, and respectively multiplying a horizontal moving distance and a vertical moving distance by a conversion coefficient to slow down a moving speed during the dragging and obtain the moving distances of the candidate word box, further comprising;
when the input signals are generated through operating the direction keys or direction soft keys to move the candidate word box, correspondingly moving a set step length each time when operating the direction key or the direction soft key once. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A mobile terminal, comprising:
- a candidate word box creating and initializing module, an input sensing module, a position managing and analyzing module, a candidate word box destroying module and a candidate word box drawing module;
whereinthe candidate word box creating and initializing module is configured to create a candidate word box; the candidate word box drawing module is configured to draw the candidate word box, and redraw a candidate word box after the candidate word box is destroyed in situ and moved to a new position; the input sensing module is configured to receive an input signal generated through directly dragging the candidate word box by a user or through operating a direction key or a direction soft key by the user to move the candidate word box; and
start the position managing and analyzing module and the candidate word box destroying module;the position managing and analyzing module is configured, when the moving distance is not beyond a range of a screen, to analyze and calculate a moving distance, and notify the candidate word box drawing module, and when the moving distance is beyond the range of the screen, to record a distance between an initial position of the candidate word box and an edge of the screen in the direction as the moving distance and generate the position information, and notify the candidate word box drawing module; and
the position managing and analyzing module is further configured to, when the input signals are generated by direct dragging of the user, calculate the moving distances of the candidate word box in the horizontal and vertical directions according to a difference between a horizontal coordinate value of the initial position before dragging and a horizontal coordinate value of the initial position after dragging and a difference between a vertical coordinate value of the initial position before dragging and a vertical coordinate value of the initial position after dragging, and respectively multiply a horizontal moving distance and a vertical moving distance by a conversion coefficient to slow down a moving speed during the dragging and obtain the moving distances of the candidate word box; andthe candidate word box destroying module is configured to destroy the candidate word box in situ, wherein the candidate word box creating and initializing module is further configured to, when creating the candidate word box, generate position information and notify the candidate word box drawing module; the candidate word box drawing module is further configured to draw the candidate word box in a target position according to the position information; and the position managing and analyzing module is further configured to obtain the position information when analyzing and calculating the moving distance, wherein the position managing and analyzing module is further configured to, when the input signals are generated through operating the direction keys or direction soft keys to move the candidate word box, record the pressed direction keys and a number of times of pressing the direction keys, and calculate the moving distance according to the number of times of pressing the direction keys; and
record initial position information of the input signals when effective input signals are generated by direct dragging of the user, and calculate the moving distances in the horizontal and vertical directions according to the initial position information. - View Dependent Claims (7, 8, 9, 10)
- a candidate word box creating and initializing module, an input sensing module, a position managing and analyzing module, a candidate word box destroying module and a candidate word box drawing module;
-
11. A method for moving a Chinese input candidate word box, comprising:
-
creating a candidate word box and drawing the candidate word box in a position within a range of a screen; analyzing and calculating a moving distance after generating an input signal through directly dragging the candidate word box by a user or through operating a direction key or a direction soft key by the user to move the candidate word box; and destroying the candidate word box in situ when the moving distance is not beyond the range of the screen, and redrawing a candidate word box in a new position which the candidate word box is moved to, when the moving distance is beyond the range of the screen, recording a distance between an initial position of the candidate word box and an edge of the screen in the direction as the moving distance, when the input signals are generated by direct dragging of the user, calculating the moving distances of the candidate word box in the horizontal and vertical directions according to a difference between a horizontal coordinate value of the initial position of before dragging and a horizontal coordinate value of the initial position after dragging and a difference between a vertical coordinate value of the initial position before dragging and a vertical coordinate value of the initial position after dragging, and respectively multiplying a horizontal moving distance and a vertical moving distance by a conversion coefficient to slow down a moving speed during the dragging and obtain the moving distances of the candidate word box, wherein the step of calculating the moving distance comprises; recording the pressed direction keys and a number of times of pressing the direction keys when input signals are generated through operating the direction keys or the direction soft keys to move the candidate word box, and calculating the moving distance according to the number of times of pressing the direction keys; and recording initial position information when effective input signals are generated by direct dragging of the user, and calculating the moving distances in the horizontal and vertical directions according to the initial position information, further comprising;
when the input signals are generated through operating the direction keys or direction soft keys to move the candidate word box, correspondingly moving a set step length each time when operating the direction key or the direction soft key once. - View Dependent Claims (12, 13, 14)
-
-
15. A mobile terminal, comprising a candidate word box creating and initializing module, an input sensing module, a position managing and analyzing module, a candidate word box destroying module and a candidate word box drawing module;
- wherein
the candidate word box creating and initializing module is configured to create a candidate word box; the candidate word box drawing module is configured to draw the candidate word box, and redraw a candidate word box after the candidate word box is destroyed in situ and moved to a new position; the input sensing module is configured to receive an input signal generated through directly dragging the candidate word box by a user or through operating a direction key or a direction soft key by the user to move the candidate word box; and
start the position managing and analyzing module and the candidate word box destroying module;the position managing and analyzing module is configured, when the moving distance is not beyond a range of a screen, to analyze and calculate a moving distance, and notify the candidate word box drawing module, and when the moving distance is beyond the range of the screen, to record a distance between an initial position of the candidate word box and an edge of the screen in the direction as the moving distance and generate the position information, and notify the candidate word box drawing module; and
the position managing and analyzing module is further configured to, when the input signals are generated by direct dragging of the user, calculate the moving distances of the candidate word box in the horizontal and vertical directions according to a difference between a horizontal coordinate value of the initial position before dragging and a horizontal coordinate value of the initial position after dragging and a difference between a vertical coordinate value of the initial position before dragging and a vertical coordinate value of the initial position after dragging, and respectively multiply a horizontal moving distance and a vertical moving distance by a conversion coefficient to slow down a moving speed during the dragging and obtain the moving distances of the candidate word box; andthe candidate word box destroying module is configured to destroy the candidate word box in situ, wherein the candidate word box creating and initializing module is further configured to, when creating the candidate word box, generate position information and notify the candidate word box drawing module; the candidate word box drawing module is further configured to draw the candidate word box in a target position according to the position information; and the position managing and analyzing module is further configured to obtain the position information when analyzing and calculating the moving distance, wherein the candidate word box creating and initializing module is further configured to, when creating the initial candidate word box, create the candidate word box in an area of a previous line of a current edited text or in an area of a next line of a current edited text, and preset a step length each time when operating the direction key or direction soft key once, wherein the set step length comprises;
the step length in a horizontal direction is a width of a Chinese character, and the step length in a vertical direction is a height of a Chinese character. - View Dependent Claims (16, 17)
- wherein
Specification