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

/frameworks/base/libs/hwui/
H A DPatchCache.cpp56 const uint32_t width, const uint32_t height, const int8_t numColors) {
61 if (uint8_t(numColors) < sizeof(uint32_t) * 4) {
62 for (int8_t i = 0; i < numColors; i++) {
53 get(const float bitmapWidth, const float 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.cpp507 int8_t numColors = 0; local
511 colors = getUInts(numColors);
1129 int8_t numColors = 0; local
1135 colors = getUInts(numColors);
1147 xDivsCount, yDivsCount, numColors, left, top, right, bottom,
1646 int8_t numColors, float left, float top, float right, float bottom, SkPaint* paint) {
1656 addUInts(colors, numColors);
1644 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 DOpenGLRenderer.cpp1861 const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors,
1867 return drawPatch(bitmap, xDivs, yDivs, colors, width, height, numColors,
1872 const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors,
1888 right - left, bottom - top, xDivs, yDivs, colors, width, height, numColors);
1860 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
1871 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 6939 milliseconds