Home
last modified time | relevance | path

Searched refs:fColor1 (Results 1 – 15 of 15) sorted by relevance

/external/pdfium/core/fxge/
Dcfx_color.cpp120 ret = ConvertGRAY2RGB(fColor1); in ConvertColorType()
123 ret = ConvertGRAY2CMYK(fColor1); in ConvertColorType()
130 ret = ConvertRGB2GRAY(fColor1, fColor2, fColor3); in ConvertColorType()
133 ret = ConvertRGB2CMYK(fColor1, fColor2, fColor3); in ConvertColorType()
140 ret = ConvertCMYK2GRAY(fColor1, fColor2, fColor3, fColor4); in ConvertColorType()
143 ret = ConvertCMYK2RGB(fColor1, fColor2, fColor3, fColor4); in ConvertColorType()
159 ret = ConvertGRAY2RGB(fColor1); in ToFXColor()
164 ret = CFX_Color(CFX_Color::kRGB, fColor1, fColor2, fColor3); in ToFXColor()
169 ret = ConvertCMYK2RGB(fColor1, fColor2, fColor3, fColor4); in ToFXColor()
174 return ArgbEncode(ret.fColor4, static_cast<int32_t>(ret.fColor1 * 255), in ToFXColor()
[all …]
Dcfx_color.h28 fColor1(color1), in nColorType()
35 fColor1(r / 255.0f), in CFX_Color()
51 fColor1 = 0.0f; in Reset()
58 float fColor1; member
/external/skia/samplecode/
DSampleSGInval.cpp28 fColor1 = sksg::Color::Make(0); in onOnceBeforeDraw()
32 fRoot->addChild(sksg::Draw::Make(fRect1, fColor1)); in onOnceBeforeDraw()
78 fColor1->setColor(SkColorSetARGB(128 * (1 + std::sin(t)), 0, 0x80, 0)); in onAnimate()
88 sk_sp<sksg::Color> fColor1, member in SGInvalView
/external/skqp/samplecode/
DSampleSGInval.cpp28 fColor1 = sksg::Color::Make(0); in onOnceBeforeDraw()
32 fRoot->addChild(sksg::Draw::Make(fRect1, fColor1)); in onOnceBeforeDraw()
78 fColor1->setColor(SkColorSetARGB(128 * (1 + std::sin(t)), 0, 0x80, 0)); in onAnimate()
88 sk_sp<sksg::Color> fColor1, member in SGInvalView
/external/skia/src/gpu/effects/
DGrOverdrawFragmentProcessor.cpp76 if (fColor1 != that.fColor1) return false; in onIsEqual()
86 , fColor1(src.fColor1) in GrOverdrawFragmentProcessor()
DGrOverdrawFragmentProcessor.h20 SkPMColor color1() const { return fColor1; } in color1()
40 , fColor1(color1) in GrOverdrawFragmentProcessor()
50 SkPMColor fColor1; variable
/external/skqp/src/gpu/effects/
DGrOverdrawFragmentProcessor.cpp76 if (fColor1 != that.fColor1) return false; in onIsEqual()
86 , fColor1(src.fColor1) in GrOverdrawFragmentProcessor()
DGrOverdrawFragmentProcessor.h20 SkPMColor color1() const { return fColor1; } in color1()
40 , fColor1(color1) in GrOverdrawFragmentProcessor()
50 SkPMColor fColor1; variable
/external/skia/gm/
Dalphagradients.cpp43 SkColor fColor1; in onDraw() member
66 draw_grad(canvas, r, gRec[i].fColor0, gRec[i].fColor1, SkToBool(doPreMul)); in onDraw()
/external/skqp/gm/
Dalphagradients.cpp43 SkColor fColor1; in onDraw() member
66 draw_grad(canvas, r, gRec[i].fColor0, gRec[i].fColor1, SkToBool(doPreMul)); in onDraw()
/external/pdfium/fpdfsdk/pwl/
Dcpwl_wnd.h83 return c1.nColorType == c2.nColorType && c1.fColor1 - c2.fColor1 < 0.0001 &&
84 c1.fColor1 - c2.fColor1 > -0.0001 &&
Dcpwl_appstream.cpp108 sColorStream << color.fColor1 << " " << color.fColor2 << " " in GetColorAppStream()
114 sColorStream << color.fColor1 << " " in GetColorAppStream()
120 sColorStream << color.fColor1 << " " << color.fColor2 << " " in GetColorAppStream()
/external/pdfium/fxjs/
Dcjs_color.cpp57 pRuntime->PutArrayElement(array, 1, pRuntime->NewNumber(color.fColor1)); in ConvertPWLColorToArray()
62 pRuntime->PutArrayElement(array, 1, pRuntime->NewNumber(color.fColor1)); in ConvertPWLColorToArray()
69 pRuntime->PutArrayElement(array, 1, pRuntime->NewNumber(color.fColor1)); in ConvertPWLColorToArray()
/external/pdfium/fpdfsdk/
Dfpdfannot.cpp548 *R = color.fColor1 * 255.f; in FPDFAnnot_GetColor()
553 *R = 255.f * color.fColor1; in FPDFAnnot_GetColor()
554 *G = 255.f * color.fColor1; in FPDFAnnot_GetColor()
555 *B = 255.f * color.fColor1; in FPDFAnnot_GetColor()
558 *R = 255.f * (1 - color.fColor1) * (1 - color.fColor4); in FPDFAnnot_GetColor()
/external/pdfium/core/fpdfdoc/
Dcpvt_generateap.cpp173 sColorStream << color.fColor1 << " " << color.fColor2 << " " in GenerateColorAP()
179 sColorStream << color.fColor1 << " " in GenerateColorAP()
184 sColorStream << color.fColor1 << " " << color.fColor2 << " " in GenerateColorAP()