发明名称 Processing method for touch operation and terminal
摘要 Embodiments of the present invention disclose a processing method for a touch operation and a terminal. The method in the embodiments of the present invention includes: receiving a touch operation of a user, and determining coordinates of a touch point; calculating, when the coordinates of the touch point do not locate in the touch region of touch objects, a distance between the touch point and a touch region of each of the touch objects according to the coordinates of the touch point; and selecting the touch object corresponding to the minimum value among the distances as a touch operation object. By implementing the solutions of the present invention, ineffective touch operations may be prevented, a touch success rate may be increased, and accordingly touch operation experience of the user is improved.
申请公布号 US9632623(B2) 申请公布日期 2017.04.25
申请号 US201314143786 申请日期 2013.12.30
申请人 HUAWEI DEVICE CO., LTD. 发明人 Wang Shuoxing
分类号 G06F3/041;G06F3/0488 主分类号 G06F3/041
代理机构 Slater Matsil, LLP 代理人 Slater Matsil, LLP
主权项 1. A method of processing a touch operation, comprising: receiving a touch operation of a user, and determining coordinates of a touch point; selecting a touch object of touch objects as a touch operation object in response to the touch operation of the user and further in response to the coordinates of the touch point being located in a touch region corresponding to the touch object; determining a calculation region according to the coordinates of the touch point in response to the coordinates of the touch point not being located in a touch region of the touch objects, wherein a display interface is divided into a plurality of regions having a same shape and size, and wherein the determining the calculation region comprises selecting the region of the plurality of regions where the touch point falls as the calculation region; calculating, in response to the coordinates of the touch point not being located in a touch region of the touch objects, a distance between the touch point and a touch region of each of the touch objects in the calculation region according to the coordinates of the touch point and without calculating a distance to at least one touch region outside of the calculation region, wherein the touch region of each of the touch objects is a region larger than the respective touch object and that extends in two dimensions and is bounded by a border, wherein the border of each touch region is spaced apart from the border of each adjacent touch region, and wherein the distance between the touch point and the respective touch region of each of the touch objects is a shortest straight line distance to a nearest point on the border of the respective touch region; and selecting, as a touch operation object, a touch object corresponding to the minimum value among the distances in response to the coordinates of the touch point not being located in a touch region of the touch objects.
地址 Shenzhen CN