Lines Matching refs:W
980 int W = image->width; in do9Patch() local
984 const int maxSizeXDivs = W * sizeof(int32_t); in do9Patch()
986 int32_t* xDivs = image->xDivs = new int32_t[W]; in do9Patch()
1017 if (W < 3 || H < 3) { in do9Patch()
1030 if (!getHorizontalTicks(p, W, transparent, true, &xDivs[0], &xDivs[1], in do9Patch()
1050 if (!getHorizontalTicks(image->rows[H - 1], W, transparent, false, in do9Patch()
1060 if (!getVerticalTicks(image->rows.data(), (W - 1) * 4, H, transparent, false, in do9Patch()
1070 getHorizontalLayoutBoundsTicks(image->rows[H - 1], W, transparent, false, in do9Patch()
1074 getVerticalLayoutBoundsTicks(image->rows.data(), (W - 1) * 4, H, transparent, in do9Patch()
1096 image->info9Patch.paddingRight = W - 2 - xDivs[1]; in do9Patch()
1099 image->info9Patch.paddingRight = W - 2 - image->info9Patch.paddingRight; in do9Patch()
1123 memmove(newRows[i], newRows[i] + 4, (W - 2) * 4); in do9Patch()
1128 W = image->width; in do9Patch()
1137 if (xDivs[numXDivs - 1] == W) { in do9Patch()
1189 for (i = xDivs[0] == 0 ? 1 : 0; i <= numXDivs && left < W; i++) { in do9Patch()
1191 right = W; in do9Patch()