This application claims priority to Chinese Patent Application No. 201410450517.0 filed on Sep. 5, 2014, the contents of which are incorporated by reference herein.
The subject matter herein generally relates to user interface management, and particularly to an electronic device and a method for displaying desktop icons.
Many applications can be installed on an electronic device to expand the functions of the electronic device, and two-dimensional desktop icons corresponding to applications can be displayed on the desktop of the electronic device. User can finds a target icon inconveniently among multiple icons.
Implementations of the present disclosure will now be described, by way of example only, with reference to the attached figures.
It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures, and components have not been described in detail so as not to obscure the related relevant feature being described. Also, the description is not to be considered as limiting the scope of the embodiments described herein. The drawings are not necessarily to scale and the proportions of certain parts can be exaggerated to better illustrate details and features of the present disclosure.
The present disclosure, including the accompanying drawings, is illustrated by way of examples and not by way of limitation. Several definitions that apply throughout this disclosure will now be presented. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean “at least one.”
Furthermore, the term “comprising” means “including, but not necessarily limited to”; it specifically indicates open-ended inclusion or membership in a so-described combination, group, series and the like. The term “module” refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, Java, C, or assembly. One or more software instructions in the modules can be embedded in firmware, such as in an erasable programmable read only memory (EPROM). The modules described herein can be implemented as either software and/or hardware modules and can be stored in any type of non-transitory computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable media include CDs, DVDs, BLU-RAY, flash memory, and hard disk drives.
In one embodiment, the electronic device 100 can be mobile phones, personal computer, tablet computer, or any other suitable electronic device. The display screen 30 can display a desktop 31 (as shown in
The storage device 40 can be an internal storage device, such as a flash memory, a random access memory (RAM) for temporary storage of information, and/or a read-only memory (ROM) for permanent storage of information. The storage device 40 can also be an external storage device, such as an external hard disk, a storage card, or a data storage medium. The at least one processor 50 can be a central processing unit (CPU), a microprocessor, or other data processor chip that performs functions of the electronic device 100.
In one embodiment, the desktop icons displaying system 20 can generate a number of desktop icons 32 (as shown in
In at least one embodiment, the desktop icons displaying system 20 can include a generation module 21, a detecting module 22, a counting module 23, a calculation module 24, a control module 25, and a determination module 26. Modules 21-26 can comprise computerized instructions in the form of one or more computer-readable programs that can be stored in a non-transitory computer-readable medium, for example in the storage device 40, and are executed by the at least one processor 50 of the electronic device 100 to provide functions of the present disclosure. A detailed description of the functions of the modules 21-26 is given below in reference to
The generation module 21 generates a number of desktop icons 32, each of the icons 32 corresponds to an application of the electronic device 100. Each icon 32 has a three-dimensional appearance and a default depth. The control module 25 renders each of the icons 32 as having the three-dimensional appearance and the default depth on the display screen 30.
The detecting module 22 detects that at least one of the applications is executed within a predetermined time period, such as a week, or a month, and the counting module 23 records an execution frequency of each executed application and a total execution frequency of all of the applications within the predetermined time period, and stores the execution frequency of each application and the total execution frequency of all of the applications in the storage device 40.
The calculation module 24 calculates a ratio of the execution frequency of each application relative to the total execution frequency of all of the applications.
In at least one embodiment, if the execution frequencies of the applications are different, the calculated ratios will each be different. In at least one embodiment, if a specific application is executed more frequently within the predetermined time period, the ratio of the execution frequency of the specific application relative to the total execution frequency of all of the applications will be greater.
The control module 25 can change the apparent depth of each icon 32 on the display screen 30 according to each corresponding calculated ratio.
In at least one embodiment, the determination module 26 determines whether the calculated ratio of the execution frequency of a specific application relative to the total execution frequency of all of the applications increases or not. As shown in
In at least one embodiment, the storage device 40 stores a first predetermined depth H1, a second predetermined depth H2, a third predetermined depth H3, a first preset value, and a second preset value. The second predetermined depth H2 is greater than the first predetermined depth H1 but less than the third predetermined depth H3, that is H1<H2<H3. The first preset value is less than the second preset value.
In at least one embodiment, if the determination module 26 determines that the calculated ratio of the execution frequency of the specific application relative to the total execution frequency of all of the applications is less than a first preset value, the control module 25 changes the apparent depth of the icon, such as the icon 321, of the specific application to the first predetermined depth H1.
If the determination module 26 determines that the calculated ratio of the execution frequency of the specific application relative to the total execution frequency of all of the applications is not less than the first preset value but less than a second preset value, the control module 25 changes the apparent depth of the icon, such as the icon 322, of the specific application to the second predetermined depth H2.
If the determination module 26 determines that the calculated ratio of the execution frequency of the specific application relative to the total execution frequency of all of the applications is not less than the second preset value, the control module 25 changes the apparent depth of the icon, such as the icon 323, of the specific application to the third predetermined depth H3.
Therefore, if a specific application is executed more frequently within the predetermined time period, the icon of the specific application has a greater depth when displayed, which can help user to more quickly find an icon of a target application which is executed more frequently among all of the icons.
Referring to
At block 201, a generation module generates a number of icons, each of the icons corresponds to an application of the electronic device, and each icon has a three-dimensional appearance and a default depth.
At block 202, a control module renders each of the icons as having the three-dimensional appearance and the default depth on a display screen of the electronic device.
At block 203, a detecting module detects whether at least one of the applications is executed within a predetermined time period, such as a week, or a month. If at least one of the applications is executed within a predetermined time period, block 204 is implemented. Otherwise the process remains in block 203.
At block 204, a counting module records an execution frequency of each executed application and a total execution frequency of all of the applications within the predetermined time period, and stores the execution frequency of each application and the total execution frequency of all of the applications in a storage device of the electronic device.
At block 205, a calculation module calculates a ratio of the execution frequency of each application relative to the total execution frequency of all of the applications.
In at least one embodiment, if the execution frequencies of the applications are different, the calculated ratios will each be different. In at least one embodiment, if a specific application is executed more frequently within the predetermined time period, the ratio of the execution frequency of the specific application relative to the total execution frequency of all of the applications will be greater.
At block 206, the control module changes the apparent depth of each icon on the display screen according to each corresponding calculated ratio.
In at least one embodiment, a determination module determines whether the calculated ratio of the execution frequency of a specific application relative to the total execution frequency of all of the applications increases or not. If the determination module determines that the calculated ratio of the execution frequency of the specific application relative to the total execution frequency of all of the applications increases, the control module increases the apparent depth of the icon of the specific application. Conversely, if the determination module determines that the calculated ratio of the execution frequency of the specific application relative to the total execution frequency of all of the applications decreases, the control module reduces the apparent depth of the icon of the specific application.
At block 301, the determination module determines whether the calculated ratio of the execution frequency of the specific application relative to the total execution frequency of all of the applications is less than a first preset value. If the determination module determines that the calculated ratio of the execution frequency of the specific application relative to the total execution frequency of all of the applications is less than a first preset value, block 302 is implemented. Otherwise, block 303 is implemented.
At block 302, the control module changes the apparent depth of the icon of the specific application to a first predetermined depth.
At block 303, the determination module determines whether the calculated ratio of the execution frequency of the specific application relative to the total execution frequency of all of the applications is less than a second preset value. If the determination module determines that the calculated ratio of the execution frequency of the specific application relative to the total execution frequency of all of the applications is less than a second preset value, block 304 is implemented. Otherwise, block 305 is implemented.
At block 304, the control module changes the apparent depth of the icon of the specific application to a second predetermined depth.
At block 305, the control module changes the apparent depth of the icon of the specific application to a third predetermined depth.
In at least one embodiment, the second predetermined depth is greater than the first predetermined depth but less than the third predetermined depth, and the first preset value is less than the second preset value.
The embodiments shown and described above are only examples. Even though numerous characteristics and advantages of the present technology have been set forth in the foregoing description, together with details of the structure and function of the present disclosure, the disclosure is illustrative only, and changes can be made in the detail, including in particular the matters of shape, size, and arrangement of parts within the principles of the present disclosure, up to and including the full extent established by the broad general meaning of the terms used in the claims.
Number | Date | Country | Kind |
---|---|---|---|
201410450517.0 | Sep 2014 | CN | national |