Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/compile/
DNinePatch.cpp94 const ColorValidator* color_validator, in FillRanges() argument
103 if (!color_validator->IsValidColor(color)) { in FillRanges()
474 std::unique_ptr<ColorValidator> color_validator; in Create() local
477 color_validator = util::make_unique<TransparentNeutralColorValidator>(); in Create()
479 color_validator = util::make_unique<WhiteNeutralColorValidator>(); in Create()
490 if (!FillRanges(&top_row, color_validator.get(), in Create()
506 if (!FillRanges(&left_col, color_validator.get(), in Create()
521 if (!FillRanges(&bottom_row, color_validator.get(), &horizontal_padding, in Create()
535 if (!FillRanges(&right_col, color_validator.get(), &vertical_padding, in Create()