HomeSort by relevance Sort by last modified time
    Searched refs:fColorCount (Results 1 - 21 of 21) sorted by null

  /external/skia/tests/
GradientTest.cpp 41 int fColorCount;
51 SkAutoTMalloc<SkColor> colorStorage(fColorCount);
52 SkAutoTMalloc<SkScalar> posStorage(fColorCount);
54 info->fColorCount = fColorCount;
59 REPORTER_ASSERT(reporter, info->fColorCount == fColorCount);
61 !memcmp(info->fColors, fColors, fColorCount * sizeof(SkColor)));
63 !memcmp(info->fColorOffsets, fPos, fColorCount * sizeof(SkScalar)));
80 info.fColorCount = 0
    [all...]
GifTest.cpp 222 options.fColorCount = colorCountPtr;
  /external/skia/src/codec/
SkRawAdapterCodec.cpp 29 options.fColorCount);
SkWebpAdapterCodec.cpp 44 options.fColorCount);
SkSampledCodec.cpp 83 options.fColorPtr, options.fColorCount);
109 scaledSize.height()), &codecOptions, options.fColorPtr, options.fColorCount);
180 options.fColorPtr, options.fColorCount);
  /external/skia/src/effects/gradients/
SkGradientShader.cpp 90 Thus colorCount (the caller's value, and fColorCount (our value) may
93 fColorCount = 4
95 fColorCount = desc.fCount;
102 fColorCount += dummyFirst + dummyLast;
105 if (fColorCount > kColorStorageCount) {
111 sk_malloc_throw(size * fColorCount));
130 if (desc.fPos && fColorCount) {
131 fOrigPos = (SkScalar*)(fOrigColors + fColorCount);
132 fRecs = (Rec*)(fOrigPos + fColorCount);
135 fRecs = (Rec*)(fOrigColors + fColorCount);
    [all...]
Sk4fGradientBase.cpp 134 SkASSERT(shader.fColorCount > 1);
139 int last_index = shader.fColorCount - 1;
183 const SkScalar dt = direction * SK_Scalar1 / (shader.fColorCount - 1);
SkGradientShaderPriv.h 233 int fColorCount;
SkLinearGradient.cpp 118 int count = shader.fColorCount;
  /external/skia/include/codec/
SkAndroidCodec.h 140 , fColorCount(nullptr)
168 * logical number of table entries) and set fColorCount to N.
171 * two parameters may be NULL. If fColorCount is not null, it will be
177 int* fColorCount;
212 * options->fColorCount to N.
214 * If info is not kIndex8_SkColorType, options->fColorPtr and options->fColorCount may
  /external/skia/src/pdf/
SkPDFShader.cpp 120 return colorData[info.fColorCount - 1][r,g,b];
135 SkAutoSTMalloc<4, ColorTuple> colorDataAlloc(info.fColorCount);
138 for (int i = 0; i < info.fColorCount; i++) {
155 for (int i = 1 ; i < info.fColorCount; i++) {
176 result->appendScalar(colorData[info.fColorCount - 1][0]);
178 result->appendScalar(colorData[info.fColorCount - 1][1]);
180 result->appendScalar(colorData[info.fColorCount - 1][2]);
    [all...]
SkPDFDevice.cpp     [all...]
  /frameworks/base/libs/hwui/
SkiaShader.cpp 113 return gradInfo.fColorCount == 2 && gradInfo.fTileMode == SkShader::kClamp_TileMode;
124 gradInfo.fColorCount = 0;
157 std::unique_ptr<SkColor[]> colorStorage(new SkColor[gradInfo.fColorCount]);
158 std::unique_ptr<SkScalar[]> colorOffsets(new SkScalar[gradInfo.fColorCount]);
170 gradInfo.fColors, gradInfo.fColorOffsets, gradInfo.fColorCount);
  /external/skia/include/core/
SkShader.h 218 * the relevant (see below) parameters for the gradient. fColorCount
221 * non-NULL. After asAGradient has run, fColorCount indicates how
254 int fColorCount; //!< In-out parameter, specifies passed size
  /external/skia/src/android/
SkBitmapRegionCodec.cpp 126 options.fColorCount = colorCountPtr;
  /external/skia/src/core/
SkShader.cpp 323 if (info->fColors && info->fColorCount >= 1) {
326 info->fColorCount = 1;
  /external/skia/src/device/xps/
SkXPSDevice.cpp 862 transform_offsets(info.fColorOffsets, info.fColorCount
    [all...]
  /external/skia/src/svg/
SkSVGDevice.cpp 420 grInfo.fColorCount = 0;
427 SkAutoSTArray<16, SkColor> grColors(grInfo.fColorCount);
428 SkAutoSTArray<16, SkScalar> grOffsets(grInfo.fColorCount);
434 SkASSERT(grInfo.fColorCount <= grColors.count());
435 SkASSERT(grInfo.fColorCount <= grOffsets.count());
489 SkASSERT(info.fColorCount >= 2);
490 for (int i = 0; i < info.fColorCount; ++i) {
  /frameworks/base/core/jni/android/graphics/
BitmapFactory.cpp 414 codecOptions.fColorCount = colorCount;
  /external/skia/src/utils/
SkLua.cpp     [all...]
  /external/skia/dm/
DMSrcSink.cpp 705 options.fColorCount = colorCountPtr;
    [all...]

Completed in 1778 milliseconds