/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
H A D | HsvColorComparator.java | 29 public int compare(Integer lhs, Integer rhs) { argument 31 Color.colorToHSV(lhs, hsv);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ |
H A D | MediaSizeUtils.java | 75 public int compare(MediaSize lhs, MediaSize rhs) { argument 77 String lhsStandard = getStandardForMediaSize(mContext, lhs); 94 return lhs.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/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 50 ri0 += ((const Matrix2x2 *)lhs)->get(j, 0) * rhs_ij; 51 ri1 += ((const Matrix2x2 *)lhs)->get(j, 1) * rhs_ij;
|
H A D | rsMatrix3x3.cpp | 48 void Matrix3x3::loadMultiply(const rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs) { argument 55 ri0 += ((const Matrix3x3 *)lhs)->get(j, 0) * rhs_ij; 56 ri1 += ((const Matrix3x3 *)lhs)->get(j, 1) * rhs_ij; 57 ri2 += ((const Matrix3x3 *)lhs)->get(j, 2) * rhs_ij;
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | Matrix2f.java | 133 * @param lhs left hand side matrix 136 public void loadMultiply(Matrix2f lhs, Matrix2f rhs) { argument 142 ri0 += lhs.get(j,0) * rhs_ij; 143 ri1 += lhs.get(j,1) * rhs_ij;
|
H A D | Matrix3f.java | 207 * @param lhs left hand side matrix 210 public void loadMultiply(Matrix3f lhs, Matrix3f rhs) { argument 217 ri0 += lhs.get(j,0) * rhs_ij; 218 ri1 += lhs.get(j,1) * rhs_ij; 219 ri2 += lhs.get(j,2) * rhs_ij;
|
H A D | Matrix4f.java | 223 * @param lhs left hand side matrix 226 public void loadMultiply(Matrix4f lhs, Matrix4f rhs) { argument 234 ri0 += lhs.get(j,0) * rhs_ij; 235 ri1 += lhs.get(j,1) * rhs_ij; 236 ri2 += lhs.get(j,2) * rhs_ij; 237 ri3 += lhs.get(j,3) * rhs_ij;
|
/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); 103 friend inline int strictly_order_type(const RenderBufferEntry& lhs, argument 105 return RenderBufferEntry::compare(lhs, rhs) < 0; 108 friend inline int compare_type(const RenderBufferEntry& lhs, argument 110 return RenderBufferEntry::compare(lhs, rhs);
|
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 | 69 int LayerCache::LayerEntry::compare(const LayerCache::LayerEntry& lhs, argument 71 int deltaInt = int(lhs.mWidth) - int(rhs.mWidth); 74 return int(lhs.mHeight) - int(rhs.mHeight);
|
H A D | RenderBufferCache.cpp | 80 const RenderBufferCache::RenderBufferEntry& lhs, 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 [all...] |
H A D | GradientCache.cpp | 51 int GradientCacheEntry::compare(const GradientCacheEntry& lhs, const GradientCacheEntry& rhs) { argument 52 int deltaInt = int(lhs.count) - int(rhs.count); 55 deltaInt = memcmp(lhs.colors, rhs.colors, lhs.count * sizeof(uint32_t)); 58 return memcmp(lhs.positions, rhs.positions, lhs.count * sizeof(float));
|
/frameworks/native/include/ui/ |
H A D | TMatHelpers.h | 111 MATRIX_R PURE multiply(const MATRIX_A& lhs, const MATRIX_B& rhs) { argument 113 // lhs : D columns, R rows 123 res[r] = lhs * rhs[r]; 191 BASE<T>& lhs(static_cast< BASE<T>& >(*this)); 192 for (size_t r=0 ; r<lhs.row_size() ; r++) { 193 lhs[r] *= v; 195 return lhs; 200 BASE<T>& lhs(static_cast< BASE<T>& >(*this)); 201 for (size_t r=0 ; r<lhs.row_size() ; r++) { 202 lhs[ 209 operator *(const BASE<T>& lhs, const BASE<U>& rhs) argument [all...] |
/frameworks/rs/driver/runtime/ |
H A D | rs_matrix.c | 241 rsMatrixLoadMultiply(rs_matrix4x4 *ret, const rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs) { argument 249 ri0 += rsMatrixGet(lhs, j, 0) * rhs_ij; 250 ri1 += rsMatrixGet(lhs, j, 1) * rhs_ij; 251 ri2 += rsMatrixGet(lhs, j, 2) * rhs_ij; 252 ri3 += rsMatrixGet(lhs, j, 3) * rhs_ij; 262 rsMatrixMultiply(rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs) { argument 264 rsMatrixLoadMultiply(&r, lhs, rhs); 265 rsMatrixLoad(lhs, &r); 269 rsMatrixLoadMultiply(rs_matrix3x3 *ret, const rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs) { argument 276 ri0 += rsMatrixGet(lhs, 287 rsMatrixMultiply(rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs) argument 294 rsMatrixLoadMultiply(rs_matrix2x2 *ret, const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs) argument 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 | 133 * @param lhs left hand side matrix 136 public void loadMultiply(Matrix2f lhs, Matrix2f rhs) { argument 142 ri0 += lhs.get(j,0) * rhs_ij; 143 ri1 += lhs.get(j,1) * rhs_ij;
|
H A D | Matrix3f.java | 207 * @param lhs left hand side matrix 210 public void loadMultiply(Matrix3f lhs, Matrix3f rhs) { argument 217 ri0 += lhs.get(j,0) * rhs_ij; 218 ri1 += lhs.get(j,1) * rhs_ij; 219 ri2 += lhs.get(j,2) * rhs_ij;
|
/frameworks/base/libs/hwui/font/ |
H A D | Font.h | 52 static int compare(const FontDescription& lhs, const FontDescription& rhs); 149 inline int strictly_order_type(const Font::FontDescription& lhs, argument 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);
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | FileSystem.h | 68 inline bool operator==(const FileStatus& rhs, const FileStatus& lhs) { argument 69 return rhs.type() == lhs.type(); 72 inline bool operator!=(const FileStatus& rhs, const FileStatus& lhs ) { 73 return !(rhs == lhs);
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | ProgramCache.h | 102 friend inline int strictly_order_type(const Key& lhs, const Key& rhs) { argument 103 return (lhs.mKey < rhs.mKey) ? 1 : 0;
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | Crypto.cpp | 37 static bool operator<(const Vector<uint8_t> &lhs, const Vector<uint8_t> &rhs) { argument 38 if (lhs.size() < rhs.size()) { 40 } else if (lhs.size() > rhs.size()) { 44 return memcmp((void *)lhs.array(), (void *)rhs.array(), rhs.size()) < 0;
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | TtsEngines.java | 267 public int compare(EngineInfo lhs, EngineInfo rhs) { argument 268 if (lhs.system && !rhs.system) { 270 } else if (rhs.system && !lhs.system) { 278 return rhs.priority - lhs.priority;
|