Home
last modified time | relevance | path

Searched refs:kGray (Results 1 – 20 of 20) sorted by relevance

/external/pdfium/core/fxge/
Dcfx_color.cpp22 return CFX_Color(CFX_Color::kGray); in ConvertCMYK2GRAY()
24 CFX_Color::kGray, in ConvertCMYK2GRAY()
42 return CFX_Color(CFX_Color::kGray); in ConvertRGB2GRAY()
43 return CFX_Color(CFX_Color::kGray, 0.3f * dR + 0.59f * dG + 0.11f * dB); in ConvertRGB2GRAY()
71 rt = CFX_Color(CFX_Color::kGray, array.GetFloatAt(0)); in ParseColor()
89 return CFX_Color(CFX_Color::kGray, FX_atof(syntax.GetWord())); in ParseColor()
117 case CFX_Color::kGray: in ConvertColorType()
129 case CFX_Color::kGray: in ConvertColorType()
139 case CFX_Color::kGray: in ConvertColorType()
158 case CFX_Color::kGray: { in ToFXColor()
[all …]
Dcfx_color.h17 enum Type { kTransparent = 0, kGray, kRGB, kCMYK }; enumerator
/external/pdfium/fxjs/
Dcjs_color.cpp54 case CFX_Color::kGray: in ConvertPWLColorToArray()
97 return CFX_Color(CFX_Color::kGray, d1); in ConvertArrayToPWLColor()
126 m_crBlack = CFX_Color(CFX_Color::kGray, 0); in color()
127 m_crWhite = CFX_Color(CFX_Color::kGray, 1); in color()
134 m_crDKGray = CFX_Color(CFX_Color::kGray, 0.25); in color()
135 m_crGray = CFX_Color(CFX_Color::kGray, 0.5); in color()
136 m_crLTGray = CFX_Color(CFX_Color::kGray, 0.75); in color()
270 nColorType = CFX_Color::kGray; in convert()
Dcjs_field.cpp1142 } else if (iColorType == CFX_Color::kGray) { in get_fill_color()
1143 color = CFX_Color(CFX_Color::kGray, in get_fill_color()
1773 } else if (iColorType == CFX_Color::kGray) { in get_stroke_color()
1775 CFX_Color(CFX_Color::kGray, pFormControl->GetOriginalBorderColor(0)); in get_stroke_color()
/external/pdfium/fpdfsdk/pwl/
Dcpwl_appstream.cpp113 case CFX_Color::kGray: in GetColorAppStream()
1070 rcBBox, 2, CFX_Color(CFX_Color::kGray, 0), in GetDropButtonAppStream()
1071 CFX_Color(CFX_Color::kGray, 1), CFX_Color(CFX_Color::kGray, 0.5), in GetDropButtonAppStream()
1167 crLeftTop = CFX_Color(CFX_Color::kGray, 1); in SetAsPushButton()
1172 crLeftTop = CFX_Color(CFX_Color::kGray, 0.5); in SetAsPushButton()
1173 crRightBottom = CFX_Color(CFX_Color::kGray, 0.75); in SetAsPushButton()
1180 CFX_Color crText(CFX_Color::kGray, 0); in SetAsPushButton()
1290 crLeftTop = CFX_Color(CFX_Color::kGray, 0); in SetAsPushButton()
1291 crRightBottom = CFX_Color(CFX_Color::kGray, 1); in SetAsPushButton()
1342 crLeftTop = CFX_Color(CFX_Color::kGray, 1); in SetAsCheckBox()
[all …]
Dcpwl_wnd.h98 #define PWL_DEFAULT_BLACKCOLOR CFX_Color(CFX_Color::kGray, 0)
99 #define PWL_DEFAULT_WHITECOLOR CFX_Color(CFX_Color::kGray, 1)
Dcpwl_wnd.cpp701 return CFX_Color(CFX_Color::kGray, 1); in GetBorderLeftTopColor()
703 return CFX_Color(CFX_Color::kGray, 0.5f); in GetBorderLeftTopColor()
714 return CFX_Color(CFX_Color::kGray, 0.75f); in GetBorderRightBottomColor()
Dcpwl_scroll_bar.cpp25 #define PWL_DEFAULT_HEAVYGRAYCOLOR CFX_Color(CFX_Color::kGray, 0.50)
/external/pdfium/core/fpdfdoc/
Dcpdf_apsettings.cpp42 iColorType = CFX_Color::kGray; in GetColor()
92 iColorType = CFX_Color::kGray; in GetOriginalColor()
Dcpdf_defaultappearance.cpp123 iColorType = CFX_Color::kGray; in GetColor()
156 iColorType = CFX_Color::kGray; in GetColor()
Dcpvt_generateap.cpp178 case CFX_Color::kGray: in GenerateColorAP()
991 crLeftTop = CFX_Color(CFX_Color::kGray, 1); in GenerateFormAP()
992 crRightBottom = CFX_Color(CFX_Color::kGray, 0.5); in GenerateFormAP()
997 crLeftTop = CFX_Color(CFX_Color::kGray, 0.5); in GenerateFormAP()
998 crRightBottom = CFX_Color(CFX_Color::kGray, 0.75); in GenerateFormAP()
1183 rcButton, 2, CFX_Color(CFX_Color::kGray, 0), in GenerateFormAP()
1184 CFX_Color(CFX_Color::kGray, 1), CFX_Color(CFX_Color::kGray, 0.5), in GenerateFormAP()
1259 << GenerateColorAP(CFX_Color(CFX_Color::kGray, 1), in GenerateFormAP()
/external/pdfium/core/fpdfapi/render/
Dcpdf_renderoptions.h35 enum Type { kNormal = 0, kGray, kAlpha }; enumerator
Dcpdf_imagerenderer.cpp108 CPDF_RenderOptions::kGray)) { in StartRenderDIBSource()
Dcpdf_renderstatus.cpp2157 if (m_Options.ColorModeIs(CPDF_RenderOptions::kGray)) in DrawShading()
2339 if (m_Options.ColorModeIs(CPDF_RenderOptions::kGray)) in DrawTilingPattern()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_graph_dumper.cc138 kGray, enumerator
175 case kGray: in NodeColorsForScheme()
1039 return kGray; in GetInstructionColor()
/external/pdfium/fpdfsdk/formfiller/
Dcffl_formfiller.cpp304 cp.sTextColor = CFX_Color(CFX_Color::kGray, 0); in GetCreateParam()
/external/pdfium/fpdfsdk/
Dfpdfformfill.cpp187 options.SetColorMode(CPDF_RenderOptions::kGray); in FFLCommon()
Dfpdfannot.cpp552 case CFX_Color::kGray: in FPDFAnnot_GetColor()
Dcpdfsdk_widget.cpp925 CFX_Color crText = CFX_Color(CFX_Color::kGray, 0);
Dfpdfview.cpp107 pContext->m_pOptions->SetColorMode(CPDF_RenderOptions::kGray); in RenderPageImpl()