Searched refs:axisInfo (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/libs/input/ |
D | KeyLayoutMap.cpp | 319 AxisInfo axisInfo; in parseAxis() local 324 axisInfo.mode = AxisInfo::MODE_INVERT; in parseAxis() 328 axisInfo.axis = getAxisByLabel(axisToken.string()); in parseAxis() 329 if (axisInfo.axis < 0) { in parseAxis() 335 axisInfo.mode = AxisInfo::MODE_SPLIT; in parseAxis() 339 axisInfo.splitValue = int32_t(strtol(splitToken.string(), &end, 0)); in parseAxis() 348 axisInfo.axis = getAxisByLabel(lowAxisToken.string()); in parseAxis() 349 if (axisInfo.axis < 0) { in parseAxis() 357 axisInfo.highAxis = getAxisByLabel(highAxisToken.string()); in parseAxis() 358 if (axisInfo.highAxis < 0) { in parseAxis() [all …]
|
/frameworks/native/services/inputflinger/ |
D | InputReader.cpp | 2038 status_t InputMapper::getAbsoluteAxisInfo(int32_t axis, RawAbsoluteAxisInfo* axisInfo) { in getAbsoluteAxisInfo() argument 2039 return getEventHub()->getAbsoluteAxisInfo(getDeviceId(), axis, axisInfo); in getAbsoluteAxisInfo() 7085 addMotionRange(axis.axisInfo.axis, axis, info); in populateDeviceInfo() 7087 if (axis.axisInfo.mode == AxisInfo::MODE_SPLIT) { in populateDeviceInfo() 7088 addMotionRange(axis.axisInfo.highAxis, axis, info); in populateDeviceInfo() 7128 const char* label = getAxisLabel(axis.axisInfo.axis); in dump() 7132 dump.appendFormat(INDENT4 "%d", axis.axisInfo.axis); in dump() 7134 if (axis.axisInfo.mode == AxisInfo::MODE_SPLIT) { in dump() 7135 label = getAxisLabel(axis.axisInfo.highAxis); in dump() 7137 dump.appendFormat(" / %s (split at %d)", label, axis.axisInfo.splitValue); in dump() [all …]
|
D | InputReader.h | 1017 status_t getAbsoluteAxisInfo(int32_t axis, RawAbsoluteAxisInfo* axisInfo); 1937 AxisInfo axisInfo; member 1958 void initialize(const RawAbsoluteAxisInfo& rawAxisInfo, const AxisInfo& axisInfo, in initialize() 1963 this->axisInfo = axisInfo; in initialize()
|