Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DKeyCharacterMap.cpp388 bool KeyCharacterMap::matchesMetaState(int32_t eventMetaState, int32_t behaviorMetaState) { in matchesMetaState() argument
393 if ((eventMetaState & behaviorMetaState) == behaviorMetaState) { in matchesMetaState()
398 int32_t unmatchedMetaState = eventMetaState & ~behaviorMetaState & EXACT_META_STATES; in matchesMetaState()
399 if (behaviorMetaState & AMETA_CTRL_ON) { in matchesMetaState()
401 } else if (behaviorMetaState & (AMETA_CTRL_LEFT_ON | AMETA_CTRL_RIGHT_ON)) { in matchesMetaState()
404 if (behaviorMetaState & AMETA_ALT_ON) { in matchesMetaState()
406 } else if (behaviorMetaState & (AMETA_ALT_LEFT_ON | AMETA_ALT_RIGHT_ON)) { in matchesMetaState()
409 if (behaviorMetaState & AMETA_META_ON) { in matchesMetaState()
411 } else if (behaviorMetaState & (AMETA_META_LEFT_ON | AMETA_META_RIGHT_ON)) { in matchesMetaState()
/frameworks/native/include/input/
DKeyCharacterMap.h228 static bool matchesMetaState(int32_t eventMetaState, int32_t behaviorMetaState);