Lines Matching refs:mev
212 MotionEvent* mev = static_cast<MotionEvent*>(ev); in expectTap() local
213 EXPECT_EQ(AMOTION_EVENT_ACTION_DOWN, mev->getAction()); in expectTap()
214 EXPECT_EQ(x, mev->getX(0)); in expectTap()
215 EXPECT_EQ(y, mev->getY(0)); in expectTap()
216 EXPECT_EQ(0, mev->getFlags() & VERIFIED_MOTION_EVENT_FLAGS); in expectTap()
221 mev = static_cast<MotionEvent*>(ev); in expectTap()
222 EXPECT_EQ(AMOTION_EVENT_ACTION_UP, mev->getAction()); in expectTap()
223 EXPECT_EQ(0, mev->getFlags() & VERIFIED_MOTION_EVENT_FLAGS); in expectTap()
230 MotionEvent* mev = static_cast<MotionEvent*>(ev); in expectTapWithFlag() local
231 EXPECT_EQ(AMOTION_EVENT_ACTION_DOWN, mev->getAction()); in expectTapWithFlag()
232 EXPECT_EQ(x, mev->getX(0)); in expectTapWithFlag()
233 EXPECT_EQ(y, mev->getY(0)); in expectTapWithFlag()
234 EXPECT_EQ(flags, mev->getFlags() & flags); in expectTapWithFlag()
239 mev = static_cast<MotionEvent*>(ev); in expectTapWithFlag()
240 EXPECT_EQ(AMOTION_EVENT_ACTION_UP, mev->getAction()); in expectTapWithFlag()
241 EXPECT_EQ(flags, mev->getFlags() & flags); in expectTapWithFlag()
248 MotionEvent* mev = static_cast<MotionEvent*>(ev); in expectTapInDisplayCoordinates() local
249 EXPECT_EQ(AMOTION_EVENT_ACTION_DOWN, mev->getAction()); in expectTapInDisplayCoordinates()
250 const PointerCoords& coords = *mev->getRawPointerCoords(0 /*pointerIndex*/); in expectTapInDisplayCoordinates()
253 EXPECT_EQ(0, mev->getFlags() & VERIFIED_MOTION_EVENT_FLAGS); in expectTapInDisplayCoordinates()
258 mev = static_cast<MotionEvent*>(ev); in expectTapInDisplayCoordinates()
259 EXPECT_EQ(AMOTION_EVENT_ACTION_UP, mev->getAction()); in expectTapInDisplayCoordinates()
260 EXPECT_EQ(0, mev->getFlags() & VERIFIED_MOTION_EVENT_FLAGS); in expectTapInDisplayCoordinates()