/external/pdfium/core/fxge/ |
D | cfx_color.cpp | 13 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 …]
|
D | cfx_color.h | 14 enum Type { kTransparent = 0, kGray, kRGB, kCMYK }; enumerator
|
/external/skia/resources/sksl/inliner/ |
D | EnumsCanBeInlinedSafely.sksl | 11 kGray = 1, 16 E temp = E::kGray; 19 case E::kGray: return colorGreen;
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_color_utils.cpp | 19 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()
|
D | cpdf_defaultappearance.cpp | 81 return {CFX_Color::kGray}; in GetColor() 107 if (*type == CFX_Color::kGray) { in GetColor()
|
D | cpdf_apsettings.cpp | 43 iColorType = CFX_Color::kGray; in GetColor() 93 iColorType = CFX_Color::kGray; in GetOriginalColor()
|
D | cpvt_generateap.cpp | 188 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/ |
D | encode_color_types.cpp | 68 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/ |
D | cjs_color.cpp | 61 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()
|
D | cjs_field.cpp | 1304 } 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/ |
D | cpdfsdk_appstream.cpp | 117 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 …]
|
D | cpdfsdk_renderpage.cpp | 44 pContext->m_pOptions->SetColorMode(CPDF_RenderOptions::kGray); in RenderPageImpl()
|
D | fpdf_formfill.cpp | 213 options.SetColorMode(CPDF_RenderOptions::kGray); in FFLCommon()
|
D | cpdfsdk_widget.cpp | 754 CFX_Color crText = CFX_Color(CFX_Color::kGray, 0); in GetTextPWLColor()
|
D | fpdf_annot.cpp | 614 case CFX_Color::kGray: in FPDFAnnot_GetColor()
|
/external/skia/docs/examples/ |
D | Colors.cpp | 9 {SkColors::kGray, "SkColors::kGray"}, in draw()
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_renderoptions.h | 17 enum Type : uint8_t { kNormal = 0, kGray, kAlpha }; enumerator
|
D | cpdf_imagerenderer.cpp | 104 } else if (GetRenderOptions().ColorModeIs(CPDF_RenderOptions::kGray)) { in StartRenderDIBBase()
|
/external/pdfium/fpdfsdk/pwl/ |
D | cpwl_wnd.h | 89 #define PWL_DEFAULT_BLACKCOLOR CFX_Color(CFX_Color::kGray, 0) 90 #define PWL_DEFAULT_WHITECOLOR CFX_Color(CFX_Color::kGray, 1)
|
D | cpwl_wnd.cpp | 663 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()
|
D | cpwl_scroll_bar.cpp | 27 #define PWL_DEFAULT_HEAVYGRAYCOLOR CFX_Color(CFX_Color::kGray, 0.50)
|
/external/skia/include/core/ |
D | SkColor.h | 428 constexpr SkColor4f kGray = {0.50f, 0.50f, 0.50f, 1}; variable
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_graph_dumper.cc | 137 kGray, enumerator 174 case kGray: in NodeColorsForScheme() 1063 return kGray; in GetInstructionColor()
|
/external/pdfium/fpdfsdk/formfiller/ |
D | cffl_formfiller.cpp | 304 cp.sTextColor = CFX_Color(CFX_Color::kGray, 0); in GetCreateParam()
|
/external/skia/tests/ |
D | BackendAllocationTest.cpp | 595 { kRGBA_F32_SkColorType, SkColors::kGray }, in color_type_backend_allocation_test()
|