/frameworks/base/test-runner/src/android/test/ |
H A D | MoreAsserts.java | 436 * Tests that lhs.equals(rhs) matches expectedResult, as well as 437 * rhs.equals(lhs). Also tests that hashCode() return values are 442 * @param rhs As lhs. 447 String message, Object lhs, Object rhs, boolean expectedResult) { 449 if ((lhs == null) && (rhs == null)) { 456 if ((lhs == null) || (rhs == null)) { 463 Assert.assertEquals(message, expectedResult, lhs.equals(rhs)); 465 if (rhs != null) { 466 Assert.assertEquals(message, expectedResult, rhs.equals(lhs)); 475 Assert.assertTrue(hashMessage, lhs.hashCode() == rhs 446 checkEqualsAndHashCodeMethods( String message, Object lhs, Object rhs, boolean expectedResult) argument 484 checkEqualsAndHashCodeMethods(Object lhs, Object rhs, boolean expectedResult) argument [all...] |
/frameworks/base/include/utils/ |
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);
|
H A D | List.h | 96 _ListIterator(const _Iter& rhs) : mpNode(rhs.mpNode) {} argument 104 _ListIterator(const V& rhs) : mpNode(rhs.mpNode) {} argument
|
H A D | String16.h | 147 inline int compare_type(const String16& lhs, const String16& rhs) argument 149 return lhs.compare(rhs); 152 inline int strictly_order_type(const String16& lhs, const String16& rhs) argument 154 return compare_type(lhs, rhs) < 0;
|
H A D | String8.h | 320 inline int compare_type(const String8& lhs, const String8& rhs) argument 322 return lhs.compare(rhs); 325 inline int strictly_order_type(const String8& lhs, const String8& rhs) argument 327 return compare_type(lhs, rhs) < 0;
|
/frameworks/base/include/ui/ |
H A D | GraphicBuffer.h | 117 GraphicBuffer(const GraphicBuffer& rhs); 118 GraphicBuffer& operator = (const GraphicBuffer& rhs); 119 const GraphicBuffer& operator = (const GraphicBuffer& rhs) const;
|
/frameworks/base/libs/surfaceflinger/ |
H A D | MessageQueue.h | 74 inline bool operator < (const MessageBase& lhs, const MessageBase& rhs) { argument 75 return lhs.when < rhs.when;
|
H A D | Transform.cpp | 78 Transform Transform::operator * (const Transform& rhs) const 81 return rhs; 84 if (rhs.mType == IDENTITY) 89 const mat33& B(rhs.mMatrix); 99 r.mType |= rhs.mType; 101 // TODO: we could recompute this value from r and rhs
|
H A D | Transform.h | 81 Transform operator * (const Transform& rhs) const;
|
H A D | LayerBuffer.h | 115 Buffer& operator = (const Buffer& rhs); 116 Buffer(const Buffer& rhs);
|
H A D | LayerBase.h | 305 LayerBase(const LayerBase& rhs);
|
H A D | SurfaceFlinger.cpp | 81 SurfaceFlinger::LayerVector::LayerVector(const SurfaceFlinger::LayerVector& rhs) argument 82 : lookup(rhs.lookup), layers(rhs.layers)
|
/frameworks/base/include/private/opengles/ |
H A D | gl_context.h | 374 void load(const matrixf_t& rhs); 382 void load(const matrixf_t& rhs); 387 void set(const GLfixed* rhs); 388 void set(const GLfloat* rhs); 391 const matrixf_t& lhs, const matrixf_t& rhs); 398 void load(const GLfixed* rhs); 399 void load(const GLfloat* rhs); 400 void multiply(const matrixf_t& rhs); 458 void load(const GLfixed* rhs); 459 void load(const GLfloat* rhs); [all...] |
/frameworks/base/core/jni/android/opengl/ |
H A D | util.cpp | 470 void multiplyMM(float* r, const float* lhs, const float* rhs) argument 473 register const float rhs_i0 = rhs[ I(i,0) ]; 479 register const float rhs_ij = rhs[ I(i,j) ]; 500 FloatArrayHelper rhs(env, rhs_ref, rhsOffset, 16); 502 bool checkOK = resultMat.check() && lhs.check() && rhs.check(); 510 rhs.bind(); 512 multiplyMM(resultMat.mData, lhs.mData, rhs.mData); 518 void multiplyMV(float* r, const float* lhs, const float* rhs) argument 520 mx4transform(rhs[0], rhs[ [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
H A D | Matrix4f.java | 120 public void loadMultiply(Matrix4f lhs, Matrix4f rhs) { argument 127 float rhs_ij = rhs.get(i,j); 162 public void multiply(Matrix4f rhs) { argument 164 tmp.loadMultiply(this, rhs);
|
/frameworks/base/libs/rs/ |
H A D | rsMatrix.cpp | 116 void Matrix::loadMultiply(const Matrix *lhs, const Matrix *rhs) argument 124 const float rhs_ij = rhs->get(i,j);
|
/frameworks/base/core/jni/ |
H A D | android_view_Surface.cpp | 228 sp<Surface> rhs = new Surface(*parcel); local 229 setSurface(env, clazz, rhs); 590 const sp<SurfaceControl>& rhs = getSurfaceControl(env, other); local 591 if (!SurfaceControl::isSameSurface(surface, rhs)) { 594 setSurfaceControl(env, clazz, rhs); 608 sp<Surface> rhs = new Surface(*parcel); local 609 if (!Surface::isSameSurface(control, rhs)) { 612 setSurface(env, clazz, rhs);
|
/frameworks/base/awt/java/awt/image/ |
H A D | ConvolveOp.java | 67 * The rhs. 69 private RenderingHints rhs = null; field in class:ConvolveOp 90 this.rhs = hints; 115 return rhs;
|
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.h | 122 inline int compare_type(const AaptGroupEntry& lhs, const AaptGroupEntry& rhs) argument 124 return lhs.compare(rhs); 127 inline int strictly_order_type(const AaptGroupEntry& lhs, const AaptGroupEntry& rhs) argument 129 return compare_type(lhs, rhs) < 0;
|
/frameworks/base/libs/surfaceflinger_client/ |
H A D | Surface.cpp | 149 const sp<SurfaceControl>& lhs, const sp<SurfaceControl>& rhs) 151 if (lhs == 0 || rhs == 0) 153 return lhs->mSurface->asBinder() == rhs->mSurface->asBinder(); 420 const sp<Surface>& lhs, const sp<Surface>& rhs) 422 if (lhs == 0 || rhs == 0) 425 return lhs->mSurface->asBinder() == rhs->mSurface->asBinder(); 148 isSameSurface( const sp<SurfaceControl>& lhs, const sp<SurfaceControl>& rhs) argument 419 isSameSurface( const sp<Surface>& lhs, const sp<Surface>& rhs) argument
|
H A D | SurfaceComposerClient.cpp | 116 const layer_state_t& rhs) { 117 if (lhs.surface < rhs.surface) return -1; 118 if (lhs.surface > rhs.surface) return 1; 115 compare_type( const layer_state_t& lhs, const layer_state_t& rhs) argument
|
/frameworks/base/tools/localize/ |
H A D | merge_res_and_xliff.cpp | 164 bool operator()(const MergedFile& lhs, const MergedFile& rhs) const 166 return lhs.original < rhs.original;
|
H A D | XLIFFFile.cpp | 442 compare_id(const TransUnit& lhs, const TransUnit& rhs) argument 447 StringResource::ParseTypedID(rhs.id, &rid, &rindex);
|
/frameworks/base/opengl/libagl/ |
H A D | egl.cpp | 280 static Region subtract(const Rect& lhs, const Rect& rhs) { argument 284 if (lhs.top < rhs.top) { // top rect 288 storage->bottom = rhs.top; 291 const int32_t top = max(lhs.top, rhs.top); 292 const int32_t bot = min(lhs.bottom, rhs.bottom); 294 if (lhs.left < rhs.left) { // left-side rect 297 storage->right = rhs.left; 301 if (lhs.right > rhs.right) { // right-side rect 302 storage->left = rhs.right; 309 if (lhs.bottom > rhs [all...] |
/frameworks/base/awt/java/awt/ |
H A D | Color.java | 392 AffineTransform xform, RenderingHints rhs) { 391 createContext(ColorModel cm, Rectangle r, Rectangle2D r2d, AffineTransform xform, RenderingHints rhs) argument
|