Searched refs:AKEY_STATE_UP (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/include/android/ |
D | input.h | 70 AKEY_STATE_UP = 0, enumerator
|
/frameworks/native/services/inputflinger/ |
D | EventHub.cpp | 344 return test_bit(scanCode, keyState) ? AKEY_STATE_DOWN : AKEY_STATE_UP; in getScanCodeState() 368 return AKEY_STATE_UP; in getKeyCodeState() 384 return test_bit(sw, swState) ? AKEY_STATE_DOWN : AKEY_STATE_UP; in getSwitchState()
|
D | InputReader.cpp | 699 } else if (currentResult == AKEY_STATE_UP) { in getStateLocked() 1142 } else if (currentResult == AKEY_STATE_UP) { in getState() 6518 return AKEY_STATE_UP; in getKeyCodeState() 6534 return AKEY_STATE_UP; in getScanCodeState()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 1302 mapper1->setKeyCodeState(AKEYCODE_B, AKEY_STATE_UP); in TEST_F() 1304 mapper1->setScanCodeState(3, AKEY_STATE_UP); in TEST_F() 1357 ASSERT_EQ(AKEY_STATE_UP, mDevice->getScanCodeState(AINPUT_SOURCE_KEYBOARD, 3)) in TEST_F() 2750 ASSERT_EQ(AKEY_STATE_UP, mapper->getKeyCodeState(AINPUT_SOURCE_ANY, AKEYCODE_HOME)); in TEST_F() 2779 ASSERT_EQ(AKEY_STATE_UP, mapper->getScanCodeState(AINPUT_SOURCE_ANY, KEY_HOME)); in TEST_F()
|