CN104657056A - Theme color adjustment method - Google Patents

Theme color adjustment method Download PDF

Info

Publication number
CN104657056A
CN104657056A CN201510057377.5A CN201510057377A CN104657056A CN 104657056 A CN104657056 A CN 104657056A CN 201510057377 A CN201510057377 A CN 201510057377A CN 104657056 A CN104657056 A CN 104657056A
Authority
CN
China
Prior art keywords
terminal
color
colors
operational order
user
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
Application number
CN201510057377.5A
Other languages
Chinese (zh)
Inventor
鲁溢
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201510057377.5A priority Critical patent/CN104657056A/en
Publication of CN104657056A publication Critical patent/CN104657056A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

The embodiments of the invention provide a theme color adjustment method. The method comprises the steps: acquiring a display interface of a terminal; detecting selecting operations of a user and determining at least two primarily-selected colors selected by the user in the display interface; detecting an operating instruction of the user and synthesizing the at least two primarily-selected colors; adjusting a theme color of the terminal according to a synthetic color. According to the embodiments of the invention, the theme color of the terminal can be adjusted according to the synthetic color, so that the customization of the theme color is realized, and user experience is improved.

Description

A kind of method of adjustment of theme colors
Technical field
The present invention relates to user interface techniques field, particularly relate to a kind of method of adjustment of theme colors.
Background technology
Along with the development of terminal technology, visual creation and the operation intention of theme seem particularly important.Nowadays, the setting of theme is all enter theme by user to arrange the page, selects a theme to change existing theme by user, troublesome poeration, and concerning user, can not carry out self-defined to theme vision, can not customize theme in other words, be difficult to meet consumers' demand.
Summary of the invention
The embodiment of the present invention provides a kind of method of adjustment of theme colors, can according to the color through synthesis, and the theme colors of adjustment terminal, realizes the customization of theme colors, promote Consumer's Experience.
Embodiments provide a kind of method of adjustment of theme colors, comprising:
Obtain the display interface of terminal;
Detect the selection operation of user, in described display interface, determine at least two primary election colors that user selects;
Detect the operational order of user, described at least two primary election colors are synthesized;
According to the color through synthesis, adjust the theme colors of described terminal.
In the embodiment of the present invention, by obtaining the display interface of terminal, detect the selection operation of user, in display interface, determine at least two primary election colors that user selects, detect the operational order of user, at least two primary election colors are synthesized, according to the color through synthesis, the theme colors of adjustment terminal, can realize the customization of theme colors, promotes Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the method for adjustment of a kind of theme colors provided in first embodiment of the invention;
Fig. 2 is the schematic flow sheet of the method for adjustment of a kind of theme colors provided in second embodiment of the invention;
Fig. 3 is the schematic flow sheet of the method for adjustment of a kind of theme colors provided in third embodiment of the invention;
Fig. 4 is the structural representation of a kind of terminal provided in first embodiment of the invention;
Fig. 5 is the structural representation of the color synthesis unit of Fig. 4 in first embodiment of the invention;
Fig. 6 is the structural representation of the color synthesis unit of Fig. 4 in second embodiment of the invention;
Fig. 7 is the structural representation of the color synthesis unit of Fig. 4 in third embodiment of the invention;
Fig. 8 is the structural representation of the color synthesis unit of Fig. 4 in fourth embodiment of the invention;
Fig. 9 is the structural representation of the color synthesis unit of Fig. 4 in fifth embodiment of the invention;
Figure 10 is the structural representation of the color adjusting unit of Fig. 4 in the embodiment of the present invention;
Figure 11 is the structural representation of a kind of terminal provided in second embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of method of adjustment of theme colors, by obtaining the display interface of terminal, detect the selection operation of user, in display interface, determine at least two primary election colors that user selects, detect the operational order of user, at least two primary election colors are synthesized, according to the color through synthesis, the theme colors of adjustment terminal, can realize the customization of theme colors, promotes Consumer's Experience.
The target image that the display interface that the embodiment of the present invention is mentioned to can be captured by camera for terminal.Optionally, display interface can for the target image stored in the image storage of terminal, the picture such as prestored, photo or theme etc.
The selection operation of the user that the embodiment of the present invention is mentioned to can comprise user and click display interface.Optionally, the selection operation of user can comprise user and to slide in display interface or user confines subregion etc. in display interface.
The primary election color that the embodiment of the present invention is mentioned to can be the color that touch point that user operates in display interface is corresponding.Optionally, primary election color can be average color corresponding to touch area that user operates in display interface.Concrete not by the restriction of the embodiment of the present invention.
The operational order that the embodiment of the present invention is mentioned to can comprise: the operational order etc. that the sliding distance of the operational order that the operational order that the acceleration of terminal is corresponding, the anglec of rotation of terminal are corresponding or slider bar is corresponding.
The theme colors adjusting terminal in the embodiment of the present invention can comprise the adjustment subregion of terminal subject or the color in all regions.
The method of adjustment of above-mentioned theme colors may operate in the terminals such as smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer or wearable intelligent equipment.
Fig. 1 is the schematic flow sheet of the method for adjustment of a kind of theme colors provided in first embodiment of the invention, and as shown in the figure, the method for adjustment of the theme colors in the embodiment of the present invention at least can comprise:
S101, obtains the display interface of terminal.
Terminal can obtain display interface.Wherein, the display interface of terminal can comprise: the target image etc. stored in the image storage of the target image that terminal is caught by camera or terminal.Such as, user finds the color liked around in environment, can start camera by control terminal, by camera captured target image, determine that target image is the display interface of terminal.And for example, user wishes that the theme colors by the first theme stored in image storage is adjusted to the theme colors of second theme, and terminal can obtain the second theme stored in image storage, determines that second theme is the display interface of terminal.And for example, user wishes the color theme colors of terminal being adjusted to the Target Photo stored in image storage, and terminal can obtain the Target Photo stored in image storage, determines that Target Photo is the display interface of terminal.
In an alternative embodiment, before terminal obtains display interface, the theme colors adjustment instruction that user inputs theme can be received.Wherein, theme colors adjustment instruction can have the physical button of theme colors adjustment function or virtual key etc. for clicking, and optionally, theme colors adjustment instruction can be default gesture information or finger print information etc.Such as, terminal can adjust instruction according to theme colors, obtain the display interface of terminal after receiving the theme colors adjustment instruction that user inputs theme.And for example, terminal according to the theme colors adjustment instruction of user's input, can start camera, and by camera captured target image, target image is defined as the display interface of terminal.
In the embodiment of the present invention, terminal receives theme colors adjustment instruction, triggers and obtains display interface, can avoid terminal Real-time Obtaining display interface, and improve display interface and obtain efficiency, resource utilization ratio is higher.
S102, detects the selection operation of user, determines at least two primary election colors that user selects in display interface.
After terminal gets display interface, this display interface can be shown, detect the selection operation of user, in display interface, determine at least two primary election colors that user selects.The selection of user operates the subregion etc. that can comprise user and click display interface, slide or confine in display interface in display interface.Other colors that primary election color can be comprised three primary colors (red, blue and green) or is combined to form by three primary colors, such as orange, purple, yellow or white etc.
In an alternative embodiment, user can click designated color in the display interface of terminal demonstration, after terminal detects the touch point of user operation, can obtain the color that touch point is corresponding, determines that this color is the primary election color that user selects.Such as, user clicks the green in display interface, after terminal detects the touch point of user operation, obtains the color that touch point is corresponding, namely green, determines the green primary election color for user's selection.
In an alternative embodiment, user can select touch area in the display interface of terminal demonstration, and such as user slides or curved slide motion at display interface cathetus, and and for example user confines the subregion in display interface, etc.After terminal detects the touch area of user operation, the average color that touch area is corresponding can be obtained, determine that this color is the primary election color that user selects.Such as, the touch area of user operation comprises redness and white, and terminal can obtain average color corresponding to touch area for pink, and determines the primary election color that pink is selected for user.
S103, detects the operational order of user, at least two primary election colors is synthesized.
Terminal can detect the operational order of user, at least two primary election colors be synthesized after determining at least two primary election colors that user selects.Operational order can be (comprise the various sensors that mobile phone is conventional according to sensor, as acceleration transducer, gyroscope, optical sensor etc.), instruction corresponding to the different pieces of information that detects of the input media such as Trackpad, concrete operations instruction can be, but not limited to comprise: the operational order etc. that the sliding distance of the operational order that the operational order that the acceleration of terminal is corresponding, the anglec of rotation of terminal are corresponding or slider bar is corresponding.
In an alternative embodiment, terminal can obtain the acceleration of terminal, and at least two primary election colors are synthesized by the operational order corresponding according to the acceleration of terminal.Such as, user can perform the operation such as " whipping " or " shaking " to terminal, terminal can obtain the acceleration of terminal, determines the operational order that acceleration is corresponding, and the operational order corresponding according to the acceleration of terminal, at least two primary election colors are synthesized.Further, when the acceleration of terminal is less than predetermined acceleration threshold value, terminal determines operational order user not detected, can obtain the acceleration of terminal after preset duration; When terminal acceleration belonging to acceleration interval be first interval time, the operational order that the acceleration of terminal is corresponding is the first operational order; When terminal acceleration belonging to acceleration interval be second interval time, the operational order that the acceleration of terminal is corresponding is the second operational order, etc.
In an alternative embodiment, terminal can obtain the anglec of rotation of terminal, and at least two primary election colors are synthesized by the operational order corresponding according to the anglec of rotation of terminal.Such as, terminal rotates along horizontal direction or vertical direction by user, and terminal can obtain the anglec of rotation of terminal, determines the operational order that the anglec of rotation is corresponding, and the operational order corresponding according to the anglec of rotation of terminal, at least two primary election colors are synthesized.Further, when the anglec of rotation of terminal is less than predetermined angle threshold value, terminal determines operational order user not detected, can obtain the anglec of rotation of terminal after preset duration; When terminal the anglec of rotation belonging to angular interval be first interval time, the operational order that the anglec of rotation of terminal is corresponding is the first operational order; When terminal the anglec of rotation belonging to angular interval be second interval time, the operational order that the anglec of rotation of terminal is corresponding is the second operational order, etc.
In an alternative embodiment, terminal can obtain the sliding distance of the slider bar of terminal profile, and at least two primary election colors are synthesized by the operational order corresponding according to the sliding distance of slider bar.Such as, user drags the slider bar of terminal demonstration, and terminal can obtain the sliding distance of slider bar, determines the operational order that sliding distance is corresponding, and the operational order corresponding according to the sliding distance of slider bar, at least two primary election colors are synthesized.Further, when the sliding distance of slider bar equals zero, terminal determines operational order user not detected, can obtain the sliding distance of slider bar after preset duration; When slider bar sliding distance belonging to sliding area between be first interval time, the operational order that the sliding distance of slider bar is corresponding is the first operational order; When slider bar sliding distance belonging to sliding area between be second interval time, the operational order that the sliding distance of slider bar is corresponding is the second operational order, etc.
In an alternative embodiment, when terminal detects the operational order of user, can the rank of determination operation instruction, obtain the color synthetic parameters that rank is corresponding, and at least two primary election colors are synthesized according to color synthetic parameters.
Further alternative, when terminal gets operational order corresponding to the acceleration of terminal, the rank of this operational order can be determined, obtain the color synthetic parameters that this rank is corresponding, at least two primary election colors are synthesized according to color synthetic parameters.Such as, when the operational order that the acceleration of terminal is corresponding is the first operational order, the rank of this operational order is first level, color synthetic parameters corresponding to first level is: the ratio of the first color is 10%, the ratio of the second color is 90%, and when primary election color comprises red and blue, the ratio of redness is adjusted to 10% by terminal, blue ratio is adjusted to 90%, and the color through synthesis is mazarine.
Further alternative, when terminal gets operational order corresponding to the anglec of rotation of terminal, the rank of this operational order can be determined, obtain the color synthetic parameters that this rank is corresponding, at least two primary election colors are synthesized according to color synthetic parameters.Such as, when the operational order that the anglec of rotation of terminal is corresponding is the second operational order, the rank of this operational order is second level, color synthetic parameters corresponding to second level is the ratio of the first color is 20%, the ratio of the second color is 80%, and when primary election color comprises red and blue, the ratio of redness is adjusted to 20% by terminal, blue ratio is adjusted to 80%, and the color through synthesis is sky blue.
Further alternative, when terminal gets operational order corresponding to the sliding distance of slider bar, the rank of this operational order can be determined, obtain the color synthetic parameters that this rank is corresponding, at least two primary election colors are synthesized according to color synthetic parameters.Such as, when ratio between sliding distance and the length of slider bar is 50%, the operational order that this sliding distance is corresponding is the 5th operational order, the rank of this operational order is fifth level, and the ratio of color synthetic parameters corresponding to fifth level to be the ratio of the first color be the 50%, second color is 50%, when primary election color comprises red and blue, the ratio of redness is adjusted to 50% by terminal, and blue ratio is adjusted to 50%, and the color through synthesis is purple.
In an alternative embodiment, when terminal detects the operational order of user, the rank of determination operation instruction, obtains the quantity of gradient color corresponding to rank, obtains the gradient color meeting quantity between at least two primary election colors.
Further alternative, when terminal gets operational order corresponding to the acceleration of terminal, the rank of this operational order can be determined, obtain the quantity of gradient color corresponding to this rank, obtain the gradient color meeting quantity between at least two primary election colors.Such as, when the operational order that the acceleration of terminal is corresponding is the first operational order, the rank of this operational order is first level, and the quantity of the gradient color that first level is corresponding is 10, when primary election color comprises red and blue, terminal can obtain 10 gradient colors between redness and blueness.
Further alternative, when terminal gets operational order corresponding to the anglec of rotation of terminal, the rank of this operational order can be determined, obtain the quantity of gradient color corresponding to this rank, obtain the gradient color meeting quantity between at least two primary election colors.Such as, when the operational order that the anglec of rotation of terminal is corresponding is the second operational order, the rank of this operational order is second level, and the quantity of the gradient color that second level is corresponding is 20, when primary election color comprises red and blue, terminal can obtain 20 gradient colors between redness and blueness.
Further alternative, when terminal gets operational order corresponding to the sliding distance of slider bar, the ratio between sliding distance and the length of slider bar can be determined, according to the rank of this this operational order of ratio-dependent, obtain the quantity of gradient color corresponding to this rank, obtain the gradient color meeting quantity between at least two primary election colors.Such as, when ratio between sliding distance and the length of slider bar is 50%, the rank of the operational order that this sliding distance is corresponding is fifth level, the quantity of the gradient color that fifth level is corresponding is 50, when primary election color comprises red and blue, terminal can obtain 50 gradient colors between redness and blueness.
S104, according to the color through synthesis, the theme colors of adjustment terminal.
Terminal can according to the color through synthesis, the theme colors of adjustment terminal.Wherein, the theme of terminal can comprise the visual elements such as standby wall paper, menu background, icon, title block, and icon can comprise application icon, search button or suspended window etc.Terminal can according to the color through synthesis, subregional theme colors in the middle part of adjustment theme.Optionally, terminal can according to the color through synthesis, the theme colors in all regions in adjustment theme.Such as, terminal theme as target icon, through synthesis color be sky blue, the color of target icon can be adjusted to sky blue by terminal.
In an alternative embodiment, terminal can obtain the final election color meeting predetermined number threshold value in gradient color, according to final election color, and the theme colors of adjustment terminal.Such as, predetermined number threshold value is 8, terminal can in the gradient color got random selecting 8 final election colors, and according to above-mentioned 8 final election colors, the theme colors of adjustment terminal.And for example, the theme that terminal determines not carry out color adjustment comprises 5 kinds of different colors, and terminal can determine that predetermined number threshold value is 5, random selecting 5 final election colors in the gradient color got, and according to above-mentioned 5 final election colors, the theme colors of adjustment terminal.
Further alternative, terminal can obtain the final election color that user chooses in gradient color, obtains the color change interval that user chooses in theme, according to final election color, and the color of adjustment color change interval.Such as, user wishes the color of title block to be adjusted to cyan, and terminal can obtain the final election color that user chooses in gradient color, i.e. cyan, obtains the color change interval that user chooses in theme, i.e. title block, and then the color of title block is adjusted to cyan.
In the method for adjustment of the theme colors shown in Fig. 1, obtain the display interface of terminal, detect the selection operation of user, in display interface, determine at least two primary election colors that user selects, detect the operational order of user, at least two primary election colors are synthesized, according to the color through synthesis, the theme colors of adjustment terminal, can realize the customization of theme colors, promotes Consumer's Experience.
Fig. 2 is the schematic flow sheet of the method for adjustment of a kind of theme colors provided in second embodiment of the invention, and as shown in the figure, the method for adjustment of the theme colors in the embodiment of the present invention can comprise:
S201, by camera captured target image, is defined as the display interface of terminal by target image.
Terminal can pass through camera captured target image, target image is defined as the display interface of terminal.Such as, user finds the color liked around in environment, can start camera by control terminal, by camera captured target image, determine that target image is the display interface of terminal.
In an alternative embodiment, terminal, by before camera captured target image, can receive the theme colors adjustment instruction that user inputs theme.Wherein, theme colors adjustment instruction can have the physical button of theme colors adjustment function or virtual key etc. for clicking, and optionally, theme colors adjustment instruction can be default gesture information or finger print information etc.Such as, terminal can adjust instruction according to theme colors, start camera, and by camera captured target image, target image is defined as the display interface of terminal after receiving the theme colors adjustment instruction that user inputs theme.
In the embodiment of the present invention, terminal receives theme colors adjustment instruction, triggers by camera captured target image, terminal can be avoided to start camera in real time, and improve target image and obtain efficiency, resource utilization ratio is higher.
S202, detects the selection operation of user, determines at least two primary election colors that user selects in display interface.
After target image is defined as the display interface of terminal by terminal, the selection operation of user can be detected, in display interface, determine at least two primary election colors that user selects.The selection of user operates the subregion etc. that can comprise user and click display interface, slide or confine in display interface in display interface.Other colors that primary election color can be comprised three primary colors or is combined to form by three primary colors, such as orange, purple, yellow or white etc.
In an alternative embodiment, user can click designated color in the display interface of terminal demonstration, after terminal detects the touch point of user operation, can obtain the color that touch point is corresponding, determines that this color is the primary election color that user selects.Such as, user clicks the green in display interface, after terminal detects the touch point of user operation, obtains the color that touch point is corresponding, namely green, determines the green primary election color for user's selection.
In an alternative embodiment, user can select touch area in the display interface of terminal demonstration, and such as user slides or curved slide motion at display interface cathetus, and and for example user confines the subregion in display interface, etc.After terminal detects the touch area of user operation, the average color that touch area is corresponding can be obtained, determine that this color is the primary election color that user selects.Such as, the touch area of user operation comprises redness and white, and terminal can obtain average color corresponding to touch area for pink, and determines the priming color that pink is selected for user.
S203, obtains the acceleration of terminal.
Terminal can obtain the acceleration of terminal determine at least two primary election colors that user selects in display interface after.Such as, user performs the operation such as " whipping " or " shaking " to terminal, and terminal can obtain the acceleration of terminal.
In an alternative embodiment, terminal can obtain the anglec of rotation of terminal determine at least two primary election colors that user selects in display interface after.Such as, terminal rotates along horizontal direction or vertical direction by user, and terminal can obtain the anglec of rotation of terminal.
In an alternative embodiment, terminal can obtain the sliding distance of the slider bar of terminal profile determine at least two primary election colors that user selects in display interface after.Such as, user drags the slider bar of terminal demonstration, and terminal can obtain the sliding distance of slider bar.
S204, obtains the operational order that the acceleration of terminal is corresponding.
After terminal gets the acceleration of terminal, the operational order that the acceleration of terminal is corresponding can be obtained.When the acceleration of terminal is less than predetermined acceleration threshold value, terminal determines operational order user not detected, can obtain the acceleration of terminal after preset duration; When terminal acceleration belonging to acceleration interval be first interval time, the operational order that the acceleration of terminal is corresponding is the first operational order; When terminal acceleration belonging to acceleration interval be second interval time, the operational order that the acceleration of terminal is corresponding is the second operational order, etc.
In an alternative embodiment, after terminal gets the anglec of rotation of terminal, the operational order that the anglec of rotation of terminal is corresponding can be obtained.When the anglec of rotation of terminal is less than predetermined angle threshold value, terminal determines operational order user not detected, can obtain the anglec of rotation of terminal after preset duration; When terminal the anglec of rotation belonging to angular interval be first interval time, the operational order that the anglec of rotation of terminal is corresponding is the first operational order; When terminal the anglec of rotation belonging to angular interval be second interval time, the operational order that the anglec of rotation of terminal is corresponding is the second operational order, etc.
In an alternative embodiment, after terminal gets the sliding distance of slider bar, the operational order that the sliding distance of slider bar is corresponding can be obtained.When the sliding distance of slider bar equals zero, terminal determines operational order user not detected, can obtain the sliding distance of slider bar after preset duration; When slider bar sliding distance belonging to sliding area between be first interval time, the operational order that the sliding distance of slider bar is corresponding is the first operational order; When slider bar sliding distance belonging to sliding area between be second interval time, the operational order that the sliding distance of slider bar is corresponding is the second operational order, etc.
S205, the rank of determination operation instruction.
After terminal gets operational order, can the rank of determination operation instruction.Such as, when the operational order that the acceleration of terminal is corresponding is the first operational order, the rank of this operational order is first level; When the operational order that the acceleration of terminal is corresponding is the second operational order, the rank of this operational order is second level.
In an alternative embodiment, terminal can determine the rank of this operational order after getting operational order corresponding to the anglec of rotation of terminal.Such as, when the operational order that the anglec of rotation of terminal is corresponding is the first operational order, the rank of this operational order is first level; When the operational order that the anglec of rotation of terminal is corresponding is the second operational order, the rank of this operational order is second level.
In an alternative embodiment, after terminal gets the sliding distance of slider bar, can determine the ratio between sliding distance and the length of slider bar, the operational order corresponding according to this ratio-dependent sliding distance, determines the rank of this operational order.Such as, when the ratio between sliding distance and the length of slider bar is 50%, the operational order that this sliding distance is corresponding is the 5th operational order, and the rank of this operational order is fifth level.
S206, obtains the color synthetic parameters that rank is corresponding.
After the rank of terminal determination operation instruction, the color synthetic parameters that rank is corresponding can be obtained.Such as, the rank of terminal determination operation instruction is first level, and color synthetic parameters corresponding to first level is: the ratio of the first color is the ratio of the 10%, second color is 90%.And for example, the rank of terminal determination operation instruction is second level, and color synthetic parameters corresponding to second level is: the ratio of the first color is the ratio of the 20%, second color is 80%.
At least two primary election colors are synthesized according to color synthetic parameters by S207.
At least two primary election colors can be synthesized according to color synthetic parameters by terminal.Such as, color synthetic parameters is: the ratio of the first color is the ratio of the 20%, second color is 80%, when at least two primary election colors are red and blue, the ratio of redness can be adjusted to 20% by terminal, and blue ratio is adjusted to 80%, and the color through synthesis is sky blue.
S208, according to the color through synthesis, the theme colors of adjustment terminal.
Terminal can according to the color through synthesis, the theme colors of adjustment terminal.Wherein, the theme of terminal can comprise the visual elements such as standby wall paper, menu background, icon, title block, and icon can comprise application icon, search button or suspended window etc.Terminal can according to the color through synthesis, subregional theme colors in the middle part of adjustment theme.Optionally, terminal can according to the color through synthesis, the theme colors in all regions in adjustment theme.Such as, terminal theme as target icon, through synthesis color be sky blue, the color of target icon can be adjusted to sky blue by terminal.
In the method for adjustment of the theme colors shown in Fig. 2, by camera captured target image, target image is defined as the display interface of terminal, detect the selection operation of user, at least two primary election colors that user selects are determined in display interface, when judging that the acceleration of terminal is greater than predetermined acceleration threshold value, determine operational order to be detected, and the rank of determination operation instruction, obtain the color synthetic parameters that rank is corresponding, at least two primary election colors are synthesized according to color synthetic parameters, according to the color through synthesis, the theme colors of adjustment terminal, the customization of theme colors can be realized, promote Consumer's Experience.
Fig. 3 is the schematic flow sheet of the method for adjustment of a kind of theme colors provided in third embodiment of the invention, and as shown in the figure, the method for adjustment of the theme colors in the embodiment of the present invention can comprise:
S301, by camera captured target image, is defined as the display interface of terminal by target image.
Terminal can pass through camera captured target image, target image is defined as the display interface of terminal.Such as, user finds the color liked around in environment, can start camera by control terminal, by camera captured target image, determine that target image is the display interface of terminal.
In an alternative embodiment, terminal, by before camera captured target image, can receive the theme colors adjustment instruction that user inputs theme.Wherein, theme colors adjustment instruction can have the physical button of theme colors adjustment function or virtual key etc. for clicking, and optionally, theme colors adjustment instruction can be default gesture information or finger print information etc.Such as, terminal can adjust instruction according to theme colors, start camera, and by camera captured target image, target image is defined as the display interface of terminal after receiving the theme colors adjustment instruction that user inputs theme.
In the embodiment of the present invention, terminal receives theme colors adjustment instruction, triggers by camera captured target image, terminal can be avoided to start camera in real time, and improve target image and obtain efficiency, resource utilization ratio is higher.
S302, detects the selection operation of user, determines at least two primary election colors that user selects in display interface.
After target image is defined as the display interface of terminal by terminal, the selection operation of user can be detected, in display interface, determine at least two primary election colors that user selects.The selection of user operates the subregion etc. that can comprise user and click display interface, slide or confine in display interface in display interface.Other colors that primary election color can be comprised three primary colors or is combined to form by three primary colors, such as orange, purple, yellow or white etc.
In an alternative embodiment, user can click designated color in the display interface of terminal demonstration, after terminal detects the touch point of user operation, can obtain the color that touch point is corresponding, determines that this color is the primary election color that user selects.Such as, user clicks the green in display interface, and terminal obtains color corresponding to touch point, namely green, determines the green primary election color for user's selection.
In an alternative embodiment, user can select touch area in the display interface of terminal demonstration, and such as user slides or curved slide motion at display interface cathetus, and and for example user confines the subregion in display interface, etc.After terminal detects the touch area of user operation, the average color that touch area is corresponding can be obtained, determine that this color is the primary election color that user selects.Such as, the touch area of user operation comprises redness and white, and terminal can obtain average color corresponding to touch area for pink, and determines the priming color that pink is selected for user.
S303, obtains the anglec of rotation of terminal.
Terminal can obtain the anglec of rotation of terminal determine at least two primary election colors that user selects in display interface after.Such as, terminal rotates along horizontal direction or vertical direction by user, and terminal can obtain the anglec of rotation of terminal.
In an alternative embodiment, terminal can obtain the acceleration of terminal determine at least two primary election colors that user selects in display interface after.Such as, user performs the operation such as " whipping " or " shaking " to terminal, and terminal can obtain the acceleration of terminal.
In an alternative embodiment, terminal can obtain the sliding distance of the slider bar of terminal profile determine at least two primary election colors that user selects in display interface after.Such as, user drags the slider bar of terminal demonstration, and terminal can obtain the sliding distance of slider bar.
S304, obtains the operational order that the anglec of rotation of terminal is corresponding.
After terminal gets the anglec of rotation of terminal, the operational order that the anglec of rotation of terminal is corresponding can be obtained.When the anglec of rotation of terminal is less than predetermined angle threshold value, terminal determines operational order user not detected, can obtain the anglec of rotation of terminal after preset duration; When terminal the anglec of rotation belonging to angular interval be first interval time, the operational order that the anglec of rotation of terminal is corresponding is the first operational order; When terminal the anglec of rotation belonging to angular interval be second interval time, the operational order that the anglec of rotation of terminal is corresponding is the second operational order, etc.
In an alternative embodiment, after terminal gets the acceleration of terminal, the operational order that the acceleration of terminal is corresponding can be obtained.When the acceleration of terminal is less than predetermined acceleration threshold value, terminal determines operational order user not detected, can obtain the acceleration of terminal after preset duration; When terminal acceleration belonging to acceleration interval be first interval time, the operational order that the acceleration of terminal is corresponding is the first operational order; When terminal acceleration belonging to acceleration interval be second interval time, the operational order that the acceleration of terminal is corresponding is the second operational order, etc.
In an alternative embodiment, after terminal gets the sliding distance of slider bar, the operational order that the sliding distance of slider bar is corresponding can be obtained.When the sliding distance of slider bar equals zero, terminal determines operational order user not detected, can obtain the sliding distance of slider bar after preset duration; When slider bar sliding distance belonging to sliding area between be first interval time, the operational order that the sliding distance of slider bar is corresponding is the first operational order; When slider bar sliding distance belonging to sliding area between be second interval time, the operational order that the sliding distance of slider bar is corresponding is the second operational order, etc.
S305, the rank of determination operation instruction.
After terminal gets operational order, can the rank of determination operation instruction.Such as, when the operational order that the anglec of rotation of terminal is corresponding is the first operational order, the rank of this operational order is first level; When the operational order that the anglec of rotation of terminal is corresponding is the second operational order, the rank of this operational order is second level.
In an alternative embodiment, terminal determines the rank of this operational order after getting operational order corresponding to the acceleration of terminal.Such as, when the operational order that the acceleration of terminal is corresponding is the first operational order, the rank of this operational order is first level; When the operational order that the acceleration of terminal is corresponding is the second operational order, the rank of this operational order is second level.
In an alternative embodiment, after terminal gets the sliding distance of slider bar, can determine the ratio between sliding distance and the length of slider bar, the operational order corresponding according to this ratio-dependent sliding distance, determines the rank of this operational order.Such as, when the ratio between sliding distance and the length of slider bar is 50%, the operational order that this sliding distance is corresponding is the 5th operational order, and the rank of this operational order is fifth level.
S306, obtains the quantity of gradient color corresponding to rank.
After the rank of terminal determination operation instruction, the quantity of gradient color corresponding to rank can be obtained.Such as, the rank of operational order is first level, and the quantity of the gradient color that first level is corresponding is 10; The rank of operational order is second level, and the quantity of the gradient color that second level is corresponding is 20.
S307, obtains the gradient color meeting quantity between at least two primary election colors.
Terminal can obtain the gradient color meeting quantity between at least two primary election colors.Such as, the quantity that terminal gets gradient color corresponding to rank is 10, and when at least two primary election colors comprise red and blue, terminal can obtain 10 gradient colors between redness and blueness.And for example, the quantity that terminal gets gradient color corresponding to rank is 20, when at least two primary election colors comprise redness, green and blue time, terminal can obtain 7 gradient colors between redness and green, obtain 7 gradient colors between green and blueness, and obtain 6 gradient colors between red and blueness.
S308, obtains the final election color meeting predetermined number threshold value in gradient color.
After terminal gets gradient color, the final election color meeting predetermined number threshold value can be obtained in gradient color.Such as, predetermined number threshold value is 8, terminal can in the gradient color got random selecting 8 final election colors.And for example, the theme that terminal determines not carry out color adjustment comprises 5 kinds of different colors, and terminal can determine that predetermined number threshold value is 5, random selecting 5 final election colors in the gradient color got.
In an alternative embodiment, terminal can obtain the final election color that user chooses in gradient color.Such as, user wishes the color of title block to be adjusted to cyan, and terminal can obtain the final election color that user chooses in gradient color, i.e. cyan.
S309, according to final election color, the theme colors of adjustment terminal.
Terminal can according to final election color, the theme colors of adjustment terminal.Terminal can according to the color through synthesis, subregional theme colors in the middle part of adjustment theme.Optionally, terminal can according to the color through synthesis, the theme colors in all regions in adjustment theme.Such as, terminal gets 8 final election colors in gradient color, can according to above-mentioned 8 final election colors, the theme colors of adjustment terminal, the color in the region of such as being answered by the first Color pair of theme is adjusted to blue, the color in the region of being answered by the second Color pair of theme is adjusted to cyan, and the color in the region of being answered by the 3rd Color pair of theme is adjusted to green, etc.
In an alternative embodiment, terminal can obtain the color change interval that user chooses in theme, according to final election color, and the color of adjustment color change interval.Such as, user wishes the color of title block to be adjusted to cyan, and terminal can obtain the final election color that user chooses in gradient color, i.e. cyan, obtains the color change interval that user chooses in theme, i.e. title block, and then the color of title block is adjusted to cyan.
In the method for adjustment of the theme colors shown in Fig. 3, by camera captured target image, target image is defined as the display interface of terminal, detect the selection operation of user, at least two primary election colors that user selects are determined in display interface, when judging that the anglec of rotation of terminal is greater than predetermined angle threshold value, determine operational order to be detected, and the rank of determination operation instruction, obtain the quantity of gradient color corresponding to rank, obtain the gradient color meeting quantity between at least two primary election colors, the final election color meeting predetermined number threshold value is obtained in gradient color, according to the theme colors of final election color adjustment terminal, the customization of theme colors can be realized, promote Consumer's Experience.
Fig. 4 is the structural representation of a kind of terminal provided in first embodiment of the invention, terminal as shown in the figure in the embodiment of the present invention at least can comprise: interface acquiring unit 410, color determining unit 420, color synthesis unit 430 and color adjusting unit 440, wherein:
Interface acquiring unit 410, for obtaining the display interface of terminal.Wherein, the display interface of terminal can comprise: the target image etc. stored in the image storage of the target image that terminal is caught by camera or terminal.
Color determining unit 420, for detecting the selection operation of user, determines at least two primary election colors that user selects in display interface.The selection of user operates the subregion etc. that can comprise user and click display interface, slide or confine in display interface in display interface.Other colors that primary election color can be comprised three primary colors or is combined to form by three primary colors, such as orange, purple, yellow or white etc.
Such as, user can click designated color in display interface, after color determining unit 420 detects the touch point of user operation, can obtain the color that touch point is corresponding, determines that this color is the primary election color that user selects.Such as, user clicks the green in display interface, after color determining unit 420 detects the touch point of user operation, obtains the color that touch point is corresponding, namely green, determines the green primary election color for user's selection.
And for example, user can select touch area in display interface, and such as user slides or curved slide motion at display interface cathetus, and and for example user confines the subregion in display interface, etc.After color determining unit 420 detects the touch area of user operation, the average color that touch area is corresponding can be obtained, determine that this color is the primary election color that user selects.Such as, the touch area of user operation comprises redness and white, and color determining unit 420 can obtain average color corresponding to touch area for pink, and determines the primary election color that pink is selected for user.
At least two primary election colors, for detecting the operational order of user, are synthesized by color synthesis unit 430.Operational order can be (comprise the various sensors that mobile phone is conventional according to sensor, as acceleration transducer, gyroscope, optical sensor etc.), instruction corresponding to the different pieces of information that detects of the input media such as Trackpad, concrete operations instruction can be, but not limited to comprise: the operational order etc. that the sliding distance of the operational order that the operational order that the acceleration of terminal is corresponding, the anglec of rotation of terminal are corresponding or slider bar is corresponding.
Color adjusting unit 440, for according to the color through synthesis, adjusts the theme colors of described terminal.Terminal can according to the color through synthesis, subregional theme colors in the middle part of adjustment theme.Optionally, terminal can according to the color through synthesis, the theme colors in all regions in adjustment theme.
As the optional embodiment of one, interface acquiring unit 410, for by camera captured target image, is defined as the display interface of terminal by target image.Such as, user finds the color liked around in environment, and can start camera by control terminal, interface acquiring unit 410, by camera captured target image, determines that target image is the display interface of terminal.
As the optional embodiment of one, the color synthesis unit 430 in the embodiment of the present invention can as shown in Figure 5, comprise further:
Acceleration obtainment unit 510, for obtaining the acceleration of terminal.
At least two primary election colors, for the operational order corresponding according to the acceleration of terminal, are synthesized by the first color synthesis unit 520.
Such as, user can perform the operation such as " whipping " or " shaking " to terminal, acceleration obtainment unit 510 can obtain the acceleration of terminal, first color synthesis unit 520 determines the operational order that acceleration is corresponding, and the operational order corresponding according to the acceleration of terminal, at least two primary election colors are synthesized.Further, when the acceleration of terminal is less than predetermined acceleration threshold value, the first color synthesis unit 520 determines operational order user not detected, and acceleration obtainment unit 510 can obtain the acceleration of terminal after preset duration; When terminal acceleration belonging to acceleration interval be first interval time, the first color synthesis unit 520 can determine that the operational order that the acceleration of terminal is corresponding is the first operational order; When terminal acceleration belonging to acceleration interval be second interval time, the first color synthesis unit 520 can determine that the operational order that the acceleration of terminal is corresponding is the second operational order, etc.
As the optional embodiment of one, the color synthesis unit 430 in the embodiment of the present invention can as shown in Figure 6, comprise further:
Anglec of rotation acquiring unit 610, for obtaining the anglec of rotation of terminal.
At least two primary election colors, for the operational order corresponding according to the anglec of rotation of terminal, are synthesized by the second color synthesis unit 620.
Such as, terminal rotates along horizontal direction or vertical direction by user, anglec of rotation acquiring unit 610 can obtain the anglec of rotation of terminal, second color synthesis unit 620 determines the operational order that the anglec of rotation is corresponding, and the operational order corresponding according to the anglec of rotation of terminal, at least two primary election colors are synthesized.Further, when the anglec of rotation of terminal is less than predetermined angle threshold value, the second color synthesis unit 620 determines operational order user not detected, and anglec of rotation acquiring unit 610 can obtain the anglec of rotation of terminal after preset duration; When terminal the anglec of rotation belonging to angular interval be first interval time, the second color synthesis unit 620 can determine that operational order corresponding to the anglec of rotation of terminal is the first operational order; When terminal the anglec of rotation belonging to angular interval be second interval time, the second color synthesis unit 620 can determine that operational order corresponding to the anglec of rotation of terminal is the second operational order, etc.
As the optional embodiment of one, the color synthesis unit 430 in the embodiment of the present invention can as shown in Figure 7, comprise further:
Sliding distance acquiring unit 710, for obtaining the sliding distance of the slider bar of terminal profile.
At least two primary election colors, for the operational order corresponding according to the sliding distance of slider bar, are synthesized by the 3rd color synthesis unit 720.
Such as, user drags the slider bar of terminal demonstration, sliding distance acquiring unit 710 can obtain the sliding distance of slider bar, 3rd color synthesis unit 720 determines the operational order that sliding distance is corresponding, and the operational order corresponding according to the sliding distance of slider bar, at least two primary election colors are synthesized.Further, when the sliding distance of slider bar equals zero, the 3rd color synthesis unit 720 determines operational order user not detected, and sliding distance acquiring unit 710 can obtain the sliding distance of slider bar after preset duration; When slider bar sliding distance belonging to sliding area between be first interval time, the 3rd color synthesis unit 720 can determine that the operational order that the sliding distance of slider bar is corresponding is the first operational order; When slider bar sliding distance belonging to sliding area between be second interval time, the 3rd color synthesis unit 720 can determine that the operational order that the sliding distance of slider bar is corresponding is the second operational order, etc.
As the optional embodiment of one, the color synthesis unit 430 in the embodiment of the present invention can as shown in Figure 8, comprise further:
First level determining unit 810, for detecting the operational order of user, the rank of determination operation instruction.
Parameter acquiring unit 820, for obtaining color synthetic parameters corresponding to rank.
Primary election color synthesis unit 830, for synthesizing at least two primary election colors according to color synthetic parameters.
Further alternative, when first level determining unit 810 gets operational order corresponding to the acceleration of terminal, the rank of this operational order can be determined, parameter acquiring unit 820 obtains color synthetic parameters corresponding to this rank, and at least two primary election colors are synthesized according to color synthetic parameters by primary election color synthesis unit 830.Such as, when the operational order that the acceleration of terminal is corresponding is the first operational order, the rank of this operational order is first level, color synthetic parameters corresponding to first level is: the ratio of the first color is 10%, the ratio of the second color is 90%, and when primary election color comprises red and blue, the ratio of redness is adjusted to 10% by primary election color synthesis unit 830, blue ratio is adjusted to 90%, and the color through synthesis is mazarine.
Further alternative, when first level determining unit 810 gets operational order corresponding to the anglec of rotation of terminal, the rank of this operational order can be determined, parameter acquiring unit 820 obtains color synthetic parameters corresponding to this rank, and at least two primary election colors are synthesized according to color synthetic parameters by primary election color synthesis unit 830.Such as, when the operational order that the anglec of rotation of terminal is corresponding is the second operational order, the rank of this operational order is second level, color synthetic parameters corresponding to second level is the ratio of the first color is 20%, the ratio of the second color is 80%, and when primary election color comprises red and blue, the ratio of redness is adjusted to 20% by primary election color synthesis unit 830, blue ratio is adjusted to 80%, and the color through synthesis is sky blue.
Further alternative, when first level determining unit 810 gets operational order corresponding to the sliding distance of slider bar, the rank of this operational order can be determined, parameter acquiring unit 820 obtains color synthetic parameters corresponding to this rank, and at least two primary election colors are synthesized according to color synthetic parameters by primary election color synthesis unit 830.Such as, when ratio between sliding distance and the length of slider bar is 50%, the operational order that this sliding distance is corresponding is the 5th operational order, the rank of this operational order is fifth level, and the ratio of color synthetic parameters corresponding to fifth level to be the ratio of the first color be the 50%, second color is 50%, when primary election color comprises red and blue, the ratio of redness is adjusted to 50% by primary election color synthesis unit 830, and blue ratio is adjusted to 50%, and the color through synthesis is purple.
As the optional embodiment of one, the color synthesis unit 430 in the embodiment of the present invention can as shown in Figure 9, comprise further:
Second level determining unit 910, for detecting the operational order of user, the rank of determination operation instruction.
Number obtainment unit 920, for obtaining the quantity of gradient color corresponding to rank.
Gradient color acquiring unit 930, for obtaining the gradient color meeting quantity between at least two primary election colors.
Further alternative, when second level determining unit 910 gets operational order corresponding to the acceleration of terminal, the rank of this operational order can be determined, number obtainment unit 920 obtains the quantity of gradient color corresponding to this rank, and gradient color acquiring unit 930 obtains the gradient color meeting quantity between at least two primary election colors.Such as, when the operational order that the acceleration of terminal is corresponding is the first operational order, the rank of this operational order is first level, the quantity of the gradient color that first level is corresponding is 10, when primary election color comprises red and blue, gradient color acquiring unit 930 can obtain 10 gradient colors between redness and blueness.
Further alternative, when second level determining unit 910 gets operational order corresponding to the anglec of rotation of terminal, the rank of this operational order can be determined, number obtainment unit 920 obtains the quantity of gradient color corresponding to this rank, and gradient color acquiring unit 930 obtains the gradient color meeting quantity between at least two primary election colors.Such as, when the operational order that the anglec of rotation of terminal is corresponding is the second operational order, the rank of this operational order is second level, the quantity of the gradient color that second level is corresponding is 20, when primary election color comprises red and blue, gradient color acquiring unit 930 can obtain 20 gradient colors between redness and blueness.
Further alternative, when second level determining unit 910 gets the sliding distance of slider bar, the ratio between sliding distance and the length of slider bar can be determined, operational order corresponding to sliding distance is obtained according to this ratio, determine the rank of this operational order, number obtainment unit 920 obtains the quantity of gradient color corresponding to this rank, and gradient color acquiring unit 930 obtains the gradient color meeting quantity between at least two primary election colors.Such as, when ratio between sliding distance and the length of slider bar is 50%, the operational order that this sliding distance is corresponding is the 5th operational order, the rank of this operational order is fifth level, the quantity of the gradient color that fifth level is corresponding is 50, when primary election color comprises red and blue, gradient color acquiring unit 930 can obtain 50 gradient colors between redness and blueness.
Further alternative, the color adjusting unit 440 in the embodiment of the present invention can as shown in Figure 10, comprise further:
Final election color acquiring unit 1010, for obtaining the final election color meeting predetermined number threshold value in gradient color.
Theme colors adjustment unit 1020, for according to final election color, adjusts the theme colors of terminal.
Such as, predetermined number threshold value is 8, final election color acquiring unit 1010 can in the gradient color got random selecting 8 final election colors, theme colors adjustment unit 1020 according to above-mentioned 8 final election colors, adjustment terminal theme colors.And for example, the theme that final election color acquiring unit 1010 determines not carry out color adjustment comprises 5 kinds of different colors, can determine that predetermined number threshold value is 5, random selecting 5 final election colors in the gradient color got, theme colors adjustment unit 1020, according to above-mentioned 5 final election colors, adjusts the theme colors of terminal.
Further alternative, final election color acquiring unit 1010, for obtaining the final election color that user chooses in gradient color.
Theme colors adjustment unit 1020, for obtaining the color change interval that user chooses in theme, and according to final election color, the color of adjustment color change interval.
Such as, user wishes the color of title block to be adjusted to cyan, final election color acquiring unit 1010 can obtain the final election color that user chooses in gradient color, i.e. cyan, theme colors adjustment unit 1020 can obtain the color change interval that user chooses in theme, i.e. title block, and then the color of title block is adjusted to cyan.
As the optional embodiment of one, the terminal in the embodiment of the present invention can also comprise:
Instruction reception unit 450, before obtaining the display interface of described terminal, receives the theme colors adjustment instruction that user inputs described theme for described interface acquiring unit 410.Wherein, theme colors adjustment instruction can have the physical button of theme colors adjustment function or virtual key etc. for clicking, and optionally, theme colors adjustment instruction can be default gesture information or finger print information etc.
Such as, after instruction reception unit 450 receives the theme colors adjustment instruction that user inputs theme, interface acquiring unit 410 can adjust instruction according to theme colors, obtains the display interface of terminal.And for example, interface acquiring unit 410 according to the theme colors adjustment instruction of user's input, can start camera, and by camera captured target image, target image is defined as the display interface of terminal.In the embodiment of the present invention, instruction reception unit 450 receives theme colors adjustment instruction, triggers interface acquiring unit 410 and obtains display interface, can avoid Real-time Obtaining display interface, and improve display interface and obtain efficiency, resource utilization ratio is higher.
As the optional embodiment of one, the theme of terminal can comprise: the visual elements such as standby wall paper, menu background, icon, title block.
In the terminal shown in Fig. 4, interface acquiring unit 410 obtains the display interface of terminal, color determining unit 420 detects the selection operation of user, in display interface, determine at least two primary election colors that user selects, color synthesis unit 430 detects the operational order of user, at least two primary election colors is synthesized, color adjusting unit 440 is according to the color through synthesis, the theme colors of adjustment terminal, can realize the customization of theme colors, promotes Consumer's Experience.
Figure 11 is the structural representation of a kind of terminal provided in second embodiment of the invention, and as shown in the figure, described terminal can comprise: at least one input media 1130, at least one output unit 1140, at least one processor 1110, such as CPU, storer 1150 and at least one bus 1120.
Wherein, above-mentioned bus 1120 is for connecting above-mentioned input media 1130, output unit 1140, processor 1110 and storer 1150.
Wherein, above-mentioned input media 1130 specifically can be the contact panel of terminal, for detecting the selection operation of user or detecting the operational order of user; Above-mentioned input media 1130 specifically can be the camera of terminal, for captured target image.
Above-mentioned output unit 1140 specifically can be the display screen of terminal, for the display interface of display terminal.
Above-mentioned storer 1150 can be high-speed RAM storer, and also can be non-labile storer (non-volatile memory), such as magnetic disk memory, for the display interface of storage terminal.Above-mentioned storer 1150 is also for storing batch processing code, and above-mentioned input media 1130, output unit 1140 and processor 1110, for calling the program code stored in storer 1150, perform and operate as follows:
Processor 1110, for obtaining the display interface of terminal.Wherein, the display interface of terminal is prestored in storer 1150.
Input media 1130, for detecting the selection operation of user, determines at least two primary election colors that user selects in described display interface.
Described at least two primary election colors, for being detected the operational order of user by input media 1130, are synthesized by processor 1110.
Processor 1110, for according to the color through synthesis, adjusts the theme colors of described terminal.
As the optional embodiment of one, processor 1110 obtains the display interface of terminal, is specifically as follows:
By input media 1130 captured target image, described target image is defined as the display interface of described terminal.
As the optional embodiment of one, input media 1130 detects the operational order of user, described at least two primary election colors is synthesized, is specifically as follows:
Obtain the acceleration of described terminal.
Described at least two primary election colors are synthesized by the operational order corresponding according to the acceleration of described terminal.
As the optional embodiment of one, input media 1130 detects the operational order of user, described at least two primary election colors is synthesized, is specifically as follows:
Obtain the anglec of rotation of described terminal.
Described at least two primary election colors are synthesized by the operational order corresponding according to the anglec of rotation of described terminal.
As the optional embodiment of one, input media 1130 detects the operational order of user, described at least two primary election colors is synthesized, is specifically as follows:
Obtain the sliding distance of the slider bar of described terminal profile.
Described at least two primary election colors are synthesized by the operational order corresponding according to the sliding distance of described slider bar.
As the optional embodiment of one, processor 1110 detects the operational order of user by input media 1130, described at least two primary election colors is synthesized, is specifically as follows:
Input media 1130 detects the operational order of user, and the rank of described operational order determined by processor 1110.
Processor 1110 obtains color synthetic parameters corresponding to described rank.
Described at least two primary election colors are synthesized according to described color synthetic parameters by processor 1110.
As the optional embodiment of one, processor 1110 detects the operational order of user by input media 1130, described at least two primary election colors is synthesized, is specifically as follows:
Input media 1130 detects the operational order of user, and the rank of described operational order determined by processor 1110.
Processor 1110 obtains the quantity of gradient color corresponding to described rank.
The gradient color of described quantity is met between at least two primary election colors described in processor 1110 obtains.
Further alternative, processor 1110, according to the color through synthesis, adjusts the theme colors of described terminal, is specifically as follows:
The final election color meeting predetermined number threshold value is obtained in described gradient color.
According to described final election color, adjust the theme colors of described terminal.
Further alternative, processor 1110 obtains the final election color meeting predetermined number threshold value in described gradient color, is specifically as follows:
Obtain the final election color that user chooses in described gradient color.
Processor 1110, according to described final election color, adjusts the theme colors of described terminal, is specifically as follows:
Obtain the color change interval that user chooses in described theme.
According to described final election color, adjust the color of described color change interval.
As the optional embodiment of one, before processor 1110 obtains the display interface of described terminal, following operation can also be performed:
Input media 1130, for receiving the theme colors adjustment instruction that user inputs described theme.
As the optional embodiment of one, the theme of terminal can comprise: the visual elements such as standby wall paper, menu background, icon, title block.
Concrete, the terminal introduced in the embodiment of the present invention can in order to implement the part or all of flow process in the method for adjustment embodiment of the theme colors that composition graphs 1 ~ Fig. 3 of the present invention introduces.
Unit in all embodiments of the present invention, universal integrated circuit can be passed through, such as CPU (CentralProcessing Unit, central processing unit), or realized by ASIC (Application Specific IntegratedCircuit, special IC).
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention device can carry out merging, divide and deleting according to actual needs.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (10)

