Home
last modified time | relevance | path

Searched refs:AxisInfo (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/include/input/
DKeyLayoutMap.h28 struct AxisInfo { struct
54 AxisInfo() : mode(MODE_NORMAL), axis(-1), highAxis(-1), splitValue(0), flatOverride(-1) { in AxisInfo() argument
73 status_t mapAxis(int32_t scanCode, AxisInfo* outAxisInfo) const;
91 KeyedVector<int32_t, AxisInfo> mAxes;
/frameworks/native/libs/input/
DKeyLayoutMap.cpp134 status_t KeyLayoutMap::mapAxis(int32_t scanCode, AxisInfo* outAxisInfo) const { in mapAxis()
320 AxisInfo axisInfo; in parseAxis()
325 axisInfo.mode = AxisInfo::MODE_INVERT; in parseAxis()
336 axisInfo.mode = AxisInfo::MODE_SPLIT; in parseAxis()
/frameworks/native/services/inputflinger/
DEventHub.h188 AxisInfo* outAxisInfo) const = 0;
287 AxisInfo* outAxisInfo) const;
DInputReader.cpp7163 if (axis.axisInfo.mode == AxisInfo::MODE_SPLIT) { in populateDeviceInfo()
7210 if (axis.axisInfo.mode == AxisInfo::MODE_SPLIT) { in dump()
7218 } else if (axis.axisInfo.mode == AxisInfo::MODE_INVERT) { in dump()
7250 AxisInfo axisInfo; in configure()
7254 axisInfo.mode = AxisInfo::MODE_NORMAL; in configure()
7264 if (axisInfo.mode == AxisInfo::MODE_SPLIT) { in configure()
7334 || (axis.axisInfo.mode == AxisInfo::MODE_SPLIT in haveAxis()
7392 case AxisInfo::MODE_INVERT: in process()
7397 case AxisInfo::MODE_SPLIT: in process()
7452 if (axis.axisInfo.mode == AxisInfo::MODE_SPLIT) { in sync()
[all …]
DInputReader.h1736 AxisInfo axisInfo;
1757 void initialize(const RawAbsoluteAxisInfo& rawAxisInfo, const AxisInfo& axisInfo, in initialize()
DEventHub.cpp552 status_t EventHub::mapAxis(int32_t deviceId, int32_t scanCode, AxisInfo* outAxisInfo) const { in mapAxis()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp604 virtual status_t mapAxis(int32_t, int32_t, AxisInfo*) const { in mapAxis()