Method for performing operation on touchscreen and terminal
Abstract
The present invention discloses a method for performing an operation on a touchscreen and a terminal, and relates to the terminal field, which can implement a batch operation on multiple entries of displayed entries and improve an operation speed of a user. Embodiments of the present invention disclose a method for performing an operation on a touchscreen, including: receiving a touch operation when content currently displayed on the touchscreen is a displayed entry, where the displayed entry corresponds to a data entry stored in a terminal; and performing, when a track of the touch operation of the user is a sliding track on a preset area, a preset operation on each entry that the track of the touch operation passes through, where the preset area is a part of a current operation interface.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A method for performing an operation on a touchscreen, comprising:
receiving a touch operation if content currently displayed on the touchscreen is a displayed entry, wherein the displayed entry corresponds to a data entry stored in a terminal; and performing, if a track of the touch operation is a sliding track on a preset area, a preset operation on each entry that the track of the touch operation passes through, wherein the preset area is a part of a current operation interface.
2 . The method according to claim 1 , wherein the performing the preset operation on each entry that the track of the touch operation passes through comprises:
if an entry that the track of the touch operation passes through is an unselected entry, performing a select operation on the entry; and if an entry that the track of the touch operation passes through is a selected entry, performing a deselect operation on the entry.
3 . The method according to claim 1 , wherein the performing the preset operation on each entry that the track of the touch operation passes through comprises:
if multiple entries that the track of the touch operation passes through comprise both a selected entry and an unselected entry, uniformly performing one of a select operation and a deselect operation on the multiple entries that the track of the touch operation passes through.
4 . The method according to claim 1 , wherein the performing the preset operation on each entry that the track of the touch operation passes through comprises:
if multiple entries that the track of the touch operation passes through comprise both a selected entry and an unselected entry, detecting the number of selected entries and the number of unselected entries of the multiple entries that the track of the touch operation passes through; if the number of the selected entries is not less than the number of the unselected entries of the multiple entries that the track of the touch operation passes through, performing a deselect operation on the multiple entries that the track of the touch operation passes through; and if the number of the selected entries is less than the number of the unselected entries of the multiple entries that the track of the touch operation passes through, performing a select operation on the multiple entries that the track of the touch operation passes through.
5 . The method according to claim 1 , wherein after the receiving the touch operation, the method further comprises at least one of the following steps:
if the track of the touch operation is the sliding track on the preset area and the track of the touch operation reaches an upper/lower edge of the preset area, flipping upward/downward the content currently displayed on the touchscreen; and if the track of the touch operation is the sliding track on the preset area and the track of the touch operation reaches a left/right edge of the preset area, flipping, to the left/right edge, the content currently displayed on the touchscreen.
6 . A terminal, comprising:
a user operation receiving unit, configured to receive a touch operation if content currently displayed on a touchscreen is a displayed entry, wherein the displayed entry corresponds to a data entry stored in the terminal; and an action unit, configured to perform, if a track of the touch operation is a sliding track on a preset area, a preset operation on each entry that the track of the touch operation passes through, wherein the preset area is a part of a current operation interface.
7 . The terminal according to claim 6 , wherein the action unit comprises:
a selecting subunit, configured to perform, if an entry that the track of the touch operation passes through is an unselected entry, a select operation on the entry; and a deselecting subunit, configured to perform, if an entry that the track of the touch operation passes through is a selected entry, a deselect operation on the entry.
8 . The terminal according to claim 6 , wherein the action unit comprises:
a first action subunit, configured to uniformly perform, if multiple entries that the track of the touch operation passes through comprise both a selected entry and an unselected entry, one of a select operation and a deselect operation on the multiple entries that the track of the touch operation passes through.
9 . The terminal according to claim 6 , wherein the action unit comprises:
a detecting subunit, configured to detect, if multiple entries that the track of the touch operation passes through comprise both a selected entry and an unselected entry, the number of selected entries and the number of unselected entries of the multiple entries that the track of the touch operation passes through; a second action subunit, configured to perform, if the number of the selected entries is not less than the number of the unselected entries of the multiple entries that the track of the touch operation passes through, a deselect operation on the multiple entries that the track of the touch operation passes through; and a third action subunit, configured to perform, if the number of the selected entries is less than the number of the unselected entries of the multiple entries that the track of the touch operation passes through, a select operation on the multiple entries that the track of the touch operation passes through.
10 . The terminal according to claim 6 , further comprising at least one of a first sliding subunit and a second sliding subunit, wherein
the first sliding subunit is configured to flip upward/downward, if the track of the touch operation is the sliding track on the preset area and the track of the touch operation reaches an upper/lower edge of the preset area, the content currently displayed on the touchscreen; and the second sliding subunit is configured to flip to the left/right, if the track of the touch operation is the sliding track on the preset area and the track of the touch operation reaches a left/right edge of the preset area, the content currently displayed on the touchscreen.Join the waitlist — get patent alerts
Track US2014237399A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.