Searched refs:orientationInfo (Results 1 – 1 of 1) sorted by relevance
56 RawAbsoluteAxisInfo orientationInfo; in CapturedTouchpadEventConverter() local57 deviceContext.getAbsoluteAxisInfo(ABS_MT_ORIENTATION, &orientationInfo); in CapturedTouchpadEventConverter()58 if (orientationInfo.valid) { in CapturedTouchpadEventConverter()59 if (orientationInfo.maxValue > 0) { in CapturedTouchpadEventConverter()60 mOrientationScale = M_PI_2 / orientationInfo.maxValue; in CapturedTouchpadEventConverter()61 } else if (orientationInfo.minValue < 0) { in CapturedTouchpadEventConverter()62 mOrientationScale = -M_PI_2 / orientationInfo.minValue; in CapturedTouchpadEventConverter()122 RawAbsoluteAxisInfo orientationInfo; in populateMotionRanges() local123 mDeviceContext.getAbsoluteAxisInfo(ABS_MT_ORIENTATION, &orientationInfo); in populateMotionRanges()124 if (orientationInfo.valid && (orientationInfo.maxValue > 0 || orientationInfo.minValue < 0)) { in populateMotionRanges()