Searched refs:InvertStyle (Results 1 – 5 of 5) sorted by relevance
/external/skia/gm/ |
D | highcontrastfilter.cpp | 14 using InvertStyle = SkHighContrastConfig::InvertStyle; typedef 23 (config.fInvertStyle == InvertStyle::kInvertBrightness ? in draw_label() 25 (config.fInvertStyle == InvertStyle::kInvertLightness ? in draw_label() 115 { false, InvertStyle::kNoInvert, 0.0f }, in onDraw() 116 { false, InvertStyle::kInvertBrightness, 0.0f }, in onDraw() 117 { false, InvertStyle::kInvertLightness, 0.0f }, in onDraw() 118 { false, InvertStyle::kInvertLightness, 0.2f }, in onDraw() 119 { true, InvertStyle::kNoInvert, 0.0f }, in onDraw() 120 { true, InvertStyle::kInvertBrightness, 0.0f }, in onDraw() 121 { true, InvertStyle::kInvertLightness, 0.0f }, in onDraw() [all …]
|
/external/skia/include/effects/ |
D | SkHighContrastFilter.h | 20 enum class InvertStyle { enum 28 fInvertStyle = InvertStyle::kNoInvert; in SkHighContrastConfig() 33 InvertStyle invertStyle, in SkHighContrastConfig() 41 return fInvertStyle >= InvertStyle::kNoInvert && in isValid() 42 fInvertStyle <= InvertStyle::kInvertLightness && in isValid() 51 InvertStyle fInvertStyle;
|
/external/skia/tests/ |
D | HighContrastFilterTest.cpp | 14 config.fInvertStyle = SkHighContrastConfig::InvertStyle::kInvertLightness; in DEF_TEST() 53 config.fInvertStyle = SkHighContrastConfig::InvertStyle::kInvertLightness; in DEF_TEST() 68 config.fInvertStyle = SkHighContrastConfig::InvertStyle::kInvertBrightness; in DEF_TEST() 70 config.fInvertStyle = SkHighContrastConfig::InvertStyle::kInvertLightness; in DEF_TEST() 76 config.fInvertStyle = static_cast<SkHighContrastConfig::InvertStyle>(999); in DEF_TEST() 82 config.fInvertStyle = SkHighContrastConfig::InvertStyle::kInvertBrightness; in DEF_TEST()
|
/external/skia/src/effects/ |
D | SkHighContrastFilter.cpp | 22 using InvertStyle = SkHighContrastConfig::InvertStyle; typedef 86 if (config.fInvertStyle == InvertStyle::kInvertBrightness) { in ApplyHighContrastFilter() 90 } else if (config.fInvertStyle == InvertStyle::kInvertLightness) { in ApplyHighContrastFilter() 214 if (fConfig.fInvertStyle == InvertStyle::kInvertBrightness) { in onAppendStages() 219 } else if (fConfig.fInvertStyle == InvertStyle::kInvertLightness) { in onAppendStages() 257 config.fInvertStyle = static_cast<InvertStyle>(buffer.readInt()); in CreateProc() 382 if (fConfig.fInvertStyle == InvertStyle::kInvertBrightness) { in emitCode() 386 if (fConfig.fInvertStyle == InvertStyle::kInvertLightness) { in emitCode()
|
/external/skia/fuzz/ |
D | FuzzCanvas.cpp | 279 grayscale, SkHighContrastConfig::InvertStyle(invertStyle), contrast)); in make_fuzz_colorfilter()
|