Home
last modified time | relevance | path

Searched refs:InvertStyle (Results 1 – 5 of 5) sorted by relevance

/external/skia/gm/
Dhighcontrastfilter.cpp14 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/
DSkHighContrastFilter.h20 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/
DHighContrastFilterTest.cpp15 config.fInvertStyle = SkHighContrastConfig::InvertStyle::kInvertLightness; in DEF_TEST()
50 config.fInvertStyle = SkHighContrastConfig::InvertStyle::kInvertLightness; in DEF_TEST()
65 config.fInvertStyle = SkHighContrastConfig::InvertStyle::kInvertBrightness; in DEF_TEST()
67 config.fInvertStyle = SkHighContrastConfig::InvertStyle::kInvertLightness; in DEF_TEST()
73 config.fInvertStyle = static_cast<SkHighContrastConfig::InvertStyle>(999); in DEF_TEST()
79 config.fInvertStyle = SkHighContrastConfig::InvertStyle::kInvertBrightness; in DEF_TEST()
/external/skia/src/effects/
DSkHighContrastFilter.cpp23 using InvertStyle = SkHighContrastConfig::InvertStyle; typedef
92 if (fConfig.fInvertStyle == InvertStyle::kInvertBrightness) { in onAppendStages()
97 } else if (fConfig.fInvertStyle == InvertStyle::kInvertLightness) { in onAppendStages()
144 config.fInvertStyle = static_cast<InvertStyle>(buffer.readInt()); in CreateProc()
270 if (fConfig.fInvertStyle == InvertStyle::kInvertBrightness) { in emitCode()
274 if (fConfig.fInvertStyle == InvertStyle::kInvertLightness) { in emitCode()
/external/skia/fuzz/
DFuzzCanvas.cpp280 grayscale, SkHighContrastConfig::InvertStyle(invertStyle), contrast)); in make_fuzz_colorfilter()