CN102314291A - Icon processing system and method - Google Patents
Icon processing system and method Download PDFInfo
- Publication number
- CN102314291A CN102314291A CN2010102178655A CN201010217865A CN102314291A CN 102314291 A CN102314291 A CN 102314291A CN 2010102178655 A CN2010102178655 A CN 2010102178655A CN 201010217865 A CN201010217865 A CN 201010217865A CN 102314291 A CN102314291 A CN 102314291A
- Authority
- CN
- China
- Prior art keywords
- icon
- plate
- attribute
- scope
- range
- 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.)
- Pending
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides an icon processing method, which comprise the following steps of: reading the attribute of a mask, wherein the attribute of the mask comprises a display range of the mask; setting the range of an icon in the mask according to the display range of the mask; reading the attribute of the icon, wherein the attribute of the icon comprises the practical range of the icon; judging whether the practical range of the icon is consistent with the set range of the icon in the mask or not; when the practical range of the icon is not consistent with the set range of the icon in the mask, zooming the icon to make the practical range of the icon consistent with the set range of the icon in the mask; and composing the icon and the mask to create a composed icon. The invention also provides an icon processing system. The styles of icons can be unified by the method and the system.
Description
Technical field
The present invention relates to a kind of icon disposal system and method, relate in particular to a kind of icon disposal system and method that operates in the hand-hold mobile electronic device.
Background technology
Usually, hand-hold mobile electronic device (for example, mobile phone etc.) various running statuses when operation all have corresponding display interface, and various icons are arranged on the display interface, for example, and dictionary icon, game icon etc.Because hand-hold mobile electronic device all can be installed third party software at present, and the icon sizes of third party software differs, different style causes the icon style disunity that shows on the hand-hold mobile electronic device user interface.
Summary of the invention
In view of above content, be necessary to provide a kind of icon disposal system, it can handle the icon that stores in the hand-hold mobile electronic device, makes the figure that shows on the user interface indicate unified style.
In view of above content, also be necessary to provide a kind of icon disposal route, it can handle the icon that stores in the hand-hold mobile electronic device, makes the figure that shows on the user interface indicate unified style.
A kind of icon disposal system; Run in the hand-hold mobile electronic device, this system comprises: read module is used to read the attribute of icon and the attribute of illiteracy plate; The attribute of said icon comprises the actual range of icon, and the attribute of said illiteracy plate comprises the indication range of covering plate; Module is set, is used for icon being set in the scope of covering plate according to the indication range of said illiteracy plate; Judge module is used for judging whether the actual range of said icon is consistent in the scope of covering plate with set icon; Zoom module, be used for when the actual range of said icon and set icon when the scope of covering plate is inconsistent, icon is carried out convergent-divergent handles, make the actual range of icon consistent with the set scope of icon in the illiteracy plate; Synthesis module is used for synthetic said icon and covers plate, generates synthetic icon.
A kind of icon disposal route, this method may further comprise the steps: read the attribute that covers plate, the attribute of said illiteracy plate comprises the indication range of covering plate; Indication range according to said illiteracy plate is provided with the scope of icon in covering plate; Read the attribute of icon, the attribute of said icon comprises the actual range of icon; Whether the actual range of judging said icon is consistent with the set scope of icon in covering plate; When the actual range of said icon and set icon are covering scope in the plate when inconsistent, icon is carried out convergent-divergent handle, make the actual range of icon consistent with the set scope of icon in the illiteracy plate; Synthetic said icon and illiteracy plate generate synthetic icon.
Compared to prior art, described icon disposal system and method, it can handle the icon that hand-hold mobile electronic device stores, and makes the figure on the user interface indicate unified style.
Description of drawings
Fig. 1 is the Organization Chart of hand-hold mobile electronic device of the present invention.
Fig. 2 is the process flow diagram of icon disposal route of the present invention preferred embodiment.
Fig. 3 is synthetic icon of the present invention and the synoptic diagram that covers plate.
The main element symbol description
Hand-hold mobile |
1 |
The |
2 |
|
3 |
Read |
201 |
Module is set | 202 |
|
203 |
|
204 |
|
205 |
Embodiment
As shown in Figure 1, be the Organization Chart of hand-hold mobile electronic device of the present invention.Described hand-hold mobile electronic device 1 is meant that (Personal Digital Assistant PDA) waits device for mobile phone, personal digital assistant.In the said hand-hold mobile electronic device 1 icon disposal system 2 is installed, this icon disposal system 2 is used for handling the icon that hand-hold mobile electronic device 1 stores, and icon is unified into a fixing style, and for example, size is identical, and background is mutually equal.Particular content can be done detailed description in Fig. 2.
Described hand-hold mobile electronic device 1 comprises internal memory 3.Described internal memory 3 is used to store icon and covers data such as plate, said icon with to cover plate be the user through wired or wireless mode from the website or other server download to the internal memory 3 of hand-hold mobile electronic device 1.Said internal memory 3 can be the internal memory of this hand-hold mobile electronic device 1 itself; It can also be external memory card; Like SM card (Smart Media Card, smart media card), SD card (Secure Digital Card, safe digital card), CF card (Compact Flash Card; Standard flash memory card), mmc card (Multi Media Card; Multimedia card), MS card (Memory Stick, memory stick), XD card (Extreme Digital Card, extreme digital card), TF card (Trans FlashCard) etc.
In addition; This hand-hold mobile electronic device 1 also have with icon with cover plate and superpose; The function of synthetic new icon, this function can realize that described operating system is Android operating system through the operating system that is installed in hand-hold mobile electronic device 1; Particularly, realize that through the inner control Testview of this Android operating system synthetic icon and illiteracy plate generate the function of new icon.
Said icon disposal system 2 comprises read module 201, module 202 is set, judge module 203, Zoom module 204 and synthesis module 205.The alleged module of the present invention is to accomplish the computer program code segments of a specific function, be more suitable in describing the implementation of software in computing machine than program, therefore below the present invention to all describing in the software description with module.
Said read module 201 is used to read the attribute and the attribute that covers plate of icon.The attribute of said icon comprises the actual range of icon, the indication range of icon, the form of icon, the store path of icon and the amount of capacity of icon, and the attribute of said illiteracy plate comprises the amount of capacity of actual range, the indication range of covering plate of covering plate, the form that covers plate, the store path that covers plate and illiteracy plate.Generally speaking; No matter be icon or illiteracy plate; All be a square or rectangular figure; Because computing machine 20 can be done transparence to icon (or covering plate) and handle (zone that is about to need not show in the figure shows with transparent way, makes to be invisible to the naked eye), the figure that the user finally sees possibly not be a square or rectangle.The actual range of described icon (or covering plate) is the scope of square or rectangular figure; The indication range of said icon (or cover plate) is the scope that icon (or covering plate) shows on the display screen (not shown in figure 1) of hand-hold mobile electronic device 1, i.e. the scope finally on the display screen of hand-hold mobile electronic device 1, seen of user.Particularly, as shown in Figure 3, icon A is a square; The actual range of this icon A is a dashed square; Owing to done the transparence processing, other zone in the dashed square except trapezoidal is transparent, therefore; The user can only see trapezoidal in this icon A dashed square, and this is trapezoidal to be the indication range of icon A.The actual range that covers plate B is a dashed square; Owing to done the transparence processing; It is transparent removing other the outer zones of polygon that have stain in the dashed square; Therefore, the user can only see the polygonal region that stain is arranged in this illiteracy plate B, and this polygonal region that has stain is the indication range of covering plate B.
The said module 202 that is provided with is used for icon being set in the scope of covering plate according to the indication range of said illiteracy plate.In this preferred embodiment; Module 202 is set in the indication range of covering plate, a residing scope of icon is set arbitrarily; As shown in Figure 3, the indication range of covering plate B is a polygonal region, in this polygonal region; Module 202 is set a square or rectangular zone can be set arbitrarily, the length and the height of this square or rectangular promptly is set as the scope of icon A in covering plate B.In this preferred embodiment, the scope of the icon A of this setting in covering plate B is: largest square or rectangle in the indication range of illiteracy plate B.
Whether set with module 202 is set the actual range that said judge module 203 is used for judging said icon this icon consistent in the scope of covering plate.
If inconsistent, said Zoom module 204 is used for that icon is carried out convergent-divergent to be handled, and the actual range that makes icon is consistent with the said scope that module 202 settings are set.Particularly; If the scope that is provided with is a square, this foursquare length and height are respectively 0.9 centimetre, and the actual range of icon A is long 1 centimetre, high 0.8 centimetre; Then said Zoom module 204 narrows down to 0.9 centimetre with the length in the actual range of icon A, and height is amplified to 0.9 centimetre.
Said synthesis module 205 is used for synthetic said icon and covers plate, generates synthetic icon.In the present embodiment, the said synthetic synthesis module 205 that is meant calls the control Testview in the Android operating system, icon A is covered cover on the plate B, synthetic icon C.As shown in Figure 3, icon A is covered in the polygonal region that covers among the plate B, synthesized an icon C.
As shown in Figure 2, be the process flow diagram of icon disposal route of the present invention preferred embodiment.
Step S10, read module 201 read the attribute that covers plate.The attribute of said illiteracy plate comprises the amount of capacity of actual range, the indication range of covering plate of covering plate, the form that covers plate, the store path that covers plate and illiteracy plate.In this preferred embodiment; The viewing area of said illiteracy plate can be circle, polygon and other arbitrary graphic; The viewing area of this illiteracy plate can also show that particularly, the polygon that covers among Fig. 3 among the plate B can be red or yellow with various colors.The user can be through the synthetic new icon of the masking-out of different colours or different viewing areas; Make the user just can distinguish dissimilar icons through covering plate; For example; With the viewing area be one type for the synthetic icon of circular illiteracy plate, with the viewing area be that the synthetic icon of leg-of-mutton illiteracy plate is other one type.
Step S20 is provided with module 202 and according to the indication range of the said illiteracy plate that reads the scope of icon in covering plate is set.In this preferred embodiment; Module 202 is set in the indication range of covering plate, a residing scope of icon is set arbitrarily; As shown in Figure 3, the indication range of covering plate B is a polygonal region, in this polygonal region; Module 202 is set a square or rectangular zone can be set arbitrarily, the length and the height of this square or rectangular promptly is set as the scope of icon A in covering plate B.In this preferred embodiment, the scope of the icon A of this setting in covering plate B is: largest square or rectangle in the indication range of illiteracy plate B.
Step S30, read module 201 reads the attribute of icon respectively.The attribute of said icon comprises the actual range of icon, the indication range of icon, the form of icon, the store path of icon and the amount of capacity of icon.
Step S40, judge module 203 judge whether the actual range of said icon is consistent with the scope of icon in covering plate that module 202 settings are set.Judge module 203 judges that whether the actual range of said icon with the consistent mode of scope that is provided with is: the actual range (long and high) and the scope that is provided with (long and height) of said icon are compared; If the length in the length in the actual range of icon and the scope of setting is unequal; Or high unequal in the scope of height in the actual range of this icon and setting, then get into step S50.If the appearance in the scope of length in the actual range of icon and setting etc., and the height in the scope of the height in the actual range and setting equates, then gets into step S60.
Step S50,204 pairs of icons of Zoom module carry out convergent-divergent to be handled, and the actual range that makes icon is consistent with the said scope that module 202 settings are set.Particularly; If the scope that is provided with is a square, this foursquare length and height are respectively 0.9 centimetre, and the actual range of icon A is long 1 centimetre, high 0.8 centimetre; Then said Zoom module 204 narrows down to 0.9 centimetre with the length in the actual range of icon A, and height is amplified to 0.9 centimetre.
Step S60, synthesis module 205 synthetic said icons and illiteracy plate generate synthetic icon.Particularly, as shown in Figure 3, said synthesis module 205 calls the control Testview in the Android operating system, and icon A is covered in the polygonal region that covers among the plate B, generates a synthetic icon C.
In addition; Said icon disposal route can also be widely used in desktop computer and the notebook computer; This method can adopt the masking-out of different colours or different viewing areas to distinguish to dissimilar icons, and the user can distinguish different icons through distinguishing masking-out, for example; With the viewing area be one type for the synthetic icon of circular illiteracy plate, with the viewing area be that the synthetic icon of leg-of-mutton illiteracy plate is other one type.Owing to obtain the unified icon of style based on the reprocessing to icon, so the style design of the original icon of third party has no influence to operating system, the behavior of third party's installation kit (APK) bag can not appear changing in said icon disposal route yet.Said icon disposal route has realized the unification of icon style on the basis of not changing original code of third party and resource, no any specific (special) requirements can realize the unified function of icon style to third party's installation kit (APK).In addition owing to utilized the control Testview in the Android operating system, so this icon disposal route carry out the icon style unitized in the process, the loading velocity that not loss Android uses.
It should be noted last that; Above embodiment is only unrestricted in order to technical scheme of the present invention to be described; Although the present invention is specified with reference to above preferred embodiment; Those of ordinary skill in the art should be appreciated that and can make amendment or be equal to replacement technical scheme of the present invention, and do not break away from the spirit and the scope of technical scheme of the present invention.
Claims (8)
1. an icon disposal system runs in the hand-hold mobile electronic device, it is characterized in that, this system comprises:
Read module is used to read the attribute of icon and the attribute of illiteracy plate, and the attribute of said icon comprises the actual range of icon, and the attribute of said illiteracy plate comprises the indication range of covering plate;
Module is set, is used for icon being set in the scope of covering plate according to the indication range of said illiteracy plate;
Judge module is used for judging whether the actual range of said icon is consistent in the scope of covering plate with set icon;
Zoom module, be used for when the actual range of said icon and set icon when the scope of covering plate is inconsistent, icon is carried out convergent-divergent handles, make the actual range of icon consistent with the set scope of icon in the illiteracy plate; And
Synthesis module is used for synthetic said icon and covers plate, generates synthetic icon.
2. icon disposal system as claimed in claim 1 is characterized in that, described hand-hold mobile electronic device is mobile phone or PDA.
3. icon disposal system as claimed in claim 1; It is characterized in that; The attribute of said icon also comprises the indication range of icon, the form of icon, the store path of icon and the amount of capacity of icon, and the attribute of said illiteracy plate also comprises the amount of capacity of actual range, the form that covers plate that covers plate, the store path that covers plate and illiteracy plate.
4. icon disposal system as claimed in claim 1 is characterized in that, the scope that said icon is provided with in covering plate is largest square or rectangle in the indication range of covering plate.
5. icon disposal route, this method is applied to it is characterized in that this method may further comprise the steps in the described system of claim 1:
Read the attribute that covers plate, the attribute of said illiteracy plate comprises the indication range of covering plate;
Indication range according to said illiteracy plate is provided with the scope of icon in covering plate;
Read the attribute of icon, the attribute of said icon comprises the actual range of icon;
Whether the actual range of judging said icon is consistent with the set scope of icon in covering plate;
When the actual range of said icon and set icon are covering scope in the plate when inconsistent, icon is carried out convergent-divergent handle, make the actual range of icon consistent with the set scope of icon in the illiteracy plate; And
Synthetic said icon and illiteracy plate generate synthetic icon.
6. icon disposal route as claimed in claim 5 is characterized in that, described hand-hold mobile electronic device is mobile phone or PDA.
7. icon disposal route as claimed in claim 5; It is characterized in that; The attribute of said icon also comprises the indication range of icon, the form of icon, the store path of icon and the amount of capacity of icon, and the attribute of said illiteracy plate also comprises the amount of capacity of actual range, the form that covers plate that covers plate, the store path that covers plate and illiteracy plate.
8. icon disposal route as claimed in claim 5 is characterized in that, the scope that said icon is provided with in covering plate is largest square or rectangle in the indication range of covering plate.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102178655A CN102314291A (en) | 2010-06-30 | 2010-06-30 | Icon processing system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102178655A CN102314291A (en) | 2010-06-30 | 2010-06-30 | Icon processing system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102314291A true CN102314291A (en) | 2012-01-11 |
Family
ID=45427509
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010102178655A Pending CN102314291A (en) | 2010-06-30 | 2010-06-30 | Icon processing system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102314291A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102938863A (en) * | 2012-11-27 | 2013-02-20 | 乐视致新电子科技(天津)有限公司 | Intelligent television icon theme replacement method and device based on Android system |
CN103207778A (en) * | 2012-01-13 | 2013-07-17 | 青岛海信移动通信技术股份有限公司 | Method, device and mobile terminal for modifying icons |
CN103677791A (en) * | 2012-09-26 | 2014-03-26 | 联想(北京)有限公司 | Icon processing method and electronic device |
CN104866353A (en) * | 2015-05-27 | 2015-08-26 | 小米科技有限责任公司 | Method and device for displaying buttons |
CN105955588A (en) * | 2016-06-17 | 2016-09-21 | 青岛海信移动通信技术股份有限公司 | Method and apparatus for displaying icon on interface |
CN106445597A (en) * | 2016-09-28 | 2017-02-22 | 依偎科技(南昌)有限公司 | Application download method, terminal, server and system |
CN106873981A (en) * | 2017-01-11 | 2017-06-20 | 努比亚技术有限公司 | A kind of icon processing method, device and terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1337619A (en) * | 2000-06-23 | 2002-02-27 | 国际商业机器公司 | Automatic minifying-amplifying picture-mark to suit one display area in data processing system |
CN1746843A (en) * | 2004-09-08 | 2006-03-15 | 英业达股份有限公司 | Window and icon set system and method |
CN1773452A (en) * | 2004-11-10 | 2006-05-17 | 乐金电子(昆山)电脑有限公司 | Partial viewing window picture displaying method |
WO2008039693A2 (en) * | 2006-09-25 | 2008-04-03 | Adobe Systems Incorporated | Improving image masks |
CN101706724A (en) * | 2009-09-29 | 2010-05-12 | 宇龙计算机通信科技(深圳)有限公司 | Icon generation method and icon processing device |
-
2010
- 2010-06-30 CN CN2010102178655A patent/CN102314291A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1337619A (en) * | 2000-06-23 | 2002-02-27 | 国际商业机器公司 | Automatic minifying-amplifying picture-mark to suit one display area in data processing system |
CN1746843A (en) * | 2004-09-08 | 2006-03-15 | 英业达股份有限公司 | Window and icon set system and method |
CN1773452A (en) * | 2004-11-10 | 2006-05-17 | 乐金电子(昆山)电脑有限公司 | Partial viewing window picture displaying method |
WO2008039693A2 (en) * | 2006-09-25 | 2008-04-03 | Adobe Systems Incorporated | Improving image masks |
CN101706724A (en) * | 2009-09-29 | 2010-05-12 | 宇龙计算机通信科技(深圳)有限公司 | Icon generation method and icon processing device |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103207778A (en) * | 2012-01-13 | 2013-07-17 | 青岛海信移动通信技术股份有限公司 | Method, device and mobile terminal for modifying icons |
CN103677791A (en) * | 2012-09-26 | 2014-03-26 | 联想(北京)有限公司 | Icon processing method and electronic device |
CN103677791B (en) * | 2012-09-26 | 2017-11-07 | 联想(北京)有限公司 | A kind of icon processing method and electronic equipment |
CN102938863A (en) * | 2012-11-27 | 2013-02-20 | 乐视致新电子科技(天津)有限公司 | Intelligent television icon theme replacement method and device based on Android system |
CN102938863B (en) * | 2012-11-27 | 2016-08-17 | 乐视致新电子科技(天津)有限公司 | Intelligent television icon theme replacement method based on android system and device |
CN104866353A (en) * | 2015-05-27 | 2015-08-26 | 小米科技有限责任公司 | Method and device for displaying buttons |
CN104866353B (en) * | 2015-05-27 | 2019-03-15 | 小米科技有限责任公司 | The method and device of the Show Button |
CN105955588A (en) * | 2016-06-17 | 2016-09-21 | 青岛海信移动通信技术股份有限公司 | Method and apparatus for displaying icon on interface |
CN106445597A (en) * | 2016-09-28 | 2017-02-22 | 依偎科技(南昌)有限公司 | Application download method, terminal, server and system |
CN106873981A (en) * | 2017-01-11 | 2017-06-20 | 努比亚技术有限公司 | A kind of icon processing method, device and terminal |
CN106873981B (en) * | 2017-01-11 | 2020-03-31 | 努比亚技术有限公司 | Icon processing method and device and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102314291A (en) | Icon processing system and method | |
CN106325687B (en) | Method and terminal for calling program | |
CN104657058A (en) | Screenshot method | |
CN110909275B (en) | Page browsing method and device and electronic equipment | |
CN104679405A (en) | Terminal | |
CN107844352A (en) | A kind of application interface collocation method and device | |
CN108989704B (en) | Image generation method and device and terminal equipment | |
CN104156222A (en) | Method for self-defining Android equipment desktop | |
CN106227483B (en) | Display control method and mobile terminal | |
CN102693238B (en) | Widget application process, system and multimedia terminal | |
CN104657668A (en) | Terminal | |
CN105224318A (en) | A kind of information processing method and electronic equipment | |
CN111222611B (en) | Color-based stacked three-dimensional code encoding method, encoding device, decoding method, decoding device and storage medium | |
CN107704253B (en) | Control character color transformation method and system and electronic device | |
CN108052212A (en) | A kind of method, terminal and computer-readable medium for inputting word | |
CN106293658B (en) | Interface component generation method and equipment | |
US10254959B2 (en) | Method of inputting a character into a text string using a sliding touch gesture, and electronic device therefor | |
CN109992580A (en) | Processing method and processing device, storage medium, the computer equipment of table data | |
KR102204047B1 (en) | Apparatus and method for managing application storage area of mobile terminal | |
CN104657991A (en) | Picture processing method | |
CN107193815B (en) | Page code processing method, device and equipment | |
US20140223354A1 (en) | Method and system for creating floating keys in a portable device | |
CN106293369A (en) | Exchange method based on barrage, interactive device and subscriber equipment | |
CN108846879B (en) | Color plate generation method and device | |
CN107862010B (en) | Method and device for acquiring information of application system of Internet of things and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1161920 Country of ref document: HK |
|
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120111 |
|
REG | Reference to a national code |
Ref country code: HK Ref legal event code: WD Ref document number: 1161920 Country of ref document: HK |