1. Technical Field
The present disclosure relates to an electronic device with a touch screen device, a method of moving icons across different desktop screens and one or more computer readable storage media comprising computer executable instructions.
2. Description of Related Art
Many electronic devices include many icons associated with application programs. When not all the icons can be wholly displayed on one page because of a limited display area of the electronic device, the icons must be displayed on a number of pages. When there is a need to move the icon from a current desktop screen to another desktop screen, a user can drag the icon to the edge of the current desktop screen and the electronic device will automatically change the desktop currently being viewed, so that the users can find his or her destination desktop screen and put the icon in it. However the desktop screens cycle through so fast, that placing an icon in the correct destination screen is a difficult operation.
Many aspects of the embodiments can be better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the views.
Referring to
Referring to
The icon sensing module 20 senses a touch on one of the icons 14 on a currently displayed desktop screen 13 by a user, and detects the duration of time of the touch on the icon 14 and determines whether the duration of time is equal to or longer than a preset time period. If the duration of time is less than the preset time period, the icon sensing module 20 determines that the touch on the icon 14 is an icon clicking operation, and in response to the icon clicking operation, the icon actuating module 22 actuates the application program associated with the icon 14. If the duration of time is equal to or longer than the preset time period, the icon sensing module 20 determines that the touch on the icon 14 is the part of an icon moving operation, and in response to the icon moving operation, the icon moving module 24 actuates the icon 14 to a movable state and further moves the icon 14 in accordance with a drag operation of the user yet to be determined in relation to the currently displayed desktop screen 13. For example, if a user then drags the icon 14 to move leftward and then releases the icon 14, then the icon 14 moves leftward automatically. If a user drags the icon 14 to move rightward and then releases the icon 14, then the icon 14 moves rightward automatically.
The track sensing module 26 is configured for sensing and determining the track or direction of movement of the icon 14. The desktop changing module 28 determines if the icon 14 reaches one of the boundaries of the currently displayed desktop screen 13. The desktop changing module 28 further changes the display of the currently displayed desktop screen 13 to an adjacent desktop screen proximate to the currently displayed desktop screen 13 if the icon 14 reaches one of the boundaries of the currently displayed desktop screen 13. Accordingly the icon moving module 24 then displays the icon 14 on the adjacent desktop screen and controls the icon 14 to be moved onto the adjacent desktop screen from out of one of the boundaries (16 or 18) to be displayed inside an opposite boundary (18 or 16 respectively), at a preset speed along a same movement direction.
For example, when the track sensing module 26 senses a rightward movement of an icon 14 and the icon 14 has reached the right hand boundary 18 of the currently displayed desktop screen 13, the desktop changing module 28 changes the display of the current desktop screen 13 to the adjacent desktop screen immediately following the currently displayed desktop screen 13. Therefore, the icon moving module 24 displays the icon 14 on the adjacent desktop screen, and begins to move the icon 14 from the entry point on the left boundary 16 towards the right boundary 18 on that next desktop screen, at a slow preset speed. When the track sensing module 26 senses a leftward movement of the icon 14 and the icon 14 has reached the left bound 16 of the currently displayed desktop screen 13, the desktop changing module 28 changes the display of the currently displayed desktop screen 13 to show the adjacent desktop screen which immediately preceding the currently displayed desktop screen 13. Accordingly the icon moving module 24 displays the icon 14 on that previous desktop screen and slowly moves the icon 14 from the right boundary 18 towards the left boundary 16 at the preset speed.
During the movement of the icon 14 at the preset speed, if the icon sensing module 20 senses another independent touch on a newly-displayed desktop screen 13 changed from the originally displayed desktop screen by the desktop changing module 28, the icon moving module 24 stops the movement of the icon 14 on the newly-displayed desktop screen 13 and the icon adding module 30 adds the icon 14 to the newly-displayed desktop screen 13. Thus, when a desired desktop screen 13 appears in the cycle, the new touch of the user on the newly-displayed desktop screen 13 will cause the icon 14 to be added to the newly-displayed desktop screen 13. If the newly-displayed desktop screen 13 is not the desired desktop screen, the electronic device 10 continues the across-screen movements until the desired desktop screen appears, then the user may touch the desired desktop screen 13, to add the icon 14 to the newly-displayed desktop screen.
Referring to
In step S401, the icon sensing module 50 senses a touch on an icon 14 on a currently displayed desktop screen 13.
In step S403, the icon sensing module 20 detects the duration of time of the touch on the icon 14 and determines whether the duration of time of the touch is equal to or longer than a preset time period. If the duration of time is equal to or longer than the preset time period, the procedure goes to step S407, otherwise the procedure goes to step S405.
In step S405, the icon sensing module 20 determines that the touch on the icon 14 is an icon clicking operation, and the icon actuating module 22 actuates the application program associated with the icon 14.
In step S407, the icon sensing module 20 determines that the touch on the icon 14 is an icon moving operation, and the icon moving module 24 actuates the icon 14 into a movable state and moves the icon in accordance with the movement of the touch on the currently displayed desktop screen 13.
In step S409, the track sensing module 26 senses and determines the movement track and direction of the icon 14.
In step S501, the desktop changing module 28 changes the display of the currently displayed desktop screen 13 to an adjacent desktop screen according to the if the boundary has been reached boundary.
In step S503, the icon moving module 24 actuates the icon 14 to move on the adjacent desktop screen at a preset speed along a same movement direction.
In step S505, the icon sensing module 20 senses a new touch on a newly-displayed desktop screen 13.
In step S507, the icon moving module 24 stops the movement of the icon 14 and the icon adding module 30 adds the icon 14 to the newly-displayed desktop screen 13.
In the exemplary embodiment, the procedure S501 includes following procedure S509 to S5605, the procedure S503 includes following procedure S607 to S609.
If S509 follows step S409, the track sensing module 26 senses a rightward movement of the icon 14, and the desktop changing module 28 may determine if the icon 14 has reached the right boundary 18 of the currently displayed desktop screen 13.
If step S601 follows step S409, the track sensing module 26 senses a leftward movement of the icon 14, and the desktop changing module 28 may determine if and when the icon 14 has reached the left boundary 16 of the currently displayed desktop screen 13.
In step S603, the desktop changing module 28 changes the display of the currently displayed desktop screen 13 to the adjacent desktop screen immediately following the currently displayed desktop screen 13, when the desktop changing module 28 has determined that the icon 14 has reached the right boundary 18 of the currently displayed desktop screen 13, in step S509.
In step S605, the desktop changing module 28 changes the display of the currently displayed desktop screen 13 to the adjacent desktop screen immediately preceding the currently displayed desktop screen 13, when the desktop changing module 28 determines that the icon 14 has reached the left boundary 16 of the currently displayed desktop screen 13, in step S601.
In step S607, when the desktop changing module 28 changes the currently displayed desktop screen 13 to the next desktop screen, the icon moving module 24 actuates the icon 14 to move from the left boundary 16 to the right boundary 18 on the newly-displayed desktop screen 13 at a preset speed.
In step S609, when the desktop changing module 28 changes the currently displayed desktop screen 13 to a previous desktop screen, the icon moving module 24 actuates the icon 14 to move from the right boundary 18 to the left boundary 16 on the newly-displayed desktop screen 13 at a preset speed.
It is to be understood, however, that even though numerous characteristics and advantages of the present disclosure have been set fourth in the foregoing description, together with details of the structure and function of the present disclosure, the present disclosure is illustrative only, and changes may be made in detail, especially in that matters of shape, size, and arrangement of parts within the principles of the present disclosure to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
Number | Date | Country | Kind |
---|---|---|---|
201110287942.9 | Sep 2011 | CN | national |