Searched refs:PackRGBA (Results 1 – 3 of 3) sorted by relevance
140 return NinePatch::PackRGBA(rows_[yoffset_] + (idx + xoffset_) * 4); in GetColor()165 return NinePatch::PackRGBA(rows_[yoffset_ + idx] + (xoffset_ * 4)); in GetColor()192 return NinePatch::PackRGBA(rows_[yoffset_ + (idx * ystep_)] + ((idx + xoffset_) * xstep_) * 4); in GetColor()299 const uint32_t expected_color = NinePatch::PackRGBA(rows[region.top] + region.left * 4); in GetRegionColor()303 const uint32_t color = NinePatch::PackRGBA(row + x * 4); in GetRegionColor()450 uint32_t NinePatch::PackRGBA(const uint8_t* pixel) { in PackRGBA() function in android::NinePatch470 } else if (PackRGBA(rows[0]) == kColorOpaqueWhite) { in Create()
260 NinePatch::PackRGBA((uint8_t*)RED), (uint32_t)android::Res_png_9patch::NO_COLOR, in TEST()261 NinePatch::PackRGBA((uint8_t*)GREEN), (uint32_t)android::Res_png_9patch::TRANSPARENT_COLOR, in TEST()262 NinePatch::PackRGBA((uint8_t*)BLUE), NinePatch::PackRGBA((uint8_t*)GREEN), in TEST()
125 static uint32_t PackRGBA(const uint8_t* pixel);