Lines Matching refs:mFakePointerController
2122 sp<FakePointerController> mFakePointerController; member in android::CursorInputMapperTest
2127 mFakePointerController = new FakePointerController(); in SetUp()
2128 mFakePolicy->setPointerController(DEVICE_ID, mFakePointerController); in SetUp()
2183 mFakePointerController->setBounds(1, 2, 800 - 1, 480 - 1); in TEST_F()
2491 mFakePointerController->setBounds(0, 0, 800 - 1, 480 - 1); in TEST_F()
2492 mFakePointerController->setPosition(100, 200); in TEST_F()
2493 mFakePointerController->setButtonState(0); in TEST_F()
2504 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, mFakePointerController->getButtonState()); in TEST_F()
2511 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, mFakePointerController->getButtonState()); in TEST_F()
2520 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2527 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2534 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2547 mFakePointerController->getButtonState()); in TEST_F()
2555 mFakePointerController->getButtonState()); in TEST_F()
2564 mFakePointerController->getButtonState()); in TEST_F()
2573 ASSERT_EQ(AMOTION_EVENT_BUTTON_TERTIARY, mFakePointerController->getButtonState()); in TEST_F()
2580 ASSERT_EQ(AMOTION_EVENT_BUTTON_TERTIARY, mFakePointerController->getButtonState()); in TEST_F()
2589 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2597 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2604 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2619 ASSERT_EQ(AMOTION_EVENT_BUTTON_BACK, mFakePointerController->getButtonState()); in TEST_F()
2626 ASSERT_EQ(AMOTION_EVENT_BUTTON_BACK, mFakePointerController->getButtonState()); in TEST_F()
2635 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2642 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2660 ASSERT_EQ(AMOTION_EVENT_BUTTON_BACK, mFakePointerController->getButtonState()); in TEST_F()
2667 ASSERT_EQ(AMOTION_EVENT_BUTTON_BACK, mFakePointerController->getButtonState()); in TEST_F()
2676 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2683 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2701 ASSERT_EQ(AMOTION_EVENT_BUTTON_FORWARD, mFakePointerController->getButtonState()); in TEST_F()
2708 ASSERT_EQ(AMOTION_EVENT_BUTTON_FORWARD, mFakePointerController->getButtonState()); in TEST_F()
2717 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2724 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2742 ASSERT_EQ(AMOTION_EVENT_BUTTON_FORWARD, mFakePointerController->getButtonState()); in TEST_F()
2749 ASSERT_EQ(AMOTION_EVENT_BUTTON_FORWARD, mFakePointerController->getButtonState()); in TEST_F()
2758 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2765 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2779 mFakePointerController->setBounds(0, 0, 800 - 1, 480 - 1); in TEST_F()
2780 mFakePointerController->setPosition(100, 200); in TEST_F()
2781 mFakePointerController->setButtonState(0); in TEST_F()
2793 ASSERT_NO_FATAL_FAILURE(assertPosition(mFakePointerController, 110.0f, 220.0f)); in TEST_F()
2807 mFakePointerController->setBounds(0, 0, 800 - 1, 480 - 1); in TEST_F()
2808 mFakePointerController->setPosition(100, 200); in TEST_F()
2809 mFakePointerController->setButtonState(0); in TEST_F()
2822 ASSERT_NO_FATAL_FAILURE(assertPosition(mFakePointerController, 100.0f, 200.0f)); in TEST_F()
2861 ASSERT_NO_FATAL_FAILURE(assertPosition(mFakePointerController, 100.0f, 200.0f)); in TEST_F()
2882 ASSERT_NO_FATAL_FAILURE(assertPosition(mFakePointerController, 110.0f, 220.0f)); in TEST_F()