Home
last modified time | relevance | path

Searched refs:fColorOffsets (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/pdf/
DSkPDFShader.cpp155 if (info.fColorOffsets[i] == info.fColorOffsets[i - 1]) { in gradientFunctionCode()
161 result->appendScalar(info.fColorOffsets[i]); in gradientFunctionCode()
163 if (info.fColorOffsets[i - 1] != 0) { in gradientFunctionCode()
164 result->appendScalar(info.fColorOffsets[i - 1]); in gradientFunctionCode()
168 interpolateColorCode(info.fColorOffsets[i] - info.fColorOffsets[i - 1], in gradientFunctionCode()
1065 memcmp(fInfo.fColorOffsets, b.fInfo.fColorOffsets, in operator ==()
1106 fInfo.fColorOffsets = NULL; in State()
1182 fInfo.fColorOffsets[i] = other.fInfo.fColorOffsets[i]; in State()
1241 fInfo.fColorOffsets = in AllocateGradientInfoStorage()
DSkPDFDevice.cpp1974 gradientInfo.fColorOffsets = NULL; in populateGraphicStateEntryFromPaint()
/external/skia/tests/
DGradientTest.cpp55 info->fColorOffsets = posStorage.get(); in gradCheck()
62 !memcmp(info->fColorOffsets, fPos, fColorCount * sizeof(SkScalar))); in gradCheck()
/external/skia/src/effects/gradients/
DSkGradientShader.cpp670 if (flipGrad && (info->fColors || info->fColorOffsets)) { in commonAsAGradient()
683 if (info->fColorOffsets) { in commonAsAGradient()
685 info->fColorOffsets[0] = 0; in commonAsAGradient()
686 info->fColorOffsets[1] = SK_Scalar1; in commonAsAGradient()
689 info->fColorOffsets[i] = SkFixedToScalar(recLoc[i].fPos); in commonAsAGradient()
/external/skia/src/device/xps/
DSkXPSDevice.cpp846 transform_offsets(info.fColorOffsets, info.fColorCount, in createXpsLinearGradient()
855 info.fColorOffsets[0], in createXpsLinearGradient()
860 info.fColorOffsets[1], in createXpsLinearGradient()
881 info.fColorOffsets[i], in createXpsLinearGradient()
904 info.fColorOffsets[0], in createXpsRadialGradient()
909 info.fColorOffsets[1], in createXpsRadialGradient()
958 info.fColorOffsets[i], in createXpsRadialGradient()
987 info.fColorOffsets = NULL; in createXpsBrush()
1012 info.fColorOffsets = colorOffsets.get(); in createXpsBrush()
/external/skia/include/core/
DSkShader.h327 SkScalar* fColorOffsets; //!< The unit offset for color transitions. member
/external/skia/src/svg/
DSkSVGDevice.cpp429 grInfo.fColorOffsets = grOffsets.get(); in addShaderResources()
495 stop.addAttribute("offset", info.fColorOffsets[i]); in addLinearGradientDef()
/external/skia/src/utils/
DSkLua.cpp1236 info.fColorOffsets = &pos[0]; in lshader_asAGradient()