Searched defs:rhs (Results 1 - 25 of 87) sorted by relevance

1234

/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
37 Color.colorToHSV(rhs, hsv2);
/frameworks/base/tools/split-select/
H A DTestRules.h32 AndRule& add(const Rule& rhs) { argument
33 subrules.add(new Rule(rhs));
43 OrRule& add(const Rule& rhs) { argument
44 subrules.add(new Rule(rhs));
H A DRule.cpp32 Rule::Rule(const Rule& rhs) argument
34 , op(rhs.op)
35 , key(rhs.key)
36 , negate(rhs.negate)
37 , stringArgs(rhs.stringArgs)
38 , longArgs(rhs.longArgs)
39 , subrules(rhs.subrules) {
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
H A DMediaSizeUtils.java81 public int compare(MediaSize lhs, MediaSize rhs) { argument
84 String rhsStandard = getStandardForMediaSize(mContext, rhs);
101 compareTo(rhs.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/include/ui/
H A DPoint.h40 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 DRegion.h39 Region(const Region& rhs);
40 explicit Region(const Rect& rhs);
45 Region& operator = (const Region& rhs);
63 Region& orSelf(const Rect& rhs);
64 Region& xorSelf(const Rect& rhs);
65 Region& andSelf(const Rect& rhs);
66 Region& subtractSelf(const Rect& rhs);
69 Region& orSelf(const Region& rhs);
70 Region& xorSelf(const Region& rhs);
71 Region& andSelf(const Region& rhs);
201 operator |=(const Region& rhs) argument
204 operator ^=(const Region& rhs) argument
207 operator &=(const Region& rhs) argument
210 operator -=(const Region& rhs) argument
[all...]
H A DTMatHelpers.h111 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 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
52 const float rhs_ij = ((const Matrix2x2 *)rhs)->get(i, j);
H A DrsMatrix2x2.h40 void loadMultiply(const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs);
44 void multiply(const rs_matrix2x2 *rhs) { argument
45 loadMultiply(this, rhs);
H A DrsMatrix3x3.cpp48 void Matrix3x3::loadMultiply(const rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs) { argument
57 const float rhs_ij = ((const Matrix3x3 *)rhs)->get(i, j);
H A DrsMatrix3x3.h40 void loadMultiply(const rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs);
44 void multiply(const rs_matrix3x3 *rhs) { argument
45 loadMultiply(this, rhs);
H A DrsMatrix4x4.h45 void loadMultiply(const rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs);
61 void multiply(const rs_matrix4x4 *rhs) { argument
62 loadMultiply(this, rhs);
/frameworks/base/include/androidfw/
H A DTypeWrappers.h30 iterator& operator=(const iterator& rhs) { argument
31 mTypeVariant = rhs.mTypeVariant;
32 mIndex = rhs.mIndex;
35 bool operator==(const iterator& rhs) const {
36 return mTypeVariant == rhs.mTypeVariant && mIndex == rhs.mIndex;
39 bool operator!=(const iterator& rhs) const {
40 return mTypeVariant != rhs.mTypeVariant || mIndex != rhs.mIndex;
/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);
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
/frameworks/base/libs/hwui/utils/
H A DSortedList.h41 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...]
/frameworks/base/rs/java/android/renderscript/
H A DMatrix2f.java131 * @param rhs right hand side matrix
133 public void loadMultiply(Matrix2f lhs, Matrix2f rhs) { argument
138 float rhs_ij = rhs.get(i,j);
150 * @param rhs right hand side to multiply by
152 public void multiply(Matrix2f rhs) { argument
154 tmp.loadMultiply(this, rhs);
H A DMatrix3f.java205 * @param rhs right hand side matrix
207 public void loadMultiply(Matrix3f lhs, Matrix3f rhs) { argument
213 float rhs_ij = rhs.get(i,j);
227 * @param rhs right hand side to multiply by
229 public void multiply(Matrix3f rhs) { argument
231 tmp.loadMultiply(this, rhs);
/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, lh
[all...]
/frameworks/rs/driver/runtime/
H A Drs_matrix.c240 rsMatrixLoadMultiply(rs_matrix4x4 *ret, const rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs) { argument
250 const float rhs_ij = rsMatrixGet(rhs, i, j);
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
279 const float rhs_ij = rsMatrixGet(rhs, i, j);
292 rsMatrixMultiply(rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs) { argument
293 rsMatrixLoadMultiply(lhs, lhs, rhs);
297 rsMatrixLoadMultiply(rs_matrix2x2 *ret, const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs) { argument
305 const float rhs_ij = rsMatrixGet(rhs,
316 rsMatrixMultiply(rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs) argument
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DMatrix2f.java134 * @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/av/services/audioflinger/
H A DFastMixerDumpState.h37 FastTrackUnderruns& operator=(const FastTrackUnderruns& rhs) argument
38 { if (this != &rhs) mAtomic = rhs.mAtomic; return *this; }

Completed in 3988 milliseconds

1234