Searched defs:numColors (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/
H A DPatch.cpp62 const int8_t numColors = patch->numColors; local
63 if (uint8_t(numColors) < sizeof(uint32_t) * 4) {
64 for (int8_t i = 0; i < numColors; i++) {
/frameworks/base/tools/aapt/
H A DImages.cpp457 int8_t numColors; local
609 numColors = numRows * numCols;
610 image->info9Patch.numColors = numColors;
611 image->info9Patch.colors = (uint32_t*)malloc(numColors * sizeof(uint32_t));
661 assert(colorIndex == numColors);
663 for (i=0; i<numColors; i++) {
667 if (i == numColors - 1) printf("\n");
717 for (int i = 0; i < outPatch->numColors; i++) {
726 patch1.numColors
[all...]
/frameworks/base/include/androidfw/
H A DResourceTypes.h112 int8_t numColors; member in struct:android::Res_png_9patch

Completed in 530 milliseconds