Lines Matching refs:toolMajor
1402 toolMajor.clear();
2598 info->addMotionRange(mOrientedRanges.toolMajor);
2670 "touchMajor=%d, touchMinor=%d, toolMajor=%d, toolMinor=%d, "
2675 pointer.toolMajor, pointer.toolMinor,
2686 "touchMajor=%0.3f, touchMinor=%0.3f, toolMajor=%0.3f, toolMinor=%0.3f, "
2880 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.toolMajor, "ToolMajor");
3064 } else if (mRawPointerAxes.toolMajor.valid
3065 && mRawPointerAxes.toolMajor.maxValue != 0) {
3066 mSizeScale = 1.0f / mRawPointerAxes.toolMajor.maxValue;
3086 mOrientedRanges.toolMajor.axis = AMOTION_EVENT_AXIS_TOOL_MAJOR;
3087 mOrientedRanges.toolMajor.source = mSource;
3088 mOrientedRanges.toolMajor.min = 0;
3089 mOrientedRanges.toolMajor.max = diagonalSize;
3090 mOrientedRanges.toolMajor.flat = 0;
3091 mOrientedRanges.toolMajor.fuzz = 0;
3092 mOrientedRanges.toolMajor.resolution = 0;
3094 mOrientedRanges.toolMinor = mOrientedRanges.toolMajor;
3480 if (mRawPointerAxes.touchMajor.valid || mRawPointerAxes.toolMajor.valid) {
4095 float touchMajor, touchMinor, toolMajor, toolMinor, size;
4101 if (mRawPointerAxes.touchMajor.valid && mRawPointerAxes.toolMajor.valid) {
4104 toolMajor = in.toolMajor;
4105 toolMinor = mRawPointerAxes.toolMinor.valid ? in.toolMinor : in.toolMajor;
4109 toolMajor = touchMajor = in.touchMajor;
4114 } else if (mRawPointerAxes.toolMajor.valid) {
4115 touchMajor = toolMajor = in.toolMajor;
4117 ? in.toolMinor : in.toolMajor;
4119 ? avg(in.toolMajor, in.toolMinor) : in.toolMajor;
4125 toolMajor = 0;
4135 toolMajor /= touchingCount;
4144 toolMajor *= mGeometricScale;
4149 toolMajor = toolMajor > 0 ? sqrtf(toolMajor) : 0;
4150 toolMinor = toolMajor;
4153 toolMinor = toolMajor;
4158 mCalibration.applySizeScaleAndBias(&toolMajor);
4165 toolMajor = 0;
4207 toolMajor *= scale;
4235 rawBottom = in.toolMajor & 0x0000ffff;
4236 rawTop = (in.toolMajor & 0xffff0000) >> 16;
4307 out.setAxisValue(AMOTION_EVENT_AXIS_TOOL_MAJOR, toolMajor);
5944 outPointer.toolMajor = mSingleTouchMotionAccumulator.getAbsoluteToolWidth();
5964 getAbsoluteAxisInfo(ABS_TOOL_WIDTH, &mRawPointerAxes.toolMajor);
6025 outPointer.toolMajor = inSlot->getToolMajor();
6090 getAbsoluteAxisInfo(ABS_MT_WIDTH_MAJOR, &mRawPointerAxes.toolMajor);