Home
last modified time | relevance | path

Searched refs:mFakePointerController (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1989 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()
[all …]