Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DKeyboardInputMapper.cpp407 AMETA_CAPS_LOCK_ON | AMETA_NUM_LOCK_ON | AMETA_SCROLL_LOCK_ON; in updateMetaStateIfNeeded()
432 mMetaState &= ~(AMETA_CAPS_LOCK_ON | AMETA_NUM_LOCK_ON | AMETA_SCROLL_LOCK_ON); in updateLedState()
438 const std::array<int32_t, META_NUM> metaCodes = {AMETA_CAPS_LOCK_ON, AMETA_NUM_LOCK_ON, in updateLedState()
454 updateLedStateForModifier(mNumLockLedState, ALED_NUM_LOCK, AMETA_NUM_LOCK_ON, reset); in updateLedState()
/frameworks/native/libs/input/
DKeyboard.cpp257 return toggleLockedMetaState(AMETA_NUM_LOCK_ON, down, oldMetaState); in updateMetaState()
DKeyCharacterMap.cpp72 { "numlock", AMETA_NUM_LOCK_ON },
577 AKEYCODE_NUM_LOCK, AMETA_NUM_LOCK_ON, currentMetaState); in addMetaKeys()
628 AKEYCODE_NUM_LOCK, AMETA_NUM_LOCK_ON, currentMetaState); in addMetaKeys()
/frameworks/native/include/android/
Dinput.h139 AMETA_NUM_LOCK_ON = 0x200000, enumerator
/frameworks/native/services/inputflinger/
DInputCommonConverter.cpp192 static_assert(static_cast<common::Meta>(AMETA_NUM_LOCK_ON) == common::Meta::NUM_LOCK_ON); in getMetastate()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp3819 ASSERT_EQ(AMETA_CAPS_LOCK_ON | AMETA_NUM_LOCK_ON, mapper.getMetaState()); in TEST_F()
3827 ASSERT_EQ(AMETA_NUM_LOCK_ON, mapper.getMetaState()); in TEST_F()
3835 ASSERT_EQ(AMETA_NUM_LOCK_ON | AMETA_SCROLL_LOCK_ON, mapper.getMetaState()); in TEST_F()
3996 ASSERT_EQ(AMETA_CAPS_LOCK_ON | AMETA_NUM_LOCK_ON, mapper.getMetaState()); in TEST_F()
4002 ASSERT_EQ(AMETA_CAPS_LOCK_ON | AMETA_NUM_LOCK_ON | AMETA_SCROLL_LOCK_ON, mapper.getMetaState()); in TEST_F()
4031 ASSERT_EQ(AMETA_CAPS_LOCK_ON | AMETA_NUM_LOCK_ON | AMETA_SCROLL_LOCK_ON, in TEST_F()
4095 ASSERT_EQ(AMETA_NUM_LOCK_ON, mapper1.getMetaState()); in TEST_F()
4096 ASSERT_EQ(AMETA_NUM_LOCK_ON, mapper2.getMetaState()); in TEST_F()