Searched refs:AKEY_STATE_DOWN (Results 1 – 9 of 9) sorted by relevance
/frameworks/native/include/android/ |
D | input.h | 73 AKEY_STATE_DOWN = 1, enumerator
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 1057 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/ |
D | EventHub.cpp | 344 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()
|
D | InputReader.h | 646 return getEventHub()->getScanCodeState(mId, code) == AKEY_STATE_DOWN; in isKeyPressed()
|
D | InputReader.cpp | 689 if (currentResult >= AKEY_STATE_DOWN) { in getStateLocked() 1132 if (currentResult >= AKEY_STATE_DOWN) { in getState()
|
/frameworks/base/docs/html/ndk/reference/ |
D | input_8h.jd | 41 …tml#ggabc6126af1d45847bc59afa0aa3216b04a286ec0a7aff5903a982be0cd6785b62c">AKEY_STATE_DOWN</a> = 1,
|
D | globals_eval.jd | 385 <li>AKEY_STATE_DOWN
|
D | globals.jd | 628 <li>AKEY_STATE_DOWN
|
D | group___input.jd | 41 …tml#ggabc6126af1d45847bc59afa0aa3216b04a286ec0a7aff5903a982be0cd6785b62c">AKEY_STATE_DOWN</a> = 1, 2047 …6126af1d45847bc59afa0aa3216b04a286ec0a7aff5903a982be0cd6785b62c"></a>AKEY_STATE_DOWN</em> </t…
|