CN104536643B - A kind of icon drag method and terminal - Google Patents
A kind of icon drag method and terminal Download PDFInfo
- Publication number
- CN104536643B CN104536643B CN201410757133.3A CN201410757133A CN104536643B CN 104536643 B CN104536643 B CN 104536643B CN 201410757133 A CN201410757133 A CN 201410757133A CN 104536643 B CN104536643 B CN 104536643B
- Authority
- CN
- China
- Prior art keywords
- target icon
- icon
- drag operation
- user
- placement region
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0486—Drag-and-drop
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a kind of icon drag method and terminal, wherein the icon drag method includes:The drag operation that user is directed to target icon is detected, and the target icon is moved according to the drag operation;When detecting that user stops the drag operation, the target icon is controlled to rest on the current location in terminal interface;Since detecting that user stops the drag operation to before reaching default residence time threshold value, judge whether to detect the drag operation that user is directed to the target icon;If it is not, target icon placement region is then determined according to the current location of the target icon;The target icon is moved to the target icon placement region.The embodiment of the present invention can keep the continuity that icon drag operates, and so as to effectively reduce the operation difficulty of icon drag, improve the convenience of icon drag operation.
Description
Technical field
The present invention relates to electronic technology field more particularly to a kind of icon drag methods and terminal.
Background technology
With the development of information technology, terminal plays an increasingly important role in daily life.Terminal
Multiple icons are generally included, to the mark as system program or application program.In practical application, user is in operating terminal
It is generally necessary to change position of the icon in terminal interface by dragging icon, but when user meets during icon is dragged
When decontroling icon to obstacle, this drag operation will terminate.And the screen size of terminal is nowadays increasing can cause to use
Family is difficult that icon is moved to designated position from original position by disposable drag operation.As it can be seen that current icon drag
Mode operation difficulty is larger, makes troubles to user's using terminal.
The content of the invention
The embodiment of the present invention provides a kind of icon drag method and terminal, the continuity that icon drag can be kept to operate,
So as to effectively reduce the operation difficulty of icon drag, the convenience of icon drag operation is improved.
First aspect of the embodiment of the present invention provides a kind of icon drag method, and the icon drag method includes:
The drag operation that user is directed to target icon is detected, and the target icon is moved according to the drag operation;
When detecting that user stops the drag operation, the target icon is controlled to rest on current in terminal interface
Position;
Since detecting that user stops the drag operation to before reaching default residence time threshold value, judge whether
Detect that user is directed to the drag operation of the target icon;
If it is not, target icon placement region is then determined according to the current location of the target icon;
The target icon is moved to the target icon placement region.
In the first possible realization method of first aspect of the embodiment of the present invention, the method further includes:
Since detecting that user stops the drag operation to before reaching default residence time threshold value, when detecting
When user is directed to the drag operation of the target icon, the target icon is moved according to the drag operation.
In second of possible realization method of first aspect of the embodiment of the present invention, the method further includes:
Since detecting that user stops the drag operation to before reaching default residence time threshold value, examined when for the first time
Measure user be directed to other icons drag operation when, target icon rest area is determined according to the current location of the target icon
Domain;
The target icon is moved to the target icon placement region.
In the third possible realization method of first aspect of the embodiment of the present invention, the method further includes:
Since detecting that user stops the drag operation to before reaching default residence time threshold value, when receiving
During dragging command for stopping input by user, target icon placement region is determined according to the current location of the target icon;
The target icon is moved to the target icon placement region.
With reference to first aspect of the embodiment of the present invention the first to the third any one of possible realization method, this
In 4th kind of possible realization method of inventive embodiments first aspect, the icon that the terminal interface includes preset number is placed
Region;
The current location according to the target icon determines that target icon placement region includes:
Obtain current location of the central point of the target icon in the terminal interface;
Determine the center position icon placement region closest with the current location of the central point of the target icon
For the target icon placement region.
Correspondingly, second aspect of the embodiment of the present invention provides a kind of terminal, the terminal includes:
Detection unit, for detecting the drag operation that user is directed to target icon;
Processing unit, for moving the target icon according to the drag operation;
Control unit, for when the detection unit detects that user stops the drag operation, controlling the target
Icon rests on the current location in terminal interface;
Judging unit, for default to reaching since the detection unit detects that user stops the drag operation
Before residence time threshold value, judge whether to detect the drag operation that user is directed to the target icon;
Determination unit, for when the judging result of the judging unit for it is no when, according to the present bit of the target icon
Put definite target icon placement region;
The processing unit is additionally operable to the target icon being moved to the target icon placement region.
In the first possible realization method of second aspect of the embodiment of the present invention,
The processing unit is additionally operable to since the detection unit detects that user stops the drag operation to arrival
Before default residence time threshold value, when the judging result of the judging unit is is, institute is moved according to the drag operation
State target icon.
In second of possible realization method of second aspect of the embodiment of the present invention,
The determination unit is additionally operable to since the detection unit detects that user stops the drag operation to arrival
Before default residence time threshold value, when the detection unit detects that user is directed to the drag operation of other icons for the first time,
Target icon placement region is determined according to the current location of the target icon;
The processing unit is additionally operable to the target icon being moved to the target icon placement region.
In the third possible realization method of second aspect of the embodiment of the present invention, the terminal further includes:
Receiving unit, for default to reaching since the detection unit detects that user stops the drag operation
Before residence time threshold value, dragging command for stopping input by user is received;
The determination unit is additionally operable to when the receiving unit receives dragging command for stopping input by user, according to
The current location of the target icon determines target icon placement region;
The processing unit, for the target icon to be moved to the target icon placement region.
With reference to second aspect of the embodiment of the present invention the first to the third any one of possible realization method, this
In 4th kind of possible realization method of inventive embodiments second aspect, the icon that the terminal interface includes preset number is placed
Region;
The determination unit includes:
Position acquisition subelement, for obtaining present bit of the central point of the target icon in the terminal interface
It puts;
Region determination subelement, for determining center position and the current location distance of the central point of the target icon
Nearest icon placement region is the target icon placement region.
The embodiment of the present invention can be directed to the drag operation of target icon by detecting user, and according to the drag operation
The mobile target icon, so as to when detecting that user stops the drag operation, the target icon be controlled to rest on end
The current location in interface is held, and then to the default residence time threshold of arrival since detecting that user stops the drag operation
Before value, if not detecting, user is directed to the drag operation of the target icon, according to the present bit of the target icon
Definite target icon placement region is put, and the target icon is moved to the target icon placement region.As it can be seen that work as user
When decontroling icon during dragging icon, the present invention can rest on current location by control icon in preset time period,
To keep the continuity that icon drag operates, so as to effectively reduce the operation difficulty of icon drag, icon drag operation is improved
Convenience.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be required to embodiment attached
Figure is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present invention, common for this field
For technical staff, without creative efforts, other attached drawings are can also be obtained according to these attached drawings.
Fig. 1 is a kind of flow diagram of icon drag method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another icon drag method provided in an embodiment of the present invention;
Fig. 3 is a kind of structure diagram of terminal provided in an embodiment of the present invention;
Fig. 4 is the structure diagram of determination unit in the embodiment of the present invention;
Fig. 5 is the structure diagram of another terminal provided in an embodiment of the present invention;
Fig. 6 A are a kind of terminal interface schematic diagrames provided in an embodiment of the present invention;
Fig. 6 B are another terminal interface schematic diagrames provided in an embodiment of the present invention;
Fig. 6 C are another terminal interface schematic diagrames provided in an embodiment of the present invention;
Fig. 6 D are another terminal interface schematic diagrames provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts
Example, belongs to the scope of protection of the invention.
Terminal in the embodiment of the present invention can include PC, smart mobile phone (such as Android phone, iOS mobile phones
Deng), tablet computer, palm PC, mobile internet device (MID, Mobile Internet Devices) or wearable intelligent
Equipment etc..
Fig. 1 is a kind of flow diagram of icon drag method provided in an embodiment of the present invention, as shown in Figure 1, the icon
Dragging method may comprise steps of:
S101, detection user is directed to the drag operation of target icon, and moves the target figure according to the drag operation
Mark.
Specifically, usually show one or more icons on the interface of terminal, icon is identifying system corresponding with itself
System program or application program.User can drag icon to change position of the icon in terminal interface by touch control device or finger
It puts, wherein, the touch control device can be including stylus etc..The terminal can detect that user is directed to the dragging of target icon
Operation, and the target icon is moved according to change in location of the drag operation on terminal interface.
S102 when detecting that user stops the drag operation, controls the target icon to rest in terminal interface
Current location.
In the specific implementation, when user stops the drag operation for the target icon, the no matter at this time target figure
For mark in where described terminal interface, the position that the terminal controls the target icon holding current is constant.
S103, since detecting that user stops the drag operation to before reaching default residence time threshold value, if
It does not detect that user is directed to the drag operation of the target icon, then target is determined according to the current location of the target icon
Icon placement region.
Specifically, the icon placement region of preset number, each icon rest area can be included in the interface of the terminal
Domain can be put into an icon.The terminal can pre-set residence time threshold value, from detecting that user stops for described
The drag operation of target icon starts, and before the default residence time threshold value is reached, the terminal can decide whether
Detection obtains the drag operation that user is directed to the target icon, if it is not, the terminal can obtain the target icon in institute
The current location in terminal interface is stated, to determine target icon placement region, the target icon placement region is used to place institute
State target icon.
Optionally, the shape of the icon placement region is rectangular or square etc., and multiple icons in terminal interface are put
It puts region to be uniformly distributed, each icon placement region has fixed coordinate position in terminal interface.
Optionally, the current location according to the target icon determines that target icon placement region includes:
Obtain current location of the central point of the target icon in the terminal interface;Determine center position and institute
The closest icon placement region in current location for stating the central point of target icon is the target icon placement region.
Specifically, the shape of the target icon can be rectangle, square etc., the central point of the target icon is
The center of its shape, such as the shape of the target icon are square, then the central point of the target icon is the square
Two cornerwise intersection points.Current location of the central point in terminal interface can refer to the central point in terminal interface
In coordinate value.
The target icon is moved to the target icon placement region by S104.
In a kind of alternative embodiment, method shown in FIG. 1 further includes:
Since detecting that user stops the drag operation to before reaching default residence time threshold value, when detecting
When user is directed to the drag operation of the target icon, the target icon is moved according to the drag operation.
In another alternative embodiment, method shown in FIG. 1 further includes:
Since detecting that user stops the drag operation to before reaching default residence time threshold value, examined when for the first time
Measure user be directed to other icons drag operation when, target icon rest area is determined according to the current location of the target icon
Domain;The target icon is moved to the target icon placement region.
Optionally, since detecting that user stops the drag operation to before reaching default residence time threshold value,
The terminal when detecting that user is directed to the drag operation of other icons for the first time can also continue that the target icon is controlled to stop
Stay in the current location in terminal interface.
In another alternative embodiment, method shown in FIG. 1 further includes:
Since detecting that user stops the drag operation to before reaching default residence time threshold value, when receiving
During dragging command for stopping input by user, target icon placement region is determined according to the current location of the target icon;By institute
It states target icon and is moved to the target icon placement region.
In the specific implementation, user can be by controlling the touch controlled key of the terminal, inputting the side such as default gesture instruction
Formula inputs the dragging command for stopping.
In the embodiment of the present invention, terminal can be directed to the drag operation of target icon by detecting user, and according to described
Drag operation moves the target icon, so as to when detecting that user stops the drag operation, control the target icon
The current location in terminal interface is rested on, and then is stopped since detecting that user stops the drag operation to arrival is default
Before staying time threshold, if not detecting, user is directed to the drag operation of the target icon, according to the target icon
Current location determine target icon placement region, and the target icon is moved to the target icon placement region.It can
See, when user during dragging icon decontrol icon when, terminal can in preset time period control icon rest on work as
Icon drag to keep the continuity that icon drag operates, so as to effectively reduce the operation difficulty of icon drag, is improved in front position
The convenience of operation.
Fig. 2 is the flow diagram of another icon drag method provided in an embodiment of the present invention, as shown in Fig. 2, the figure
Mark dragging method may comprise steps of:
S201, detection user is directed to the drag operation of target icon, and moves the target figure according to the drag operation
Mark.
By taking the terminal interface shown in Fig. 6 A as an example, terminal interface includes 9 icons, these icons are in icon placement
Region, user need icon 8 dragging to the icon placement region that icon 1 is currently at.
S202 when detecting that user stops the drag operation, controls the target icon to rest in terminal interface
Current location.
By taking the terminal interface shown in Fig. 6 B as an example, when icon 8 is dragged to position as shown in Figure 6B by user, the end
End detects that user decontrols icon, stops the drag operation, then icon 8 rests on current location described in the terminal control.
Since S203 detecting that user stops the drag operation to before reaching default residence time threshold value, sentence
The disconnected drag operation for whether detecting user and being directed to the target icon, if so, performing step S201;If it is not, then perform step
Rapid S204~S205.
S204 determines target icon placement region according to the current location of the target icon.
The target icon is moved to the target icon placement region by S205.
It is default to reaching since detecting that user stops the drag operation by taking the terminal interface shown in Fig. 6 C as an example
Before residence time threshold value, the terminal detects that user is directed to the drag operation of icon 8, then is moved according to the drag operation
Icon 8;When icon 8 is dragged to position as shown in Figure 6 C, user terminates drag operation, then pre- to reaching from now on
If residence time threshold value before, if user no longer drags icon 8, as shown in Figure 6 D, the terminal determines the current of icon 8
Icon placement region residing for 1 script of positional distance icon is nearest, then icon 8 is moved to the icon placement region.
In the embodiment of the present invention, terminal can be directed to the drag operation of target icon by detecting user, and according to described
Drag operation moves the target icon, so as to when detecting that user stops the drag operation, control the target icon
The current location in terminal interface is rested on, and then is stopped since detecting that user stops the drag operation to arrival is default
Before staying time threshold, if not detecting, user is directed to the drag operation of the target icon, according to the target icon
Current location determine target icon placement region, and the target icon is moved to the target icon placement region.It can
See, when user during dragging icon decontrol icon when, terminal can in preset time period control icon rest on work as
Icon drag to keep the continuity that icon drag operates, so as to effectively reduce the operation difficulty of icon drag, is improved in front position
The convenience of operation.
Fig. 3 is a kind of structure diagram of terminal in the embodiment of the present invention, as shown in figure 3, in the embodiment of the present invention
Terminal can include:
Detection unit 301, for detecting the drag operation that user is directed to target icon.
Processing unit 302, for moving the target icon according to the drag operation.
Specifically, usually show one or more icons on the interface of terminal, icon is identifying system corresponding with itself
System program or application program.User can drag icon to change position of the icon in terminal interface by touch control device or finger
It puts, wherein, the touch control device can be including stylus etc..The detection unit 301 can detect that user is directed to target figure
Target drag operation, the processing unit 302 can be moved according to change in location of the drag operation on terminal interface
The target icon.
Control unit 303, for when the detection unit 301 detects that user stops the drag operation, controlling institute
It states target icon and rests on the current location in terminal interface.
In the specific implementation, when user stops the drag operation for the target icon, the no matter at this time target figure
For mark in where described terminal interface, described control unit 303 controls the target icon to keep current position
It puts constant.
Judging unit 304, for since the detection unit 301 detects that user stops the drag operation to arrival
Before default residence time threshold value, judge whether to detect the drag operation that user is directed to the target icon.
Determination unit 305, for when the judging result of the judging unit 304 for it is no when, according to the target icon
Current location determines target icon placement region.
Specifically, the icon placement region of preset number, each icon rest area can be included in the interface of the terminal
Domain can be put into an icon.The terminal can pre-set residence time threshold value, and use is detected from the detection unit 301
Family stops starting for the drag operation of the target icon, described to sentence before the default residence time threshold value is reached
Disconnected unit 304 can decide whether that detection obtains the drag operation that user is directed to the target icon, if it is not, the determination unit
305 can obtain current location of the target icon in the terminal interface, described to determine target icon placement region
Target icon placement region is used to place the target icon.
Optionally, the shape of the icon placement region is rectangular or square etc., and multiple icons in terminal interface are put
It puts region to be uniformly distributed, each icon placement region has fixed coordinate position in terminal interface.
Optionally, as shown in figure 4, the determination unit 305 can include:
Position acquisition subelement 3501, it is current in the terminal interface for obtaining the central point of the target icon
Position.
Specifically, the shape of the target icon can be rectangle, square etc., the central point of the target icon is
The center of its shape, such as the shape of the target icon are square, then the central point of the target icon is the square
Two cornerwise intersection points.Current location of the central point in terminal interface can refer to the central point in terminal interface
In coordinate value.
Region determination subelement 3502, for determining center position and the current location of the central point of the target icon
Closest icon placement region is the target icon placement region.
The processing unit 302 is additionally operable to the target icon being moved to the target icon placement region.
In a kind of alternative embodiment, the processing unit 302 is additionally operable to detect user from the detection unit 301
Stop the drag operation starting to before reaching default residence time threshold value, when the judging result of the judging unit is yes
When, the target icon is moved according to the drag operation.
In another alternative embodiment, the determination unit 305 is additionally operable to detect use from the detection unit 301
Family stops the drag operation and starts to before reaching default residence time threshold value, when the detection unit detects use for the first time
When family is directed to the drag operation of other icons, target icon placement region is determined according to the current location of the target icon;
The processing unit 302 is additionally operable to the target icon being moved to the target icon placement region.
In another alternative embodiment, terminal shown in Fig. 3 can also include:
Receiving unit 306, for since the detection unit 301 detects that user stops the drag operation to arrival
Before default residence time threshold value, dragging command for stopping input by user is received;
Correspondingly, the determination unit 305, is additionally operable to receive dragging input by user eventually when the receiving unit 306
When only instructing, target icon placement region is determined according to the current location of the target icon;
In the specific implementation, user can be by controlling the touch controlled key of the terminal, inputting the side such as default gesture instruction
Formula inputs the dragging command for stopping.
The processing unit 302, for the target icon to be moved to the target icon placement region.
In the embodiment of the present invention, terminal can be directed to the drag operation of target icon by detecting user, and according to described
Drag operation moves the target icon, so as to when detecting that user stops the drag operation, control the target icon
The current location in terminal interface is rested on, and then is stopped since detecting that user stops the drag operation to arrival is default
Before staying time threshold, if not detecting, user is directed to the drag operation of the target icon, according to the target icon
Current location determine target icon placement region, and the target icon is moved to the target icon placement region.It can
See, when user during dragging icon decontrol icon when, terminal can in preset time period control icon rest on work as
Icon drag to keep the continuity that icon drag operates, so as to effectively reduce the operation difficulty of icon drag, is improved in front position
Convenience.
Fig. 5 is the structure diagram of another terminal in the embodiment of the present invention, as shown in figure 5, in the embodiment of the present invention
Terminal can include:
At least one input unit 501, at least one output device 502, at least one processor 503, such as CPU, are deposited
Reservoir 504 and at least one bus 505;Above-mentioned input unit 501, output device 502, processor 503 and memory 504 pass through
Bus 505 connects.
Wherein, the touch panel or touch controlled key of above-mentioned input unit 501 concretely terminal, above-mentioned output device 502
The concretely display screen of terminal;Above-mentioned memory 504 can be high-speed RAM memory or non-labile memory
(non-volatile memory), such as magnetic disk storage.Above-mentioned memory 504 is above-mentioned defeated for storing batch processing code
Enter device 501, output device 502 and processor 503 and call the program code stored in memory 504, for performing following behaviour
Make:
The input unit 501, for detecting the drag operation that user is directed to target icon;
The processor 503, for moving the target icon according to the drag operation;
The processor 503 is additionally operable to when the input unit 501 detects that user stops the drag operation, control
It makes the target icon and rests on the current location in terminal interface;
Since the input unit 501 be additionally operable to arrival is default stop detecting that user stops the drag operation
Before staying time threshold, judge whether to detect the drag operation that user is directed to the target icon;
The processor 503 is additionally operable to when the judging result of the input unit 501 is no, according to the target figure
Target current location determines target icon placement region;
The processor 503 is additionally operable to the target icon being moved to the target icon placement region.
In a kind of alternative embodiment, the processor 503 is additionally operable to detect that user stops from the input unit 501
Only the drag operation starts to before reaching default residence time threshold value, when the input unit 501 detects user's pin
During to the drag operation of the target icon, the target icon is moved according to the drag operation.
In another alternative embodiment, the processor 503 is additionally operable to detect user from the input unit 501
Stop the drag operation starting to before reaching default residence time threshold value, when the input unit 501 detects user
For other icons drag operation when, target icon placement region is determined according to the current location of the target icon;
The processor 503 is additionally operable to the target icon being moved to the target icon placement region.
In another alternative embodiment, the processor 503 is additionally operable to detect user from the input unit 501
Stop the drag operation starting to before reaching default residence time threshold value, when the input unit 501 receives user
During the dragging command for stopping of input, target icon placement region is determined according to the current location of the target icon;
The processor 503 is additionally operable to the target icon being moved to the target icon placement region.
In another alternative embodiment, the terminal interface includes the icon placement region of preset number;
The processor 503 determines that target icon placement region includes according to the current location of the target icon:
The processor 503 obtains current location of the central point of the target icon in the terminal interface;
The processor 503 determines that center position and the current location of the central point of the target icon are closest
Icon placement region is the target icon placement region.
In the specific implementation, the input unit 501, output device 502 and processor 503 described in the embodiment of the present invention can
The realization method in the method for the present invention embodiment one to two is performed, details are not described herein.
Unit in all embodiments of the invention can pass through universal integrated circuit, such as CPU (Central
Processing Unit, central processing unit) or pass through ASIC (Application Specific Integrated
Circuit, application-specific integrated circuit) it realizes.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Unit in terminal of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
In the above-described embodiments, all emphasize particularly on different fields to the description of each embodiment, be not described in some embodiment
Part, may refer to the associated description of other embodiment.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent variations made according to the claims of the present invention, it is still within the scope of the present invention.
Claims (6)
- A kind of 1. icon drag method, which is characterized in that the described method includes:The drag operation that user is directed to target icon is detected, and the target icon is moved according to the drag operation;When detecting that user stops the drag operation, the target icon is controlled to rest on the present bit in terminal interface It puts;Since detecting that user stops the drag operation to before reaching default residence time threshold value, judge whether to detect The drag operation of the target icon is directed to user;If it is not, target icon placement region is then determined according to the current location of the target icon;The target icon is moved to the target icon placement region;Wherein, the method further includes:Since detecting that user stops the drag operation to before reaching default residence time threshold value, detected when for the first time When user is directed to the drag operation of other icons, continue to control the target icon rests in the terminal interface described to work as Front position;Wherein, the method further includes:Since detecting that user stops the drag operation to before reaching default residence time threshold value, when detecting user For the target icon drag operation when, the target icon is moved according to the drag operation.
- 2. icon drag method as described in claim 1, which is characterized in that the method further includes:Since detecting that user stops the drag operation to before reaching default residence time threshold value, when receiving user During the dragging command for stopping of input, target icon placement region is determined according to the current location of the target icon;The target icon is moved to the target icon placement region.
- 3. icon drag method as claimed in claim 1 or 2, which is characterized in that the terminal interface includes preset number Icon placement region;The current location according to the target icon determines that target icon placement region includes:Obtain current location of the central point of the target icon in the terminal interface;Determine that the center position icon placement region closest with the current location of the central point of the target icon is institute State target icon placement region.
- 4. a kind of terminal, which is characterized in that the terminal includes:Detection unit, for detecting the drag operation that user is directed to target icon;Processing unit, for moving the target icon according to the drag operation;Control unit, for when the detection unit detects that user stops the drag operation, controlling the target icon Rest on the current location in terminal interface;Judging unit, for since the detection unit detects that user stops the drag operation to reaching default stop Before time threshold, judge whether to detect the drag operation that user is directed to the target icon;Determination unit, for when the judging result of the judging unit for it is no when, it is true according to the current location of the target icon Set the goal icon placement region;The processing unit is additionally operable to the target icon being moved to the target icon placement region;Wherein, described control unit, be additionally operable to since the detection unit detects that user stops the drag operation to Up to before default residence time threshold value, when the detection unit detects that user is directed to the drag operation of other icons for the first time When, continue that the target icon is controlled to rest on the current location in the terminal interface;Wherein, the processing unit, be additionally operable to since the detection unit detects that user stops the drag operation to Up to before default residence time threshold value, when the judging result of the judging unit is is, moved according to the drag operation The target icon.
- 5. terminal as claimed in claim 4, which is characterized in that the terminal further includes:Receiving unit, for since the detection unit detects that user stops the drag operation to reaching default stop Before time threshold, dragging command for stopping input by user is received;The determination unit is additionally operable to when the receiving unit receives dragging command for stopping input by user, according to described The current location of target icon determines target icon placement region;The processing unit, for the target icon to be moved to the target icon placement region.
- 6. terminal as described in claim 4 or 5, which is characterized in that the icon that the terminal interface includes preset number is placed Region;The determination unit includes:Position acquisition subelement, for obtaining current location of the central point of the target icon in the terminal interface;Region determination subelement, for determining that center position and the current location of the central point of the target icon are closest Icon placement region be the target icon placement region.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410757133.3A CN104536643B (en) | 2014-12-10 | 2014-12-10 | A kind of icon drag method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410757133.3A CN104536643B (en) | 2014-12-10 | 2014-12-10 | A kind of icon drag method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104536643A CN104536643A (en) | 2015-04-22 |
CN104536643B true CN104536643B (en) | 2018-05-29 |
Family
ID=52852182
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410757133.3A Active CN104536643B (en) | 2014-12-10 | 2014-12-10 | A kind of icon drag method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104536643B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6538825B2 (en) | 2014-09-02 | 2019-07-03 | アップル インコーポレイテッドApple Inc. | Semantic framework for variable haptic output |
CN106980434A (en) * | 2016-01-19 | 2017-07-25 | 阿里巴巴集团控股有限公司 | The transboundary icon moving method and device in face |
DK179657B1 (en) | 2016-06-12 | 2019-03-13 | Apple Inc. | Devices, methods and graphical user interfaces for providing haptic feedback |
DK179823B1 (en) | 2016-06-12 | 2019-07-12 | Apple Inc. | Devices, methods, and graphical user interfaces for providing haptic feedback |
DK201670720A1 (en) | 2016-09-06 | 2018-03-26 | Apple Inc | Devices, Methods, and Graphical User Interfaces for Generating Tactile Outputs |
CN111414081B (en) * | 2016-09-06 | 2022-03-22 | 苹果公司 | Apparatus, method and graphical user interface for providing haptic feedback |
DK201770372A1 (en) | 2017-05-16 | 2019-01-08 | Apple Inc. | Tactile feedback for locked device user interfaces |
CN109453515A (en) * | 2018-09-12 | 2019-03-12 | 苏州蜗牛数字科技股份有限公司 | A kind of position mapping alignment schemes |
CN112099699B (en) * | 2020-11-17 | 2021-05-28 | 统信软件技术有限公司 | Icon moving method and device, computing equipment and readable storage medium |
CN117806506B (en) * | 2024-02-27 | 2024-08-09 | 荣耀终端有限公司 | Icon display method and related equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102945130A (en) * | 2012-11-21 | 2013-02-27 | 广东欧珀移动通信有限公司 | Information searching method and information searching system |
CN103699300A (en) * | 2013-12-24 | 2014-04-02 | 贝壳网际(北京)安全技术有限公司 | Icon management method and device in mobile terminal and mobile terminal |
CN104063179A (en) * | 2014-06-27 | 2014-09-24 | 联想(北京)有限公司 | Electronic equipment as well as control method and control device thereof |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007058785A (en) * | 2005-08-26 | 2007-03-08 | Canon Inc | Information processor, and operating method for drag object in the same |
-
2014
- 2014-12-10 CN CN201410757133.3A patent/CN104536643B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102945130A (en) * | 2012-11-21 | 2013-02-27 | 广东欧珀移动通信有限公司 | Information searching method and information searching system |
CN103699300A (en) * | 2013-12-24 | 2014-04-02 | 贝壳网际(北京)安全技术有限公司 | Icon management method and device in mobile terminal and mobile terminal |
CN104063179A (en) * | 2014-06-27 | 2014-09-24 | 联想(北京)有限公司 | Electronic equipment as well as control method and control device thereof |
Also Published As
Publication number | Publication date |
---|---|
CN104536643A (en) | 2015-04-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104536643B (en) | A kind of icon drag method and terminal | |
US11301126B2 (en) | Icon control method and terminal | |
US8863042B2 (en) | Handheld device with touch controls that reconfigure in response to the way a user operates the device | |
US10275151B2 (en) | Apparatus and method for cursor control and text selection and editing based on gesture-based touch inputs received in a virtual keyboard display area | |
US9146672B2 (en) | Multidirectional swipe key for virtual keyboard | |
US20110267371A1 (en) | System and method for controlling touchpad of electronic device | |
US9678639B2 (en) | Virtual mouse for a touch screen device | |
WO2019085921A1 (en) | Method, storage medium and mobile terminal for operating mobile terminal with one hand | |
CN104007919A (en) | Electronic device and control method thereof | |
US20150248213A1 (en) | Method to enable hard keys of a device from the screen | |
CN103809903B (en) | Method and apparatus for controlling virtual screen | |
CN104182154A (en) | Method and device for avoiding faulty operation of handheld touch screen and mobile equipment | |
CN112783408A (en) | Gesture navigation method and device of electronic equipment, equipment and readable storage medium | |
US10642481B2 (en) | Gesture-based interaction method and interaction apparatus, and user equipment | |
CN107728898B (en) | Information processing method and mobile terminal | |
CN105373292A (en) | Desktop editing method and device | |
KR102296968B1 (en) | Control method of favorites mode and device including touch screen performing the same | |
WO2017127942A1 (en) | Cross device gesture detection | |
JP2015043160A (en) | Terminal device and touch operation detection program | |
JP2018032251A (en) | Information processing device, method of controlling touch panel sensitivity, and program | |
KR101371524B1 (en) | Mouse Device For Controlling Remote Access | |
KR20150060476A (en) | Method and apparatus of controlling data input area on a touch screen | |
CN104932806A (en) | Information processing method and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |