Lines Matching refs:other
49 StretchEffect& operator=(const StretchEffect& other) {
50 this->mStretchDirection = other.mStretchDirection;
51 this->maxStretchAmountX = other.maxStretchAmountX;
52 this->maxStretchAmountY = other.maxStretchAmountY;
56 bool operator==(const StretchEffect& other) const {
57 return mStretchDirection == other.mStretchDirection &&
58 maxStretchAmountX == other.maxStretchAmountX &&
59 maxStretchAmountY == other.maxStretchAmountY;
62 void mergeWith(const StretchEffect& other) { in mergeWith() argument
63 if (other.isEmpty()) { in mergeWith()
67 *this = other; in mergeWith()
70 mStretchDirection += other.mStretchDirection; in mergeWith()
74 maxStretchAmountX = std::max(maxStretchAmountX, other.maxStretchAmountX); in mergeWith()
75 maxStretchAmountY = std::max(maxStretchAmountY, other.maxStretchAmountY); in mergeWith()