CPC G06F 3/04886 (2013.01) | 14 Claims |
1. A virtual keyboard setting method applied to an electronic device, the method comprising:
acquiring farthest end coordinates, a set of the farthest end coordinates indicating a farthest position in a screen touched by a single finger of one hand when using the electronic device with the one hand;
determining a first arc according to at least three sets of the farthest end coordinates, the first arc characterizing farthest positions where the single finger can touch;
determining a first sector region according to the first arc and target screen frames, the target screen frames being side-frames of the screen located closest to a center of the first arc;
determining an operation region based on the first sector region, the operation region being a region operated in the screen for using an input method;
determining a trigger region, the trigger region being a region covered by the single finger when a belly of the single finger contacts the screen in a single touch;
determining a display region of a virtual keyboard according to the operation region;
determining an area of individual virtual keys in the virtual keyboard according to the trigger region, a size of the area of each individual virtual key being no less than a size of the trigger region; and
setting the virtual keyboard according to the display region of the virtual keyboard and the area of the virtual key,
wherein the display region of the virtual keyboard includes a first set of virtual keys located in the first sector region and a second set of virtual keys located outside of the first sector region, a usage frequency of the first set of virtual keys being higher than a usage frequency of the second set of virtual keys.
|