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

/frameworks/base/libs/hwui/
H A DPatchCache.cpp85 const uint32_t width, const uint32_t height, const int8_t numColors) {
90 if (uint8_t(numColors) < sizeof(uint32_t) * 4) {
91 for (int8_t i = 0; i < numColors; i++) {
82 get(const uint32_t bitmapWidth, const uint32_t bitmapHeight, const float pixelWidth, const float pixelHeight, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, const uint32_t width, const uint32_t height, const int8_t numColors) argument
H A DDisplayListRenderer.cpp318 int8_t numColors, float left, float top, float right, float bottom, SkPaint* paint) {
326 colors = refBuffer<uint32_t>(colors, numColors);
328 addDrawOp(new (alloc()) DrawPatchOp(bitmap, xDivs, yDivs, colors, width, height, numColors,
316 drawPatch(SkBitmap* bitmap, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors, float left, float top, float right, float bottom, SkPaint* paint) argument
H A DDisplayListOp.h909 int8_t numColors, float left, float top, float right, float bottom,
914 mNumColors(numColors), mAlpha(alpha), mMode(mode) {};
907 DrawPatchOp(SkBitmap* bitmap, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors, float left, float top, float right, float bottom, int alpha, SkXfermode::Mode mode) argument
H A DOpenGLRenderer.cpp2299 const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors,
2305 return drawPatch(bitmap, xDivs, yDivs, colors, width, height, numColors,
2310 const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors,
2319 right - left, bottom - top, xDivs, yDivs, colors, width, height, numColors);
2298 drawPatch(SkBitmap* bitmap, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors, float left, float top, float right, float bottom, SkPaint* paint) argument
2309 drawPatch(SkBitmap* bitmap, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors, float left, float top, float right, float bottom, int alpha, SkXfermode::Mode mode) argument
/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 207 milliseconds