/frameworks/rs/server/ |
H A D | TypeHelpers.h | 118 int strictly_order_type(const TYPE& lhs, const TYPE& rhs) { argument 119 return (lhs < rhs) ? 1 : 0; 123 int compare_type(const TYPE& lhs, const TYPE& rhs) { argument 124 return strictly_order_type(rhs, lhs) - strictly_order_type(lhs, rhs);
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | MediaRouteChooserDialog.java | 253 public int compare(MediaRouter.RouteInfo lhs, MediaRouter.RouteInfo rhs) { argument 254 return lhs.getName().compareTo(rhs.getName());
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | Matrix4f.java | 224 * @param rhs right hand side matrix 226 public void loadMultiply(Matrix4f lhs, Matrix4f rhs) { argument 233 float rhs_ij = rhs.get(i,j); 355 * @param rhs right hand side to multiply by 357 public void multiply(Matrix4f rhs) { argument 359 tmp.loadMultiply(this, rhs);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | Drm.cpp | 38 static bool operator<(const Vector<uint8_t> &lhs, const Vector<uint8_t> &rhs) { argument 39 if (lhs.size() < rhs.size()) { 41 } else if (lhs.size() > rhs.size()) { 45 return memcmp((void *)lhs.array(), (void *)rhs.array(), rhs.size()) < 0;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | TextLayoutCache.h | 81 static int compare(const TextLayoutCacheKey& lhs, const TextLayoutCacheKey& rhs); 110 inline int strictly_order_type(const TextLayoutCacheKey& lhs, const TextLayoutCacheKey& rhs) { argument 111 return TextLayoutCacheKey::compare(lhs, rhs) < 0; 114 inline int compare_type(const TextLayoutCacheKey& lhs, const TextLayoutCacheKey& rhs) { argument 115 return TextLayoutCacheKey::compare(lhs, rhs);
|
H A D | TextLayoutCache.cpp | 254 int TextLayoutCacheKey::compare(const TextLayoutCacheKey& lhs, const TextLayoutCacheKey& rhs) { argument 255 int deltaInt = lhs.start - rhs.start; 258 deltaInt = lhs.count - rhs.count; 261 deltaInt = lhs.contextCount - rhs.contextCount; 264 if (lhs.typeface < rhs.typeface) return -1; 265 if (lhs.typeface > rhs.typeface) return +1; 267 if (lhs.textSize < rhs.textSize) return -1; 268 if (lhs.textSize > rhs.textSize) return +1; 270 if (lhs.textSkewX < rhs.textSkewX) return -1; 271 if (lhs.textSkewX > rhs [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | Matrix.java | 51 * matrix. In matrix notation: result = lhs x rhs. Due to the way 53 * effect as first multiplying by the rhs matrix, then multiplying by 56 * The same float array may be passed for result, lhs, and/or rhs. However, 58 * either the lhs or rhs elements. 65 * @param rhs The float array that holds the right-hand-side matrix. 66 * @param rhsOffset The offset into the rhs array where the rhs is stored. 68 * @throws IllegalArgumentException if result, lhs, or rhs are null, or if 70 * rhsOffset + 16 > rhs.length. 73 float[] lhs, int lhsOffset, float[] rhs, in 72 multiplyMM(float[] result, int resultOffset, float[] lhs, int lhsOffset, float[] rhs, int rhsOffset) argument [all...] |
/frameworks/native/services/sensorservice/ |
H A D | vec.h | 50 vec<TYPE, SIZE>& lhs, const VEC<TYPE, S>& rhs) { 54 lhs[i] = rhs[i]; 69 const VRHS<TYPE, SIZE>& rhs) { 72 r[i] = lhs[i] + rhs[i]; 84 const VRHS<TYPE, SIZE>& rhs) { 87 r[i] = lhs[i] - rhs[i]; 98 typename TypeTraits<TYPE>::ParameterType rhs) { 101 r[i] = lhs[i] * rhs; 112 const VEC<TYPE, SIZE>& rhs) { 115 r[i] = lhs * rhs[ 49 doAssign( vec<TYPE, SIZE>& lhs, const VEC<TYPE, S>& rhs) argument 67 doAdd( const VLHS<TYPE, SIZE>& lhs, const VRHS<TYPE, SIZE>& rhs) argument 82 doSub( const VLHS<TYPE, SIZE>& lhs, const VRHS<TYPE, SIZE>& rhs) argument 96 doMulScalar( const VEC<TYPE, SIZE>& lhs, typename TypeTraits<TYPE>::ParameterType rhs) argument 110 doScalarMul( typename TypeTraits<TYPE>::ParameterType lhs, const VEC<TYPE, SIZE>& rhs) argument 145 operator +( const VLHS<TYPE, SIZE>& lhs, const VRHS<TYPE, SIZE>& rhs) argument 157 operator -( const VLHS<TYPE, SIZE>& lhs, const VRHS<TYPE, SIZE>& rhs) argument 168 operator *( const VEC<TYPE, SIZE>& lhs, typename TypeTraits<TYPE>::ParameterType rhs) argument 179 operator *( typename TypeTraits<TYPE>::ParameterType lhs, const VEC<TYPE, SIZE>& rhs) argument 192 dot_product( const VLHS<TYPE, SIZE>& lhs, const VRHS<TYPE, SIZE>& rhs) argument 324 vec(const vec& rhs) argument 325 vec(const base& rhs) argument 330 vec(pTYPE rhs) argument 336 vec(const VEC<TYPE, S>& rhs) argument 348 operator =(const vec& rhs) argument 353 operator =(const base& rhs) argument 358 operator =(pTYPE rhs) argument 365 operator =(const VEC<TYPE, S>& rhs) argument 385 operator +(const vec& lhs, const vec& rhs) argument 388 operator -(const vec& lhs, const vec& rhs) argument 394 operator *(pTYPE v, const vec& rhs) argument 397 dot_product(const vec& lhs, const vec& rhs) argument 405 operator +=(const vec<TYPE, SIZE>& rhs) argument 413 operator -=(const vec<TYPE, SIZE>& rhs) argument 421 operator *=(vec<TYPE, SIZE>::pTYPE rhs) argument [all...] |
H A D | SensorService.cpp | 448 static int cmp(void const* lhs, void const* rhs) { argument 450 sensors_event_t const* r = static_cast<sensors_event_t const*>(rhs);
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposer.h | 182 static HWCLayer* copy(HWCLayer *rhs) { argument 183 return rhs ? rhs->dup() : NULL; 204 LayerListIterator& operator = (const LayerListIterator& rhs); 208 LayerListIterator(const LayerListIterator& rhs) argument 209 : mLayerList(HWCLayer::copy(rhs.mLayerList)), mIndex(rhs.mIndex) { 225 bool operator == (const LayerListIterator& rhs) const { 226 return mIndex == rhs.mIndex; 228 bool operator != (const LayerListIterator& rhs) cons [all...] |
/frameworks/av/drm/mediadrm/plugins/mock/ |
H A D | MockDrmCryptoPlugin.cpp | 652 bool operator<(Vector<uint8_t> const &lhs, Vector<uint8_t> const &rhs) { argument 653 return lhs.size() < rhs.size() || (memcmp(lhs.array(), rhs.array(), lhs.size()) < 0);
|
/frameworks/base/libs/hwui/ |
H A D | DeferredDisplayList.cpp | 150 #define NEQ_FALPHA(lhs, rhs) \ 151 fabs((float)lhs - (float)rhs) > 0.001f 197 const DeferredDisplayState* rhs = mOps[0].state; local 199 if (NEQ_FALPHA(lhs->mAlpha, rhs->mAlpha)) return false; 240 const DrawModifiers& rhsMod = rhs->mDrawModifiers;
|
H A D | PathCache.h | 152 int compare(const PathDescription& rhs) const; 163 const PathDescription& lhs, const PathDescription& rhs) { 164 return lhs.compare(rhs) < 0; 167 friend inline int compare_type(const PathDescription& lhs, const PathDescription& rhs) { argument 168 return lhs.compare(rhs); 162 strictly_order_type( const PathDescription& lhs, const PathDescription& rhs) argument
|
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 91 const Font::FontDescription& rhs) { 92 int deltaInt = int(lhs.mFontId) - int(rhs.mFontId); 95 if (lhs.mFontSize < rhs.mFontSize) return -1; 96 if (lhs.mFontSize > rhs.mFontSize) return +1; 98 if (lhs.mItalicStyle < rhs.mItalicStyle) return -1; 99 if (lhs.mItalicStyle > rhs.mItalicStyle) return +1; 101 deltaInt = int(lhs.mFlags) - int(rhs.mFlags); 104 if (lhs.mScaleX < rhs.mScaleX) return -1; 105 if (lhs.mScaleX > rhs.mScaleX) return +1; 107 deltaInt = int(lhs.mStyle) - int(rhs 90 compare(const Font::FontDescription& lhs, const Font::FontDescription& rhs) argument [all...] |
/frameworks/native/cmds/flatland/ |
H A D | Main.cpp | 586 static int cmpDouble(const double* lhs, const double* rhs) { argument 587 if (*lhs < *rhs) { 589 } else if (*rhs < *lhs) {
|
/frameworks/native/include/ui/ |
H A D | mat4.h | 105 explicit tmat44(const tvec4<U>& rhs); 109 explicit tmat44(const tmat44<U>& rhs); 205 tmat44<T>::tmat44(const tmat44<U>& rhs) { argument 207 mValue[r] = rhs[r];
|
/frameworks/native/libs/ui/ |
H A D | Region.cpp | 61 Region::Region(const Region& rhs) argument 62 : mStorage(rhs.mStorage) 65 validate(rhs, "rhs copy-ctor"); 69 Region::Region(const Rect& rhs) { argument 70 mStorage.add(rhs); 204 Region& Region::operator = (const Region& rhs) argument 208 validate(rhs, "rhs.operator="); 210 mStorage = rhs 277 orSelf(const Region& rhs) argument 280 xorSelf(const Region& rhs) argument 283 andSelf(const Region& rhs) argument 286 subtractSelf(const Region& rhs) argument 289 operationSelf(const Region& rhs, int op) argument 314 operation(const Rect& rhs, int op) const argument 334 operation(const Region& rhs, int op) const argument 348 orSelf(const Region& rhs, int dx, int dy) argument 351 xorSelf(const Region& rhs, int dx, int dy) argument 354 andSelf(const Region& rhs, int dx, int dy) argument 357 subtractSelf(const Region& rhs, int dx, int dy) argument 360 operationSelf(const Region& rhs, int dx, int dy, int op) argument 368 merge(const Region& rhs, int dx, int dy) const argument 371 mergeExclusive(const Region& rhs, int dx, int dy) const argument 374 intersect(const Region& rhs, int dx, int dy) const argument 377 subtract(const Region& rhs, int dx, int dy) const argument 380 operation(const Region& rhs, int dx, int dy, int op) const argument 437 min(T rhs, T lhs) argument 439 max(T rhs, T lhs) argument 542 boolean_operation(int op, Region& dst, const Region& lhs, const Region& rhs, int dx, int dy) argument 652 boolean_operation(int op, Region& dst, const Region& lhs, const Rect& rhs, int dx, int dy) argument 679 boolean_operation(int op, Region& dst, const Region& lhs, const Region& rhs) argument 685 boolean_operation(int op, Region& dst, const Region& lhs, const Rect& rhs) argument [all...] |
/frameworks/rs/driver/runtime/ |
H A D | rs_cl.c | 888 extern float3 __attribute__((overloadable)) cross(float3 lhs, float3 rhs) { argument 890 r.x = lhs.y * rhs.z - lhs.z * rhs.y; 891 r.y = lhs.z * rhs.x - lhs.x * rhs.z; 892 r.z = lhs.x * rhs.y - lhs.y * rhs.x; 896 extern float4 __attribute__((overloadable)) cross(float4 lhs, float4 rhs) { argument 898 r.x = lhs.y * rhs.z - lhs.z * rhs 907 dot(float lhs, float rhs) argument 910 dot(float2 lhs, float2 rhs) argument 913 dot(float3 lhs, float3 rhs) argument 916 dot(float4 lhs, float4 rhs) argument 942 distance(float lhs, float rhs) argument 945 distance(float2 lhs, float2 rhs) argument 948 distance(float3 lhs, float3 rhs) argument 951 distance(float4 lhs, float4 rhs) argument 983 fast_distance(float lhs, float rhs) argument 986 fast_distance(float2 lhs, float2 rhs) argument 989 fast_distance(float3 lhs, float3 rhs) argument 992 fast_distance(float4 lhs, float4 rhs) argument [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | MediaRouteChooserDialogFragment.java | 616 public int compare(RouteInfo lhs, RouteInfo rhs) { argument 618 .compareTo(rhs.getName(getActivity()).toString());
|
/frameworks/native/cmds/installd/ |
H A D | utils.c | 723 const cache_file_t *rhs = *(const cache_file_t**)rhsP; local 724 return lhs->modTime < rhs->modTime ? -1 : (lhs->modTime > rhs->modTime ? 1 : 0);
|
/frameworks/native/libs/gui/ |
H A D | SurfaceComposerClient.cpp | 98 int compare_type(const ComposerState& lhs, const ComposerState& rhs) { argument 99 if (lhs.client < rhs.client) return -1; 100 if (lhs.client > rhs.client) return 1; 101 if (lhs.state.surface < rhs.state.surface) return -1; 102 if (lhs.state.surface > rhs.state.surface) return 1; 107 int compare_type(const DisplayState& lhs, const DisplayState& rhs) { argument 108 return compare_type(lhs.token, rhs.token);
|
/frameworks/native/opengl/libagl/ |
H A D | matrix.cpp | 236 void matrixx_t::load(const matrixf_t& rhs) { argument 238 GLfloat const* fp = rhs.elements(); 252 void matrixf_t::multiply(matrixf_t& r, const matrixf_t& lhs, const matrixf_t& rhs) argument 256 register const float rhs_i0 = rhs.m[ I(i,0) ]; 262 register const float rhs_ij = rhs.m[ I(i,j) ]; 287 void matrixf_t::set(const GLfixed* rhs) { argument 288 load(rhs); 291 void matrixf_t::set(const GLfloat* rhs) { argument 292 load(rhs); 295 void matrixf_t::load(const GLfixed* rhs) { argument 303 load(const GLfloat* rhs) argument 307 load(const matrixf_t& rhs) argument 311 multiply(const matrixf_t& rhs) argument 406 load(const GLfixed* rhs) argument 413 load(const GLfloat* rhs) argument 419 multiply(const matrixf_t& rhs) argument 724 point2__generic(transform_t const* mx, vec4_t* lhs, vec4_t const* rhs) argument 734 point3__generic(transform_t const* mx, vec4_t* lhs, vec4_t const* rhs) argument 745 point4__generic(transform_t const* mx, vec4_t* lhs, vec4_t const* rhs) argument 757 point3__mvui(transform_t const* mx, vec4_t* lhs, vec4_t const* rhs) argument 771 point4__mvui(transform_t const* mx, vec4_t* lhs, vec4_t const* rhs) argument 786 point2__nop(transform_t const*, vec4_t* lhs, vec4_t const* rhs) argument 795 point3__nop(transform_t const*, vec4_t* lhs, vec4_t const* rhs) argument 804 point4__nop(transform_t const*, vec4_t* lhs, vec4_t const* rhs) argument 846 matrixf_t rhs; local 885 matrixf_t rhs; local 957 matrixf_t rhs; local 966 matrixf_t rhs; local [all...] |
/frameworks/base/core/jni/android/opengl/ |
H A D | util.cpp | 471 void multiplyMM(float* r, const float* lhs, const float* rhs) argument 474 register const float rhs_i0 = rhs[ I(i,0) ]; 480 register const float rhs_ij = rhs[ I(i,j) ]; 501 FloatArrayHelper rhs(env, rhs_ref, rhsOffset, 16); 503 bool checkOK = resultMat.check() && lhs.check() && rhs.check(); 511 rhs.bind(); 513 multiplyMM(resultMat.mData, lhs.mData, rhs.mData); 519 void multiplyMV(float* r, const float* lhs, const float* rhs) argument 521 mx4transform(rhs[0], rhs[ [all...] |
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.h | 145 inline int compare_type(const AaptGroupEntry& lhs, const AaptGroupEntry& rhs) argument 147 return lhs.compare(rhs); 150 inline int strictly_order_type(const AaptGroupEntry& lhs, const AaptGroupEntry& rhs) argument 152 return compare_type(lhs, rhs) < 0;
|
/frameworks/compile/slang/BitWriter_3_2/ |
H A D | BitcodeWriter.cpp | 1690 static bool bitcodereader_order(const User *lhs, const User *rhs) { argument
|