• Home
  • Raw
  • Download

Lines Matching refs:mRawPointerAxes

3426     mRawPointerAxes.clear();  in configureRawPointerAxes()
3431 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.x, "X"); in dumpRawPointerAxes()
3432 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.y, "Y"); in dumpRawPointerAxes()
3433 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.pressure, "Pressure"); in dumpRawPointerAxes()
3434 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.touchMajor, "TouchMajor"); in dumpRawPointerAxes()
3435 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.touchMinor, "TouchMinor"); in dumpRawPointerAxes()
3436 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.toolMajor, "ToolMajor"); in dumpRawPointerAxes()
3437 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.toolMinor, "ToolMinor"); in dumpRawPointerAxes()
3438 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.orientation, "Orientation"); in dumpRawPointerAxes()
3439 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.distance, "Distance"); in dumpRawPointerAxes()
3440 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.tiltX, "TiltX"); in dumpRawPointerAxes()
3441 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.tiltY, "TiltY"); in dumpRawPointerAxes()
3442 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.trackingId, "TrackingId"); in dumpRawPointerAxes()
3443 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.slot, "Slot"); in dumpRawPointerAxes()
3497 int32_t rawWidth = mRawPointerAxes.getRawWidth(); in findViewport()
3498 int32_t rawHeight = mRawPointerAxes.getRawHeight(); in findViewport()
3535 if (!mRawPointerAxes.x.valid || !mRawPointerAxes.y.valid) { in configureSurface()
3554 int32_t rawWidth = mRawPointerAxes.getRawWidth(); in configureSurface()
3555 int32_t rawHeight = mRawPointerAxes.getRawHeight(); in configureSurface()
3690 if (mRawPointerAxes.touchMajor.valid in configureSurface()
3691 && mRawPointerAxes.touchMajor.maxValue != 0) { in configureSurface()
3692 mSizeScale = 1.0f / mRawPointerAxes.touchMajor.maxValue; in configureSurface()
3693 } else if (mRawPointerAxes.toolMajor.valid in configureSurface()
3694 && mRawPointerAxes.toolMajor.maxValue != 0) { in configureSurface()
3695 mSizeScale = 1.0f / mRawPointerAxes.toolMajor.maxValue; in configureSurface()
3745 pressureMax = mPressureScale * mRawPointerAxes.pressure.maxValue; in configureSurface()
3746 } else if (mRawPointerAxes.pressure.valid in configureSurface()
3747 && mRawPointerAxes.pressure.maxValue != 0) { in configureSurface()
3748 mPressureScale = 1.0f / mRawPointerAxes.pressure.maxValue; in configureSurface()
3765 mHaveTilt = mRawPointerAxes.tiltX.valid && mRawPointerAxes.tiltY.valid; in configureSurface()
3767 mTiltXCenter = avg(mRawPointerAxes.tiltX.minValue, in configureSurface()
3768 mRawPointerAxes.tiltX.maxValue); in configureSurface()
3769 mTiltYCenter = avg(mRawPointerAxes.tiltY.minValue, in configureSurface()
3770 mRawPointerAxes.tiltY.maxValue); in configureSurface()
3801 if (mRawPointerAxes.orientation.valid) { in configureSurface()
3802 if (mRawPointerAxes.orientation.maxValue > 0) { in configureSurface()
3803 mOrientationScale = M_PI_2 / mRawPointerAxes.orientation.maxValue; in configureSurface()
3804 } else if (mRawPointerAxes.orientation.minValue < 0) { in configureSurface()
3805 mOrientationScale = -M_PI_2 / mRawPointerAxes.orientation.minValue; in configureSurface()
3840 mRawPointerAxes.distance.minValue * mDistanceScale; in configureSurface()
3842 mRawPointerAxes.distance.maxValue * mDistanceScale; in configureSurface()
3845 mRawPointerAxes.distance.fuzz * mDistanceScale; in configureSurface()
3862 mOrientedRanges.x.resolution = mRawPointerAxes.y.resolution * mYScale; in configureSurface()
3868 mOrientedRanges.y.resolution = mRawPointerAxes.x.resolution * mXScale; in configureSurface()
3879 mOrientedRanges.x.resolution = mRawPointerAxes.x.resolution * mXScale; in configureSurface()
3885 mOrientedRanges.y.resolution = mRawPointerAxes.y.resolution * mYScale; in configureSurface()
3952 int32_t touchScreenLeft = mRawPointerAxes.x.minValue; in configureVirtualKeys()
3953 int32_t touchScreenTop = mRawPointerAxes.y.minValue; in configureVirtualKeys()
3954 int32_t touchScreenWidth = mRawPointerAxes.getRawWidth(); in configureVirtualKeys()
3955 int32_t touchScreenHeight = mRawPointerAxes.getRawHeight(); in configureVirtualKeys()
4104 if (mRawPointerAxes.touchMajor.valid || mRawPointerAxes.toolMajor.valid) { in resolveCalibration()
4113 if (mRawPointerAxes.pressure.valid) { in resolveCalibration()
4122 if (mRawPointerAxes.orientation.valid) { in resolveCalibration()
4131 if (mRawPointerAxes.distance.valid) { in resolveCalibration()
4990 if (mRawPointerAxes.touchMajor.valid && mRawPointerAxes.toolMajor.valid) { in cookPointerData()
4992 touchMinor = mRawPointerAxes.touchMinor.valid ? in.touchMinor : in.touchMajor; in cookPointerData()
4994 toolMinor = mRawPointerAxes.toolMinor.valid ? in.toolMinor : in.toolMajor; in cookPointerData()
4995 size = mRawPointerAxes.touchMinor.valid in cookPointerData()
4997 } else if (mRawPointerAxes.touchMajor.valid) { in cookPointerData()
4999 toolMinor = touchMinor = mRawPointerAxes.touchMinor.valid in cookPointerData()
5001 size = mRawPointerAxes.touchMinor.valid in cookPointerData()
5003 } else if (mRawPointerAxes.toolMajor.valid) { in cookPointerData()
5005 touchMinor = toolMinor = mRawPointerAxes.toolMinor.valid in cookPointerData()
5007 size = mRawPointerAxes.toolMinor.valid in cookPointerData()
5144 x = float(yTransformed - mRawPointerAxes.y.minValue) * mYScale + mYTranslate; in cookPointerData()
5145 y = float(mRawPointerAxes.x.maxValue - xTransformed) * mXScale + mXTranslate; in cookPointerData()
5146 left = float(rawTop - mRawPointerAxes.y.minValue) * mYScale + mYTranslate; in cookPointerData()
5147 right = float(rawBottom- mRawPointerAxes.y.minValue) * mYScale + mYTranslate; in cookPointerData()
5148 bottom = float(mRawPointerAxes.x.maxValue - rawLeft) * mXScale + mXTranslate; in cookPointerData()
5149 top = float(mRawPointerAxes.x.maxValue - rawRight) * mXScale + mXTranslate; in cookPointerData()
5156 x = float(mRawPointerAxes.x.maxValue - xTransformed) * mXScale; in cookPointerData()
5157 y = float(mRawPointerAxes.y.maxValue - yTransformed) * mYScale + mYTranslate; in cookPointerData()
5158 left = float(mRawPointerAxes.x.maxValue - rawRight) * mXScale; in cookPointerData()
5159 right = float(mRawPointerAxes.x.maxValue - rawLeft) * mXScale; in cookPointerData()
5160 bottom = float(mRawPointerAxes.y.maxValue - rawTop) * mYScale + mYTranslate; in cookPointerData()
5161 top = float(mRawPointerAxes.y.maxValue - rawBottom) * mYScale + mYTranslate; in cookPointerData()
5168 x = float(mRawPointerAxes.y.maxValue - yTransformed) * mYScale; in cookPointerData()
5169 y = float(xTransformed - mRawPointerAxes.x.minValue) * mXScale + mXTranslate; in cookPointerData()
5170 left = float(mRawPointerAxes.y.maxValue - rawBottom) * mYScale; in cookPointerData()
5171 right = float(mRawPointerAxes.y.maxValue - rawTop) * mYScale; in cookPointerData()
5172 bottom = float(rawRight - mRawPointerAxes.x.minValue) * mXScale + mXTranslate; in cookPointerData()
5173 top = float(rawLeft - mRawPointerAxes.x.minValue) * mXScale + mXTranslate; in cookPointerData()
5180 x = float(xTransformed - mRawPointerAxes.x.minValue) * mXScale + mXTranslate; in cookPointerData()
5181 y = float(yTransformed - mRawPointerAxes.y.minValue) * mYScale + mYTranslate; in cookPointerData()
5182 left = float(rawLeft - mRawPointerAxes.x.minValue) * mXScale + mXTranslate; in cookPointerData()
5183 right = float(rawRight - mRawPointerAxes.x.minValue) * mXScale + mXTranslate; in cookPointerData()
5184 bottom = float(rawBottom - mRawPointerAxes.y.minValue) * mYScale + mYTranslate; in cookPointerData()
5185 top = float(rawTop - mRawPointerAxes.y.minValue) * mYScale + mYTranslate; in cookPointerData()
6589 return x >= mRawPointerAxes.x.minValue && x <= mRawPointerAxes.x.maxValue in isPointInsideSurface()
6591 && y >= mRawPointerAxes.y.minValue && y <= mRawPointerAxes.y.maxValue in isPointInsideSurface()
6882 || (mRawPointerAxes.pressure.valid in syncTouch()
6910 getAbsoluteAxisInfo(ABS_X, &mRawPointerAxes.x); in configureRawPointerAxes()
6911 getAbsoluteAxisInfo(ABS_Y, &mRawPointerAxes.y); in configureRawPointerAxes()
6912 getAbsoluteAxisInfo(ABS_PRESSURE, &mRawPointerAxes.pressure); in configureRawPointerAxes()
6913 getAbsoluteAxisInfo(ABS_TOOL_WIDTH, &mRawPointerAxes.toolMajor); in configureRawPointerAxes()
6914 getAbsoluteAxisInfo(ABS_DISTANCE, &mRawPointerAxes.distance); in configureRawPointerAxes()
6915 getAbsoluteAxisInfo(ABS_TILT_X, &mRawPointerAxes.tiltX); in configureRawPointerAxes()
6916 getAbsoluteAxisInfo(ABS_TILT_Y, &mRawPointerAxes.tiltY); in configureRawPointerAxes()
6992 || (mRawPointerAxes.pressure.valid && inSlot->getPressure() <= 0)); in syncTouch()
7036 getAbsoluteAxisInfo(ABS_MT_POSITION_X, &mRawPointerAxes.x); in configureRawPointerAxes()
7037 getAbsoluteAxisInfo(ABS_MT_POSITION_Y, &mRawPointerAxes.y); in configureRawPointerAxes()
7038 getAbsoluteAxisInfo(ABS_MT_TOUCH_MAJOR, &mRawPointerAxes.touchMajor); in configureRawPointerAxes()
7039 getAbsoluteAxisInfo(ABS_MT_TOUCH_MINOR, &mRawPointerAxes.touchMinor); in configureRawPointerAxes()
7040 getAbsoluteAxisInfo(ABS_MT_WIDTH_MAJOR, &mRawPointerAxes.toolMajor); in configureRawPointerAxes()
7041 getAbsoluteAxisInfo(ABS_MT_WIDTH_MINOR, &mRawPointerAxes.toolMinor); in configureRawPointerAxes()
7042 getAbsoluteAxisInfo(ABS_MT_ORIENTATION, &mRawPointerAxes.orientation); in configureRawPointerAxes()
7043 getAbsoluteAxisInfo(ABS_MT_PRESSURE, &mRawPointerAxes.pressure); in configureRawPointerAxes()
7044 getAbsoluteAxisInfo(ABS_MT_DISTANCE, &mRawPointerAxes.distance); in configureRawPointerAxes()
7045 getAbsoluteAxisInfo(ABS_MT_TRACKING_ID, &mRawPointerAxes.trackingId); in configureRawPointerAxes()
7046 getAbsoluteAxisInfo(ABS_MT_SLOT, &mRawPointerAxes.slot); in configureRawPointerAxes()
7048 if (mRawPointerAxes.trackingId.valid in configureRawPointerAxes()
7049 && mRawPointerAxes.slot.valid in configureRawPointerAxes()
7050 && mRawPointerAxes.slot.minValue == 0 && mRawPointerAxes.slot.maxValue > 0) { in configureRawPointerAxes()
7051 size_t slotCount = mRawPointerAxes.slot.maxValue + 1; in configureRawPointerAxes()