Lines Matching refs:W
545 int W = image->width; in do_9patch() local
549 int maxSizeXDivs = W * sizeof(int32_t); in do_9patch()
582 if (W < 3 || H < 3) { in do_9patch()
595 if (get_horizontal_ticks(p, W, transparent, true, &xDivs[0], in do_9patch()
615 … if (get_horizontal_ticks(image->rows[H-1], W, transparent, false, &image->info9Patch.paddingLeft, in do_9patch()
623 … if (get_vertical_ticks(image->rows, (W-1)*4, H, transparent, false, &image->info9Patch.paddingTop, in do_9patch()
631 get_horizontal_layout_bounds_ticks(image->rows[H-1], W, transparent, false, in do_9patch()
635 get_vertical_layout_bounds_ticks(image->rows, (W-1)*4, H, transparent, false, in do_9patch()
657 image->info9Patch.paddingRight = W - 2 - xDivs[1]; in do_9patch()
660 image->info9Patch.paddingRight = W - 2 - image->info9Patch.paddingRight; in do_9patch()
683 memmove(image->rows[i], image->rows[i]+4, (W-2)*4); in do_9patch()
686 W = image->width; in do_9patch()
695 if (xDivs[numXDivs - 1] == W) { in do_9patch()
750 i <= numXDivs && left < W; in do_9patch()
753 right = W; in do_9patch()