Lines Matching refs:mFakePointerController
1989 sp<FakePointerController> mFakePointerController; member in android::CursorInputMapperTest
1994 mFakePointerController = new FakePointerController(); in SetUp()
1995 mFakePolicy->setPointerController(DEVICE_ID, mFakePointerController); in SetUp()
2050 mFakePointerController->setBounds(1, 2, 800 - 1, 480 - 1); in TEST_F()
2358 mFakePointerController->setBounds(0, 0, 800 - 1, 480 - 1); in TEST_F()
2359 mFakePointerController->setPosition(100, 200); in TEST_F()
2360 mFakePointerController->setButtonState(0); in TEST_F()
2371 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, mFakePointerController->getButtonState()); in TEST_F()
2378 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, mFakePointerController->getButtonState()); in TEST_F()
2387 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2394 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2401 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2414 mFakePointerController->getButtonState()); in TEST_F()
2422 mFakePointerController->getButtonState()); in TEST_F()
2431 mFakePointerController->getButtonState()); in TEST_F()
2440 ASSERT_EQ(AMOTION_EVENT_BUTTON_TERTIARY, mFakePointerController->getButtonState()); in TEST_F()
2447 ASSERT_EQ(AMOTION_EVENT_BUTTON_TERTIARY, mFakePointerController->getButtonState()); in TEST_F()
2456 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2464 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2471 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2486 ASSERT_EQ(AMOTION_EVENT_BUTTON_BACK, mFakePointerController->getButtonState()); in TEST_F()
2493 ASSERT_EQ(AMOTION_EVENT_BUTTON_BACK, mFakePointerController->getButtonState()); in TEST_F()
2502 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2509 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2527 ASSERT_EQ(AMOTION_EVENT_BUTTON_BACK, mFakePointerController->getButtonState()); in TEST_F()
2534 ASSERT_EQ(AMOTION_EVENT_BUTTON_BACK, mFakePointerController->getButtonState()); in TEST_F()
2543 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2550 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2568 ASSERT_EQ(AMOTION_EVENT_BUTTON_FORWARD, mFakePointerController->getButtonState()); in TEST_F()
2575 ASSERT_EQ(AMOTION_EVENT_BUTTON_FORWARD, mFakePointerController->getButtonState()); in TEST_F()
2584 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2591 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2609 ASSERT_EQ(AMOTION_EVENT_BUTTON_FORWARD, mFakePointerController->getButtonState()); in TEST_F()
2616 ASSERT_EQ(AMOTION_EVENT_BUTTON_FORWARD, mFakePointerController->getButtonState()); in TEST_F()
2625 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2632 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2646 mFakePointerController->setBounds(0, 0, 800 - 1, 480 - 1); in TEST_F()
2647 mFakePointerController->setPosition(100, 200); in TEST_F()
2648 mFakePointerController->setButtonState(0); in TEST_F()
2660 ASSERT_NO_FATAL_FAILURE(assertPosition(mFakePointerController, 110.0f, 220.0f)); in TEST_F()
2674 mFakePointerController->setBounds(0, 0, 800 - 1, 480 - 1); in TEST_F()
2675 mFakePointerController->setPosition(100, 200); in TEST_F()
2676 mFakePointerController->setButtonState(0); in TEST_F()
2689 ASSERT_NO_FATAL_FAILURE(assertPosition(mFakePointerController, 100.0f, 200.0f)); in TEST_F()
2728 ASSERT_NO_FATAL_FAILURE(assertPosition(mFakePointerController, 100.0f, 200.0f)); in TEST_F()
2749 ASSERT_NO_FATAL_FAILURE(assertPosition(mFakePointerController, 110.0f, 220.0f)); in TEST_F()