/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | MediaRouteChooserDialog.java | 266 public int compare(MediaRouter.RouteInfo lhs, MediaRouter.RouteInfo rhs) { argument 267 return lhs.getName().compareTo(rhs.getName());
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | Matrix2f.java | 133 * @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 D | Matrix3f.java | 207 * @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 D | Matrix4f.java | 223 * @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/rs/cpp/util/ |
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/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...] |
H A D | rs_matrix.c | 240 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/rs/ |
H A D | rsMatrix2x2.cpp | 44 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 D | rsMatrix3x3.cpp | 48 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;
|
H A D | rsMatrix4x4.cpp | 252 void Matrix4x4::loadMultiply(const rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs) { argument 263 ri0 += ((const Matrix4x4 *)lhs)->get(j,0) * rhs_ij; 264 ri1 += ((const Matrix4x4 *)lhs)->get(j,1) * rhs_ij; 265 ri2 += ((const Matrix4x4 *)lhs)->get(j,2) * rhs_ij; 266 ri3 += ((const Matrix4x4 *)lhs)->get(j,3) * rhs_ij;
|
H A D | rsScriptGroup.cpp | 82 static int CompareNodeForSort(ScriptGroup::Node *const* lhs, argument 84 if (lhs[0]->mOrder > rhs[0]->mOrder) { 92 bool operator() (const ScriptGroup::Node* lhs, argument 94 if (lhs->mOrder > rhs->mOrder) {
|
/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/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();
|
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
H A D | HsvColorComparator.java | 29 public int compare(Integer lhs, Integer rhs) { argument 31 Color.colorToHSV(lhs, hsv);
|
/frameworks/native/cmds/dumpsys/ |
H A D | dumpsys.cpp | 24 static int sort_func(const String16* lhs, const String16* rhs) argument 26 return lhs->compare(*rhs);
|
/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/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/include/private/ui/ |
H A D | RegionHelper.h | 69 inline region_operator(int op, const region& lhs, const region& rhs) argument 70 : op_mask(op), spanner(lhs, rhs) 77 SpannerInner spannerInner(spanner.lhs, spanner.rhs); 161 region lhs; member in class:android::region_operator::Spanner 165 inline Spanner(const region& lhs, const region& rhs) argument 166 : lhs(lhs), rhs(rhs) 168 if (lhs.count) { 169 SpannerBase::lhs_head = lhs.rects->top + lhs 222 region lhs; member in class:android::region_operator::SpannerInner 226 SpannerInner(const region& lhs, const region& rhs) argument [all...] |
/frameworks/native/include/ui/ |
H A D | TMatHelpers.h | 111 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/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);
|
H A D | SurfaceControl.cpp | 85 const sp<SurfaceControl>& lhs, const sp<SurfaceControl>& rhs) 87 if (lhs == 0 || rhs == 0) 89 return lhs->mHandle == rhs->mHandle; 84 isSameSurface( const sp<SurfaceControl>& lhs, const sp<SurfaceControl>& rhs) argument
|
/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/native/libs/ui/tests/ |
H A D | Region_test.cpp | 28 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/native/opengl/libagl/ |
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...] |
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...] |