Home
last modified time | relevance | path

Searched refs:colorlist (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Lib/lib-tk/test/test_tkinter/
Dtest_images.py116 def colorlist(self, *args): member in PhotoImageTest
237 self.assertEqual(image.get(4, 6), self.colorlist(0, 0, 0))
275 self.assertEqual(image.get(4, 6), self.colorlist(255, 0, 0))
277 self.colorlist(0, 128 if tkinter.TkVersion >= 8.6
279 self.assertEqual(image.get(4, 7), self.colorlist(0, 0, 255))
280 self.assertEqual(image.get(5, 7), self.colorlist(255, 255, 0))
283 self.assertEqual(image.get(0, 0), self.colorlist(255, 0, 0))
284 self.assertEqual(image.get(1, 0), self.colorlist(0, 255, 0))
285 self.assertEqual(image.get(0, 1), self.colorlist(0, 0, 255))
286 self.assertEqual(image.get(1, 1), self.colorlist(255, 255, 0))
[all …]
/external/python/cpython3/Lib/tkinter/test/test_tkinter/
Dtest_images.py115 def colorlist(self, *args): member in PhotoImageTest
236 self.assertEqual(image.get(4, 6), self.colorlist(0, 0, 0))
274 self.assertEqual(image.get(4, 6), self.colorlist(255, 0, 0))
276 self.colorlist(0, 128 if tkinter.TkVersion >= 8.6
278 self.assertEqual(image.get(4, 7), self.colorlist(0, 0, 255))
279 self.assertEqual(image.get(5, 7), self.colorlist(255, 255, 0))
282 self.assertEqual(image.get(0, 0), self.colorlist(255, 0, 0))
283 self.assertEqual(image.get(1, 0), self.colorlist(0, 255, 0))
284 self.assertEqual(image.get(0, 1), self.colorlist(0, 0, 255))
285 self.assertEqual(image.get(1, 1), self.colorlist(255, 255, 0))
[all …]
/external/libjpeg-turbo/
Djquant2.c626 JSAMPLE colorlist[]) in find_nearby_colors() argument
747 colorlist[ncolors++] = (JSAMPLE)i; in find_nearby_colors()
755 int numcolors, JSAMPLE colorlist[], JSAMPLE bestcolor[]) in find_best_colors() argument
791 icolor = colorlist[i]; in find_best_colors()
846 JSAMPLE colorlist[MAXNUMCOLORS]; in fill_inverse_cmap() local
867 numcolors = find_nearby_colors(cinfo, minc0, minc1, minc2, colorlist); in fill_inverse_cmap()
870 find_best_colors(cinfo, minc0, minc1, minc2, numcolors, colorlist, in fill_inverse_cmap()
/external/ImageMagick/MagickCore/
Dwidget.c1616 **colorlist, in XColorBrowserWidget() local
1694 colorlist=GetColorList(glob_pattern,&colors,exception); in XColorBrowserWidget()
1695 if (colorlist == (char **) NULL) in XColorBrowserWidget()
1701 colorlist=GetColorList(glob_pattern,&colors,exception); in XColorBrowserWidget()
1702 if (colorlist == (char **) NULL) in XColorBrowserWidget()
1717 if (WidgetTextWidth(font_info,colorlist[i]) > text_width) in XColorBrowserWidget()
1718 text_width=WidgetTextWidth(font_info,colorlist[i]); in XColorBrowserWidget()
1973 colorlist[i]=DestroyString(colorlist[i]); in XColorBrowserWidget()
1974 if (colorlist != (char **) NULL) in XColorBrowserWidget()
1975 colorlist=(char **) RelinquishMagickMemory(colorlist); in XColorBrowserWidget()
[all …]
/external/ImageMagick/PerlMagick/
DMagick.xs12652 **colorlist; in QueryColor() local
12657 colorlist=GetColorInfoList("*",&colors,exception); in QueryColor()
12661 PUSHs(sv_2mortal(newSVpv(colorlist[i]->name,0))); in QueryColor()
12663 colorlist=(const ColorInfo **) in QueryColor()
12664 RelinquishMagickMemory((ColorInfo **) colorlist); in QueryColor()
/external/ImageMagick/PerlMagick/quantum/
Dquantum.xs.in12769 **colorlist; local
12774 colorlist=GetColorInfoList("*",&colors,exception);
12778 PUSHs(sv_2mortal(newSVpv(colorlist[i]->name,0)));
12780 colorlist=(const ColorInfo **)
12781 RelinquishMagickMemory((ColorInfo **) colorlist);