Searched refs:newMetaState (Results 1 – 2 of 2) sorted by relevance
190 int32_t newMetaState; in setEphemeralMetaState() local192 newMetaState = oldMetaState | mask; in setEphemeralMetaState()194 newMetaState = oldMetaState & in setEphemeralMetaState()198 return normalizeMetaState(newMetaState); in setEphemeralMetaState()202 int32_t newMetaState = oldMetaState; in normalizeMetaState() local203 if (newMetaState & (AMETA_ALT_LEFT_ON | AMETA_ALT_RIGHT_ON)) { in normalizeMetaState()204 newMetaState |= AMETA_ALT_ON; in normalizeMetaState()207 if (newMetaState & (AMETA_SHIFT_LEFT_ON | AMETA_SHIFT_RIGHT_ON)) { in normalizeMetaState()208 newMetaState |= AMETA_SHIFT_ON; in normalizeMetaState()211 if (newMetaState & (AMETA_CTRL_LEFT_ON | AMETA_CTRL_RIGHT_ON)) { in normalizeMetaState()[all …]
404 int32_t newMetaState = android::updateMetaState(keyCode, down, oldMetaState); in updateMetaStateIfNeeded() local405 int32_t metaStateChanged = oldMetaState ^ newMetaState; in updateMetaStateIfNeeded()407 mMetaState = newMetaState; in updateMetaStateIfNeeded()411 getContext()->updateLedMetaState(newMetaState & allLedMetaState); in updateMetaStateIfNeeded()