/external/skia/legacy/src/core/ |
H A D | 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 [all...] |
H A D | SkShader.cpp | 327 if (info->fColors && info->fColorCount >= 1) { 328 info->fColors[0] = fColor;
|
H A D | SkDraw.cpp | 2222 SkPMColor fColors[3]; member in class:SkTriColorShader 2233 fColors[0] = SkPreMultiplyColor(colors[index0]); 2234 fColors[1] = SkPreMultiplyColor(colors[index1]); 2235 fColors[2] = SkPreMultiplyColor(colors[index2]); 2284 dstC[i] = SkAlphaMulQ(fColors[0], scale0) + 2285 SkAlphaMulQ(fColors[1], scale1) + 2286 SkAlphaMulQ(fColors[2], scale2);
|
/external/skia/src/core/ |
H A D | 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 [all...] |
H A D | SkShader.cpp | 306 if (info->fColors && info->fColorCount >= 1) { 307 info->fColors[0] = fColor;
|
/external/skia/include/core/ |
H A D | SkColorTable.h | 56 SkASSERT(fColors != NULL && (unsigned)index < fCount); 57 return fColors[index]; 74 return fColors; 100 SkPMColor* fColors; member in class:SkColorTable
|
H A D | 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; member in class:SkAutoLockColors
|
H A D | 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. member in struct:SkShader::GradientInfo
|
/external/skia/tests/ |
H A D | GradientTest.cpp | 18 const SkColor* fColors; member in struct:GradRec 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/ |
H A D | VertBench.cpp | 33 SkColor fColors[PTS]; member in class:VertBench 74 fColors[i] = rand.nextU() | (0xFF << 24); 88 fPts, NULL, fColors, NULL, fIdx, IDX, paint);
|
H A D | GradientBench.cpp | 20 const SkColor* fColors; member in struct:GradData 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);
|
H A D | RectBench.cpp | 24 SkColor fColors[N]; member in class:RectBench 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/include/core/ |
H A D | SkBitmap.h | 689 SkASSERT(fColors != NULL && (unsigned)index < fCount); 690 return fColors[index]; 707 return fColors; 729 SkPMColor* fColors; member in class:SkColorTable 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; 808 const SkPMColor* fColors; member in class:SkAutoLockColors [all...] |
H A D | 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. member in struct:SkShader::GradientInfo
|
/external/skia/legacy/src/animator/ |
H A D | 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);
|
H A D | SkDrawGradient.h | 31 SkTDColorArray fColors; member in class:SkGradient
|
/external/skia/src/animator/ |
H A D | 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);
|
H A D | SkDrawGradient.h | 31 SkTDColorArray fColors; member in class:SkDrawGradient
|
/external/skia/gm/ |
H A D | shadertext.cpp | 52 const SkColor* fColors; member in struct:skiagm::GradData 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);
|
H A D | gradients.cpp | 15 const SkColor* fColors; member in struct:skiagm::GradData 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/ |
H A D | 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, 933 fInfo.fColors = NULL; 953 fInfo.fColors = reinterpret_cast<SkColor*>(fColorData.get()); 955 reinterpret_cast<SkScalar*>(fInfo.fColors + fInfo.fColorCount);
|
/external/skia/legacy/src/utils/ |
H A D | SkNinePatch.cpp | 99 const SkColor* fColors; member in struct:Mesh 199 mesh.fColors = NULL; 248 mesh.fVerts, mesh.fTexs, mesh.fColors, NULL,
|
/external/skia/src/utils/ |
H A D | SkNinePatch.cpp | 99 const SkColor* fColors; member in struct:Mesh 199 mesh.fColors = NULL; 248 mesh.fVerts, mesh.fTexs, mesh.fColors, NULL,
|
/external/skia/src/device/xps/ |
H A D | SkXPSDevice.cpp | 810 HR(createXpsGradientStop(info.fColors[0], 815 HR(createXpsGradientStop(info.fColors[1], 836 HR(createXpsGradientStop(info.fColors[i], 859 HR(createXpsGradientStop(info.fColors[0], 864 HR(createXpsGradientStop(info.fColors[1], 913 HR(createXpsGradientStop(info.fColors[i], 942 info.fColors = NULL; 952 info.fColors = &color; 967 info.fColors = colors.get(); 972 SkColor color = info.fColors[ [all...] |
/external/skia/src/effects/gradients/ |
H A D | SkGradientShader.cpp | 525 if (info->fColors) { 526 memcpy(info->fColors, fOrigColors, fColorCount * sizeof(SkColor));
|