Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DKeyboard.cpp198 ~(mask | AMETA_ALT_ON | AMETA_SHIFT_ON | AMETA_CTRL_ON | AMETA_META_ON); in setEphemeralMetaState()
207 newMetaState |= AMETA_ALT_ON; in normalizeMetaState()
DKeyCharacterMap.cpp60 { "alt", AMETA_ALT_ON },
448 if (behavior->metaState & AMETA_ALT_ON) { in tryRemapKey()
452 newMetaState &= ~AMETA_ALT_ON; in tryRemapKey()
512 | AMETA_ALT_ON | AMETA_ALT_LEFT_ON | AMETA_ALT_RIGHT_ON in matchesMetaState()
520 if (behaviorMetaState & AMETA_ALT_ON) { in matchesMetaState()
523 unmatchedMetaState &= ~AMETA_ALT_ON; in matchesMetaState()
588 AMETA_ALT_ON, currentMetaState); in addMetaKeys()
619 AMETA_ALT_ON, currentMetaState); in addMetaKeys()
/frameworks/native/libs/input/tests/
DVerifiedInputEvent_test.cpp28 AKEYCODE_BUTTON_X, 121 /*scanCode*/, AMETA_ALT_ON, 1 /*repeatCount*/, in getKeyEventWithFlags()
DInputEvent_test.cpp190 AKEY_EVENT_FLAG_FROM_SYSTEM, AKEYCODE_BUTTON_X, 121, AMETA_ALT_ON, 1, in TEST_F()
203 ASSERT_EQ(AMETA_ALT_ON, event.getMetaState()); in TEST_F()
278 AMOTION_EVENT_EDGE_FLAG_TOP, AMETA_ALT_ON, AMOTION_EVENT_BUTTON_PRIMARY, in initializeEventWithHistory()
336 ASSERT_EQ(AMETA_ALT_ON, event->getMetaState()); in assertEqualsEventWithHistory()
DInputPublisherAndConsumer_test.cpp86 constexpr int32_t metaState = AMETA_ALT_LEFT_ON | AMETA_ALT_ON; in PublishAndConsumeKeyEvent()
156 constexpr int32_t metaState = AMETA_ALT_LEFT_ON | AMETA_ALT_ON; in PublishAndConsumeMotionEvent()
/frameworks/native/include/android/
Dinput.h94 AMETA_ALT_ON = 0x02, enumerator
/frameworks/native/services/inputflinger/
DInputCommonConverter.cpp177 static_assert(static_cast<common::Meta>(AMETA_ALT_ON) == common::Meta::ALT_ON); in getMetastate()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp2766 mapper1.setMetaState(AMETA_ALT_ON); in TEST_F()
2811 ASSERT_EQ(AMETA_ALT_ON | AMETA_SHIFT_ON, mDevice->getMetaState()) in TEST_F()