Searched refs:average_color (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/skia/ext/ |
D | image_operations_unittest.cc | 56 const SkColor average_color = in AveragePixel() local 61 return average_color; in AveragePixel() 263 int dest_w, int dest_h, SkColor average_color, in CheckResizeMethodShouldAverageGrid() argument 310 float distance = ColorsEuclidianDistance(average_color, actual_color); in CheckResizeMethodShouldAverageGrid() 317 << ", expected (avg) hex: " << average_color in CheckResizeMethodShouldAverageGrid() 500 const SkColor average_color = AveragePixel(colors, arraysize(colors)); in TEST() local 550 dest_w, dest_h, average_color, in TEST()
|
/external/chromium_org/chrome/browser/ui/gtk/ |
D | gtk_util.cc | 764 GdkColor average_color; in AverageColors() local 765 average_color.pixel = 0; in AverageColors() 766 average_color.red = (color_one.red + color_two.red) / 2; in AverageColors() 767 average_color.green = (color_one.green + color_two.green) / 2; in AverageColors() 768 average_color.blue = (color_one.blue + color_two.blue) / 2; in AverageColors() 769 return average_color; in AverageColors()
|
/external/chromium/chrome/browser/ui/gtk/ |
D | gtk_util.cc | 836 GdkColor average_color; in AverageColors() local 837 average_color.pixel = 0; in AverageColors() 838 average_color.red = (color_one.red + color_two.red) / 2; in AverageColors() 839 average_color.green = (color_one.green + color_two.green) / 2; in AverageColors() 840 average_color.blue = (color_one.blue + color_two.blue) / 2; in AverageColors() 841 return average_color; in AverageColors()
|
/external/chromium_org/chrome/browser/ui/gtk/omnibox/ |
D | omnibox_view_gtk.cc | 806 GdkColor average_color = gtk_util::AverageColors( in SetBaseColor() local 809 g_object_set(faded_text_tag_, "foreground-gdk", &average_color, NULL); in SetBaseColor()
|
/external/chromium/chrome/browser/autocomplete/ |
D | autocomplete_edit_view_gtk.cc | 965 GdkColor average_color = gtk_util::AverageColors( in SetBaseColor() local 968 g_object_set(faded_text_tag_, "foreground-gdk", &average_color, NULL); in SetBaseColor()
|