Home | History | Annotate | Download | only in input

Lines Matching full:switchcode

593 int32_t InputReader::getSwitchState(int32_t deviceId, uint32_t sourceMask, int32_t switchCode) {
596 return getStateLocked(deviceId, sourceMask, switchCode, &InputDevice::getSwitchState);
1015 int32_t InputDevice::getSwitchState(uint32_t sourceMask, int32_t switchCode) {
1016 return getState(sourceMask, switchCode, & InputMapper::getSwitchState);
1760 int32_t InputMapper::getSwitchState(uint32_t sourceMask, int32_t switchCode) {
1828 void SwitchInputMapper::processSwitch(int32_t switchCode, int32_t switchValue) {
1829 if (switchCode >= 0 && switchCode < 32) {
1831 mUpdatedSwitchValues |= 1 << switchCode;
1833 mUpdatedSwitchMask |= 1 << switchCode;
1847 int32_t SwitchInputMapper::getSwitchState(uint32_t sourceMask, int32_t switchCode) {
1848 return getEventHub()->getSwitchState(getDeviceId(), switchCode);