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

123

/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/base/packages/PrintSpooler/src/com/android/printspooler/
H A DMediaSizeUtils.java75 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 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
50 ri0 += ((const Matrix2x2 *)lhs)->get(j, 0) * rhs_ij;
51 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
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 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;
H A DMatrix4f.java223 * @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 DLayerCache.h108 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 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.cpp69 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 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/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.c241 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 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.h52 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 DFileSystem.h68 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 DProgramCache.h102 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 DCrypto.cpp37 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 DTtsEngines.java268 public int compare(EngineInfo lhs, EngineInfo rhs) { argument
269 if (lhs.system && !rhs.system) {
271 } else if (rhs.system && !lhs.system) {
279 return rhs.priority - lhs.priority;
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialog.java269 public int compare(MediaRouter.RouteInfo lhs, MediaRouter.RouteInfo rhs) { argument
270 return lhs.getName().toString().compareTo(rhs.getName().toString());

Completed in 2780 milliseconds

123