1. a method of adjustment for theme colors, is characterized in that, comprising:
Obtain the display interface of terminal;
Detect the selection operation of user, in described display interface, determine at least two primary election colors that user selects;
Detect the operational order of user, described at least two primary election colors are synthesized;
According to the color through synthesis, adjust the theme colors of described terminal.
2. the method for claim 1, is characterized in that, the display interface of described acquisition terminal comprises:
By camera captured target image, described target image is defined as the display interface of described terminal.
3. the method for claim 1, is characterized in that, the operational order of described detection user, described at least two primary election colors is carried out synthesis and comprises:
Obtain the acceleration of described terminal;
Described at least two primary election colors are synthesized by the operational order corresponding according to the acceleration of described terminal.
4. the method for claim 1, is characterized in that, the operational order of described detection user, described at least two primary election colors is carried out synthesis and comprises:
Obtain the anglec of rotation of described terminal;
Described at least two primary election colors are synthesized by the operational order corresponding according to the anglec of rotation of described terminal.
5. the method for claim 1, is characterized in that, the operational order of described detection user, described at least two primary election colors is carried out synthesis and comprises:
Obtain the sliding distance of the slider bar of described terminal profile;
Described at least two primary election colors are synthesized by the operational order corresponding according to the sliding distance of described slider bar.
6. the method for claim 1, is characterized in that, the operational order of described detection user, described at least two primary election colors is carried out synthesis and comprises:
Detect the operational order of user, determine the rank of described operational order;
Obtain the color synthetic parameters that described rank is corresponding;
Described at least two primary election colors are synthesized according to described color synthetic parameters.
7. the method for claim 1, is characterized in that, the operational order of described detection user, described at least two primary election colors is carried out synthesis and comprises:
Detect the operational order of user, determine the rank of described operational order;
Obtain the quantity of gradient color corresponding to described rank;
The gradient color of described quantity is met between at least two primary election colors described in acquisition.
8. method as claimed in claim 7, is characterized in that, described according to the color through synthesis, the theme colors adjusting described terminal comprises:
The final election color meeting predetermined number threshold value is obtained in described gradient color;
According to described final election color, adjust the theme colors of described terminal.
9. method as claimed in claim 8, is characterized in that, the described final election color meeting predetermined number threshold value that obtains in described gradient color comprises:
Obtain the final election color that user chooses in described gradient color;
Described according to described final election color, the theme colors adjusting described terminal comprises:
Obtain the color change interval that user chooses in described theme;
According to described final election color, adjust the color of described color change interval.
10. the method as described in any one of claim 1 ~ 9, is characterized in that, before the display interface of described acquisition terminal, also comprises:
Receive the theme colors adjustment instruction that user inputs described theme.
CN201510057377.5A 2015-02-03 2015-02-03 Theme color adjustment method Pending CN104657056A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510057377.5A CN104657056A (en) 2015-02-03 2015-02-03 Theme color adjustment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510057377.5A CN104657056A (en) 2015-02-03 2015-02-03 Theme color adjustment method

