Lines Matching refs:touchMajor
1400 touchMajor.clear();
2593 info->addMotionRange(mOrientedRanges.touchMajor);
2670 "touchMajor=%d, touchMinor=%d, toolMajor=%d, toolMinor=%d, "
2674 pointer.touchMajor, pointer.touchMinor,
2686 "touchMajor=%0.3f, touchMinor=%0.3f, toolMajor=%0.3f, toolMinor=%0.3f, "
2878 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.touchMajor, "TouchMajor");
3061 if (mRawPointerAxes.touchMajor.valid
3062 && mRawPointerAxes.touchMajor.maxValue != 0) {
3063 mSizeScale = 1.0f / mRawPointerAxes.touchMajor.maxValue;
3075 mOrientedRanges.touchMajor.axis = AMOTION_EVENT_AXIS_TOUCH_MAJOR;
3076 mOrientedRanges.touchMajor.source = mSource;
3077 mOrientedRanges.touchMajor.min = 0;
3078 mOrientedRanges.touchMajor.max = diagonalSize;
3079 mOrientedRanges.touchMajor.flat = 0;
3080 mOrientedRanges.touchMajor.fuzz = 0;
3081 mOrientedRanges.touchMajor.resolution = 0;
3083 mOrientedRanges.touchMinor = mOrientedRanges.touchMajor;
3480 if (mRawPointerAxes.touchMajor.valid || mRawPointerAxes.toolMajor.valid) {
4095 float touchMajor, touchMinor, toolMajor, toolMinor, size;
4101 if (mRawPointerAxes.touchMajor.valid && mRawPointerAxes.toolMajor.valid) {
4102 touchMajor = in.touchMajor;
4103 touchMinor = mRawPointerAxes.touchMinor.valid ? in.touchMinor : in.touchMajor;
4107 ? avg(in.touchMajor, in.touchMinor) : in.touchMajor;
4108 } else if (mRawPointerAxes.touchMajor.valid) {
4109 toolMajor = touchMajor = in.touchMajor;
4111 ? in.touchMinor : in.touchMajor;
4113 ? avg(in.touchMajor, in.touchMinor) : in.touchMajor;
4115 touchMajor = toolMajor = in.toolMajor;
4123 touchMajor = 0;
4133 touchMajor /= touchingCount;
4142 touchMajor *= mGeometricScale;
4147 touchMajor = touchMajor > 0 ? sqrtf(touchMajor) : 0;
4148 touchMinor = touchMajor;
4152 touchMinor = touchMajor;
4156 mCalibration.applySizeScaleAndBias(&touchMajor);
4163 touchMajor = 0;
4205 touchMajor *= scale;
4296 out.setAxisValue(AMOTION_EVENT_AXIS_TOUCH_MAJOR, touchMajor);
5942 outPointer.touchMajor = 0;
6023 outPointer.touchMajor = inSlot->getTouchMajor();
6088 getAbsoluteAxisInfo(ABS_MT_TOUCH_MAJOR, &mRawPointerAxes.touchMajor);