Searched refs:numYDivs (Results 1 - 7 of 7) sorted by relevance
/frameworks/base/libs/hwui/utils/ |
H A D | NinePatchImpl.cpp | 119 yDivs, chunk.numYDivs, 170 const uint8_t numYDivs = chunk.numYDivs; local 193 for (i = 0; i < numYDivs; i += 2) { 203 numXDivs, numYDivs); 212 // being either yDivs[numYDivs-2] (if yDivs[numYDivs-1]=bitmap.height) or 213 // yDivs[numYDivs-1]. In the former case the last row is stretchable along 225 j <= numYDivs && src.fTop < bitmapHeight; 229 if (j == numYDivs) { [all...] |
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 554 uint8_t numYDivs = 0; local 604 &yDivs[1], &errorMsg, &numYDivs, true) != NO_ERROR) { 612 image->info9Patch.numYDivs = numYDivs; 698 numRows = numYDivs + 1; 702 if (yDivs[numYDivs - 1] == H) { 726 // being either yDivs[numYDivs-2] (if yDivs[numYDivs-1]=bitmap.height) or 727 // yDivs[numYDivs-1]. In the former case the last row is stretchable along 739 j <= numYDivs [all...] |
/frameworks/base/tools/aapt2/compile/ |
H A D | Png.cpp | 162 assert(outPatch->numYDivs == inPatch->numYDivs); 170 for (int i = 0; i < outPatch->numYDivs; i++) { 952 uint8_t numYDivs = 0; local 1002 &errorMsg, &numYDivs, true)) { 1010 image->info9Patch.numYDivs = numYDivs; 1098 numRows = numYDivs + 1; 1102 if (yDivs[numYDivs - 1] == H) { 1126 // being either yDivs[numYDivs [all...] |
/frameworks/base/libs/hwui/ |
H A D | Patch.cpp | 55 uint32_t yCount = patch->numYDivs;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapFactory.cpp | 125 scaleDivRange(chunk->getYDivs(), chunk->numYDivs, scale, scaledHeight);
|
/frameworks/base/include/androidfw/ |
H A D | ResourceTypes.h | 125 uint8_t numYDivs; variable
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 140 patch->colorsOffset = patch->yDivsOffset + (patch->numYDivs * sizeof(int32_t)); 158 for (int i = 0; i < numYDivs; i++) { 178 for (int i = 0; i < numYDivs; i++) { 199 + numYDivs * sizeof(int32_t) 217 memcpy(data, &patch.wasDeserialized, 4); // copy wasDeserialized, numXDivs, numYDivs, numColors 223 memcpy(data, yDivs, patch.numYDivs * sizeof(int32_t)); 224 data += patch.numYDivs * sizeof(int32_t);
|
Completed in 373 milliseconds