/external/chromium_org/third_party/skia/tools/lua/ |
gradients.lua | 16 --io.write(g.type, " gradient with ", g.colorCount, " colors\n") 18 if g.colorCount == 3 then
|
/external/skia/tools/lua/ |
gradients.lua | 16 --io.write(g.type, " gradient with ", g.colorCount, " colors\n") 18 if g.colorCount == 3 then
|
/frameworks/support/v7/palette/src/android/support/v7/graphics/ |
ColorHistogram.java | 78 int colorCount = 1; 86 colorCount++; 90 return colorCount;
|
/external/chromium_org/third_party/angle/tests/angle_tests/ |
BlendMinMaxTest.cpp | 33 const size_t colorCount = 1024; 34 Color colors[colorCount]; 35 for (size_t i = 0; i < colorCount; i++) 44 for (size_t i = 0; i < colorCount; i++)
|
/external/chromium_org/third_party/skia/src/lazy/ |
SkDiscardablePixelRef.cpp | 65 int colorCount = 0; 70 if (!fGenerator->getPixels(info, pixels, fRowBytes, colors, &colorCount)) { 83 if (colorCount > 0) { 84 fCTable.reset(SkNEW_ARGS(SkColorTable, (colors, colorCount)));
|
/external/skia/src/lazy/ |
SkDiscardablePixelRef.cpp | 65 int colorCount = 0; 70 if (!fGenerator->getPixels(info, pixels, fRowBytes, colors, &colorCount)) { 83 if (colorCount > 0) { 84 fCTable.reset(SkNEW_ARGS(SkColorTable, (colors, colorCount)));
|
/external/chromium_org/third_party/skia/src/effects/gradients/ |
SkGradientShader.cpp | 88 Thus colorCount (the caller's value, and fColorCount (our value) may 90 colorCount = 2 217 int colorCount = fColorCount = buffer.getArrayCount(); 218 if (colorCount > kColorStorageCount) { 219 size_t allocSize = (sizeof(SkColor) + sizeof(SkScalar) + sizeof(Rec)) * colorCount; 224 colorCount = fColorCount = 0; 229 buffer.readColorArray(fOrigColors, colorCount); 231 fOrigPos = (SkScalar*)(fOrigColors + colorCount); 239 fRecs = (Rec*)(fOrigPos + colorCount); 240 if (colorCount > 2) [all...] |
SkTwoPointConicalGradient_gpu.cpp | 206 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 209 colors, stops, colorCount, 485 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 488 colors, stops, colorCount, 694 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 697 colors, stops, colorCount, [all...] |
SkSweepGradient.cpp | 257 int colorCount = RandomGradientParams(random, colors, &stops, &tmIgnored); 259 colors, stops, colorCount));
|
SkLinearGradient.cpp | 540 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 542 colors, stops, colorCount,
|
/external/skia/src/effects/gradients/ |
SkGradientShader.cpp | 33 Thus colorCount (the caller's value, and fColorCount (our value) may 35 colorCount = 2 148 int colorCount = fColorCount = buffer.getArrayCount(); 149 if (colorCount > kColorStorageCount) { 150 size_t allocSize = (sizeof(SkColor) + sizeof(SkPMColor) + sizeof(Rec)) * colorCount; 155 colorCount = fColorCount = 0; 160 buffer.readColorArray(fOrigColors, colorCount); 168 fRecs = (Rec*)(fOrigColors + colorCount); 169 if (colorCount > 2) { 172 for (int i = 1; i < colorCount; i++) [all...] |
SkTwoPointConicalGradient_gpu.cpp | 200 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 203 colors, stops, colorCount, 474 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 477 colors, stops, colorCount, 686 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 689 colors, stops, colorCount, [all...] |
SkSweepGradient.cpp | 247 int colorCount = RandomGradientParams(random, colors, &stops, &tmIgnored); 249 colors, stops, colorCount));
|
SkLinearGradient.cpp | 526 int colorCount = RandomGradientParams(random, colors, &stops, &tm); 528 colors, stops, colorCount,
|
/external/chromium_org/third_party/skia/src/images/ |
SkImageDecoder_libgif.cpp | 129 if (cmap && ((unsigned)cmap->ColorCount > 256 || 130 cmap->ColorCount != (1 << cmap->BitsPerPixel))) { 137 static int find_transpIndex(const SavedImage& image, int colorCount) { 145 if (transpIndex >= colorCount) { 330 int colorCount = 0; 337 SkASSERT(cmap->ColorCount == (1 << (cmap->BitsPerPixel))); 338 colorCount = cmap->ColorCount; 339 if (colorCount > 256) { 340 colorCount = 256; // our kIndex8 can't support mor [all...] |
SkImageDecoder_libico.cpp | 151 int colorCount = readByte(buf, 8 + choice*16); 192 colorCount = 2; 196 colorCount = 16; 200 colorCount = 256; 204 colorCount = 0; 208 colorCount = 0; 228 if (colorCount) 230 colors = new SkPMColor[colorCount]; 231 for (int j = 0; j < colorCount; j++) 246 int xorOffset = begin + colorCount*4; //beginning of the color bitma [all...] |
SkImageDecoder_libpng.cpp | 668 int colorCount = numPalette + (numPalette < 256); 722 (colorStorage, colorCount, alphaType)); [all...] |
/external/skia/src/images/ |
SkImageDecoder_libgif.cpp | 129 if (cmap && ((unsigned)cmap->ColorCount > 256 || 130 cmap->ColorCount != (1 << cmap->BitsPerPixel))) { 137 static int find_transpIndex(const SavedImage& image, int colorCount) { 145 if (transpIndex >= colorCount) { 331 int colorCount = 0; 338 SkASSERT(cmap->ColorCount == (1 << (cmap->BitsPerPixel))); 339 colorCount = cmap->ColorCount; 340 if (colorCount > 256) { 341 colorCount = 256; // our kIndex8 can't support mor [all...] |
SkImageDecoder_libico.cpp | 155 int colorCount = readByte(buf, 8 + choice*16); 201 colorCount = 2; 205 colorCount = 16; 209 colorCount = 256; 213 colorCount = 0; 217 colorCount = 0; 237 if (colorCount) 239 colors = new SkPMColor[colorCount]; 240 for (int j = 0; j < colorCount; j++) 255 int xorOffset = begin + colorCount*4; //beginning of the color bitma [all...] |
SkImageDecoder_libpng.cpp | 668 int colorCount = numPalette + (numPalette < 256); 722 (colorStorage, colorCount, alphaType)); [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/ico/ |
ICOImageDecoder.cpp | 324 int colorCount = static_cast<uint8_t>(m_data->data()[m_decodedOffset + 2]); 325 if (!colorCount) 326 colorCount = 256; // Vague in the spec, needed by real-world icons. 327 for (--colorCount; colorCount; colorCount >>= 1)
|
/external/chromium_org/third_party/skia/gm/ |
shallowgradient.cpp | 62 const int colorCount = SK_ARRAY_COUNT(colors); 68 paint.setShader(fProc(colors, colorCount, size))->unref();
|
/external/skia/gm/ |
shallowgradient.cpp | 62 const int colorCount = SK_ARRAY_COUNT(colors); 68 paint.setShader(fProc(colors, colorCount, size))->unref();
|
/external/deqp/modules/egl/ |
teglNativeColorMappingTests.cpp | 318 bool testNativeWindow (TestLog& log, eglu::NativeDisplay& nativeDisplay, eglu::NativeWindow& nativeWindow, EGLDisplay display, EGLContext context, EGLConfig config, const glw::Functions& gl, bool renderColor, int waitFrames, size_t colorCount, const tcu::Vec4* colors) 332 for (int colorNdx = 0; colorNdx < (int)colorCount; colorNdx++) 360 bool testNativePixmap (TestLog& log, eglu::NativeDisplay& nativeDisplay, eglu::NativePixmap& nativePixmap, EGLDisplay display, EGLContext context, EGLConfig config, const glw::Functions& gl, bool renderColor, size_t colorCount, const tcu::Vec4* colors) 374 for (int colorNdx = 0; colorNdx < (int)colorCount; colorNdx++) 400 bool testNativePixmapCopy (TestLog& log, eglu::NativePixmap& nativePixmap, EGLDisplay display, EGLContext context, EGLConfig config, const glw::Functions& gl, bool renderColor, size_t colorCount, const tcu::Vec4* colors) 414 for (int colorNdx = 0; colorNdx < (int)colorCount; colorNdx++)
|
/external/opencv/cvaux/src/ |
cvcalibfilter.cpp | 547 const int colorCount = sizeof(line_colors)/sizeof(line_colors[0]); 561 color = line_colors[(j/cvRound(etalonParams[0]))%colorCount];
|