Electronic device, and method for changing icon in the electronic device
US-2017010794-A1 · Jan 12, 2017 · US
US10095377B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-10095377-B2 |
| Application number | US-201615181600-A |
| Country | US |
| Kind code | B2 |
| Filing date | Jun 14, 2016 |
| Priority date | Jul 24, 2015 |
| Publication date | Oct 9, 2018 |
| Grant date | Oct 9, 2018 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
A method for displaying a badge of an icon is disclosed. The method may comprise acquiring feature information of the icon; determining a display element of the badge according to the acquired feature information; and generating and displaying the badge according to the determined display element, at a preset position of the icon.
Opening claim text (preview).
What is claimed is: 1. A method for displaying a badge of an icon, comprising: acquiring feature information of the icon, the feature information including at least a feature color of the icon; determining a display element of the badge according to the acquired feature information, the determining of the display element of the badge comprises: determining at least one of a shape of the badge, a background color of the badge, a color of a character in the badge, or a font of a character in the badge according to the acquired feature information; and generating and displaying the badge according to the determined display element, at a preset position of the icon, wherein when an application corresponding to the icon is an application folder, acquiring the feature information of the icon comprises at least one of: acquiring all image files of all application icons in the application folder, and using a most frequently appearing color value among color values of all pixels in all the image files as the feature color of the icon, or acquiring all image files of all application icons in the application folder; and averaging color values of pixels with similar colors among all pixels in the image files, and using the averaged value as the feature color of the icon. 2. The method according to claim 1 , wherein: acquiring the feature information of the icon comprises acquiring an application type corresponding to the icon; and determining the display element of the badge according to the acquired feature information comprises determining the display element corresponding to the acquired application type according to a preset corresponding relationship between the acquired application type and the display element. 3. The method according to claim 1 , wherein: acquiring the feature information of the icon comprises acquiring a priority level of an application corresponding to the icon; and determining the display element of the badge according to the acquired feature information comprises determining the display element corresponding to the acquired priority level of the application according to a preset corresponding relationship between the acquired priority level of the application and the display element. 4. The method according to claim 1 , wherein: determining the display element of the badge according to the acquired feature information comprises using the feature color as the background color of the badge, and/or as the color of the character in the badge. 5. The method according to claim 1 , wherein acquiring the feature color of the icon comprises at least one of: acquiring a most frequently appearing color value among color values of all pixels in an image file of the icon, and using the acquired color value as the feature color of the icon; or averaging color values of pixels with similar colors among all pixels in an image file of the icon, and using the averaged value as the feature color of the icon. 6. The method according to claim 1 , wherein generating and displaying the badge, according to the determined display element, at the preset position of the icon comprises: generating and displaying a badge border for the badge. 7. The method according to claim 6 , wherein determining the display element of the badge according to the acquired feature information further comprises: determining at least one of a color of the badge border, a width of the badge border, or a shape of the badge border according to the acquired feature information. 8. A device for displaying a badge of an icon, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to: acquire feature information of the icon, the feature information including at least a feature color of the icon; determine a display element of the badge according to the acquired feature information; and generate and display the badge, according to the determined display element, at a preset position of the icon, and wherein in determining the display element of the badge according to the acquired feature information, the processor is further configured to: determine at least one of a shape of the badge, a background color of the badge, a color of a character in the badge, or a font of a character in the badge according to the acquired feature information, and wherein when an application corresponding to the icon is an application folder, the processor is further configured to perform at least one of: acquiring all image files of all application icons in the application folder, and using a most frequently appearing color value among color values of all pixels in all the image files as the feature color of the icon, or acquiring all image files of all application icons in the application folder; and averaging color values of pixels with similar colors among all pixels in the image files, and using the averaged value as the feature color of the icon. 9. The device according to claim 8 , wherein the processor is further configured to: acquire an application type corresponding to the icon; and determine the display element corresponding to the acquired application type according to a preset corresponding relationship between the acquired application type and the display element. 10. The device according to claim 8 , wherein the processor is further configured to: acquire the priority level of an application corresponding to the icon; and determine a display element corresponding to the acquired priority level of the application according to a preset corresponding relationship between the acquired priority level of the application and the display element. 11. The device according to claim 8 , wherein the processor is further configured to: use the feature color as the background color of the badge, and/or as the color of the character in the badge. 12. The device according to claim 8 , wherein the processor is further configured to perform at least one of: acquiring a most frequently appearing color value among color values of all pixels in an image file of the icon, and using the acquired color as the feature color of the icon; or averaging color values of pixels with similar colors among all pixels in an image file of the icon, and using the averaged value as the feature color of the icon. 13. The device according to claim 8 , wherein the processor is further configured to: generate and display a badge border for the badge. 14. A non-transitory computer-readable storage medium having stored therein instructions that, when executed by a processor in a terminal device, cause the terminal device to perform a method for displaying a badge of an icon, the method comprising: acquiring feature information of the icon, the feature information including at least a feature color of the icon; determining a display element of the badge according to the acquired feature information, the determining of the display element of the badge comprises: determining at least one of a shape of the badge, a background color of the badge, a color of a character in the badge, or a font of a character in the badge according to the acquired feature information; and generating and displaying the badge, according to the determined display element, at a preset position of the icon, wherein when an application corresponding to the icon is an application folder, acquiring the feature information of the icon comprises at least one of: acquiring all image files of all application icons in the application folder, and using a most frequently appearing color value among color values of all pixels in
Texturing; Colouring; Generation of textures or colours (retouching, inpainting or scratch removal G06T5/77) · CPC title
Image averaging · CPC title
Creating or editing images; Combining images with text · CPC title
Determination of colour characteristics · CPC title
using icons (graphical or visual programming using iconic symbols G06F8/34) · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.