This application is a continuation of International Application No. PCT/CN2013/085872, filed Oct. 24, 2013, which is based upon and claims priority to Chinese Patent Application No. 201310120284.3, filed Apr. 8, 2013, the entire contents of all of which are incorporated herein by reference.
The present disclosure generally relates to the field of mobile terminals and, more particularly, to a method and a device for arranging icons.
With development of mobile terminals, various applications (APPs), such as office APPs, game APPs, photo APPs and the like, are provided for being installed on the mobile terminals to perform various functions. After an APP is installed on a mobile terminal, an icon is generated and displayed on a desktop of the mobile terminal for being clicked by a user to start the APP. When the user installs a great number of APPs on the mobile terminal, there are a great number of icons generated and displayed on the desktop.
The mobile terminal generally can arrange icons on the desktop based on a user operation, such as an operation for moving an icon or an operation for deleting an icon. Conventionally, however, the mobile terminal can arrange one icon based on each operation, which may be time-consuming when the mobile terminal receives user operations to arrange multiple icons on the desktop.
According to a first aspect of the present disclosure, there is provided a method for a device to arrange icons displayed on a screen of the device, comprising: creating a buffer region in a memory of the device; marking one or more icons selected by a user as one or more icons to be arranged; storing the icons to be arranged in the buffer region; and performing an arranging operation on the icons to be arranged that are stored in the buffer region, according to an arranging instruction from the user.
According to a second aspect of the present disclosure, there is provided a device, comprising: a processor; a memory for storing instructions executable by the processor; and a screen; wherein the processor is configured to: create a buffer region in the memory; mark one or more icons selected by a user as one or more icons to be arranged; store the icons to be arranged in the buffer region; and perform an arranging operation on the icons to be arranged that are stored in the buffer region, according to an arranging instruction from the user.
According to a third aspect of the present disclosure, there is provided a non-transitory computer-readable medium having stored therein instructions that, when executed by a processor of a device, cause the device to perform a method for arranging icons displayed on a screen of the device, the method comprising: creating a buffer region in a memory of the device; marking one or more icons selected by a user as one or more icons to be arranged; storing the icons to be arranged in the buffer region; and performing an arranging operation on the icons to be arranged that are stored in the buffer region, according to an arranging instruction from the user.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise represented. The implementations set forth in the following description of exemplary embodiments do not represent all implementations consistent with the invention. Instead, they are merely examples of apparatuses and methods consistent with aspects related to the invention as recited in the appended claims.
In step S101, the device creates a buffer region in its memory, marks one or more icons selected by the user as icons to be arranged, and stores the icons to be arranged in the buffer region.
In one exemplary embodiment, before creating the buffer region, the desktop of the device enters an edit mode based on a user operation, and the device sets a first predetermined area on the screen as a widget selecting area for selection by the user. When the device detects that any icon on the desktop is clicked, the device creates the buffer region and sets the first predetermined area on the screen as a display area for the icons to be arranged, and displays in the first predetermined area the icons to be arranged.
In one exemplary embodiment, the device marks the icons selected by the user as the icons to be arranged and stores in the buffer region, according to a sequence that the icons are selected by the user, and also displays the icons in the first predetermined area according to the sequence that the icons are selected by the user.
In one exemplary embodiment, an icon selected by the user is a folder icon representing a folder. Accordingly, the device opens the folder by displaying all icons in the folder, and marks at least one icon in the folder as an icon to be arranged based on a user selection. The device further closes the folder if the device detects a click on any area in the display area of the folder other than the display area of all the icons in the folder and a title of the folder.
Still referring to
In one exemplary embodiment, the device detects a click on an icon to be arranged that is displayed in the first predetermined area. Accordingly, the device places the clicked icon as a target icon onto a first empty space on the desktop.
In one exemplary embodiment, the device detects a press longer than a first preset time period on an icon to be arranged that is displayed in the first predetermined area. Accordingly, the device sets the icon as the target icon, and sets a second predetermined area on the screen as a display area for a removing bar. Further, if the device detects that the target icon is dragged to the second predetermined area, the device removes the target icon and uninstalls an APP corresponding to the target icon; if the device detects that the target icon is dragged to a location on the desktop without an icon, the device places the target icon at the location, e.g., through pushing away other icons adjacent to the location and inserting the target icon; and if the device detects that the target icon is dragged to a region occupied by an icon on the desktop, the devices generates a folder with a preset name in the region, and places the icon occupying the region and the target icon into the generated folder.
In one exemplary embodiment, if the device detects that a preset event is triggered, the device displays a number of all the icons to be arranged stored in the buffer region, and sets all the icons to be arranged as target icons. For example, the preset event may be an event that two contacts on the screen move toward each other in the first predetermined area, such as a two-finger pinch event, or an event that a single contact moves in one direction in the first predetermined area, such as a one-finger sliding event.
In one exemplary embodiment, if the device detects a click on the target icons, the device places the target icons onto empty spaces on the desktop according to a sequence that the target icons are selected by the user. In one exemplary embodiment, if the device detects a press longer than a second preset time period on the target icons, the device sets the second preset area as the display area of the removing bar. Further, if the device detects that the target icons are dragged to the second predetermined area, the device removes the target icons and uninstalls respective APPs corresponding to the target icons; if the device detects that the target icons are dragged to a region occupied by an icon on the desktop, the device generates a folder with a preset name at the region, and places the icon occupying the region and the target icons into generated the folder; if the device detects that the target icons are dragged to a location on the desktop without an icon, e.g., an empty space between two icons on the desktop, the device places the target icon at the location directly, or through pushing the two icons adjacent to the location and inserting the target icons.
In one exemplary embodiment, to place the target icons onto the empty spaces on the desktop according to the sequence that the icons are selected by the user, the device determines whether there are sufficient empty spaces on the desktop. If the device determines that there are sufficient empty spaces on the desktop, the device places the target icons onto the empty spaces on the desktop according to the sequence that the icons are selected by the user. If the device determines that there are not sufficient empty spaces on the desktop, the device determines the icons to be placed according to a number of the empty spaces and the sequence that the icons are selected by the user, and places the determined icons onto the empty spaces according to the sequence that the icons are selected by the user.
In step S201 the desktop of the device enters an edit mode based on a user operation. For example, the user may perform a two-finger pinch on the display for the desktop to enter the edit mode. Also for example, entering the edit mode may be triggered by a preset event, such as a long press on a blank area on the desktop or a selection of a menu option to enter the edit mode.
After the desktop enters the edit mode, the device can receive user input to arrange icons on the desktop.
Referring to
In exemplary embodiments, after the batch arranging mode is triggered, the first predetermined area is also the display area of the buffer region. The device displays the icons to be arranged that are stored in the buffer region on the display area, and removes the same icons from the thumbnail of the desktop.
Also referring to
In one exemplary embodiment, an icon selected by the user is a folder icon representing a folder. Accordingly, the device displays all the icons in the folder, and marks icons in the folder that are selected by the user as icons to be arranged. In the illustrated embodiment, the device displays in the top part of the screen a number of APP icons selected by the user.
In one exemplary embodiment, after the device receives the selection of icons in the folder, the device further detects a click from the user on a blank area of the folder, i.e., a display area of the folder except the areas occupied by the APP icons and a folder title in the display area of the folder, to close the folder.
Still referring to
In one exemplary embodiment, if the device receives from the user a click, e.g., a single click, on an icon to be arranged that is displayed in the first predetermined area, the device places the clicked icon to be arranged as a target icon onto a first empty space on the desktop, and removes the clicked icon from the buffer region and from the first predetermined area. For example, the device displays that the clicked icon moves up to the first empty space on the desktop from the first predetermined area.
In one exemplary embodiment, if the device receives from the user a long press on an icon, e.g., a press longer than a preset time, the device sets the long-pressed icon as the target icon, and sets the second predetermined area to display the removing bar which is used to remove icons. If the device detects that the user drags the target icon to the display area of the removing bar, the device removes the target icon and uninstalls the APP corresponding to the target icon.
In one exemplary embodiment, the device receives from the user a selection of a plurality of icons. For example, the device detects a two-finger pinch on the icons displayed in the first predetermined area. Also for example, the device detects that the user's finger slides over the icons displayed in the first predetermined area along an edge of the screen, or detects that the device is shaken by the user, to receive the selection of the icons.
In one exemplary embodiment, the device detects a click on the target icons. Accordingly, the device places the target icons onto empty spaces on the desktop according to the sequence that the icons are selected by the user in step S203.
In one exemplary embodiment, the device determines whether there are sufficient empty spaces on the desktop to arrange the target icons, before placing the target icons onto the empty spaces. If it is determined that there are sufficient empty spaces, the device places the target icons onto the empty spaces, and the desktop returns to the edit mode after the placing process is completed.
If it is determined that there are not sufficient empty spaces on the desktop, the device places the target icons according to the sequence that the icons are selected by the user. The icons which cannot be placed onto the empty spaces remain being displayed in the first predetermined area. The device also displays in the second predetermined area the number of the icons which cannot be placed onto the empty spaces.
In one exemplary embodiment, the device detects a long press, e.g., a press longer than a preset time period, on the target icons, and detects that the target icons are dragged onto spaces between two icons on the desktop. Accordingly, the device places the target icons onto a location adjacent to the two icons by pushing away the two icons and inserting the target icons.
In one exemplary embodiment, the device receives a long press on the target icons and detects that the target icons are dragged to a region on the desktop that is occupied by an APP icon. Accordingly, the device generates a folder with a preset name and places the target icons and the APP icon occupying the region into the generated folder.
In one exemplary embodiment, the device receives a long press on the target icons. Accordingly, the device displays a removing bar at the second predetermined area, i.e., the top part of the screen. If the device further detects that the target icons are dragged to the second predetermined area, the device prompts the user to determine whether to uninstall the APPs corresponding to the target icons, respectively.
If the device receives an instruction from the user confirming the uninstallation, the device removes the target icons and uninstalls the APPs corresponding to the target icons, respectively. If the device receives an instruction cancelling the uninstallation, the device re-displays the target icons in the first predetermined area.
One of ordinary skill in the art will understand that the above described modules can each be implemented by hardware, or software, or a combination of hardware and software. One of ordinary skill in the art will also understand that multiple ones of the above described modules may be combined as one module, and each of the above described modules may be further divided into a plurality of sub-modules.
In exemplary embodiments, there is also provided a non-transitory computer-readable storage medium including instructions, such as included in the memory 2404, executable by the processor 2402 in the device 2400, for performing the above described methods for arranging icons. For example, the non-transitory computer-readable storage medium may be a CD-ROM, a universal serial bus (USB) flash disk, or a mobile hard disk drive (HDD).
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed here. This application is intended to cover any variations, uses, or adaptations of the invention following the general principles thereof and including such departures from the present disclosure as come within known or customary practice in the art. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be appreciated that the present invention is not limited to the exact construction that has been described above and illustrated in the accompanying drawings, and that various modifications and changes can be made without departing from the scope thereof. It is intended that the scope of the invention only be limited by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
201310120284.3 | Apr 2013 | CN | national |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2013/085872 | Oct 2013 | US |
Child | 14166134 | US |