/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | Utils.cpp | 21 bool operator<(const Vector<uint8_t> &lhs, const Vector<uint8_t> &rhs) { argument 22 if (lhs.size() < rhs.size()) { 24 } else if (lhs.size() > rhs.size()) { 27 return memcmp((void *)lhs.array(), (void *)rhs.array(), rhs.size()) < 0;
|
/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/av/media/img_utils/src/ |
H A D | SortedEntryVector.cpp | 37 int SortedEntryVector::do_compare(const void* lhs, const void* rhs) const { argument 38 const sp<TiffEntry>* lEntry = reinterpret_cast<const sp<TiffEntry>*>(lhs);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
H A D | MediaSizeUtils.java | 81 public int compare(MediaSize lhs, MediaSize rhs) { argument 83 String lhsStandard = getStandardForMediaSize(mContext, lhs); 100 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 53 ri0 += ((const Matrix2x2 *)lhs)->get(j, 0) * rhs_ij; 54 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 58 ri0 += ((const Matrix3x3 *)lhs)->get(j, 0) * rhs_ij; 59 ri1 += ((const Matrix3x3 *)lhs)->get(j, 1) * rhs_ij; 60 ri2 += ((const Matrix3x3 *)lhs)->get(j, 2) * rhs_ij;
|
/frameworks/base/libs/hwui/ |
H A D | LayerCache.h | 112 static int compare(const LayerEntry& lhs, const LayerEntry& rhs); 122 friend inline int strictly_order_type(const LayerEntry& lhs, const LayerEntry& rhs) { argument 123 return LayerEntry::compare(lhs, rhs) < 0; 126 friend inline int compare_type(const LayerEntry& lhs, const LayerEntry& rhs) { argument 127 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 | 73 int LayerCache::LayerEntry::compare(const LayerCache::LayerEntry& lhs, argument 75 int deltaInt = int(lhs.mWidth) - int(rhs.mWidth); 78 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...] |
/frameworks/base/rs/java/android/renderscript/ |
H A D | Matrix2f.java | 130 * @param lhs left hand side matrix 133 public void loadMultiply(Matrix2f lhs, Matrix2f rhs) { argument 139 ri0 += lhs.get(j,0) * rhs_ij; 140 ri1 += lhs.get(j,1) * rhs_ij;
|
H A D | Matrix3f.java | 204 * @param lhs left hand side matrix 207 public void loadMultiply(Matrix3f lhs, Matrix3f rhs) { argument 214 ri0 += lhs.get(j,0) * rhs_ij; 215 ri1 += lhs.get(j,1) * rhs_ij; 216 ri2 += lhs.get(j,2) * rhs_ij;
|
/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/ |
H A D | CameraTooTest.java | 43 private <T> void assertComparatorEq(T lhs, T rhs, Comparator<T> rel) { argument 44 assertEquals(String.format("%s should be equal to %s", lhs, rhs), rel.compare(lhs, rhs), 0); 45 assertEquals(String.format("%s should be equal to %s (reverse check)", lhs, rhs), 46 rel.compare(rhs, lhs), 0); 49 private <T> void assertComparatorLt(T lhs, T rhs, Comparator<T> rel) { argument 50 assertTrue(String.format("%s should be less than %s", lhs, rhs), rel.compare(lhs, rhs) < 0); 51 assertTrue(String.format("%s should be less than %s (reverse check)", lhs, rhs), 52 rel.compare(rhs, lhs) > [all...] |
/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 | 240 rsMatrixLoadMultiply(rs_matrix4x4 *ret, const rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs) { argument 251 ri0 += rsMatrixGet(lhs, j, 0) * rhs_ij; 252 ri1 += rsMatrixGet(lhs, j, 1) * rhs_ij; 253 ri2 += rsMatrixGet(lhs, j, 2) * rhs_ij; 254 ri3 += rsMatrixGet(lhs, j, 3) * rhs_ij; 265 rsMatrixMultiply(rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs) { argument 266 rsMatrixLoadMultiply(lhs, lhs, rhs); 270 rsMatrixLoadMultiply(rs_matrix3x3 *ret, const rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs) { argument 280 ri0 += rsMatrixGet(lhs, 292 rsMatrixMultiply(rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs) argument 297 rsMatrixLoadMultiply(rs_matrix2x2 *ret, const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs) argument 316 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 | 57 static int compare(const FontDescription& lhs, const FontDescription& rhs); 156 inline int strictly_order_type(const Font::FontDescription& lhs, argument 158 return Font::FontDescription::compare(lhs, rhs) < 0; 161 inline int compare_type(const Font::FontDescription& lhs, const Font::FontDescription& rhs) { argument 162 return Font::FontDescription::compare(lhs, rhs);
|
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/ |
H A D | CameraTooActivity.java | 113 public int compare(Size lhs, Size rhs) { argument 115 return Long.signum((long) lhs.getWidth() * lhs.getHeight() -
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | FileSystem.h | 65 inline bool operator==(const FileStatus& rhs, const FileStatus& lhs) { argument 66 return rhs.type() == lhs.type(); 69 inline bool operator!=(const FileStatus& rhs, const FileStatus& lhs ) { 70 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;
|