Searched defs:color_list (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/chrome/common/extensions/manifest_handlers/
H A Dtheme_handler.cc66 const base::ListValue* color_list = NULL; local
70 if (!iter.value().GetAsList(&color_list) ||
72 ((color_list->GetSize() != 3) &&
73 ((color_list->GetSize() != 4) ||
76 !color_list->GetDouble(3, &alpha))) ||
78 !color_list->GetInteger(0, &color) ||
79 !color_list->GetInteger(1, &color) ||
80 !color_list->GetInteger(2, &color)) {
/external/chromium/chrome/browser/themes/
H A Dbrowser_theme_pack.cc672 ListValue* color_list; local
673 if (colors_value->GetList(*iter, &color_list) &&
674 ((color_list->GetSize() == 3) || (color_list->GetSize() == 4))) {
677 if (color_list->GetInteger(0, &r) &&
678 color_list->GetInteger(1, &g) &&
679 color_list->GetInteger(2, &b)) {
680 if (color_list->GetSize() == 4) {
683 if (color_list->GetDouble(3, &alpha)) {
685 } else if (color_list
[all...]
/external/chromium_org/chrome/browser/themes/
H A Dbrowser_theme_pack.cc1027 const ListValue* color_list; local
1028 if (iter.value().GetAsList(&color_list) &&
1029 ((color_list->GetSize() == 3) || (color_list->GetSize() == 4))) {
1032 if (color_list->GetInteger(0, &r) &&
1033 color_list->GetInteger(1, &g) &&
1034 color_list->GetInteger(2, &b)) {
1035 if (color_list->GetSize() == 4) {
1038 if (color_list->GetDouble(3, &alpha)) {
1040 } else if (color_list
[all...]
/external/chromium/chrome/common/extensions/
H A Dextension.cc1878 ListValue* color_list = NULL; local
1883 if (!colors_value->GetListWithoutPathExpansion(*iter, &color_list) ||
1885 ((color_list->GetSize() != 3) &&
1886 ((color_list->GetSize() != 4) ||
1888 (!color_list->GetDouble(3, &alpha) &&
1889 !color_list->GetInteger(3, &alpha_int)))) ||
1891 !color_list->GetInteger(0, &color) ||
1892 !color_list->GetInteger(1, &color) ||
1893 !color_list->GetInteger(2, &color)) {
/external/grub/stage2/
H A Dbuiltins.c582 static char *color_list[16] =
632 if (grub_strcmp (color_list[i], str) == 0)
646 if (grub_strcmp (color_list[i], str) == 0)
576 static char *color_list[16] = local

Completed in 144 milliseconds