/frameworks/av/media/libmediaplayerservice/ |
H A D | Drm.cpp | 50 static bool operator<(const Vector<uint8_t> &lhs, const Vector<uint8_t> &rhs) { argument 51 if (lhs.size() < rhs.size()) { 53 } else if (lhs.size() > rhs.size()) { 57 return memcmp((void *)lhs.array(), (void *)rhs.array(), rhs.size()) < 0;
|
/frameworks/base/libs/hwui/ |
H A D | DeferredDisplayList.cpp | 193 const DeferredDisplayState* lhs = state; local 196 if (!MathUtils::areEqual(lhs->mAlpha, rhs->mAlpha)) return false; 200 if (lhs->mRoundRectClipState != rhs->mRoundRectClipState) return false; 250 const DrawModifiers& lhsMod = lhs->mDrawModifiers;
|
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 90 int Font::FontDescription::compare(const Font::FontDescription& lhs, argument 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 [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/libs/ui/ |
H A D | Region.cpp | 287 Region lhs(*this); 288 boolean_operation(op, *this, lhs, r); 307 Region lhs(*this); 308 boolean_operation(op, *this, lhs, rhs); 378 Region lhs(*this); 379 boolean_operation(op, *this, lhs, rhs, dx, dy); 454 static inline T min(T rhs, T lhs) { return rhs < lhs ? rhs : lhs; } argument 456 static inline T max(T rhs, T lhs) { retur argument 559 boolean_operation(int op, Region& dst, const Region& lhs, const Region& rhs, int dx, int dy) argument 669 boolean_operation(int op, Region& dst, const Region& lhs, const Rect& rhs, int dx, int dy) argument 696 boolean_operation(int op, Region& dst, const Region& lhs, const Region& rhs) argument 702 boolean_operation(int op, Region& dst, const Region& lhs, const Rect& rhs) argument [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ResolverActivity.java | 1178 public int compare(ResolveInfo lhs, ResolveInfo rhs) { argument 1180 if (lhs.targetUserId != UserHandle.USER_CURRENT) { 1188 final boolean lhsSpecific = isSpecificUriMatch(lhs.match); 1198 getPackageTimeSpent(lhs.activityInfo.packageName); 1205 CharSequence sa = lhs.loadLabel(mPm); 1206 if (sa == null) sa = lhs.activityInfo.name;
|
/frameworks/native/cmds/installd/ |
H A D | utils.c | 834 const cache_file_t *lhs = *(const cache_file_t**)lhsP; local 836 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 | 252 void matrixf_t::multiply(matrixf_t& r, const matrixf_t& lhs, const matrixf_t& rhs) argument 254 GLfloat const* const m = lhs.m; 724 void point2__generic(transform_t const* mx, vec4_t* lhs, vec4_t const* rhs) { argument 728 lhs->x = mla2a(rx, m[ 0], ry, m[ 4], m[12]); 729 lhs->y = mla2a(rx, m[ 1], ry, m[ 5], m[13]); 730 lhs->z = mla2a(rx, m[ 2], ry, m[ 6], m[14]); 731 lhs->w = mla2a(rx, m[ 3], ry, m[ 7], m[15]); 734 void point3__generic(transform_t const* mx, vec4_t* lhs, vec4_t const* rhs) { argument 739 lhs->x = mla3a(rx, m[ 0], ry, m[ 4], rz, m[ 8], m[12]); 740 lhs 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 [all...] |
H A D | egl.cpp | 283 static Region subtract(const Rect& lhs, const Rect& rhs) { argument 286 if (!lhs.isEmpty()) { 287 if (lhs.top < rhs.top) { // top rect 288 storage->left = lhs.left; 289 storage->top = lhs.top; 290 storage->right = lhs.right; 294 const int32_t top = max(lhs.top, rhs.top); 295 const int32_t bot = min(lhs.bottom, rhs.bottom); 297 if (lhs.left < rhs.left) { // left-side rect 298 storage->left = lhs [all...] |
/frameworks/native/services/sensorservice/ |
H A D | SensorService.cpp | 598 static int cmp(void const* lhs, void const* rhs) { argument 599 sensors_event_t const* l = static_cast<sensors_event_t const*>(lhs);
|
/frameworks/rs/driver/runtime/ |
H A D | rs_cl.c | 912 extern float3 __attribute__((overloadable)) cross(float3 lhs, float3 rhs) { argument 914 r.x = lhs.y * rhs.z - lhs.z * rhs.y; 915 r.y = lhs.z * rhs.x - lhs.x * rhs.z; 916 r.z = lhs.x * rhs.y - lhs.y * rhs.x; 920 extern float4 __attribute__((overloadable)) cross(float4 lhs, float4 rhs) { argument 922 r.x = lhs.y * rhs.z - lhs 931 dot(float lhs, float rhs) argument 934 dot(float2 lhs, float2 rhs) argument 937 dot(float3 lhs, float3 rhs) argument 940 dot(float4 lhs, float4 rhs) argument 966 distance(float lhs, float rhs) argument 969 distance(float2 lhs, float2 rhs) argument 972 distance(float3 lhs, float3 rhs) argument 975 distance(float4 lhs, float4 rhs) argument 1022 fast_distance(float lhs, float rhs) argument 1025 fast_distance(float2 lhs, float2 rhs) argument 1028 fast_distance(float3 lhs, float3 rhs) argument 1031 fast_distance(float4 lhs, float4 rhs) argument [all...] |
/frameworks/base/core/jni/android/opengl/ |
H A D | util.cpp | 471 void multiplyMM(float* r, const float* lhs, const float* rhs) argument 475 register float ri0 = lhs[ I(0,0) ] * rhs_i0; 476 register float ri1 = lhs[ I(0,1) ] * rhs_i0; 477 register float ri2 = lhs[ I(0,2) ] * rhs_i0; 478 register float ri3 = lhs[ I(0,3) ] * rhs_i0; 481 ri0 += lhs[ I(j,0) ] * rhs_ij; 482 ri1 += lhs[ I(j,1) ] * rhs_ij; 483 ri2 += lhs[ I(j,2) ] * rhs_ij; 484 ri3 += lhs[ I(j,3) ] * rhs_ij; 500 FloatArrayHelper lhs(en 519 multiplyMV(float* r, const float* lhs, const float* rhs) argument [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
H A D | RemotePrintDocument.java | 764 private boolean equalsIgnoreSize(PrintDocumentInfo lhs, PrintDocumentInfo rhs) { argument 765 if (lhs == rhs) { 768 if (lhs == null) { 774 if (lhs.getContentType() != rhs.getContentType() 775 || lhs.getPageCount() != rhs.getPageCount()) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | ZenModePanel.java | 334 private static boolean sameConditionId(Condition lhs, Condition rhs) { argument 335 return lhs == null ? rhs == null : rhs != null && lhs.id.equals(rhs.id);
|
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.h | 131 inline int compare_type(const AaptGroupEntry& lhs, const AaptGroupEntry& rhs) argument 133 return lhs.compare(rhs); 136 inline int strictly_order_type(const AaptGroupEntry& lhs, const AaptGroupEntry& rhs) argument 138 return compare_type(lhs, rhs) < 0;
|
/frameworks/compile/slang/BitWriter_3_2/ |
H A D | BitcodeWriter.cpp | 1638 static bool bitcodereader_order(const User *lhs, const User *rhs) { argument
|
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageParser.java | 626 public int compare(String lhs, String rhs) { argument 627 if (lhs == null) { 632 return lhs.compareTo(rhs);
|
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlinger.cpp | 3345 int SurfaceFlinger::LayerVector::do_compare(const void* lhs, argument 3349 const sp<Layer>& l(*reinterpret_cast<const sp<Layer>*>(lhs));
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 123 public int compare(ItemInfo lhs, ItemInfo rhs) { 124 return lhs.position - rhs.position; 2886 public int compare(View lhs, View rhs) { argument 2887 final LayoutParams llp = (LayoutParams) lhs.getLayoutParams();
|