Searched refs:axisInfo (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/libs/input/ |
D | KeyLayoutMap.cpp | 320 AxisInfo axisInfo; in parseAxis() local 325 axisInfo.mode = AxisInfo::MODE_INVERT; in parseAxis() 329 axisInfo.axis = getAxisByLabel(axisToken.string()); in parseAxis() 330 if (axisInfo.axis < 0) { in parseAxis() 336 axisInfo.mode = AxisInfo::MODE_SPLIT; in parseAxis() 340 axisInfo.splitValue = int32_t(strtol(splitToken.string(), &end, 0)); in parseAxis() 349 axisInfo.axis = getAxisByLabel(lowAxisToken.string()); in parseAxis() 350 if (axisInfo.axis < 0) { in parseAxis() 358 axisInfo.highAxis = getAxisByLabel(highAxisToken.string()); in parseAxis() 359 if (axisInfo.highAxis < 0) { in parseAxis() [all …]
|
/frameworks/native/services/inputflinger/ |
D | InputReader.cpp | 1991 status_t InputMapper::getAbsoluteAxisInfo(int32_t axis, RawAbsoluteAxisInfo* axisInfo) { in getAbsoluteAxisInfo() argument 1992 return getEventHub()->getAbsoluteAxisInfo(getDeviceId(), axis, axisInfo); in getAbsoluteAxisInfo() 7161 addMotionRange(axis.axisInfo.axis, axis, info); in populateDeviceInfo() 7163 if (axis.axisInfo.mode == AxisInfo::MODE_SPLIT) { in populateDeviceInfo() 7164 addMotionRange(axis.axisInfo.highAxis, axis, info); in populateDeviceInfo() 7204 const char* label = getAxisLabel(axis.axisInfo.axis); in dump() 7208 dump += StringPrintf(INDENT4 "%d", axis.axisInfo.axis); in dump() 7210 if (axis.axisInfo.mode == AxisInfo::MODE_SPLIT) { in dump() 7211 label = getAxisLabel(axis.axisInfo.highAxis); in dump() 7213 dump += StringPrintf(" / %s (split at %d)", label, axis.axisInfo.splitValue); in dump() [all …]
|
D | InputReader.h | 790 status_t getAbsoluteAxisInfo(int32_t axis, RawAbsoluteAxisInfo* axisInfo); 1736 AxisInfo axisInfo; member 1757 void initialize(const RawAbsoluteAxisInfo& rawAxisInfo, const AxisInfo& axisInfo, in initialize() 1762 this->axisInfo = axisInfo; in initialize()
|