/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/v7/palette/src/android/support/v7/graphics/ |
H A D | ColorCutQuantizer.java | 441 public int compare(Vbox lhs, Vbox rhs) { 442 return rhs.getVolume() - lhs.getVolume();
|
/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/volley/src/com/android/volley/toolbox/ |
H A D | ByteArrayPool.java | 71 public int compare(byte[] lhs, byte[] rhs) { 72 return lhs.length - rhs.length;
|
/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/java/tests/LivePreview/src/com/android/rs/livepreview/ |
H A D | CameraPreviewActivity.java | 204 public int compare(Camera.Size lhs, Camera.Size rhs) { 205 if (lhs.width < rhs.width) return -1; 206 if (lhs.width > rhs.width) return 1; 207 if (lhs.height < rhs.height) return -1; 208 if (lhs.height > rhs.height) return 1;
|
/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 | rsMatrix2x2.h | 40 void loadMultiply(const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs);
|
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 | rsMatrix3x3.h | 40 void loadMultiply(const rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs);
|
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 | rsMatrix4x4.h | 45 void loadMultiply(const rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs);
|
H A D | rsRuntime.h | 190 void rsrMatrixLoadMultiply_4x4_4x4_4x4(rs_matrix4x4 *m, const rs_matrix4x4 *lhs, 193 void rsrMatrixLoadMultiply_3x3_3x3_3x3(rs_matrix3x3 *m, const rs_matrix3x3 *lhs, 196 void rsrMatrixLoadMultiply_2x2_2x2_2x2(rs_matrix2x2 *m, const rs_matrix2x2 *lhs,
|
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/scriptc/ |
H A D | rs_core_math.rsh | 4482 extern float3 __attribute__((const, overloadable))cross(float3 lhs, float3 rhs); 4491 extern float4 __attribute__((const, overloadable))cross(float4 lhs, float4 rhs); 4536 extern float __attribute__((const, overloadable))distance(float lhs, float rhs); 4545 extern float __attribute__((const, overloadable))distance(float2 lhs, float2 rhs); 4554 extern float __attribute__((const, overloadable))distance(float3 lhs, float3 rhs); 4563 extern float __attribute__((const, overloadable))distance(float4 lhs, float4 rhs); 4572 extern float __attribute__((const, overloadable))dot(float lhs, float rhs); 4581 extern float __attribute__((const, overloadable))dot(float2 lhs, float2 rhs); 4590 extern float __attribute__((const, overloadable))dot(float3 lhs, float3 rhs); 4599 extern float __attribute__((const, overloadable))dot(float4 lhs, float [all...] |
H A D | rs_matrix.rsh | 231 * Sets \e m to the matrix product of <em>lhs * rhs</em>. 244 * @param lhs The left matrix of the product. 248 rsMatrixLoadMultiply(rs_matrix4x4 *m, const rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs); 253 rsMatrixLoadMultiply(rs_matrix3x3 *m, const rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs); 258 rsMatrixLoadMultiply(rs_matrix2x2 *m, const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs);
|
/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/calendar/src/com/android/calendarcommon2/ |
H A D | EventRecurrence.java | 611 String lhs = part.substring(0, equalIndex); 621 PartParser parser = sParsePartMap.get(lhs); 623 if (lhs.startsWith("X-")) { 624 //Log.d(TAG, "Ignoring custom part " + lhs); 627 throw new InvalidFormatException("Couldn't find parser for " + lhs); 631 throw new InvalidFormatException("Part " + lhs + " was specified twice");
|
/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);
|