Home | History | Annotate | Download | only in camera2

Lines Matching refs:other

67     bool operator == (const OutputConfiguration& other) const {
68 return (mGbp == other.mGbp &&
69 mRotation == other.mRotation &&
70 mSurfaceSetID == other.mSurfaceSetID &&
71 mSurfaceType == other.mSurfaceType &&
72 mWidth == other.mWidth &&
73 mHeight == other.mHeight);
75 bool operator != (const OutputConfiguration& other) const {
76 return !(*this == other);
78 bool operator < (const OutputConfiguration& other) const {
79 if (*this == other) return false;
80 if (mGbp != other.mGbp) return mGbp < other.mGbp;
81 if (mSurfaceSetID != other.mSurfaceSetID) {
82 return mSurfaceSetID < other.mSurfaceSetID;
84 if (mSurfaceType != other.mSurfaceType) {
85 return mSurfaceType < other.mSurfaceType;
87 if (mWidth != other.mWidth) {
88 return mWidth < other.mWidth;
90 if (mHeight != other.mHeight) {
91 return mHeight < other.mHeight;
94 return mRotation < other.mRotation;
96 bool operator > (const OutputConfiguration& other) const {
97 return (*this != other && !(*this < other));