Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DPatchCache.cpp56 const uint32_t width, const uint32_t height, const int8_t numColors) { in get() argument
61 if (uint8_t(numColors) < sizeof(uint32_t) * 4) { in get()
62 for (int8_t i = 0; i < numColors; i++) { in get()
DPatchCache.h53 const uint32_t width, const uint32_t height, const int8_t numColors);
DDisplayListRenderer.cpp380 int8_t numColors = 0; in output() local
384 colors = getUInts(numColors); in output()
725 int8_t numColors = 0; in replay() local
731 colors = getUInts(numColors); in replay()
741 numColors, left, top, right, bottom, paint); in replay()
1124 const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors, in drawPatch() argument
1130 addUInts(colors, numColors); in drawPatch()
DOpenGLRenderer.h110 const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors,
DDisplayListRenderer.h277 const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors,
DOpenGLRenderer.cpp1526 const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors, in drawPatch() argument
1544 right - left, bottom - top, xDivs, yDivs, colors, width, height, numColors); in drawPatch()
/frameworks/base/tools/aapt/
DImages.cpp344 int8_t numColors; in do_9patch() local
474 numColors = numRows * numCols; in do_9patch()
475 image->info9Patch.numColors = numColors; in do_9patch()
476 image->info9Patch.colors = (uint32_t*)malloc(numColors * sizeof(uint32_t)); in do_9patch()
526 assert(colorIndex == numColors); in do_9patch()
528 for (i=0; i<numColors; i++) { in do_9patch()
532 if (i == numColors - 1) printf("\n"); in do_9patch()
582 for (int i = 0; i < outPatch->numColors; i++) { in checkNinePatchSerialization()
591 patch1.numColors == patch2.numColors && in patch_equals()
598 for (int i = 0; i < patch1.numColors; i++) { in patch_equals()
/frameworks/base/libs/utils/
DResourceTypes.cpp148 for (int i=0; i<numColors; i++) { in deviceToFile()
165 for (int i=0; i<numColors; i++) { in fileToDevice()
179 + numColors * sizeof(uint32_t); in serializedSize()
202 memmove(data, this->colors, numColors * sizeof(uint32_t)); in serialize()
/frameworks/base/core/jni/
Dandroid_view_GLES20Canvas.cpp376 &patch->colors[0], patch->numXDivs, patch->numYDivs, patch->numColors, in android_view_GLES20Canvas_drawPatch()
/frameworks/base/include/utils/
DResourceTypes.h112 int8_t numColors; member