Method and device for displaying character on touchscreen
First Claim
1. A method for displaying a character on a touchscreen, comprising:
- when it is detected that a time period during which the user touches an area, where at least one character is displayed, on the touchscreen exceeds a preset time threshold, determining a shaded area formed when the user touches the touchscreen;
acquiring at least one shaded character in the shaded area, and independently displaying and enlarging the at least one shaded character on a preset enlargement area excluding the shaded area on the touchscreen; and
detecting a touch of the user on the preset enlargement area, and performing locating and/or selecting on the at least one shaded character in the shaded area according to the detected touch;
wherein detecting the touch of the user on the preset enlargement area, and performing locating and/or selecting on the at least one shaded character in the shaded area according to the detected touch comprises;
when it is detected that the user touches the preset enlargement area, recording a starting position of the preset enlargement area touched by the user and detecting whether the user continuously performs a slide touch on the preset enlargement area;
if no, calculating a corresponding starting position of the shaded area according to the starting position of the preset enlargement area and moving a cursor to a front of a character corresponding to the starting position of the shaded area, wherein the starting position of the shaded area is in the shaded area; and
if yes, recording an ending position of the preset enlargement area touched by the user and calculating corresponding starting position of the shaded area and ending position of the shaded area, which are in the shaded area, according to the starting position of the preset enlargement area and the ending position of the preset enlargement area, and selecting corresponding characters between the starting position of the shaded area and the ending position of the shaded area.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed are a method and device for displaying a character on a touchscreen. The method comprises: when it is detected that a time period during which the user touches an area, where a character is displayed, on the touchscreen exceeds a preset time threshold, a shaded area formed when the user touches the touchscreen is determined; at least one shaded character in the shaded area is acquired, and independently displayed and enlarged on a preset enlargement area excluding the shaded area on the touchscreen; and the touch of the user on the preset enlargement area is detected, and locating and selecting is performed on the at least one character in the shaded area according to the detected touch.
8 Citations
8 Claims
-
1. A method for displaying a character on a touchscreen, comprising:
-
when it is detected that a time period during which the user touches an area, where at least one character is displayed, on the touchscreen exceeds a preset time threshold, determining a shaded area formed when the user touches the touchscreen; acquiring at least one shaded character in the shaded area, and independently displaying and enlarging the at least one shaded character on a preset enlargement area excluding the shaded area on the touchscreen; and detecting a touch of the user on the preset enlargement area, and performing locating and/or selecting on the at least one shaded character in the shaded area according to the detected touch; wherein detecting the touch of the user on the preset enlargement area, and performing locating and/or selecting on the at least one shaded character in the shaded area according to the detected touch comprises; when it is detected that the user touches the preset enlargement area, recording a starting position of the preset enlargement area touched by the user and detecting whether the user continuously performs a slide touch on the preset enlargement area;
if no, calculating a corresponding starting position of the shaded area according to the starting position of the preset enlargement area and moving a cursor to a front of a character corresponding to the starting position of the shaded area, wherein the starting position of the shaded area is in the shaded area; and
if yes, recording an ending position of the preset enlargement area touched by the user and calculating corresponding starting position of the shaded area and ending position of the shaded area, which are in the shaded area, according to the starting position of the preset enlargement area and the ending position of the preset enlargement area, and selecting corresponding characters between the starting position of the shaded area and the ending position of the shaded area. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A device for displaying a character on a touchscreen, comprising a hardware processor configured to execute program modules stored in a memory, the program modules comprising:
-
a detection and determination component configured to, when it is detected that a time period during which the user touches an area, where at least one character is displayed, on the touchscreen exceeds a preset time threshold, determine a shaded area formed when the user touches the touchscreen; a displaying and enlarging component configured to acquire at least one shaded character in the shaded area, and independently display and enlarge the at least one character on a preset enlargement area excluding the shaded area on the touchscreen; and a character processing component configured to detect a touch of the user on the preset enlargement area, and perform locating and/or selecting on the at least one character in the shaded area according to the detected touch; wherein the character processing component comprises;
a detection and judgment component configured to, when it is detected that the user touches the preset enlargement area, record a starting position of the preset enlargement area touched by the user and detect whether the user continuously performs a slide touch on the preset enlargement area;
if no, call the character positioning component; and
if yes, call the character selection component;
the character positioning component configured to calculate a corresponding starting position of the shaded area according to the starting position of the preset enlargement area and moving a cursor to a front of a character corresponding to the starting position of the shaded area, wherein the starting position of the shaded area is in the shaded area and the character selection component configured to record an ending position of the preset enlargement area touched by the user and calculate corresponding starting position of the shaded area and ending position of the shaded area which are in the shaded area according to the starting position of the preset enlargement area and the ending position of the preset enlargement area, and select corresponding characters between the starting position of the shaded area and the ending position of the shaded area. - View Dependent Claims (7, 8)
-
Specification