/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 | 134 * @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);
|
H A D | Matrix3f.java | 208 * @param rhs right hand side matrix 210 public void loadMultiply(Matrix3f lhs, Matrix3f rhs) { argument 216 float rhs_ij = rhs.get(i,j); 230 * @param rhs right hand side to multiply by 232 public void multiply(Matrix3f rhs) { argument 234 tmp.loadMultiply(this, rhs);
|
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/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.z * rhs 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 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/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 52 const float rhs_ij = ((const Matrix2x2 *)rhs)->get(i, j);
|
H A D | rsMatrix2x2.h | 40 void loadMultiply(const rs_matrix2x2 *lhs, const rs_matrix2x2 *rhs); 44 void multiply(const rs_matrix2x2 *rhs) { argument 45 loadMultiply(this, rhs);
|
H A D | rsMatrix3x3.cpp | 48 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 D | rsMatrix3x3.h | 40 void loadMultiply(const rs_matrix3x3 *lhs, const rs_matrix3x3 *rhs); 44 void multiply(const rs_matrix3x3 *rhs) { argument 45 loadMultiply(this, rhs);
|
H A D | rsMatrix4x4.cpp | 252 void Matrix4x4::loadMultiply(const rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs) { argument 262 const float rhs_ij = ((const Matrix4x4 *)rhs)->get(i,j);
|
H A D | rsMatrix4x4.h | 45 void loadMultiply(const rs_matrix4x4 *lhs, const rs_matrix4x4 *rhs); 61 void multiply(const rs_matrix4x4 *rhs) { argument 62 loadMultiply(this, rhs);
|
H A D | rsRuntime.h | 191 const rs_matrix4x4 *rhs); 192 void rsrMatrixMultiply_4x4_4x4(rs_matrix4x4 *m, const rs_matrix4x4 *rhs); 194 const rs_matrix3x3 *rhs); 195 void rsrMatrixMultiply_3x3_3x3(rs_matrix3x3 *m, const rs_matrix3x3 *rhs); 197 const rs_matrix2x2 *rhs); 198 void rsrMatrixMultiply_2x2_2x2(rs_matrix2x2 *m, const rs_matrix2x2 *rhs);
|
H A D | rsScriptGroup.cpp | 83 ScriptGroup::Node *const* rhs) { 84 if (lhs[0]->mOrder > rhs[0]->mOrder) { 93 const ScriptGroup::Node* rhs) { 94 if (lhs->mOrder > rhs->mOrder) { 82 CompareNodeForSort(ScriptGroup::Node *const* lhs, ScriptGroup::Node *const* rhs) argument 92 operator ()(const ScriptGroup::Node* lhs, const ScriptGroup::Node* rhs) argument
|
/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, float4 rhs); [all...] |
H A D | rs_matrix.rsh | 231 * Sets \e m to the matrix product of <em>lhs * rhs</em>. 245 * @param rhs The right 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); 263 * Sets \e m to the matrix product <em>m * rhs</em>. 266 * matrix will correspond to performing the \e rhs transformation first followed by 270 * @param rhs The right matrix of the product. 273 rsMatrixMultiply(rs_matrix4x4 *m, const rs_matrix4x4 *rhs); 278 rsMatrixMultiply(rs_matrix3x3 *m, const rs_matrix3x3 *rhs); [all...] |
H A D | rs_quaternion.rsh | 45 * @param rhs source quaternion 48 rsQuaternionSet(rs_quaternion *q, const rs_quaternion *rhs) { 49 q->w = rhs->w; 50 q->x = rhs->x; 51 q->y = rhs->y; 52 q->z = rhs->z; 74 rsQuaternionAdd(rs_quaternion *q, const rs_quaternion *rhs) { 75 q->w *= rhs->w; 76 q->x *= rhs->x; 77 q->y *= rhs [all...] |
/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 2888 final LayoutParams rlp = (LayoutParams) rhs.getLayoutParams();
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | EventRecurrence.java | 612 String rhs = part.substring(equalIndex + 1); 613 if (rhs.length() == 0) { 629 int flag = parser.parsePart(rhs, this);
|
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
H A D | HsvColorComparator.java | 29 public int compare(Integer lhs, Integer rhs) { argument 37 Color.colorToHSV(rhs, hsv2);
|