/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
H A D | HsvColorComparator.java | 29 public int compare(Integer lhs, Integer rhs) { argument 37 Color.colorToHSV(rhs, hsv2);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ |
H A D | MediaSizeUtils.java | 75 public int compare(MediaSize lhs, MediaSize rhs) { argument 78 String rhsStandard = getStandardForMediaSize(mContext, rhs); 95 compareTo(rhs.getLabel(mContext.getPackageManager()));
|
/frameworks/native/cmds/dumpsys/ |
H A D | dumpsys.cpp | 24 static int sort_func(const String16* lhs, const String16* rhs) argument 26 return lhs->compare(*rhs);
|
/frameworks/native/include/ui/ |
H A 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) { argument 68 operator -=(const Point& rhs) argument [all...] |
H A 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); 198 operator |=(const Region& rhs) argument 201 operator ^=(const Region& rhs) argument 204 operator &=(const Region& rhs) argument 207 operator -=(const Region& rhs) argument [all...] |
H A D | TMatHelpers.h | 111 MATRIX_R PURE multiply(const MATRIX_A& lhs, const MATRIX_B& rhs) { argument 114 // rhs : C columns, D rows 123 res[r] = lhs * rhs[r]; 209 friend BASE<T> PURE operator *(const BASE<T>& lhs, const BASE<U>& rhs) { argument 210 return matrix::multiply<BASE<T> >(lhs, rhs);
|
/frameworks/native/libs/ui/tests/ |
H A D | Region_test.cpp | 28 void checkVertTJunction(const Rect* lhs, const Rect* rhs) { argument 29 EXPECT_FALSE((rhs->right > lhs->left && rhs->right < lhs->right) || 30 (rhs->left > lhs->left && rhs->left < lhs->right));
|
/frameworks/rs/ |
H A D | rsMatrix2x2.cpp | 44 void Matrix2x2::loadMultiply(const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs) { argument 49 const float rhs_ij = ((const Matrix2x2 *)rhs)->get(i, j);
|
H A D | rsMatrix2x2.h | 40 void loadMultiply(const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs); 44 void multiply(const rs_matrix2x2 *rhs) { argument 46 tmp.loadMultiply(this, rhs);
|
H A D | rsMatrix3x3.cpp | 48 void Matrix3x3::loadMultiply(const rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs) { argument 54 const float rhs_ij = ((const Matrix3x3 *)rhs)->get(i, j);
|
H A D | rsMatrix3x3.h | 40 void loadMultiply(const rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs); 44 void multiply(const rs_matrix3x3 *rhs) { argument 46 tmp.loadMultiply(this, rhs);
|
H A D | rsMatrix4x4.h | 45 void loadMultiply(const rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs); 60 void multiply(const rs_matrix4x4 *rhs) { argument 62 tmp.loadMultiply(this, rhs);
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | Matrix2f.java | 134 * @param rhs right hand side matrix 136 public void loadMultiply(Matrix2f lhs, Matrix2f rhs) { argument 141 float rhs_ij = rhs.get(i,j); 153 * @param rhs right hand side to multiply by 155 public void multiply(Matrix2f rhs) { argument 157 tmp.loadMultiply(this, rhs);
|
H A D | Matrix3f.java | 208 * @param rhs right hand side matrix 210 public void loadMultiply(Matrix3f lhs, Matrix3f rhs) { argument 216 float rhs_ij = rhs.get(i,j); 230 * @param rhs right hand side to multiply by 232 public void multiply(Matrix3f rhs) { argument 234 tmp.loadMultiply(this, rhs);
|
/frameworks/base/libs/hwui/ |
H A 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) { argument 119 return LayerEntry::compare(lhs, rhs) < 0; 122 friend inline int compare_type(const LayerEntry& lhs, const LayerEntry& rhs) { argument 123 return LayerEntry::compare(lhs, rhs);
|
H A D | RenderBufferCache.h | 93 static int compare(const RenderBufferEntry& lhs, const RenderBufferEntry& rhs); 104 const RenderBufferEntry& rhs) { 105 return RenderBufferEntry::compare(lhs, rhs) < 0; 109 const RenderBufferEntry& rhs) { 110 return RenderBufferEntry::compare(lhs, rhs); 103 strictly_order_type(const RenderBufferEntry& lhs, const RenderBufferEntry& rhs) argument 108 compare_type(const RenderBufferEntry& lhs, const RenderBufferEntry& rhs) argument
|
H A D | GradientCache.h | 66 static int compare(const GradientCacheEntry& lhs, const GradientCacheEntry& rhs); 94 inline int strictly_order_type(const GradientCacheEntry& lhs, const GradientCacheEntry& rhs) { argument 95 return GradientCacheEntry::compare(lhs, rhs) < 0; 98 inline int compare_type(const GradientCacheEntry& lhs, const GradientCacheEntry& rhs) { argument 99 return GradientCacheEntry::compare(lhs, rhs);
|
H A D | LayerCache.cpp | 70 const LayerCache::LayerEntry& rhs) { 71 int deltaInt = int(lhs.mWidth) - int(rhs.mWidth); 74 return int(lhs.mHeight) - int(rhs.mHeight); 69 compare(const LayerCache::LayerEntry& lhs, const LayerCache::LayerEntry& rhs) argument
|
H A D | RenderBufferCache.cpp | 81 const RenderBufferCache::RenderBufferEntry& rhs) { 82 int deltaInt = int(lhs.mWidth) - int(rhs.mWidth); 85 deltaInt = int(lhs.mHeight) - int(rhs.mHeight); 88 return int(lhs.mFormat) - int(rhs.mFormat); 79 compare( const RenderBufferCache::RenderBufferEntry& lhs, const RenderBufferCache::RenderBufferEntry& rhs) argument
|
H A D | TextDropShadowCache.cpp | 53 int ShadowText::compare(const ShadowText& lhs, const ShadowText& rhs) { argument 54 int deltaInt = int(lhs.len) - int(rhs.len); 57 deltaInt = lhs.flags - rhs.flags; 60 if (lhs.radius < rhs.radius) return -1; 61 if (lhs.radius > rhs.radius) return +1; 63 if (lhs.typeface < rhs.typeface) return -1; 64 if (lhs.typeface > rhs.typeface) return +1; 66 if (lhs.textSize < rhs.textSize) return -1; 67 if (lhs.textSize > rhs.textSize) return +1; 69 if (lhs.italicStyle < rhs [all...] |
/frameworks/base/libs/hwui/utils/ |
H A 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) { argument 125 inline SortedList<TYPE>& SortedList<TYPE>::operator =(const SortedList<TYPE>& rhs) { argument 126 SortedListImpl::operator =(rhs); 132 const SortedList<TYPE>& rhs) const { 133 SortedListImpl::operator =(rhs); [all...] |
H A D | SortedListImpl.cpp | 29 SortedListImpl::SortedListImpl(const VectorImpl& rhs): VectorImpl(rhs) { argument 35 SortedListImpl& SortedListImpl::operator =(const SortedListImpl& rhs) { argument 37 (VectorImpl::operator =(static_cast<const VectorImpl&> (rhs)));
|
/frameworks/rs/driver/runtime/ |
H A D | rs_matrix.c | 241 rsMatrixLoadMultiply(rs_matrix4x4 *ret, const rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs) { argument 248 const float rhs_ij = rsMatrixGet(rhs, i, j); 262 rsMatrixMultiply(rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs) { argument 264 rsMatrixLoadMultiply(&r, lhs, rhs); 269 rsMatrixLoadMultiply(rs_matrix3x3 *ret, const rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs) { argument 275 const float rhs_ij = rsMatrixGet(rhs, i, j); 287 rsMatrixMultiply(rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs) { argument 289 rsMatrixLoadMultiply(&r, lhs, rhs); 294 rsMatrixLoadMultiply(rs_matrix2x2 *ret, const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs) { argument 299 const float rhs_ij = rsMatrixGet(rhs, 309 rsMatrixMultiply(rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs) argument [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | Matrix2f.java | 134 * @param rhs right hand side matrix 136 public void loadMultiply(Matrix2f lhs, Matrix2f rhs) { argument 141 float rhs_ij = rhs.get(i,j); 153 * @param rhs right hand side to multiply by 155 public void multiply(Matrix2f rhs) { argument 157 tmp.loadMultiply(this, rhs);
|
/frameworks/base/libs/hwui/font/ |
H A D | Font.h | 52 static int compare(const FontDescription& lhs, const FontDescription& rhs); 150 const Font::FontDescription& rhs) { 151 return Font::FontDescription::compare(lhs, rhs) < 0; 154 inline int compare_type(const Font::FontDescription& lhs, const Font::FontDescription& rhs) { argument 155 return Font::FontDescription::compare(lhs, rhs); 149 strictly_order_type(const Font::FontDescription& lhs, const Font::FontDescription& rhs) argument
|