Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DKeyboard.cpp171 int32_t newMetaState; in setEphemeralMetaState() local
173 newMetaState = oldMetaState | mask; in setEphemeralMetaState()
175 newMetaState = oldMetaState & in setEphemeralMetaState()
179 if (newMetaState & (AMETA_ALT_LEFT_ON | AMETA_ALT_RIGHT_ON)) { in setEphemeralMetaState()
180 newMetaState |= AMETA_ALT_ON; in setEphemeralMetaState()
183 if (newMetaState & (AMETA_SHIFT_LEFT_ON | AMETA_SHIFT_RIGHT_ON)) { in setEphemeralMetaState()
184 newMetaState |= AMETA_SHIFT_ON; in setEphemeralMetaState()
187 if (newMetaState & (AMETA_CTRL_LEFT_ON | AMETA_CTRL_RIGHT_ON)) { in setEphemeralMetaState()
188 newMetaState |= AMETA_CTRL_ON; in setEphemeralMetaState()
191 if (newMetaState & (AMETA_META_LEFT_ON | AMETA_META_RIGHT_ON)) { in setEphemeralMetaState()
[all …]
/frameworks/native/services/inputflinger/
DInputReader.cpp2162 int32_t newMetaState = updateMetaState(keyCode, down, oldMetaState); in processKey() local
2163 bool metaStateChanged = oldMetaState != newMetaState; in processKey()
2165 mMetaState = newMetaState; in processKey()
2194 AKEY_EVENT_FLAG_FROM_SYSTEM, keyCode, scanCode, newMetaState, downTime); in processKey()