Lines Matching refs:other
69 bool operator == (const OutputConfiguration& other) const {
70 return ( mRotation == other.mRotation &&
71 mSurfaceSetID == other.mSurfaceSetID &&
72 mSurfaceType == other.mSurfaceType &&
73 mWidth == other.mWidth &&
74 mHeight == other.mHeight &&
75 mIsDeferred == other.mIsDeferred &&
76 mIsShared == other.mIsShared &&
77 gbpsEqual(other));
79 bool operator != (const OutputConfiguration& other) const {
80 return !(*this == other);
82 bool operator < (const OutputConfiguration& other) const {
83 if (*this == other) return false;
84 if (mSurfaceSetID != other.mSurfaceSetID) {
85 return mSurfaceSetID < other.mSurfaceSetID;
87 if (mSurfaceType != other.mSurfaceType) {
88 return mSurfaceType < other.mSurfaceType;
90 if (mWidth != other.mWidth) {
91 return mWidth < other.mWidth;
93 if (mHeight != other.mHeight) {
94 return mHeight < other.mHeight;
96 if (mRotation != other.mRotation) {
97 return mRotation < other.mRotation;
99 if (mIsDeferred != other.mIsDeferred) {
100 return mIsDeferred < other.mIsDeferred;
102 if (mIsShared != other.mIsShared) {
103 return mIsShared < other.mIsShared;
105 return gbpsLessThan(other);
107 bool operator > (const OutputConfiguration& other) const {
108 return (*this != other && !(*this < other));
111 bool gbpsEqual(const OutputConfiguration& other) const;
112 bool gbpsLessThan(const OutputConfiguration& other) const;