Method and apparatus for processing touch signal, and medium
AssigneeBeijing Xiaomi Mobile Software Co., Ltd.
InventorsLijun LIU, Mintao ZHU
Life of this patent
Estimating the term…
Abstract
A method for processing a touch signal includes: detecting, through an event dispatch process, a full-screen gesture touch signal, determining whether the full-screen gesture touch signal conforms to a full-screen gesture trajectory determination rule; and sending, based on a result of the determining, the full-screen gesture touch signal or a part of events of the full-screen gesture touch signal to a gesture processing process or an application processing process.
Claims17
A method for processing a touch signal, comprising:
- detecting, through an event dispatch process, a full-screen gesture touch signal;
- determining whether the full-screen gesture touch signal conforms to a full-screen gesture trajectory determination rule;
- and
- sending, based on a result of the determining, a part of events of the full-screen gesture touch signal to a gesture processing process or an application processing process, wherein
- the sending, based on a result of the determining, a part of events of the full-screen gesture touch signal to a gesture processing process or an application processing process comprises:
- sending, when the result indicates that the full-screen gesture touch signal conforms to the full-screen gesture trajectory determination rule, the part of events of the full-screen gesture touch signal to the gesture processing process;
- and
- sending, when the result indicates that the full-screen gesture touch signal does not conform to the full-screen gesture trajectory determination rule, the part of events of the full-screen gesture touch signal to the application processing process.
(canceled)
An apparatus for processing a touch signal, comprising:
- a processor, and
- a memory, configured to store instructions executable by the processor;
- wherein the processor is configured to:
- detect, through an event dispatch process, a full-screen gesture touch signal;
- determine whether the full-screen gesture touch signal conforms to a full-screen gesture trajectory determination rule;
- and
- send, based on a result as determined, a part of events of the full-screen gesture touch signal to a gesture processing process or an application processing process,
- wherein the processor is further configured to:
- send, when the result indicates that the full-screen gesture touch signal conforms to the full-screen gesture trajectory determination rule, the part of events of the full-screen gesture touch signal to the gesture processing process;
- and
- send, when the result indicates that the full-screen gesture touch signal does not conform to the full-screen gesture trajectory determination rule, the part of events of the full-screen gesture touch signal to the application processing process.
(canceled)
A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when being executed by a processor of a mobile terminal, cause the mobile terminal to execute a method for processing a touch signal, the method comprising:
- detecting, through an event dispatch process, a full-screen gesture touch signal,
- determining whether the full-screen gesture touch signal conforms to a full-screen gesture trajectory determination rule;
- and
- sending, based on a result of the determining, a part of events of the full-screen gesture touch signal to a gesture processing process or an application processing process,
- wherein, the sending, based on a result of the determining, a part of events of the full-screen gesture touch signal to a gesture processing process or an application processing process comprises:
- sending, when the result indicates that the full-screen gesture touch signal conforms to the full-screen gesture trajectory determination rule, the part of events of the full-screen gesture touch signal to the gesture processing process;
- and
- sending, when the result indicates that the full-screen gesture touch signal does not conform to the full-screen gesture trajectory determination rule, the part of events of the full-screen gesture touch signal to the application processing process.
(canceled)
Dependencies are inferred from the claim text.