Publications (1)

Publication Number Publication Date
CN104657056A true CN104657056A (en) 2015-05-27

Family

ID=53248259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510057377.5A Pending CN104657056A (en) 2015-02-03 2015-02-03 Theme color adjustment method

Country Status (1)

Country Link
CN (1) CN104657056A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106251382A (en) * 2016-08-05 2016-12-21 惠州Tcl移动通信有限公司 The switching of picture style, camera render the realization method and system updated with theme
CN107071378A (en) * 2015-11-09 2017-08-18 福特全球技术公司 Method and apparatus for the color calibration of image display device
CN109491739A (en) * 2018-10-30 2019-03-19 北京字节跳动网络技术有限公司 A kind of theme color is dynamically determined method, apparatus, electronic equipment and storage medium
CN109639883A (en) * 2018-11-20 2019-04-16 维沃移动通信有限公司 A kind of recommended method and mobile terminal of theme
CN111209070A (en) * 2020-01-06 2020-05-29 杭州涂鸦信息技术有限公司 WEB end linear gradient color-taking method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019499A (en) * 2011-09-19 2013-04-03 通用汽车环球科技运作有限责任公司 Method and system for customizing information projected from a portable device to an interface device
CN103870155A (en) * 2014-02-21 2014-06-18 联想(北京)有限公司 Information processing method and electronic equipment
CN104159032A (en) * 2014-08-20 2014-11-19 广东欧珀移动通信有限公司 Method and device of adjusting facial beautification effect in camera photographing in real time
CN104239076A (en) * 2013-06-08 2014-12-24 中兴通讯股份有限公司 Interface color adjusting method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019499A (en) * 2011-09-19 2013-04-03 通用汽车环球科技运作有限责任公司 Method and system for customizing information projected from a portable device to an interface device
CN104239076A (en) * 2013-06-08 2014-12-24 中兴通讯股份有限公司 Interface color adjusting method and device
CN103870155A (en) * 2014-02-21 2014-06-18 联想(北京)有限公司 Information processing method and electronic equipment
CN104159032A (en) * 2014-08-20 2014-11-19 广东欧珀移动通信有限公司 Method and device of adjusting facial beautification effect in camera photographing in real time

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107071378A (en) * 2015-11-09 2017-08-18 福特全球技术公司 Method and apparatus for the color calibration of image display device
CN106251382A (en) * 2016-08-05 2016-12-21 惠州Tcl移动通信有限公司 The switching of picture style, camera render the realization method and system updated with theme
CN109491739A (en) * 2018-10-30 2019-03-19 北京字节跳动网络技术有限公司 A kind of theme color is dynamically determined method, apparatus, electronic equipment and storage medium
CN109491739B (en) * 2018-10-30 2023-04-07 北京字节跳动网络技术有限公司 Theme color dynamic determination method and device, electronic equipment and storage medium
CN109639883A (en) * 2018-11-20 2019-04-16 维沃移动通信有限公司 A kind of recommended method and mobile terminal of theme
CN111209070A (en) * 2020-01-06 2020-05-29 杭州涂鸦信息技术有限公司 WEB end linear gradient color-taking method
CN111209070B (en) * 2020-01-06 2023-09-26 杭州涂鸦信息技术有限公司 Linear gradual-change color-taking method for WEB end

