Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DKeyCharacterMap.cpp430 bool KeyCharacterMap::matchesMetaState(int32_t eventMetaState, int32_t behaviorMetaState) { in matchesMetaState() argument
435 if ((eventMetaState & behaviorMetaState) == behaviorMetaState) { in matchesMetaState()
440 int32_t unmatchedMetaState = eventMetaState & ~behaviorMetaState & EXACT_META_STATES; in matchesMetaState()
441 if (behaviorMetaState & AMETA_CTRL_ON) { in matchesMetaState()
443 } else if (behaviorMetaState & (AMETA_CTRL_LEFT_ON | AMETA_CTRL_RIGHT_ON)) { in matchesMetaState()
446 if (behaviorMetaState & AMETA_ALT_ON) { in matchesMetaState()
448 } else if (behaviorMetaState & (AMETA_ALT_LEFT_ON | AMETA_ALT_RIGHT_ON)) { in matchesMetaState()
451 if (behaviorMetaState & AMETA_META_ON) { in matchesMetaState()
453 } else if (behaviorMetaState & (AMETA_META_LEFT_ON | AMETA_META_RIGHT_ON)) { in matchesMetaState()
/frameworks/native/include/input/
DKeyCharacterMap.h239 static bool matchesMetaState(int32_t eventMetaState, int32_t behaviorMetaState);