• Home
  • Raw
  • Download

Lines Matching refs:getAxisValue

56     ASSERT_EQ(0, coords.getAxisValue(0))  in TEST_F()
58 ASSERT_EQ(0, coords.getAxisValue(1)) in TEST_F()
66 ASSERT_EQ(0, coords.getAxisValue(0)) in TEST_F()
68 ASSERT_EQ(5, coords.getAxisValue(1)) in TEST_F()
77 ASSERT_EQ(0, coords.getAxisValue(0)) in TEST_F()
79 ASSERT_EQ(5, coords.getAxisValue(1)) in TEST_F()
81 ASSERT_EQ(0, coords.getAxisValue(2)) in TEST_F()
83 ASSERT_EQ(2, coords.getAxisValue(3)) in TEST_F()
93 ASSERT_EQ(4, coords.getAxisValue(0)) in TEST_F()
95 ASSERT_EQ(5, coords.getAxisValue(1)) in TEST_F()
97 ASSERT_EQ(0, coords.getAxisValue(2)) in TEST_F()
99 ASSERT_EQ(2, coords.getAxisValue(3)) in TEST_F()
110 ASSERT_EQ(4, coords.getAxisValue(0)) in TEST_F()
112 ASSERT_EQ(5, coords.getAxisValue(1)) in TEST_F()
114 ASSERT_EQ(1, coords.getAxisValue(2)) in TEST_F()
116 ASSERT_EQ(2, coords.getAxisValue(3)) in TEST_F()
127 ASSERT_EQ(4, coords.getAxisValue(0)) in TEST_F()
129 ASSERT_EQ(6, coords.getAxisValue(1)) in TEST_F()
131 ASSERT_EQ(1, coords.getAxisValue(2)) in TEST_F()
133 ASSERT_EQ(2, coords.getAxisValue(3)) in TEST_F()
359 ASSERT_EQ(11, event->getHistoricalRawPointerCoords(0, 0)->getAxisValue(AMOTION_EVENT_AXIS_Y)); in assertEqualsEventWithHistory()
360 ASSERT_EQ(21, event->getHistoricalRawPointerCoords(1, 0)->getAxisValue(AMOTION_EVENT_AXIS_Y)); in assertEqualsEventWithHistory()
361 ASSERT_EQ(111, event->getHistoricalRawPointerCoords(0, 1)->getAxisValue(AMOTION_EVENT_AXIS_Y)); in assertEqualsEventWithHistory()
362 ASSERT_EQ(121, event->getHistoricalRawPointerCoords(1, 1)->getAxisValue(AMOTION_EVENT_AXIS_Y)); in assertEqualsEventWithHistory()
363 ASSERT_EQ(211, event->getRawPointerCoords(0)->getAxisValue(AMOTION_EVENT_AXIS_Y)); in assertEqualsEventWithHistory()
364 ASSERT_EQ(221, event->getRawPointerCoords(1)->getAxisValue(AMOTION_EVENT_AXIS_Y)); in assertEqualsEventWithHistory()
691 ASSERT_EQ(-96, event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, 0)); in TEST_F()
692 ASSERT_EQ(42, event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, 0)); in TEST_F()
705 ASSERT_EQ(-96, event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, 0)); in TEST_F()
706 ASSERT_EQ(42, event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, 0)); in TEST_F()
711 ASSERT_NEAR(event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, 0), in TEST_F()
712 changedEvent.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, 0), 0.001); in TEST_F()
713 ASSERT_NEAR(event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, 0), in TEST_F()
714 changedEvent.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, 0), 0.001); in TEST_F()
786 ASSERT_EQ(rel.x, event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_X, 0)); in TEST_F()
787 ASSERT_EQ(rel.y, event.getAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, 0)); in TEST_F()