Similar Documents

Publication Publication Date Title
US11729514B2 (en) Image processing method and apparatus
EP2880595B1 (en) Setting an operating-system color using a photograph
KR101776147B1 (en) Application for viewing images
CN104718528B (en) Determine the method, apparatus and terminal device of the color of interface control
WO2017166621A1 (en) Split-screen displaying method and apparatus, and electronic device
CN104657056A (en) Theme color adjustment method
EP3120217B1 (en) Display device and method for controlling the same
JP2014197824A5 (en)
WO2017161904A1 (en) Method and device for displaying wallpaper image
CN105007422B (en) A kind of phase focusing method and user terminal
CN105630355A (en) Display control method and terminal
CN104081755A (en) Image processing device and image processing method
CN104994287B (en) A kind of image pickup method and mobile terminal based on wide-angle camera
CN107454255B (en) Lyric display method, mobile terminal and computer readable storage medium
CN105867727A (en) Display method and device of multiple application interfaces
CN106055197A (en) Display method and terminal for application icons
CN104914979A (en) Display control method and terminal
KR20190038429A (en) A user interface for manipulating light-field images
CN106648281B (en) Screenshot method and device
TW201344557A (en) Apparatus and method for automatically controlling display screen density
CN104270564A (en) Terminal
CN110174984A (en) A kind of information processing method and electronic equipment
CN105824534A (en) Information processing method and electronic equipment
CN105678696A (en) Image acquisition method and electronic equipment
KR101764998B1 (en) Method and system for filtering image

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150527

WD01 Invention patent application deemed withdrawn after publication