暗黑模式分析
2020-11-27 17:41:18 0 举报
暗黑模式类图分析
作者其他创作
大纲/内容
DarkModeIconClassifier
InvertLowBrightnessColorsClassifier
重绘
需要设置图片灰度过滤器
PageThemeBackgroundColor
InlineTextBoxPainter
LabColorFilter
PageThemeColor
BoxPainterBase
GraphicsContext
PaintLayer
LocalFrameView
PageThemeColorNight
Document
ShouldApplyToImage主要用于判断图片是否需要颜色反转
HighContrastSettings
CompositedLayerMapping
Page
MediaControlsPainter
CSSDefaultStyleSheets
SkColorFilter
CollapsedBorderPainter
ComputedStyleCSSValueMapping
ObjectPainter
InvertHighBrightnessColorsClassifier
SkTableColorFilter
DarkModeFilter
SkHighContrastFilter
ComputedStyle
通知主题设置变化
主题色管理
DarkModeColorFilter
DarkModeGenericClassifier
DarkModeColorClassifier
DarkModeSettings
在调用DrawXXX收集绘制指令时会进行颜色切换
NinePieceImagePainter
保存应用层设置状态
LayoutBox
BoxPainter
PageThemeManager
在构建css样式表时也会进行相关的颜色设置和混合
image_filter_图片颜色反转
color_filter_,用于实际颜色反转
PaintRecordBuilder
DarkModeImageClassifier
ImagePainter
夜间模式颜色
SimpleColorClassifier
BoxBorderPainter
PageThemeAdjuster
LayoutObject
PaintLayerCompositor
InlineFlowBoxPainter
0 条评论
下一页