Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DKeyboardInputMapper.cpp416 void KeyboardInputMapper::initializeLedState(LedState& ledState, int32_t led) { in initializeLedState() argument
417 ledState.avail = getDeviceContext().hasLed(led); in initializeLedState()
418 ledState.on = false; in initializeLedState()
447 void KeyboardInputMapper::updateLedStateForModifier(LedState& ledState, int32_t led, in updateLedStateForModifier() argument
449 if (ledState.avail) { in updateLedStateForModifier()
451 if (reset || ledState.on != desiredState) { in updateLedStateForModifier()
453 ledState.on = desiredState; in updateLedStateForModifier()
DKeyboardInputMapper.h96 void initializeLedState(LedState& ledState, int32_t led);
97 void updateLedStateForModifier(LedState& ledState, int32_t led, int32_t modifier, bool reset);