Searched refs:color_list (Results 1 – 4 of 4) sorted by relevance
/external/chromium/chrome/browser/themes/ |
D | browser_theme_pack.cc | 672 ListValue* color_list; in ReadColorsFromJSON() local 673 if (colors_value->GetList(*iter, &color_list) && in ReadColorsFromJSON() 674 ((color_list->GetSize() == 3) || (color_list->GetSize() == 4))) { in ReadColorsFromJSON() 677 if (color_list->GetInteger(0, &r) && in ReadColorsFromJSON() 678 color_list->GetInteger(1, &g) && in ReadColorsFromJSON() 679 color_list->GetInteger(2, &b)) { in ReadColorsFromJSON() 680 if (color_list->GetSize() == 4) { in ReadColorsFromJSON() 683 if (color_list->GetDouble(3, &alpha)) { in ReadColorsFromJSON() 685 } else if (color_list->GetInteger(3, &alpha_int) && in ReadColorsFromJSON()
|
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/ |
D | SDL_sysvideo.cc | 797 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()
|
/external/chromium/chrome/common/extensions/ |
D | extension.cc | 1878 ListValue* color_list = NULL; in InitFromValue() local 1883 if (!colors_value->GetListWithoutPathExpansion(*iter, &color_list) || in InitFromValue() 1885 ((color_list->GetSize() != 3) && in InitFromValue() 1886 ((color_list->GetSize() != 4) || in InitFromValue() 1888 (!color_list->GetDouble(3, &alpha) && in InitFromValue() 1889 !color_list->GetInteger(3, &alpha_int)))) || in InitFromValue() 1891 !color_list->GetInteger(0, &color) || in InitFromValue() 1892 !color_list->GetInteger(1, &color) || in InitFromValue() 1893 !color_list->GetInteger(2, &color)) { in InitFromValue()
|
/external/grub/stage2/ |
D | builtins.c | 576 static char *color_list[16] = in color_func() local 626 if (grub_strcmp (color_list[i], str) == 0) in color_func() 640 if (grub_strcmp (color_list[i], str) == 0) in color_func()
|