Home | History | Annotate | Download | only in tests

Lines Matching defs:copy

6  * You may obtain a copy of the License at
450 MotionEvent copy;
451 copy.copyFrom(&event, true /*keepHistory*/);
460 MotionEvent copy;
461 copy.copyFrom(&event, false /*keepHistory*/);
463 ASSERT_EQ(event.getPointerCount(), copy.getPointerCount());
464 ASSERT_EQ(0U, copy.getHistorySize());
466 ASSERT_EQ(event.getPointerId(0), copy.getPointerId(0));
467 ASSERT_EQ(event.getPointerId(1), copy.getPointerId(1));
469 ASSERT_EQ(event.getEventTime(), copy.getEventTime());
471 ASSERT_EQ(event.getX(0), copy.getX(0));