Methods and apparatus for processing of input events in electronic devices
AssigneeHuawei Technologies Co., Ltd.
InventorMin Wang
Life of this patent
Estimating the term…
Abstract
Example event processing methods and apparatus are described. In one example method, after an electronic device receives a first target vertical synchronization signal, if an input event received by the electronic device is a target input event and meets a preset condition, the target input event is processed before a second target vertical synchronization signal arrives. The second target vertical synchronization signal is a next target vertical synchronization signal of the first target vertical synchronization signal.
Claims15
An event processing method applied to an electronic device, wherein the event processing method comprises:
- receiving a first target vertical synchronization signal;
- receiving an input event;
- processing, in response to the input event being a target input event and meeting a preset condition, the target input event, wherein the preset condition comprises:
- a first time period corresponding to the target input event is less than a minimum reporting period of an input event, wherein the first time period indicates a time period between a moment at which the target input event is received and a moment at which a second target vertical synchronization signal arrives;
- and
- receiving the second target vertical synchronization signal, wherein the second target vertical synchronization signal is a next target vertical synchronization signal of the first target vertical synchronization signal.
An electronic device, comprising:
- at least one processor;
- and
- one or more memories coupled to the at least one processor and storing programming instructions for execution by the at least one processor to perform operations comprising:
- receiving a first target vertical synchronization signal;
- receiving an input event;
- processing, in response to the input event being a target input event and meeting a preset condition, the target input event, wherein the preset condition comprises:
- a first time period corresponding to the target input event is less than a minimum reporting period of an input event, wherein the first time period indicates a time period between a moment at which the target input event is received and a moment at which a second target vertical synchronization signal arrives;
- and
- receiving the second target vertical synchronization signal, wherein the second target vertical synchronization signal is a next target vertical synchronization signal of the first target vertical synchronization signal.
A non-transitory computer-readable storage medium storing programming instructions for execution by at least one processor to perform operations comprising:
- receiving a first target vertical synchronization signal;
- receiving an input event;
- processing, in response to the input event being a target input event and meeting a preset condition, the target input event, wherein the preset condition comprises:
- a first time period corresponding to the target input event is less than a minimum reporting period of an input event, wherein the first time period indicates a time period between a moment at which the target input event is received and a moment at which a second target vertical synchronization signal arrives;
- and
- receiving the second target vertical synchronization signal, wherein the second target vertical synchronization signal is a next target vertical synchronization signal of the first target vertical synchronization signal.
Dependencies are inferred from the claim text.