/frameworks/base/libs/hwui/ |
H A D | PatchCache.cpp | 56 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 D | PatchCache.h | 53 const uint32_t width, const uint32_t height, const int8_t numColors);
|
H A D | OpenGLRenderer.h | 182 const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors, 185 const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors,
|
H A D | DisplayListRenderer.cpp | 507 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 D | DisplayListRenderer.h | 592 const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors,
|
H A D | OpenGLRenderer.cpp | 1863 const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors, 1869 return drawPatch(bitmap, xDivs, yDivs, colors, width, height, numColors, 1874 const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors, 1890 right - left, bottom - top, xDivs, yDivs, colors, width, height, numColors); 1862 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 1873 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 D | Images.cpp | 457 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 D | ResourceTypes.h | 112 int8_t numColors; member in struct:android::Res_png_9patch
|
/frameworks/base/core/jni/ |
H A D | android_view_GLES20Canvas.cpp | 412 &patch->colors[0], patch->numXDivs, patch->numYDivs, patch->numColors,
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 148 for (int i=0; i<numColors; i++) { 165 for (int i=0; i<numColors; i++) { 179 + numColors * sizeof(uint32_t); 194 memmove(data, &wasDeserialized, 4); // copy wasDeserialized, numXDivs, numYDivs, numColors 202 memmove(data, this->colors, numColors * sizeof(uint32_t)); 208 memmove(&outData->wasDeserialized, patch, 4); // copy wasDeserialized, numXDivs, numYDivs, numColors 209 memmove(&outData->paddingLeft, patch + 12, 4); // copy wasDeserialized, numXDivs, numYDivs, numColors
|