Lines Matching refs:patch2
723 static bool patch_equals(Res_png_9patch& patch1, Res_png_9patch& patch2) {
724 if (!(patch1.numXDivs == patch2.numXDivs &&
725 patch1.numYDivs == patch2.numYDivs &&
726 patch1.numColors == patch2.numColors &&
727 patch1.paddingLeft == patch2.paddingLeft &&
728 patch1.paddingRight == patch2.paddingRight &&
729 patch1.paddingTop == patch2.paddingTop &&
730 patch1.paddingBottom == patch2.paddingBottom)) {
734 if (patch1.colors[i] != patch2.colors[i]) {
739 if (patch1.xDivs[i] != patch2.xDivs[i]) {
744 if (patch1.yDivs[i] != patch2.yDivs[i]) {