Home
last modified time | relevance | path

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

/external/skia/gm/
Dhighcontrastfilter.cpp32 using InvertStyle = SkHighContrastConfig::InvertStyle; typedef
41 (config.fInvertStyle == InvertStyle::kInvertBrightness ? in draw_label()
43 (config.fInvertStyle == InvertStyle::kInvertLightness ? in draw_label()
135 { false, InvertStyle::kNoInvert, 0.0f }, in onDraw()
136 { false, InvertStyle::kInvertBrightness, 0.0f }, in onDraw()
137 { false, InvertStyle::kInvertLightness, 0.0f }, in onDraw()
138 { false, InvertStyle::kInvertLightness, 0.2f }, in onDraw()
139 { true, InvertStyle::kNoInvert, 0.0f }, in onDraw()
140 { true, InvertStyle::kInvertBrightness, 0.0f }, in onDraw()
141 { true, InvertStyle::kInvertLightness, 0.0f }, in onDraw()
[all …]
Dimagefilters.cpp222 {false, SkHighContrastConfig::InvertStyle::kNoInvert, 0.5f});
/external/skqp/gm/
Dhighcontrastfilter.cpp15 using InvertStyle = SkHighContrastConfig::InvertStyle; typedef
24 (config.fInvertStyle == InvertStyle::kInvertBrightness ? in draw_label()
26 (config.fInvertStyle == InvertStyle::kInvertLightness ? in draw_label()
120 { false, InvertStyle::kNoInvert, 0.0f }, in onDraw()
121 { false, InvertStyle::kInvertBrightness, 0.0f }, in onDraw()
122 { false, InvertStyle::kInvertLightness, 0.0f }, in onDraw()
123 { false, InvertStyle::kInvertLightness, 0.2f }, in onDraw()
124 { true, InvertStyle::kNoInvert, 0.0f }, in onDraw()
125 { true, InvertStyle::kInvertBrightness, 0.0f }, in onDraw()
126 { true, InvertStyle::kInvertLightness, 0.0f }, in onDraw()
[all …]
/external/skia/include/effects/
DSkHighContrastFilter.h19 enum class InvertStyle { enum
29 fInvertStyle = InvertStyle::kNoInvert; in SkHighContrastConfig()
34 InvertStyle invertStyle, in SkHighContrastConfig()
42 return fInvertStyle >= InvertStyle::kNoInvert && in isValid()
43 fInvertStyle <= InvertStyle::kInvertLightness && in isValid()
52 InvertStyle fInvertStyle;
/external/skqp/include/effects/
DSkHighContrastFilter.h20 enum class InvertStyle { enum
30 fInvertStyle = InvertStyle::kNoInvert; in SkHighContrastConfig()
35 InvertStyle invertStyle, in SkHighContrastConfig()
43 return fInvertStyle >= InvertStyle::kNoInvert && in isValid()
44 fInvertStyle <= InvertStyle::kInvertLightness && in isValid()
53 InvertStyle fInvertStyle;
/external/skia/tests/
DHighContrastFilterTest.cpp15 config.fInvertStyle = SkHighContrastConfig::InvertStyle::kInvertLightness; in DEF_TEST()
50 config.fInvertStyle = SkHighContrastConfig::InvertStyle::kInvertLightness; in DEF_TEST()
66 config.fInvertStyle = SkHighContrastConfig::InvertStyle::kInvertBrightness; in DEF_TEST()
68 config.fInvertStyle = SkHighContrastConfig::InvertStyle::kInvertLightness; in DEF_TEST()
74 config.fInvertStyle = static_cast<SkHighContrastConfig::InvertStyle>(999); in DEF_TEST()
81 config.fInvertStyle = SkHighContrastConfig::InvertStyle::kInvertBrightness; in DEF_TEST()
/external/skqp/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/skqp/src/effects/
DSkHighContrastFilter.cpp23 using InvertStyle = SkHighContrastConfig::InvertStyle; typedef
89 if (fConfig.fInvertStyle == InvertStyle::kInvertBrightness) { in onAppendStages()
94 } else if (fConfig.fInvertStyle == InvertStyle::kInvertLightness) { in onAppendStages()
139 config.fInvertStyle = buffer.read32LE(InvertStyle::kLast); in CreateProc()
264 if (config.fInvertStyle == InvertStyle::kInvertBrightness) { in emitCode()
268 if (config.fInvertStyle == InvertStyle::kInvertLightness) { in emitCode()
/external/skia/bench/
DColorFilterBench.cpp190 false, SkHighContrastConfig::InvertStyle::kInvertLightness, 0.2f in __anonb80003540b02()
/external/skia/fuzz/
DFuzzCanvas.cpp130 grayscale, SkHighContrastConfig::InvertStyle(invertStyle), contrast)); in make_fuzz_colorfilter()
/external/skqp/fuzz/
DFuzzCanvas.cpp147 grayscale, SkHighContrastConfig::InvertStyle(invertStyle), contrast)); in make_fuzz_colorfilter()