/external/skia/include/c/ |
sk_shader.h | 41 @param colorCount Must be >=2. The number of colors (and pos if not 48 int colorCount, 78 int colorCount, 95 @param colorCount Must be >= 2. The number of colors (and pos if 102 int colorCount, 124 @param colorCount Must be >= 2. The number of colors (and pos if 137 int colorCount,
|
/frameworks/support/v7/palette/src/androidTest/java/android/support/v7/graphics/ |
MaxColorsTest.java | 50 private void testMaxColorCount(int colorCount) { 52 .maximumColorCount(colorCount) 54 assertTrue(newPalette.getSwatches().size() <= colorCount);
|
/external/skia/tools/lua/ |
gradients.lua | 16 --io.write(g.type, " gradient with ", g.colorCount, " colors\n") 18 if g.colorCount == 3 then
|
/external/skia/bench/ |
CodecBench.cpp | 53 int colorCount; 59 colorCount = 256; 65 &options, colorTable, &colorCount);
|
nanobench.cpp | 780 int colorCount = 256; 785 &colorCount); [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) { 335 int colorCount = 0; 341 SkASSERT(cmap->ColorCount == (1 << (cmap->BitsPerPixel))); 342 colorCount = cmap->ColorCount; 343 if (colorCount > 256) { 344 colorCount = 256; // our kIndex8 can't support mor [all...] |
SkImageDecoder_libico.cpp | 119 int colorCount = readByte(buf, 8); 180 colorCount = 2; 184 colorCount = 16; 188 colorCount = 256; 192 colorCount = 0; 196 colorCount = 0; 214 if (length < (size_t) (begin + 4*colorCount)) { 222 if (colorCount) 224 colors = new SkPMColor[colorCount]; 225 for (int j = 0; j < colorCount; j++ [all...] |
SkImageDecoder_libpng.cpp | 692 int colorCount = SkTMax(numPalette, 1 << SkTMin(bitDepth, 8)); 694 for (; index < colorCount; index++) { 698 *colorTablep = new SkColorTable(colorStorage, colorCount); 745 // entries. SkBitmap always stores in 8bits per pixel, but for colorcount <= 16, 747 static int computeBitDepth(int colorCount) { 749 int bits = SkNextLog2(colorCount); [all...] |
/external/skia/src/lazy/ |
SkDiscardablePixelRef.cpp | 72 int colorCount = 0; 74 if (!fGenerator->getPixels(info, pixels, fRowBytes, colors, &colorCount)) { 87 if (colorCount > 0) { 88 fCTable.reset(new SkColorTable(colors, colorCount));
|
/external/skia/src/codec/ |
SkGifCodec.cpp | 409 uint32_t colorCount = 0; 411 colorCount = colorMap->ColorCount; 413 SkASSERT(colorCount == (unsigned) (1 << (colorMap->BitsPerPixel))); 414 SkASSERT(colorCount <= 256); 415 for (uint32_t i = 0; i < colorCount; i++) { 423 if (colorCount > 0) { 426 // colorCount, we know that there is no valid transparent color in the color 433 if (fTransIndex < colorCount) { 436 } else if (backgroundIndex < colorCount) { [all...] |
SkBmpRLECodec.h | 59 * Sets colorCount to the new color count if it is non-nullptr 61 bool createColorTable(int* colorCount);
|
SkBmpStandardCodec.h | 71 * Sets colorCount to the new color count if it is non-nullptr 73 bool createColorTable(SkAlphaType alphaType, int* colorCount);
|
SkIcoCodec.cpp | 239 int* colorCount, int* rowsDecoded) { 255 colorCount); 277 const SkCodec::Options& options, SkPMColor colorTable[], int* colorCount) { 287 result = embeddedCodec->startScanlineDecode(dstInfo, &options, colorTable, colorCount);
|
SkWbmpCodec.cpp | 25 SkPMColor* colorPtr, int* colorCount) { 29 *colorCount = 2;
|
/external/skia/src/effects/gradients/ |
SkGradientShader.cpp | 90 Thus colorCount (the caller's value, and fColorCount (our value) may 92 colorCount = 2 779 const SkColor colors[], const SkScalar pos[], int colorCount, 783 desc->fCount = colorCount; 791 const SkScalar pos[], int colorCount, 798 if (!valid_grad(colors, pos, colorCount, mode)) { 801 EXPAND_1_COLOR(colorCount); 804 desc_init(&desc, colors, pos, colorCount, mode, flags, localMatrix); 810 const SkScalar pos[], int colorCount, 817 if (!valid_grad(colors, pos, colorCount, mode)) [all...] |
SkSweepGradient.cpp | 192 int colorCount = RandomGradientParams(d->fRandom, colors, &stops, &tmIgnored); 194 colors, stops, colorCount));
|
SkTwoPointConicalGradient_gpu.cpp | 209 int colorCount = RandomGradientParams(d->fRandom, colors, &stops, &tm); 212 colors, stops, colorCount, 490 int colorCount = RandomGradientParams(d->fRandom, colors, &stops, &tm); 493 colors, stops, colorCount, 703 int colorCount = RandomGradientParams(d->fRandom, colors, &stops, &tm); 706 colors, stops, colorCount, [all...] |
SkRadialGradient.cpp | 314 int colorCount = RandomGradientParams(d->fRandom, colors, &stops, &tm); 316 colors, stops, colorCount,
|
/external/skia/gm/ |
shallowgradient.cpp | 59 const int colorCount = SK_ARRAY_COUNT(colors); 65 paint.setShader(fProc(colors, colorCount, size))->unref();
|
/external/skia/src/c/ |
sk_surface.cpp | 541 int colorCount, 556 colorPos, colorCount, mode, 0, &matrix); 568 int colorCount, 586 colorCount, mode, 0, &matrix); 593 int colorCount, 606 colorCount, 0, &matrix); 616 int colorCount, 636 colorCount, mode, 0, &matrix);
|
/external/deqp/modules/egl/ |
teglNativeColorMappingTests.cpp | 323 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) 338 for (int colorNdx = 0; colorNdx < (int)colorCount; colorNdx++) 366 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) 381 for (int colorNdx = 0; colorNdx < (int)colorCount; colorNdx++) 407 bool testNativePixmapCopy (TestLog& log, const Library& egl, eglu::NativePixmap& nativePixmap, EGLDisplay display, EGLContext context, EGLConfig config, const glw::Functions& gl, bool renderColor, size_t colorCount, const tcu::Vec4* colors) 421 for (int colorNdx = 0; colorNdx < (int)colorCount; colorNdx++)
|
/frameworks/base/core/jni/android/graphics/ |
BitmapFactory.cpp | 370 int* colorCount = nullptr; 382 colorCount = &maxColors; 414 codecOptions.fColorCount = colorCount;
|
/external/skia/src/core/ |
SkImageGenerator.cpp | 145 SkPMColor* colors, int* colorCount) {
|
/external/opencv/cvaux/src/ |
cvcalibfilter.cpp | 545 const int colorCount = sizeof(line_colors)/sizeof(line_colors[0]); 559 color = line_colors[(j/cvRound(etalonParams[0]))%colorCount];
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
wincodec.h | [all...] |