Home
last modified time | relevance | path

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

12

/external/pdfium/core/fxge/
Dcfx_color.cpp13 static_assert(CFX_Color::kTransparent < CFX_Color::kGray,
15 static_assert(CFX_Color::kGray < CFX_Color::kRGB,
28 return CFX_Color(CFX_Color::kGray); in ConvertCMYK2GRAY()
30 CFX_Color::kGray, in ConvertCMYK2GRAY()
48 return CFX_Color(CFX_Color::kGray); in ConvertRGB2GRAY()
49 return CFX_Color(CFX_Color::kGray, 0.3f * dR + 0.59f * dG + 0.11f * dB); in ConvertRGB2GRAY()
82 case CFX_Color::kGray: in ConvertColorType()
94 case CFX_Color::kGray: in ConvertColorType()
104 case CFX_Color::kGray: in ConvertColorType()
123 case CFX_Color::kGray: { in ToFXColor()
[all …]
Dcfx_color.h14 enum Type { kTransparent = 0, kGray, kRGB, kCMYK }; enumerator
/external/skia/resources/sksl/inliner/
DEnumsCanBeInlinedSafely.sksl11 kGray = 1,
16 E temp = E::kGray;
19 case E::kGray: return colorGreen;
/external/pdfium/core/fpdfdoc/
Dcpdf_color_utils.cpp19 rt = CFX_Color(CFX_Color::kGray, array.GetNumberAt(0)); in CFXColorFromArray()
40 if (*color_type == CFX_Color::kGray) in CFXColorFromString()
41 return CFX_Color(CFX_Color::kGray, values[0]); in CFXColorFromString()
Dcpdf_defaultappearance.cpp81 return {CFX_Color::kGray}; in GetColor()
107 if (*type == CFX_Color::kGray) { in GetColor()
Dcpdf_apsettings.cpp43 iColorType = CFX_Color::kGray; in GetColor()
93 iColorType = CFX_Color::kGray; in GetOriginalColor()
Dcpvt_generateap.cpp188 case CFX_Color::kGray: in GenerateColorAP()
1021 crLeftTop = CFX_Color(CFX_Color::kGray, 1); in GenerateFormAP()
1022 crRightBottom = CFX_Color(CFX_Color::kGray, 0.5); in GenerateFormAP()
1027 crLeftTop = CFX_Color(CFX_Color::kGray, 0.5); in GenerateFormAP()
1028 crRightBottom = CFX_Color(CFX_Color::kGray, 0.75); in GenerateFormAP()
1212 rcButton, 2, CFX_Color(CFX_Color::kGray, 0), in GenerateFormAP()
1213 CFX_Color(CFX_Color::kGray, 1), CFX_Color(CFX_Color::kGray, 0.5), in GenerateFormAP()
1292 << GenerateColorAP(CFX_Color(CFX_Color::kGray, 1), in GenerateFormAP()
/external/skia/gm/
Dencode_color_types.cpp68 kGray, enumerator
85 fVariant == Variant::kGray ? "gray-" : in onShortName()
98 case Variant::kGray: in onDraw()
166 DEF_ENCODE_GM(format, quality, kGray, name);
/external/pdfium/fxjs/
Dcjs_color.cpp61 case CFX_Color::kGray: in ConvertPWLColorToArray()
103 return CFX_Color(CFX_Color::kGray, d1); in ConvertArrayToPWLColor()
132 m_crBlack(CFX_Color::kGray, 0), in CJS_Color()
133 m_crWhite(CFX_Color::kGray, 1), in CJS_Color()
140 m_crDKGray(CFX_Color::kGray, 0.25), in CJS_Color()
141 m_crGray(CFX_Color::kGray, 0.5), in CJS_Color()
142 m_crLTGray(CFX_Color::kGray, 0.75) {} in CJS_Color()
284 nColorType = CFX_Color::kGray; in convert()
Dcjs_field.cpp1304 } else if (iColorType == CFX_Color::kGray) { in get_fill_color()
1305 color = CFX_Color(CFX_Color::kGray, in get_fill_color()
1837 } else if (iColorType == CFX_Color::kGray) { in get_stroke_color()
1839 CFX_Color(CFX_Color::kGray, pFormControl->GetOriginalBorderColor(0)); in get_stroke_color()
/external/pdfium/fpdfsdk/
Dcpdfsdk_appstream.cpp117 case CFX_Color::kGray: in GetColorAppStream()
1066 rcBBox, 2, CFX_Color(CFX_Color::kGray, 0), in GetDropButtonAppStream()
1067 CFX_Color(CFX_Color::kGray, 1), CFX_Color(CFX_Color::kGray, 0.5), in GetDropButtonAppStream()
1178 crLeftTop = CFX_Color(CFX_Color::kGray, 1); in SetAsPushButton()
1183 crLeftTop = CFX_Color(CFX_Color::kGray, 0.5); in SetAsPushButton()
1184 crRightBottom = CFX_Color(CFX_Color::kGray, 0.75); in SetAsPushButton()
1191 CFX_Color crText(CFX_Color::kGray, 0); in SetAsPushButton()
1287 crLeftTop = CFX_Color(CFX_Color::kGray, 0); in SetAsPushButton()
1288 crRightBottom = CFX_Color(CFX_Color::kGray, 1); in SetAsPushButton()
1339 crLeftTop = CFX_Color(CFX_Color::kGray, 1); in SetAsCheckBox()
[all …]
Dcpdfsdk_renderpage.cpp44 pContext->m_pOptions->SetColorMode(CPDF_RenderOptions::kGray); in RenderPageImpl()
Dfpdf_formfill.cpp213 options.SetColorMode(CPDF_RenderOptions::kGray); in FFLCommon()
Dcpdfsdk_widget.cpp754 CFX_Color crText = CFX_Color(CFX_Color::kGray, 0); in GetTextPWLColor()
Dfpdf_annot.cpp614 case CFX_Color::kGray: in FPDFAnnot_GetColor()
/external/skia/docs/examples/
DColors.cpp9 {SkColors::kGray, "SkColors::kGray"}, in draw()
/external/pdfium/core/fpdfapi/render/
Dcpdf_renderoptions.h17 enum Type : uint8_t { kNormal = 0, kGray, kAlpha }; enumerator
Dcpdf_imagerenderer.cpp104 } else if (GetRenderOptions().ColorModeIs(CPDF_RenderOptions::kGray)) { in StartRenderDIBBase()
/external/pdfium/fpdfsdk/pwl/
Dcpwl_wnd.h89 #define PWL_DEFAULT_BLACKCOLOR CFX_Color(CFX_Color::kGray, 0)
90 #define PWL_DEFAULT_WHITECOLOR CFX_Color(CFX_Color::kGray, 1)
Dcpwl_wnd.cpp663 return CFX_Color(CFX_Color::kGray, 1); in GetBorderLeftTopColor()
665 return CFX_Color(CFX_Color::kGray, 0.5f); in GetBorderLeftTopColor()
676 return CFX_Color(CFX_Color::kGray, 0.75f); in GetBorderRightBottomColor()
Dcpwl_scroll_bar.cpp27 #define PWL_DEFAULT_HEAVYGRAYCOLOR CFX_Color(CFX_Color::kGray, 0.50)
/external/skia/include/core/
DSkColor.h428 constexpr SkColor4f kGray = {0.50f, 0.50f, 0.50f, 1}; variable
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_graph_dumper.cc137 kGray, enumerator
174 case kGray: in NodeColorsForScheme()
1063 return kGray; in GetInstructionColor()
/external/pdfium/fpdfsdk/formfiller/
Dcffl_formfiller.cpp304 cp.sTextColor = CFX_Color(CFX_Color::kGray, 0); in GetCreateParam()
/external/skia/tests/
DBackendAllocationTest.cpp595 { kRGBA_F32_SkColorType, SkColors::kGray }, in color_type_backend_allocation_test()

12