Method and system for setting interface element colors
AssigneeAlibaba Group Holding Limited
InventorsShuai Chen, Zhi Li, Tao Lin, Xushu Lu, Junlin Tian
Life of this patent
Estimating the term…
Abstract
Setting interface element colors is disclosed including rendering an interface element, determining first color values, assigning a value to a color attribute of the interface element based on the first color values, and updating the interface element according to the assigned value.
Claims31
A method for setting interface element colors, comprising:
- rendering an interface element to be displayed on a mobile device, the interface element corresponding to an interface element of an application;
- determining first color values, wherein the determining of the first color values comprises:
- performing one or more of the following:
- determining the first color values based on a status of the interface element, the status corresponding to pressed, normal, or disabled;
- determining the first color values based on a designated image, the designated image corresponding to desktop wallpaper, lock screen wallpaper, or both;
- or
- determining the first color values based on a designated event, the designated event relating to a time-related event;
- assigning a value to a color attribute of the interface element based on the first color values;
- and
- updating the interface element according to the assigned value.
A system for setting interface element colors, comprising:
- a processor;
- and
- a memory coupled with the processor, wherein the memory is configured to provide the processor with instructions which when executed cause the processor to:
- render an interface element to be displayed on a mobile device, the interface element corresponding to an interface element of an application;
- determine first color values, wherein the determining of the first color values comprises to:
- perform one or more of the following:
- determine the first color values based on a status of the interface element, the status corresponding to pressed, normal, or disabled;
- determine the first color values based on a designated image, the designated image corresponding to desktop wallpaper, lock screen wallpaper, or both;
- or
- determine the first color values based on a designated event, the designated event relating to a time-related event;
- assign a value to a color attribute of the interface element based on the first color values;
- and
- update the interface element according to the assigned value.
A computer program product for setting interface element colors, the computer program product being embodied in a tangible non-transitory computer readable storage medium and comprising computer instructions for:
- rendering an interface element to be displayed on a mobile device, the interface element corresponding to an interface element of an application;
- determining first color values, wherein the determining of the first color values comprises:
- performing one or more of the following:
- determining the first color values based on a status of the interface element, the status corresponding to pressed, normal, or disabled;
- determining the first color values based on a designated image, the designated image corresponding to desktop wallpaper, lock screen wallpaper, or both;
- or
- determining the first color values based on a designated event, the designated event relating to a time-related event;
- assigning a value to a color attribute of the interface element based on the first color values;
- and
- updating the interface element according to the assigned value.
Dependencies are inferred from the claim text.