Home
last modified time | relevance | path

Searched refs:behaviorMetaState (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/native/libs/input/
H A DKeyCharacterMap.cpp504 bool KeyCharacterMap::matchesMetaState(int32_t eventMetaState, int32_t behaviorMetaState) { in matchesMetaState() argument
509 if ((eventMetaState & behaviorMetaState) == behaviorMetaState) { in matchesMetaState()
514 int32_t unmatchedMetaState = eventMetaState & ~behaviorMetaState & EXACT_META_STATES; in matchesMetaState()
515 if (behaviorMetaState & AMETA_CTRL_ON) { in matchesMetaState()
517 } else if (behaviorMetaState & (AMETA_CTRL_LEFT_ON | AMETA_CTRL_RIGHT_ON)) { in matchesMetaState()
520 if (behaviorMetaState & AMETA_ALT_ON) { in matchesMetaState()
522 } else if (behaviorMetaState & (AMETA_ALT_LEFT_ON | AMETA_ALT_RIGHT_ON)) { in matchesMetaState()
525 if (behaviorMetaState & AMETA_META_ON) { in matchesMetaState()
527 } else if (behaviorMetaState & (AMETA_META_LEFT_ON | AMETA_META_RIGHT_ON)) { in matchesMetaState()
/aosp12/frameworks/native/include/input/
H A DKeyCharacterMap.h245 static bool matchesMetaState(int32_t eventMetaState, int32_t behaviorMetaState);