Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/compile/
DNinePatch.cpp143 return NinePatch::PackRGBA(rows_[yoffset_] + (idx + xoffset_) * 4); in GetColor()
166 return NinePatch::PackRGBA(rows_[yoffset_ + idx] + (xoffset_ * 4)); in GetColor()
190 return NinePatch::PackRGBA(rows_[yoffset_ + (idx * ystep_)] + in GetColor()
305 NinePatch::PackRGBA(rows[region.top] + region.left * 4); in GetRegionColor()
309 const uint32_t color = NinePatch::PackRGBA(row + x * 4); in GetRegionColor()
456 uint32_t NinePatch::PackRGBA(const uint8_t* pixel) { in PackRGBA() function in aapt::NinePatch
478 } else if (PackRGBA(rows[0]) == kColorOpaqueWhite) { in Create()
DNinePatch_test.cpp289 NinePatch::PackRGBA((uint8_t*)RED), in TEST()
291 NinePatch::PackRGBA((uint8_t*)GREEN), in TEST()
293 NinePatch::PackRGBA((uint8_t*)BLUE), in TEST()
294 NinePatch::PackRGBA((uint8_t*)GREEN), in TEST()
DImage.h125 static uint32_t PackRGBA(const uint8_t* pixel);