Abstract:
A terminal, where the terminal includes a conductive sheet configured to form a capacitor with a hand when the hand holds the terminal, and a processor, connected to the conductive sheet, where the processor is configured to detect a capacitance of the capacitor, and determine a holding gesture for the terminal according to the detected capacitance and a preset correspondence between a capacitance and a holding gesture, and the conductive sheet is disposed in the terminal, and when the hand holds the terminal, the conductive sheet forms a capacitor with the hand. When the terminal is held using different holding gestures, capacitances of capacitors formed between the conductive sheet in the terminal and the hand are different, and a correspondence between a capacitance and a holding gesture is preset using this difference.
Abstract:
A method for looking up by flicking on a touchscreen and a touchscreen device are provided. The method including: obtaining an initial entry corresponding to a leaving position where a touch body leaves a touchscreen after flicking on the touchscreen, and an initial flicking velocity; determining a predicted flicking distance according to the initial flicking velocity and a preset acceleration; obtaining widths of entries; determining, according to the predicted flicking distance and the widths of entries, a predicted target entry starting from the initial entry when the flicking stops. By using the embodiments of the present invention, efficiency of a user in looking up a target entry by flicking on a touchscreen can be improved.