/external/skia/legacy/src/core/ |
SkColorTable.cpp | 24 fColors = (SkPMColor*)sk_malloc_throw(count * sizeof(SkPMColor)); 25 memset(fColors, 0, count * sizeof(SkPMColor)); 37 fColors = reinterpret_cast<SkPMColor*>( 39 memcpy(fColors, src.fColors, count * sizeof(SkPMColor)); 54 fColors = reinterpret_cast<SkPMColor*>( 58 memcpy(fColors, colors, count * sizeof(SkPMColor)); 69 sk_free(fColors); 111 build_16bitcache(f16BitCache, fColors, fCount); 148 fColors = (SkPMColor*)sk_malloc_throw(fCount * sizeof(SkPMColor)) [all...] |
SkShader.cpp | 327 if (info->fColors && info->fColorCount >= 1) { 328 info->fColors[0] = fColor;
|
SkDraw.cpp | [all...] |
/external/skia/src/core/ |
SkColorTable.cpp | 26 fColors = (SkPMColor*)sk_malloc_throw(count * sizeof(SkPMColor)); 27 memset(fColors, 0, count * sizeof(SkPMColor)); 40 fColors = reinterpret_cast<SkPMColor*>( 42 memcpy(fColors, src.fColors, count * sizeof(SkPMColor)); 57 fColors = reinterpret_cast<SkPMColor*>( 61 memcpy(fColors, colors, count * sizeof(SkPMColor)); 72 sk_free(fColors); 114 build_16bitcache(f16BitCache, fColors, fCount); 148 fColors = (SkPMColor*)sk_malloc_throw(fCount * sizeof(SkPMColor)) [all...] |
SkShader.cpp | 306 if (info->fColors && info->fColorCount >= 1) { 307 info->fColors[0] = fColor;
|
/external/skia/include/core/ |
SkColorTable.h | 56 SkASSERT(fColors != NULL && (unsigned)index < fCount); 57 return fColors[index]; 74 return fColors; 100 SkPMColor* fColors;
|
SkBitmap.h | 716 SkAutoLockColors() : fCTable(NULL), fColors(NULL) {} 721 fColors = fCTable ? fCTable->lockColors() : NULL; 727 fColors = ctable ? ctable->lockColors() : NULL; 738 const SkPMColor* colors() const { return fColors; } 748 fColors = ctable ? ctable->lockColors() : NULL; 749 return fColors; 758 const SkPMColor* fColors;
|
SkShader.h | 271 * many entries in fColors and fColorOffsets can be used, if they are 274 * insufficient space to store all of the color-offset pairs, fColors 307 // of fColors/fColorOffsets on input, and 310 SkColor* fColors; //!< The colors in the gradient.
|
/external/skia/tests/ |
GradientTest.cpp | 18 const SkColor* fColors; 31 info->fColors = colorStorage; 37 !memcmp(info->fColors, fColors, fColorCount * sizeof(SkColor))); 51 SkAutoTUnref<SkShader> s(new SkColorShader(rec.fColors[0])); 62 rec.fColors, 75 rec.fColors, 91 rec.fColors, 105 rec.fColors, 119 rec.fColors, [all...] |
/external/skia/bench/ |
VertBench.cpp | 33 SkColor fColors[PTS]; 74 fColors[i] = rand.nextU() | (0xFF << 24); 88 fPts, NULL, fColors, NULL, fIdx, IDX, paint);
|
GradientBench.cpp | 20 const SkColor* fColors; 45 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, 56 data.fColors, 67 return SkGradientShader::CreateSweep(center.fX, center.fY, data.fColors, 83 data.fColors, data.fPos, data.fCount, tm, mapper); 97 data.fColors, data.fPos, data.fCount, tm, mapper);
|
RectBench.cpp | 24 SkColor fColors[N]; 44 fColors[i] = rand.nextU() | 0xFF808080; 70 paint.setColor(fColors[i]); 159 paint.setColor(fColors[i]); 250 color = fColors[i]; 258 color = fColors[i];
|
/external/skia/legacy/src/animator/ |
SkDrawGradient.h | 31 SkTDColorArray fColors;
|
SkDrawGradient.cpp | 100 fColors.setCount(count); 102 fColors[index] = fDrawColors[index]->color; 187 fColors.begin(), offsets.begin(), fColors.count(), (SkShader::TileMode) tileMode, fUnitMapper); 222 radius, fColors.begin(), offsets.begin(), fColors.count(), (SkShader::TileMode) tileMode, fUnitMapper);
|
/external/skia/src/animator/ |
SkDrawGradient.h | 31 SkTDColorArray fColors;
|
SkDrawGradient.cpp | 99 fColors.setCount(count); 101 fColors[index] = fDrawColors[index]->color; 186 fColors.begin(), offsets.begin(), fColors.count(), (SkShader::TileMode) tileMode, fUnitMapper); 221 radius, fColors.begin(), offsets.begin(), fColors.count(), (SkShader::TileMode) tileMode, fUnitMapper);
|
/external/skia/legacy/include/core/ |
SkBitmap.h | 689 SkASSERT(fColors != NULL && (unsigned)index < fCount); 690 return fColors[index]; 707 return fColors; 729 SkPMColor* fColors; 766 SkAutoLockColors() : fCTable(NULL), fColors(NULL) {} 771 fColors = fCTable ? fCTable->lockColors() : NULL; 777 fColors = ctable ? ctable->lockColors() : NULL; 788 const SkPMColor* colors() const { return fColors; } 798 fColors = ctable ? ctable->lockColors() : NULL; 799 return fColors; [all...] |
SkShader.h | 223 * many entries in fColors and fColorOffsets can be used, if they are 226 * insufficient space to store all of the color-offset pairs, fColors 258 // of fColors/fColorOffsets on input, and 261 SkColor* fColors; //!< The colors in the gradient.
|
/external/skia/gm/ |
shadertext.cpp | 52 const SkColor* fColors; 67 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, 76 return SkGradientShader::CreateRadial(center, center.fX, data.fColors, 85 return SkGradientShader::CreateSweep(center.fX, center.fY, data.fColors, 99 data.fColors, data.fPos, data.fCount, tm, mapper);
|
gradients.cpp | 15 const SkColor* fColors; 38 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, 47 return SkGradientShader::CreateRadial(center, center.fX, data.fColors, 56 return SkGradientShader::CreateSweep(center.fX, center.fY, data.fColors, 70 data.fColors, data.fPos, data.fCount, tm, mapper); 82 data.fColors, data.fPos,
|
/external/skia/src/pdf/ |
SkPDFShader.cpp | 137 colorData[i][0] = SkScalarMul(SkColorGetR(info.fColors[i]), scale); 138 colorData[i][1] = SkScalarMul(SkColorGetG(info.fColors[i]), scale); 139 colorData[i][2] = SkScalarMul(SkColorGetB(info.fColors[i]), scale); 890 memcmp(fInfo.fColors, b.fInfo.fColors, [all...] |
/external/skia/legacy/src/utils/ |
SkNinePatch.cpp | 99 const SkColor* fColors; 199 mesh.fColors = NULL; 248 mesh.fVerts, mesh.fTexs, mesh.fColors, NULL,
|
/external/skia/src/utils/ |
SkNinePatch.cpp | 99 const SkColor* fColors; 199 mesh.fColors = NULL; 248 mesh.fVerts, mesh.fTexs, mesh.fColors, NULL,
|
/external/skia/src/device/xps/ |
SkXPSDevice.cpp | 810 HR(createXpsGradientStop(info.fColors[0], 815 HR(createXpsGradientStop(info.fColors[1], 836 HR(createXpsGradientStop(info.fColors[i], [all...] |
/external/skia/src/effects/gradients/ |
SkGradientShader.cpp | 525 if (info->fColors) { 526 memcpy(info->fColors, fOrigColors, fColorCount * sizeof(SkColor));
|