Home
last modified time | relevance | path

Searched refs:getEventHub (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h95 inline EventHubInterface* getEventHub() { return mContext->getEventHub(); } in getEventHub() function
97 bool hasKey(int32_t code) { return getEventHub()->hasScanCode(mId, code); } in hasKey()
101 getEventHub()->getAbsoluteAxisInfo(mId, code, &info); in hasAbsoluteAxis()
106 return getEventHub()->getScanCodeState(mId, code) == AKEY_STATE_DOWN; in isKeyPressed()
111 getEventHub()->getAbsoluteAxisValue(mId, code, &value); in getAbsoluteAxisValue()
DInputReaderContext.h58 virtual EventHubInterface* getEventHub() = 0;
DInputReader.h105 virtual EventHubInterface* getEventHub();
/frameworks/native/services/inputflinger/reader/mapper/
DVibratorInputMapper.cpp103 getEventHub()->vibrate(getDeviceId(), duration); in nextStep()
108 getEventHub()->cancelVibrate(getDeviceId()); in nextStep()
123 getEventHub()->cancelVibrate(getDeviceId()); in stopVibrating()
DKeyboardInputMapper.cpp117 info->setKeyCharacterMap(getEventHub()->getKeyCharacterMap(getDeviceId())); in populateDeviceInfo()
257 if (getEventHub()->mapKey(getDeviceId(), scanCode, usageCode, mMetaState, &keyCode, in processKey()
348 return getEventHub()->getKeyCodeState(getDeviceId(), keyCode); in getKeyCodeState()
352 return getEventHub()->getScanCodeState(getDeviceId(), scanCode); in getScanCodeState()
357 return getEventHub()->markSupportedKeyCodes(getDeviceId(), numCodes, keyCodes, outFlags); in markSupportedKeyCodes()
391 ledState.avail = getEventHub()->hasLed(getDeviceId(), led); in initializeLedState()
406 getEventHub()->setLedState(getDeviceId(), led, desiredState); in updateLedStateForModifier()
DInputMapper.h51 inline EventHubInterface* getEventHub() { return mContext->getEventHub(); } in getEventHub() function
DSwitchInputMapper.cpp68 return getEventHub()->getSwitchState(getDeviceId(), switchCode); in getSwitchState()
DInputMapper.cpp77 return getEventHub()->getAbsoluteAxisInfo(getDeviceId(), axis, axisInfo); in getAbsoluteAxisInfo()
DMultiTouchInputMapper.cpp65 status_t status = device->getEventHub()->getAbsoluteAxisValue(device->getId(), ABS_MT_SLOT, in reset()
DTouchInputMapper.cpp412 mParameters.gestureMode = getEventHub()->hasInputProperty(getDeviceId(), INPUT_PROP_SEMI_MT) in configureParameters()
428 if (getEventHub()->hasInputProperty(getDeviceId(), INPUT_PROP_DIRECT)) { in configureParameters()
431 } else if (getEventHub()->hasInputProperty(getDeviceId(), INPUT_PROP_POINTER)) { in configureParameters()
434 } else if (getEventHub()->hasRelativeAxis(getDeviceId(), REL_X) || in configureParameters()
435 getEventHub()->hasRelativeAxis(getDeviceId(), REL_Y)) { in configureParameters()
445 getEventHub()->hasInputProperty(getDeviceId(), INPUT_PROP_BUTTONPAD); in configureParameters()
1058 getEventHub()->getVirtualKeyDefinitions(getDeviceId(), virtualKeyDefinitions); in configureVirtualKeys()
1078 if (getEventHub()->mapKey(getDeviceId(), virtualKey.scanCode, 0, 0, &keyCode, in configureVirtualKeys()
3612 std::vector<TouchVideoFrame> frames = mDevice->getEventHub()->getVideoFrames(deviceId); in dispatchMotion()
DJoystickInputMapper.cpp124 bool explicitlyMapped = !getEventHub()->mapAxis(getDeviceId(), abs, &axisInfo); in configure()
DCursorInputMapper.cpp476 return getEventHub()->getScanCodeState(getDeviceId(), scanCode); in getScanCodeState()
/frameworks/native/services/inputflinger/reader/mapper/accumulator/
DCursorScrollAccumulator.cpp29 mHaveRelWheel = device->getEventHub()->hasRelativeAxis(device->getId(), REL_WHEEL); in configure()
30 mHaveRelHWheel = device->getEventHub()->hasRelativeAxis(device->getId(), REL_HWHEEL); in configure()
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp48 return getEventHub()->isDeviceEnabled(mId); in isEnabled()
57 getEventHub()->enableDevice(mId); in setEnabled()
61 getEventHub()->disableDevice(mId); in setEnabled()
123 mContext->getEventHub()->getConfiguration(mId, &mConfiguration); in configure()
130 if (mContext->getEventHub()->setKeyboardLayoutOverlay(mId, keyboardLayout)) { in configure()
DInputReader.cpp759 EventHubInterface* InputReader::ContextImpl::getEventHub() { in getEventHub() function in android::InputReader::ContextImpl
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp828 virtual EventHubInterface* getEventHub() { in getEventHub() function in android::FakeInputReaderContext