Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DNinePatch.cpp299 const uint32_t expected_color = NinePatch::PackRGBA(rows[region.top] + region.left * 4); in GetRegionColor() local
307 if (get_alpha(expected_color) != 0) { in GetRegionColor()
310 } else if (color != expected_color) { in GetRegionColor()
316 if (get_alpha(expected_color) == 0) { in GetRegionColor()
319 return expected_color; in GetRegionColor()