Searched defs:lhs (Results 1 - 25 of 70) sorted by relevance

123

/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DUtils.cpp21 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 DHsvColorComparator.java29 public int compare(Integer lhs, Integer rhs) { argument
31 Color.colorToHSV(lhs, hsv);
/frameworks/av/media/img_utils/src/
H A DSortedEntryVector.cpp37 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 DMediaSizeUtils.java81 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 Ddumpsys.cpp24 static int sort_func(const String16* lhs, const String16* rhs) argument
26 return lhs->compare(*rhs);
/frameworks/native/libs/ui/tests/
H A DRegion_test.cpp28 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 DrsMatrix2x2.cpp44 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 DrsMatrix3x3.cpp48 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 DLayerCache.h112 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 DRenderBufferCache.h93 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 DGradientCache.h66 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 DLayerCache.cpp73 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 DRenderBufferCache.cpp80 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 DTextDropShadowCache.cpp53 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 DMatrix2f.java130 * @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 DMatrix3f.java204 * @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 DCameraTooTest.java43 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 DTMatHelpers.h111 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 Drs_matrix.c240 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 DMatrix2f.java133 * @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 DMatrix3f.java207 * @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 DFont.h57 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 DCameraTooActivity.java113 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 DFileSystem.h65 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 DProgramCache.h102 friend inline int strictly_order_type(const Key& lhs, const Key& rhs) { argument
103 return (lhs.mKey < rhs.mKey) ? 1 : 0;

Completed in 420 milliseconds

123