Home
last modified time | relevance | path

Searched refs:color_list (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/chrome/common/extensions/manifest_handlers/
Dtheme_handler.cc66 const base::ListValue* color_list = NULL; in LoadColors() local
70 if (!iter.value().GetAsList(&color_list) || in LoadColors()
72 ((color_list->GetSize() != 3) && in LoadColors()
73 ((color_list->GetSize() != 4) || in LoadColors()
76 !color_list->GetDouble(3, &alpha))) || in LoadColors()
78 !color_list->GetInteger(0, &color) || in LoadColors()
79 !color_list->GetInteger(1, &color) || in LoadColors()
80 !color_list->GetInteger(2, &color)) { in LoadColors()
/external/chromium_org/chrome/browser/themes/
Dbrowser_theme_pack.cc1049 const base::ListValue* color_list; in ReadColorsFromJSON() local
1050 if (iter.value().GetAsList(&color_list) && in ReadColorsFromJSON()
1051 ((color_list->GetSize() == 3) || (color_list->GetSize() == 4))) { in ReadColorsFromJSON()
1054 if (color_list->GetInteger(0, &r) && in ReadColorsFromJSON()
1055 color_list->GetInteger(1, &g) && in ReadColorsFromJSON()
1056 color_list->GetInteger(2, &b)) { in ReadColorsFromJSON()
1057 if (color_list->GetSize() == 4) { in ReadColorsFromJSON()
1060 if (color_list->GetDouble(3, &alpha)) { in ReadColorsFromJSON()
1062 } else if (color_list->GetInteger(3, &alpha_int) && in ReadColorsFromJSON()
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/
DSDL_sysvideo.cc797 palette->colors[i].r = cmap->color_list[i].red; in BE_GL_LoadLibrary()
798 palette->colors[i].g = cmap->color_list[i].green; in BE_GL_LoadLibrary()
799 palette->colors[i].b = cmap->color_list[i].blue; in BE_GL_LoadLibrary()