/frameworks/native/include/ui/ |
D | Region.h | 39 Region(const Region& rhs); 40 explicit Region(const Rect& rhs); 45 Region& operator = (const Region& rhs); 60 Region& orSelf(const Rect& rhs); 61 Region& xorSelf(const Rect& rhs); 62 Region& andSelf(const Rect& rhs); 63 Region& subtractSelf(const Rect& rhs); 66 Region& orSelf(const Region& rhs); 67 Region& xorSelf(const Region& rhs); 68 Region& andSelf(const Region& rhs); [all …]
|
D | Point.h | 40 inline bool operator == (const Point& rhs) const { 41 return (x == rhs.x) && (y == rhs.y); 43 inline bool operator != (const Point& rhs) const { 44 return !operator == (rhs); 53 bool operator < (const Point& rhs) const { 54 return y<rhs.y || (y==rhs.y && x<rhs.x); 63 inline Point& operator += (const Point& rhs) { 64 x += rhs.x; 65 y += rhs.y; 68 inline Point& operator -= (const Point& rhs) { [all …]
|
D | Rect.h | 114 inline bool operator == (const Rect& rhs) const { 115 return (left == rhs.left) && (top == rhs.top) && 116 (right == rhs.right) && (bottom == rhs.bottom); 119 inline bool operator != (const Rect& rhs) const { 120 return !operator == (rhs); 125 bool operator < (const Rect& rhs) const; 127 const Rect operator + (const Point& rhs) const; 128 const Rect operator - (const Point& rhs) const; 130 Rect& operator += (const Point& rhs) { 131 return offsetBy(rhs.x, rhs.y); [all …]
|
D | TVecHelpers.h | 47 Impersonator& operator = (const TYPE& rhs) { 48 reinterpret_cast<TYPE&>(*this) = rhs; 76 BASE<T>& rhs = static_cast<BASE<T>&>(*this); variable 78 rhs[i] += v[i]; 80 return rhs; 84 BASE<T>& rhs = static_cast<BASE<T>&>(*this); variable 86 rhs[i] -= v[i]; 88 return rhs; 97 BASE<T>& rhs = static_cast<BASE<T>&>(*this); variable 99 rhs[i] += v[i]; [all …]
|
/frameworks/native/services/sensorservice/ |
D | mat.h | 35 typename TypeTraits<TYPE>::ParameterType rhs) { in doAssign() argument 38 lhs[i][j] = (i==j) ? rhs : 0; in doAssign() 45 const mat<TYPE, C, D>& rhs) in doMul() argument 52 v += lhs[k][r] * rhs[c][k]; in doMul() 63 const vec<TYPE, D>& rhs) in doMul() argument 69 v += lhs[k][r] * rhs[k]; in doMul() 79 const mat<TYPE, C, 1>& rhs) in doMul() argument 84 res[c][r] = lhs[r] * rhs[c][0]; in doMul() 92 const mat<TYPE, C, R>& rhs, in doMul() argument 98 res[c][r] = rhs[c][r] * v; in doMul() [all …]
|
D | vec.h | 50 vec<TYPE, SIZE>& lhs, const VEC<TYPE, S>& rhs) { in doAssign() argument 54 lhs[i] = rhs[i]; in doAssign() 69 const VRHS<TYPE, SIZE>& rhs) { in doAdd() argument 72 r[i] = lhs[i] + rhs[i]; in doAdd() 84 const VRHS<TYPE, SIZE>& rhs) { in doSub() argument 87 r[i] = lhs[i] - rhs[i]; in doSub() 98 typename TypeTraits<TYPE>::ParameterType rhs) { in doMulScalar() argument 101 r[i] = lhs[i] * rhs; in doMulScalar() 112 const VEC<TYPE, SIZE>& rhs) { in doScalarMul() argument 115 r[i] = lhs * rhs[i]; in doScalarMul() [all …]
|
D | BatteryService.h | 47 bool operator < (const Info& rhs) const { 48 return (uid == rhs.uid) ? (handle < rhs.handle) : (uid < rhs.uid);
|
/frameworks/native/include/private/ui/ |
D | RegionHelper.h | 54 inline region(const region& rhs) in region() 55 : rects(rhs.rects), count(rhs.count), dx(rhs.dx), dy(rhs.dy) { } in region() 69 inline region_operator(int op, const region& lhs, const region& rhs) in region_operator() argument 70 : op_mask(op), spanner(lhs, rhs) in region_operator() 77 SpannerInner spannerInner(spanner.lhs, spanner.rhs); in operator() 162 region rhs; variable 165 inline Spanner(const region& lhs, const region& rhs) in Spanner() argument 166 : lhs(lhs), rhs(rhs) in Spanner() 172 if (rhs.count) { in Spanner() 173 SpannerBase::rhs_head = rhs.rects->top + rhs.dy; in Spanner() [all …]
|
/frameworks/native/libs/ui/ |
D | Region.cpp | 61 Region::Region(const Region& rhs) in Region() argument 62 : mStorage(rhs.mStorage) in Region() 65 validate(rhs, "rhs copy-ctor"); in Region() 69 Region::Region(const Rect& rhs) { in Region() argument 70 mStorage.add(rhs); in Region() 204 Region& Region::operator = (const Region& rhs) in operator =() argument 208 validate(rhs, "rhs.operator="); in operator =() 210 mStorage = rhs.mStorage; in operator =() 277 Region& Region::orSelf(const Region& rhs) { in orSelf() argument 278 return operationSelf(rhs, op_or); in orSelf() [all …]
|
D | Rect.cpp | 37 bool Rect::operator <(const Rect& rhs) const { in operator <() 38 if (top < rhs.top) { in operator <() 40 } else if (top == rhs.top) { in operator <() 41 if (left < rhs.left) { in operator <() 43 } else if (left == rhs.left) { in operator <() 44 if (bottom < rhs.bottom) { in operator <() 46 } else if (bottom == rhs.bottom) { in operator <() 47 if (right < rhs.right) { in operator <() 72 const Rect Rect::operator +(const Point& rhs) const { in operator +() 73 const Rect result(left + rhs.x, top + rhs.y, right + rhs.x, bottom + rhs.y); in operator +() [all …]
|
/frameworks/base/tools/aapt/ |
D | SourcePos.cpp | 22 bool operator<(const ErrorPos& rhs) const; 23 bool operator==(const ErrorPos& rhs) const; 24 ErrorPos& operator=(const ErrorPos& rhs); 57 ErrorPos::operator<(const ErrorPos& rhs) const in operator <() 59 if (this->file < rhs.file) return true; in operator <() 60 if (this->file == rhs.file) { in operator <() 61 if (this->line < rhs.line) return true; in operator <() 62 if (this->line == rhs.line) { in operator <() 63 if (this->error < rhs.error) return true; in operator <() 70 ErrorPos::operator==(const ErrorPos& rhs) const in operator ==() [all …]
|
/frameworks/base/libs/hwui/ |
D | TextDropShadowCache.cpp | 53 int ShadowText::compare(const ShadowText& lhs, const ShadowText& rhs) { in compare() argument 54 int deltaInt = int(lhs.len) - int(rhs.len); in compare() 57 deltaInt = lhs.flags - rhs.flags; in compare() 60 if (lhs.radius < rhs.radius) return -1; in compare() 61 if (lhs.radius > rhs.radius) return +1; in compare() 63 if (lhs.typeface < rhs.typeface) return -1; in compare() 64 if (lhs.typeface > rhs.typeface) return +1; in compare() 66 if (lhs.textSize < rhs.textSize) return -1; in compare() 67 if (lhs.textSize > rhs.textSize) return +1; in compare() 69 if (lhs.italicStyle < rhs.italicStyle) return -1; in compare() [all …]
|
D | LayerCache.h | 108 static int compare(const LayerEntry& lhs, const LayerEntry& rhs); 118 friend inline int strictly_order_type(const LayerEntry& lhs, const LayerEntry& rhs) { in strictly_order_type() 119 return LayerEntry::compare(lhs, rhs) < 0; in strictly_order_type() 122 friend inline int compare_type(const LayerEntry& lhs, const LayerEntry& rhs) { in compare_type() 123 return LayerEntry::compare(lhs, rhs); in compare_type()
|
D | RenderBufferCache.h | 93 static int compare(const RenderBufferEntry& lhs, const RenderBufferEntry& rhs); 104 const RenderBufferEntry& rhs) { in strictly_order_type() 105 return RenderBufferEntry::compare(lhs, rhs) < 0; in strictly_order_type() 109 const RenderBufferEntry& rhs) { in compare_type() 110 return RenderBufferEntry::compare(lhs, rhs); in compare_type()
|
D | PatchCache.h | 107 static int compare(const PatchDescription& lhs, const PatchDescription& rhs); 118 const PatchDescription& rhs) { in strictly_order_type() 119 return PatchDescription::compare(lhs, rhs) < 0; in strictly_order_type() 123 const PatchDescription& rhs) { in compare_type() 124 return PatchDescription::compare(lhs, rhs); in compare_type()
|
D | TextDropShadowCache.h | 64 static int compare(const ShadowText& lhs, const ShadowText& rhs); 103 inline int strictly_order_type(const ShadowText& lhs, const ShadowText& rhs) { in strictly_order_type() argument 104 return ShadowText::compare(lhs, rhs) < 0; in strictly_order_type() 107 inline int compare_type(const ShadowText& lhs, const ShadowText& rhs) { in compare_type() argument 108 return ShadowText::compare(lhs, rhs); in compare_type()
|
/frameworks/rs/scriptc/ |
D | rs_quaternion.rsh | 45 * @param rhs source quaternion 48 rsQuaternionSet(rs_quaternion *q, const rs_quaternion *rhs) { 49 q->w = rhs->w; 50 q->x = rhs->x; 51 q->y = rhs->y; 52 q->z = rhs->z; 74 rsQuaternionAdd(rs_quaternion *q, const rs_quaternion *rhs) { 75 q->w *= rhs->w; 76 q->x *= rhs->x; 77 q->y *= rhs->y; [all …]
|
/frameworks/native/opengl/libagl/ |
D | matrix.cpp | 236 void matrixx_t::load(const matrixf_t& rhs) { in load() argument 238 GLfloat const* fp = rhs.elements(); in load() 252 void matrixf_t::multiply(matrixf_t& r, const matrixf_t& lhs, const matrixf_t& rhs) in multiply() argument 256 register const float rhs_i0 = rhs.m[ I(i,0) ]; in multiply() 262 register const float rhs_ij = rhs.m[ I(i,j) ]; in multiply() 287 void matrixf_t::set(const GLfixed* rhs) { in set() argument 288 load(rhs); in set() 291 void matrixf_t::set(const GLfloat* rhs) { in set() argument 292 load(rhs); in set() 295 void matrixf_t::load(const GLfixed* rhs) { in load() argument [all …]
|
/frameworks/base/libs/hwui/utils/ |
D | SortedList.h | 41 SortedList(const SortedList<TYPE>& rhs); 44 const SortedList<TYPE>& operator =(const SortedList<TYPE>& rhs) const; 45 SortedList<TYPE>& operator =(const SortedList<TYPE>& rhs); 102 virtual int do_compare(const void* lhs, const void* rhs) const; 117 inline SortedList<TYPE>::SortedList(const SortedList<TYPE>& rhs): SortedListImpl(rhs) { in SortedList() argument 125 inline SortedList<TYPE>& SortedList<TYPE>::operator =(const SortedList<TYPE>& rhs) { 126 SortedListImpl::operator =(rhs); 132 const SortedList<TYPE>& rhs) const { 133 SortedListImpl::operator =(rhs); 235 int SortedList<TYPE>::do_compare(const void* lhs, const void* rhs) const { in do_compare() argument [all …]
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.h | 182 static HWCLayer* copy(HWCLayer *rhs) { in copy() argument 183 return rhs ? rhs->dup() : NULL; in copy() 204 LayerListIterator& operator = (const LayerListIterator& rhs); 208 LayerListIterator(const LayerListIterator& rhs) in LayerListIterator() argument 209 : mLayerList(HWCLayer::copy(rhs.mLayerList)), mIndex(rhs.mIndex) { in LayerListIterator() 225 bool operator == (const LayerListIterator& rhs) const { 226 return mIndex == rhs.mIndex; 228 bool operator != (const LayerListIterator& rhs) const { 229 return !operator==(rhs);
|
/frameworks/rs/ |
D | rsMatrix2x2.h | 40 void loadMultiply(const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs); 44 void multiply(const rs_matrix2x2 *rhs) { in multiply() 46 tmp.loadMultiply(this, rhs); in multiply()
|
D | rsMatrix3x3.h | 40 void loadMultiply(const rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs); 44 void multiply(const rs_matrix3x3 *rhs) { in multiply() 46 tmp.loadMultiply(this, rhs); in multiply()
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | ProgramCache.h | 75 inline Key(const Key& rhs) : mKey(rhs.mKey) { } in Key() argument 102 friend inline int strictly_order_type(const Key& lhs, const Key& rhs) { in strictly_order_type() argument 103 return (lhs.mKey < rhs.mKey) ? 1 : 0; in strictly_order_type()
|
/frameworks/base/libs/hwui/font/ |
D | Font.cpp | 92 const Font::FontDescription& rhs) { in compare() argument 93 int deltaInt = int(lhs.mFontId) - int(rhs.mFontId); in compare() 96 if (lhs.mFontSize < rhs.mFontSize) return -1; in compare() 97 if (lhs.mFontSize > rhs.mFontSize) return +1; in compare() 99 if (lhs.mItalicStyle < rhs.mItalicStyle) return -1; in compare() 100 if (lhs.mItalicStyle > rhs.mItalicStyle) return +1; in compare() 102 deltaInt = int(lhs.mFlags) - int(rhs.mFlags); in compare() 105 if (lhs.mScaleX < rhs.mScaleX) return -1; in compare() 106 if (lhs.mScaleX > rhs.mScaleX) return +1; in compare() 108 deltaInt = int(lhs.mStyle) - int(rhs.mStyle); in compare() [all …]
|
/frameworks/base/include/androidfw/ |
D | AssetDir.h | 100 bool operator< (const FileInfo& rhs) const { 101 return mFileName < rhs.mFileName; 105 bool operator== (const FileInfo& rhs) const { 106 return mFileName == rhs.mFileName;
|