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 | 15 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/ |
D | SkHighContrastFilter.cpp | 23 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/ |
D | FuzzCanvas.cpp | 280 grayscale, SkHighContrastConfig::InvertStyle(invertStyle), contrast)); in make_fuzz_colorfilter()
|