CN104978135B - A kind of icon display method, device and mobile terminal - Google Patents
A kind of icon display method, device and mobile terminal Download PDFInfo
- Publication number
- CN104978135B CN104978135B CN201410140109.5A CN201410140109A CN104978135B CN 104978135 B CN104978135 B CN 104978135B CN 201410140109 A CN201410140109 A CN 201410140109A CN 104978135 B CN104978135 B CN 104978135B
- Authority
- CN
- China
- Prior art keywords
- icon
- user
- contact action
- action event
- center
- 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
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a kind of icon display method, device and mobile terminals, wherein the described method includes: receiving user to the contact action event of icon, and detects the user's operation type of the contact action event;If user's operation type is the processing operation for icon itself, the initial position co-ordinates at the icon center are obtained, and obtain the touch screen position coordinates of the contact action event of user;Target location coordinate is determined according to the touch screen position coordinates, and so that the center of the icon is located at the target location coordinate according to the mobile icon of the initial position co-ordinates, is redrawn and is shown the icon after movement.When user needs to handle for icon itself, relevant mobile effect can be generated, show the information of more icons, more icon information can be displayed for a user out to a certain extent, it avoids blocking problem brought by icon by touch objects such as fingers, meets intelligence, the automation demanding that user shows icon.
Description
Technical field
The present invention relates to computer application technology more particularly to a kind of icon display methods, device and mobile terminal.
Background technique
With the development of computer technology and electronic technology, the intelligent mobile based on various powerful operating systems
Terminal has been popularized, and is received instead of conventional mobile phone by the user of various stratum.Intelligent mobile terminal is specifically traditional
The institute of mobile phone is functional, and can also be wirelessly accessed the internet based on operating system realization, PDA(Personal Digital
Assistant, palm PC) function, and terminal function can also be extended according to individual demand, third party software is supported more.
Intelligent mobile terminal is mostly full touch screen, has been installed on the touchscreen to user's displaying terminal by way of icon
Types of applications.User can be managed terminal applies and using by showing in touch screen by these icons
Icon, user can the quickly mounted applications of using terminal.
But in current design standard, the size of the icon shown in touch screen is generally less than normal, user by pair
Icon carry out long-pressing with for these icons itself editor, the operation such as check when, may due to after long-pressing icon by finger
Block and can not learn current operation be which application icon, so as to cause the generation of maloperation, or make user
Have to carry out once-through operation again, expends the software and hardware resources of terminal.
Summary of the invention
The technical problem to be solved by the embodiment of the invention is that provide a kind of icon display method, device and it is mobile eventually
End, can display for a user out more icon information to a certain extent, avoid blocking icon by touch objects such as fingers and bring
The problem of.
The embodiment of the present invention provides a kind of icon display method, comprising:
User is received to the contact action event of icon, and detects the user's operation type of the contact action event;
If user's operation type is the processing operation for icon itself, the initial position for obtaining the icon center is sat
Mark, and obtain the touch screen position coordinates of the contact action event of user;
Target location coordinate is determined according to the touch screen position coordinates, and according to the mobile figure of the initial position co-ordinates
Mark makes the center of the icon be located at the target location coordinate, redraws and shows the icon after movement.
Correspondingly, the embodiment of the present invention additionally provides a kind of icon display device, comprising:
Receiving module for receiving user to the contact action event of icon, and detects the user of the contact action event
Action type;
Module is obtained, if being the processing operation for icon itself for user's operation type, is obtained in the icon
The initial position co-ordinates of the heart, and obtain the touch screen position coordinates of the contact action event of user;
Processing module, for determining target location coordinate according to the touch screen position coordinates, and according to the initial position
The mobile icon of coordinate makes the center of the icon be located at the target location coordinate, redraws and shows the figure after movement
Mark.
Correspondingly, the embodiment of the present invention additionally provides a kind of mobile terminal, including processor and display,
The processor for receiving user to the contact action event of icon, and detects the user of the contact action event
Action type;If user's operation type is the processing operation for icon itself, the initial position at the icon center is obtained
Coordinate, and obtain the touch screen position coordinates of the contact action event of user;Target position is determined according to the touch screen position coordinates
Coordinate, and so that the center of the icon is located at the target location coordinate according to the mobile icon of the initial position co-ordinates,
It redraws and shows the icon after movement;
The display, for showing the icon after movement that the processor is redrawn.
The embodiment of the present invention can initial position co-ordinates and user's touch screen position coordinates based on icon, need needle in user
When handling icon itself, relevant mobile effect can be generated, shows the information of more icons, it can be certain
More icon information is displayed for a user out in degree, avoids being blocked problem brought by icon by touch objects such as fingers, is met
Intelligence that user shows icon, automation demanding.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of icon display method of the embodiment of the present invention;
Fig. 2 is the flow diagram of another icon display method of the embodiment of the present invention;
Fig. 3 is the display effect schematic diagram after the icon of the embodiment of the present invention is mobile;
Fig. 4 is a kind of structural schematic diagram of icon display device of the embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another icon display device of the embodiment of the present invention;
Fig. 6 is one of structural schematic diagram of the processing module in Fig. 5;
Fig. 7 is one of structural schematic diagram of the receiving module in Fig. 5;
Fig. 8 is a kind of structural schematic diagram of mobile terminal of the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The embodiment of the present invention, being capable of initial position, hand according to icon after user selects icon by modes such as long-pressings
The current touch locations of touch objects such as finger are handled to carry out mobile and display to icon, can be aobvious for user to a certain extent
More icon information is shown.
Referring to Figure 1, be the embodiment of the present invention a kind of icon display method flow diagram, the embodiment of the present invention
The method can apply the intelligent mobile for including application icon in smart phone, tablet computer, wearable smart machine etc. whole
In end, specifically, the described method includes:
S101: user is received to the contact action event of icon, and detects the user's operation type of the contact action event.
Contact action event to icon includes long press operation event, the clicking operation event, moving operation to the icon
Event etc..Wherein, long press operation event and moving operation event can refer to that user is directed to the action event of icon itself.Generally
For, long press operation event is that user needs to edit the icon, and moving operation event is then to move the icon to new position
It sets.And clicking operation event is then that user needs to run and using application corresponding to the icon.Terminal can be by judging a little
Duration or moving distance are hit to determine the user's operation type of the contact action event.
S102: if user's operation type is the processing operation for icon itself, the initial of the icon center is obtained
Position coordinates, and obtain the touch screen position coordinates of the contact action event of user.
In embodiments of the present invention, the center of icon can refer to that the geometric center of box-shaped icon, terminal can bases
Coordinates regional where the icon recorded, to determine the initial position co-ordinates at icon center.And the touch screen position coordinates
It can then be determined according to the variation of the corresponding capacitor of screen or resistance, can be the touch objects such as finger, felt pen and screen
The middle position in the region of contact.After obtaining initial position co-ordinates and touch screen position coordinates, pre-set dragging can be called
Explicit function completes the movement to initial position co-ordinates to target location coordinate.
S103: target location coordinate is determined according to the touch screen position coordinates, and mobile according to the initial position co-ordinates
The icon makes the center of the icon be located at the target location coordinate, redraws and shows the icon after movement.
In the S103, can on the basis of the touch screen position coordinates, along screen display direction upwards or
A coordinate position is determined as target location coordinate along the left side or the right of screen display direction, and the coordinate position is apart from institute
The distance for stating touch screen position coordinates is preset offset threshold.Described in the target location coordinate can be used as after the mobile icon
The display position at icon center, so that icon is upward at user's touch screen position or shows more figures to the left or to the right
Mark information.
Alternatively, the region of the touch objects such as finger or felt pen and screen contact can be determined as occlusion area, and shield
Other regions of curtain are then determined as Free Region, in the S103, the touch screen position are calculated from Free Region and is sat
Target distance value is the coordinate of preset offset threshold, and the coordinate being calculated is determined as target location coordinate.
Certainly, in actual needs, the display icon can also be amplified.Above-mentioned offset threshold specifically can according to
The actual needs at family is by providing UI(User Interface, user interface) mode at interface is manually entered completion by user and sets
It setting, user determines the offset threshold based on the size of oneself finger or felt pen and the contact area of terminal screen, with
Guarantee that icon is not blocked by touch objects such as finger or felt pens.
After user decontrols the touch objects such as finger or felt pen, terminal can be according to the initial position co-ordinates, will be described
Icon is shown at original position again.Certainly it can be shown according to the practical operation demand of user during display and such as be compiled
Collect bounce animation etc., it should be noted that after icon is reverted to original position, specific display mode is the prior art,
This is not repeated.
The embodiment of the present invention can initial position co-ordinates and user's touch screen position coordinates based on icon, need needle in user
When handling icon itself, relevant mobile effect can be generated, shows the information of more icons, it can be certain
More icon information is displayed for a user out in degree, avoids being blocked problem brought by icon by touch objects such as fingers, is met
Intelligence that user shows icon, automation demanding.
Fig. 2 is referred to again, is the flow diagram of another icon display method of the embodiment of the present invention, and the present invention is implemented
It includes the intelligent sliding of application icon that the method for example, which can be applied in smart phone, tablet computer, wearable smart machine etc.,
In dynamic terminal, specifically, the described method includes:
S201: user is received to the contact action event of icon, and detects the user's operation type of the contact action event.
Contact action event to icon includes long press operation event, the clicking operation event, moving operation to the icon
Event etc..Wherein, long press operation event and moving operation event can refer to that user is directed to the action event of icon itself.Generally
For, long press operation event is that user needs to edit the icon, and moving operation event is then to move the icon to new position
It sets.And clicking operation event is then that user needs to run and using application corresponding to the icon.Terminal can be by judging a little
Duration or moving distance are hit to determine the user's operation type of the contact action event.
In embodiments of the present invention, the user's operation type for detecting the contact action event can specifically include: inspection
Survey whether the contact action event is long press operation or drag operation for the icon;If so, determining the contact action
The user's operation type of event is the processing operation for icon itself.
S202: if user's operation type is the processing operation for icon itself, the initial of the icon center is obtained
Position coordinates, and obtain the touch screen position coordinates of the contact action event of user.
In embodiments of the present invention, the center of icon can refer to that the geometric center of box-shaped icon, terminal can bases
Coordinates regional where the icon recorded, to determine the initial position co-ordinates at icon center.And the touch screen position coordinates
It can then be determined according to the variation of the corresponding capacitor of screen or resistance.Obtain initial position co-ordinates and touch screen position coordinates
Afterwards, pre-set dragging explicit function can be called to complete the movement to initial position co-ordinates to target location coordinate.
S203: determining the band of position that screen is contacted by touch objects in the contact action event, and by the band of position
Outer screen area is determined as Free Region;
S204: the distance value that the touch screen position coordinates are calculated in the Free Region is preset offset threshold
Coordinate, and the coordinate being calculated is determined as target location coordinate;
The region of the touch objects such as finger or felt pen and screen contact can be determined as to occlusion area, and screen its
He is then determined as Free Region in region, in the S204, calculated from Free Region the touch screen position coordinates away from
From the coordinate that value is preset offset threshold, and the coordinate being calculated is determined as target location coordinate.
Due to coordinate calculated from Free Region will include it is multiple, in embodiments of the present invention, can be according to configuration
Coordinate determine that rule chooses one of coordinate, for example, a coordinate conduct can be chosen according to regular random is randomly selected
Target location coordinate;Perhaps a coordinate conduct is chosen along the top left of display screen or right in the occlusion area
Target location coordinate.
Above-mentioned offset threshold specifically can according to the actual needs of user in such a way that the interface UI is provided by user hand
Setting is completed in dynamic typing, and user determines this based on the size of oneself finger or felt pen and the contact area of terminal screen
Offset threshold, to guarantee that icon is not blocked by touch objects such as finger or felt pens.
S205: the center of the icon is made to be located at the target position according to the mobile icon of the initial position co-ordinates
Coordinate.
Wherein, the icon is moved since the initial position co-ordinates, and the center of the icon is made to be located at the touch screen
Position coordinates;The icon is moved since the touch screen position coordinates, the center of the icon is made to be located at the target position
Coordinate.
S206: redrawing and shows the icon after movement.Wherein, the S206 can specifically include: with target position
Coordinate is that icon center redraws the icon;The icon redrawn according to the amplification display of preset magnification ratio.Specifically, user exists
In long-pressing or dragging process, the display effect schematic diagram of icon be can refer to shown in Fig. 3.
S207: if user's operation type is the processing operation to application indicated by icon, it is signified to run the icon
The application shown.
If the contact action event of user is clicking operation event etc., it may be considered that user is to the icon institute
The processing operation of the application of instruction needs that the corresponding software and hardware resources of distribution is called to answer indicated by the icon to run at this time
With, and relevant application message is presented to user.
The embodiment of the present invention can initial position co-ordinates and user's touch screen position coordinates based on icon, need needle in user
When handling icon itself, relevant mobile effect can be generated, shows the information of more icons, it can be certain
More icon information is displayed for a user out in degree, avoids being blocked problem brought by icon by touch objects such as fingers, is met
Intelligence that user shows icon, automation demanding.
The icon display device of the embodiment of the present invention and mobile terminal are described in detail below.
Fig. 4 is referred to, is a kind of structural schematic diagram of icon display device of the embodiment of the present invention, the embodiment of the present invention
Described device may be provided at the intelligent mobile terminal that smart phone, tablet computer, wearable smart machine etc. include application icon
In, specifically, described device includes:
Receiving module 1 for receiving user to the contact action event of icon, and detects the user of the contact action event
Action type;
Module 2 is obtained, if being the processing operation for icon itself for user's operation type, is obtained in the icon
The initial position co-ordinates of the heart, and obtain the touch screen position coordinates of the contact action event of user;
Processing module 3, for determining target location coordinate according to the touch screen position coordinates, and according to the initial position
The mobile icon of coordinate makes the center of the icon be located at the target location coordinate, redraws and shows the figure after movement
Mark.
Contact action event to icon includes long press operation event, the clicking operation event, moving operation to the icon
Event etc..Wherein, long press operation event and moving operation event can refer to that user is directed to the action event of icon itself.Generally
For, long press operation event is that user needs to edit the icon, and moving operation event is then to move the icon to new position
It sets.And clicking operation event is then that user needs to run and using application corresponding to the icon.The receiving module 1 can lead to
It crosses judgement and clicks duration or moving distance to determine the user's operation type of the contact action event.
In embodiments of the present invention, the center of icon can refer to the geometric center of box-shaped icon, the acquisition module 2
It can be according to the coordinates regional where the icon recorded, to determine the initial position co-ordinates at icon center.And for described
Touch screen position coordinates, the acquisition module 2 can then be determined according to the variation of the corresponding capacitor of screen or resistance, can be
The middle position in the region of the touch objects such as finger, felt pen and screen contact.Obtain initial position co-ordinates and touch screen position coordinates
Afterwards, pre-set dragging explicit function can be called to complete the movement to initial position co-ordinates to target location coordinate.
The processing module 3 can on the basis of the touch screen position coordinates, along screen display direction upwards or
A coordinate position is determined as target location coordinate along the left side or the right of screen display direction, and the coordinate position is apart from institute
The distance for stating touch screen position coordinates is preset offset threshold.Described in the target location coordinate can be used as after the mobile icon
The display position at icon center, so that icon is upward at user's touch screen position or shows more figures to the left or to the right
Mark information.
Alternatively, the region of the touch objects such as finger or felt pen and screen contact can be determined as by the processing module 3
Occlusion area, and other regions of screen are then determined as Free Region, the processing module 3 calculates institute from Free Region
The distance value for stating touch screen position coordinates is the coordinate of preset offset threshold, and the coordinate being calculated is determined as target position
Coordinate.
Certainly, in actual needs, the display icon can also be amplified.Above-mentioned offset threshold specifically can according to
The actual needs at family is by providing UI(User Interface, user interface) mode at interface is manually entered completion by user and sets
It setting, user determines the offset threshold based on the size of oneself finger or felt pen and the contact area of terminal screen, with
Guarantee that icon is not blocked by touch objects such as finger or felt pens.
After user decontrols the touch objects such as finger or felt pen, terminal can be according to the initial position co-ordinates, will be described
Icon is shown at original position again.Certainly it can be shown according to the practical operation demand of user during display and such as be compiled
Collect bounce animation etc., it should be noted that after icon is reverted to original position, specific display mode is the prior art,
This is not repeated.
The embodiment of the present invention can initial position co-ordinates and user's touch screen position coordinates based on icon, need needle in user
When handling icon itself, relevant mobile effect can be generated, shows the information of more icons, it can be certain
More icon information is displayed for a user out in degree, avoids being blocked problem brought by icon by touch objects such as fingers, is met
Intelligence that user shows icon, automation demanding.
Fig. 5 is referred to again, is the structural schematic diagram of another icon display device of the embodiment of the present invention, and the present invention is implemented
The described device of example may be provided at the intelligent mobile that smart phone, tablet computer, wearable smart machine etc. include application icon
In terminal, it may include above-mentioned receiving module 1, obtain module 2 and processing module 3, specifically, in embodiments of the present invention,
Described device can also include:
Respond module 4, if being to the processing operation of application indicated by icon, described in operation for user's operation type
Application indicated by icon.
If the contact action event of user is clicking operation event etc., it may be considered that user is to the icon institute
The processing operation of the application of instruction, the respond module 4 needs to call the corresponding software and hardware resources of distribution described to run at this time
Application indicated by icon, and relevant application message is presented to user.
Still optionally further, Fig. 6 is referred to, in embodiments of the present invention, the processing module 3 can specifically include:
Determination unit 31, for determining screen is contacted by touch objects in the contact action event the band of position, and will
Screen area outside the band of position is determined as Free Region;
Computing unit 32, the distance value for calculating the touch screen position coordinates in the Free Region is default
Offset threshold coordinate, and the coordinate being calculated is determined as target location coordinate;
Mobile unit 33, for making the center of the icon be located at institute according to the mobile icon of the initial position co-ordinates
State target location coordinate;
Display unit 34, for redrawing and showing the icon after moving.
The region of the touch objects such as finger or felt pen and screen contact can be determined as blocking by the determination unit 31
Region, and other regions of screen are then determined as Free Region, the computing unit 32 calculates described from Free Region
The distance value of touch screen position coordinates is the coordinate of preset offset threshold, and the coordinate being calculated is determined as target position and is sat
Mark.
Above-mentioned offset threshold specifically can according to the actual needs of user in such a way that the interface UI is provided by user hand
Setting is completed in dynamic typing, and user determines this based on the size of oneself finger or felt pen and the contact area of terminal screen
Offset threshold, to guarantee that icon is not blocked by touch objects such as finger or felt pens.
Further, the mobile unit 33 makes specifically for moving the icon since the initial position co-ordinates
The center of the icon is located at the touch screen position coordinates;The icon is moved since the touch screen position coordinates, is made described
The center of icon is located at the target location coordinate.
Further, the display unit 34, for redrawing the icon by icon center of target location coordinate;According to
The icon that preset magnification ratio amplification display is redrawn.
Further, then Fig. 7 is referred to, in the embodiment of the present invention, the receiving module 1 be can specifically include:
Receiving unit 11, for receiving user to the contact action event of icon;
Detection unit 12, for detecting whether the contact action event is long press operation for the icon;If so,
The user's operation type for determining the contact action event is the processing operation for icon itself.
Fig. 8 is referred to again, is a kind of structural schematic diagram of mobile terminal of the embodiment of the present invention, the shifting of the embodiment of the present invention
Dynamic terminal includes: at least one processor 1001, such as CPU, at least one communication bus 1002, at least one network interface
1003, memory 1004 and display 1005.Wherein, communication bus 1002 is logical for realizing the connection between these components
Letter.Wherein, the network interface 1003 optionally may include that (such as WI-FI, movement are logical for standard wireline interface and wireless interface
Believe interface etc.).The memory 1004 can be high speed RAM memory, be also possible to non-labile memory (non-
Volatile memory), a for example, at least magnetic disk storage.The memory 1004 optionally can also be at least one
It is located remotely from the storage device of aforementioned processor 1001.As shown in figure 8, the memory 1004 as a kind of computer storage medium
In be stored with operating system, network communication module, and be stored with icon and show application program and other programs.
The processor 1001 can call the icon in the memory 1004 to show application program, for receiving user
To the contact action event of icon, and detect the user's operation type of the contact action event;If user's operation type be for
The processing operation of icon itself, then obtain the initial position co-ordinates at the icon center, and obtains the contact action event of user
Touch screen position coordinates;Target location coordinate is determined according to the touch screen position coordinates, and is moved according to the initial position co-ordinates
Moving the icon makes the center of the icon be located at the target location coordinate, redraws and shows the icon after movement.
The processor 1001 is being used to determine target location coordinate according to the touch screen position coordinates, and according to described first
When the mobile icon of beginning position coordinates makes the center of the icon be located at the target location coordinate, described in determining
The band of position that screen is contacted by touch objects in contact action event, and the screen area outside the band of position is determined as can be used
Region;The distance value that the touch screen position coordinates are calculated in the Free Region is the coordinate of preset offset threshold,
And the coordinate being calculated is determined as target location coordinate;Make the figure according to the mobile icon of the initial position co-ordinates
Target center is located at the target location coordinate.
The processor 1001 is for making the center of the icon according to the mobile icon of the initial position co-ordinates
When positioned at the target location coordinate, specifically for moving the icon since the initial position co-ordinates, make the icon
Center be located at the touch screen position coordinates;The icon is moved since the touch screen position coordinates, is made in the icon
The heart is located at the target location coordinate.
The processor 1001 is when for redrawing and showing the icon after moving, specifically for being sat with target position
It is designated as icon center and redraws the icon;The icon redrawn according to the amplification display of preset magnification ratio.
For the processor 1001 in the user's operation type for detecting the contact action event, being specifically used for detection should
Whether contact action event is long press operation or drag operation for the icon;If so, determining the contact action event
User's operation type be for icon itself processing operation.
If it is to transport to the processing operation of application indicated by icon that the processor 1001, which is also used to user's operation type,
Application indicated by the row icon.
The embodiment of the present invention can initial position co-ordinates and user's touch screen position coordinates based on icon, need needle in user
When handling icon itself, relevant mobile effect can be generated, shows the information of more icons, it can be certain
More icon information is displayed for a user out in degree, avoids being blocked problem brought by icon by touch objects such as fingers, is met
Intelligence that user shows icon, automation demanding.
The embodiment of the present invention can initial position co-ordinates and user's touch screen position coordinates based on icon, need needle in user
When handling icon itself, relevant mobile effect can be generated, shows the information of more icons, it can be certain
More icon information is displayed for a user out in degree, avoids being blocked problem brought by icon by touch objects such as fingers, is met
Intelligence that user shows icon, automation demanding.
Those of ordinary skill in the art will appreciate that realizing all or part of the process 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-readable storage medium
In, the program is when being executed, it may include such as the process 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 changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (11)
1. a kind of icon display method characterized by comprising
User is received to the contact action event of icon, and detects the user's operation type of the contact action event;
If user's operation type is the processing operation for icon itself, the initial position co-ordinates at the icon center are obtained,
And obtain the touch screen position coordinates of the contact action event of user;
Determine the band of position that screen is contacted by touch objects in the contact action event, and by the screen area outside the band of position
Domain is determined as Free Region;
The distance value that the touch screen position coordinates are calculated in the Free Region is the coordinate of preset offset threshold, and
The coordinate being calculated is determined as target location coordinate;
So that the center of the icon is located at the target location coordinate according to the mobile icon of the initial position co-ordinates, redraws
And show the icon after movement.
2. the method as described in claim 1, which is characterized in that described to be made according to the mobile icon of the initial position co-ordinates
The center of the icon is located at the target location coordinate, comprising:
The icon is moved since the initial position co-ordinates, and the center of the icon is made to be located at the touch screen position coordinates;
The icon is moved since the touch screen position coordinates, the center of the icon is made to be located at the target location coordinate.
3. method according to claim 1 or 2, which is characterized in that described to redraw and show the icon after movement, packet
It includes:
The icon is redrawn by icon center of target location coordinate;
The icon redrawn according to the amplification display of preset magnification ratio.
4. method as claimed in claim 3, which is characterized in that the user's operation type for detecting the contact action event,
Include:
Detect whether the contact action event is long press operation or drag operation for the icon;
If so, determining that the user's operation type of the contact action event is the processing operation for icon itself.
5. method as claimed in claim 4, which is characterized in that further include:
If user's operation type is to run application indicated by the icon to the processing operation of application indicated by icon.
6. a kind of icon display device characterized by comprising
Receiving module for receiving user to the contact action event of icon, and detects the user's operation of the contact action event
Type;
Module is obtained, if being the processing operation for icon itself for user's operation type, obtains the icon center
Initial position co-ordinates, and obtain the touch screen position coordinates of the contact action event of user;
Processing module, comprising:
Determination unit, for determining screen is contacted by touch objects in the contact action event the band of position, and by the position
Screen area outside region is determined as Free Region;
Computing unit, the distance value for calculating the touch screen position coordinates in the Free Region are preset offset
The coordinate of threshold value, and the coordinate being calculated is determined as target location coordinate;
Mobile unit, for making the center of the icon be located at the target according to the mobile icon of the initial position co-ordinates
Position coordinates;
Display unit, for redrawing and showing the icon after moving.
7. device as claimed in claim 6, which is characterized in that
The mobile unit is located at the center of the icon for moving the icon since the initial position co-ordinates
The touch screen position coordinates;The icon is moved since the touch screen position coordinates, is located at the center of the icon described
Target location coordinate.
8. device as claimed in claims 6 or 7, which is characterized in that
The display unit, for redrawing the icon by icon center of target location coordinate;According to preset magnification ratio
The icon that amplification display is redrawn.
9. device as claimed in claim 8, which is characterized in that the receiving module includes:
Receiving unit, for receiving user to the contact action event of icon;
Detection unit, for detecting whether the contact action event is long press operation for the icon;It is somebody's turn to do if so, determining
The user's operation type of contact action event is the processing operation for icon itself.
10. device as claimed in claim 9, which is characterized in that further include:
Respond module, if being to run the icon to the processing operation of application indicated by icon for user's operation type
Indicated application.
11. a kind of mobile terminal, which is characterized in that including processor and display,
The processor for receiving user to the contact action event of icon, and detects the user's operation of the contact action event
Type;If user's operation type is the processing operation for icon itself, the initial position co-ordinates at the icon center are obtained,
And obtain the touch screen position coordinates of the contact action event of user;Determine that screen is contacted by touch objects in the contact action event
The band of position, and the screen area outside the band of position is determined as Free Region;It is calculated in the Free Region
The distance value of the touch screen position coordinates is the coordinate of preset offset threshold, and the coordinate being calculated is determined as target position
Set coordinate;The center of the icon is set to be located at the target location coordinate according to the mobile icon of the initial position co-ordinates,
It redraws and shows the icon after movement;
The display, for showing the icon after movement that the processor is redrawn.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410140109.5A CN104978135B (en) | 2014-04-09 | 2014-04-09 | A kind of icon display method, device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410140109.5A CN104978135B (en) | 2014-04-09 | 2014-04-09 | A kind of icon display method, device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104978135A CN104978135A (en) | 2015-10-14 |
CN104978135B true CN104978135B (en) | 2019-10-18 |
Family
ID=54274685
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410140109.5A Active CN104978135B (en) | 2014-04-09 | 2014-04-09 | A kind of icon display method, device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104978135B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105260123A (en) * | 2015-11-02 | 2016-01-20 | 厦门飞信网络科技有限公司 | Mobile terminal and display method of touch screen |
CN107193433A (en) * | 2016-03-15 | 2017-09-22 | 北大方正集团有限公司 | A kind of icon generation method and device suitable for screen display |
CN109189283B (en) * | 2018-07-26 | 2021-04-02 | 在线途游(北京)科技有限公司 | Icon generation method, device and equipment |
CN111142762A (en) * | 2018-11-05 | 2020-05-12 | 上海博泰悦臻电子设备制造有限公司 | Vehicle, vehicle machine equipment and touch operation intelligent correction method thereof |
CN110399443B (en) * | 2019-07-22 | 2020-10-09 | 上海图聚智能科技股份有限公司 | Map editing method and device, mobile platform and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102722324A (en) * | 2012-05-24 | 2012-10-10 | 中兴通讯股份有限公司 | Method and device for operating touch screen |
CN102830890A (en) * | 2011-06-13 | 2012-12-19 | 阿里巴巴集团控股有限公司 | Method and device for displaying icons |
CN103425311A (en) * | 2012-05-25 | 2013-12-04 | 捷达世软件(深圳)有限公司 | Positioning method and positioning system for mobile object clicking selection |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101399145B1 (en) * | 2012-09-20 | 2014-05-30 | 한국과학기술원 | Gui widget for stable holding and control of smart phone based on touch screen |
-
2014
- 2014-04-09 CN CN201410140109.5A patent/CN104978135B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102830890A (en) * | 2011-06-13 | 2012-12-19 | 阿里巴巴集团控股有限公司 | Method and device for displaying icons |
CN102722324A (en) * | 2012-05-24 | 2012-10-10 | 中兴通讯股份有限公司 | Method and device for operating touch screen |
CN103425311A (en) * | 2012-05-25 | 2013-12-04 | 捷达世软件(深圳)有限公司 | Positioning method and positioning system for mobile object clicking selection |
Also Published As
Publication number | Publication date |
---|---|
CN104978135A (en) | 2015-10-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103955331B (en) | A kind of application program image target display processing method and device | |
US20200371656A1 (en) | Icon Control Method and Terminal | |
US9612675B2 (en) | Emulating pressure sensitivity on multi-touch devices | |
CN104978135B (en) | A kind of icon display method, device and mobile terminal | |
CN102520860B (en) | A kind of method and mobile terminal for carrying out desktop display control | |
US11016609B2 (en) | Distance-time based hit-testing for displayed target graphical elements | |
US9965158B2 (en) | Touch screen hover input handling | |
CN104166553B (en) | A kind of display methods and electronic equipment | |
CN104035677B (en) | The display methods and device of prompt message | |
CN108064368A (en) | The control method and device of flexible display device | |
US9785289B2 (en) | GUI control improvement using a capacitive touch screen | |
KR20090029670A (en) | Method and apparatus for selecting an object within a user interface by performing a gesture | |
CN104063128B (en) | A kind of information processing method and electronic equipment | |
JP6448639B2 (en) | Text selection method, apparatus and terminal | |
CN110493018A (en) | A kind of group chat creation method and device | |
CN106648314A (en) | Method and device for splitting screen | |
TWI671675B (en) | Information display method and device | |
CN103793178A (en) | Vector graph editing method of touch screen of mobile device | |
CN104182144A (en) | Mobile terminal interface browsing method and system | |
CN102681748B (en) | Information processing equipment and information processing method | |
CN102750035B (en) | The determination method and apparatus of display position of cursor | |
US10345932B2 (en) | Disambiguation of indirect input | |
CN104765563A (en) | Control method and device for terminal application program | |
US20180188940A1 (en) | Control input method and device for executing the same | |
CN108604142A (en) | A kind of touch-screen equipment operating method and touch-screen equipment |
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 |