Lines Matching defs:rhs
192 static HWCLayer* copy(HWCLayer *rhs) {
193 return rhs ? rhs->dup() : nullptr;
214 LayerListIterator& operator = (const LayerListIterator& rhs);
218 LayerListIterator(const LayerListIterator& rhs)
219 : mLayerList(HWCLayer::copy(rhs.mLayerList)), mIndex(rhs.mIndex) {
235 bool operator == (const LayerListIterator& rhs) const {
236 return mIndex == rhs.mIndex;
238 bool operator != (const LayerListIterator& rhs) const {
239 return !operator==(rhs);
265 bool operator==(const DisplayConfig& rhs) const {
266 return width == rhs.width &&
267 height == rhs.height &&
268 xdpi == rhs.xdpi &&
269 ydpi == rhs.ydpi &&
270 refresh == rhs.refresh &&
271 colorMode == rhs.colorMode;