发明名称 |
Automated graphical user-interface layout |
摘要 |
Embodiments of the present disclosure relate to automatic generation of dynamically changing layouts for a graphical user-interface. Specifically, embodiments of the present disclosure employ analysis of an image associated with the view (e.g., either the current view or a future view) of the graphical user-interface to determine colors that are complementary to the image. The colors are applied to the view, such that the color scheme of the view matches the image. |
申请公布号 |
US9397844(B2) |
申请公布日期 |
2016.07.19 |
申请号 |
US201313893031 |
申请日期 |
2013.05.13 |
申请人 |
APPLE INC. |
发明人 |
Howard Joe R.;Frick Brian R.;Martin Timothy B.;Sanders Christopher John |
分类号 |
H04L12/18;G06F3/0484;G06T11/60 |
主分类号 |
H04L12/18 |
代理机构 |
Morgan, Lewis & Bockius LLP |
代理人 |
Morgan, Lewis & Bockius LLP |
主权项 |
1. A non-transitory computer-readable medium, comprising computer-readable instructions to:
provide a graphical user-interface to display content, wherein the graphical user-interface has a background color; analyze an image associated with a current view of the content to determine a set of colors found in the image; determine whether each of the colors in the set of colors found in the image does not contrast with the background color; in accordance with a determination that the colors in the set of colors found in the image do not contrast with the background color, use a fallback color as a primary text color of the graphical-user interface, wherein the fallback color is different from dominant colors in the image; and in accordance with a determination that at least one of the colors in the set of colors found in the image does contrast with the background color:
apply a primary text color to a first level of text in the graphical user-interface, wherein the primary text color is determined from the set of colors found in the image; andapply a secondary text color to a second level of text in the graphical user-interface, wherein the secondary text color is determined from the set of colors found in the image. |
地址 |
Cupertino CA US |