Home
last modified time | relevance | path

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

/frameworks/native/include/android/
Dinput.h73 AKEY_STATE_DOWN = 1, enumerator
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1057 mapper->setKeyCodeState(AKEYCODE_A, AKEY_STATE_DOWN); in TEST_F()
1067 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getKeyCodeState(1, in TEST_F()
1075 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getKeyCodeState(-1, in TEST_F()
1084 mapper->setScanCodeState(KEY_A, AKEY_STATE_DOWN); in TEST_F()
1094 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getScanCodeState(1, in TEST_F()
1102 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getScanCodeState(-1, in TEST_F()
1111 mapper->setSwitchState(SW_LID, AKEY_STATE_DOWN); in TEST_F()
1121 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getSwitchState(1, in TEST_F()
1129 ASSERT_EQ(AKEY_STATE_DOWN, mReader->getSwitchState(-1, in TEST_F()
1301 mapper1->setKeyCodeState(AKEYCODE_A, AKEY_STATE_DOWN); in TEST_F()
[all …]
/frameworks/native/services/inputflinger/
DEventHub.cpp344 return test_bit(scanCode, keyState) ? AKEY_STATE_DOWN : AKEY_STATE_UP; in getScanCodeState()
365 return AKEY_STATE_DOWN; in getKeyCodeState()
384 return test_bit(sw, swState) ? AKEY_STATE_DOWN : AKEY_STATE_UP; in getSwitchState()
DInputReader.h646 return getEventHub()->getScanCodeState(mId, code) == AKEY_STATE_DOWN; in isKeyPressed()
DInputReader.cpp689 if (currentResult >= AKEY_STATE_DOWN) { in getStateLocked()
1132 if (currentResult >= AKEY_STATE_DOWN) { in getState()
/frameworks/base/docs/html/ndk/reference/
Dinput_8h.jd41 …tml#ggabc6126af1d45847bc59afa0aa3216b04a286ec0a7aff5903a982be0cd6785b62c">AKEY_STATE_DOWN</a> = 1,
Dglobals_eval.jd385 <li>AKEY_STATE_DOWN
Dglobals.jd628 <li>AKEY_STATE_DOWN
Dgroup___input.jd41 …tml#ggabc6126af1d45847bc59afa0aa3216b04a286ec0a7aff5903a982be0cd6785b62c">AKEY_STATE_DOWN</a> = 1,
2047 …6126af1d45847bc59afa0aa3216b04a286ec0a7aff5903a982be0cd6785b62c"></a>AKEY_STATE_DOWN</em>&#160;</t…