Lines Matching refs:mCalibration
3115 if (mCalibration.coverageCalibration == Calibration::COVERAGE_CALIBRATION_BOX) { in populateDeviceInfo()
3689 if (mCalibration.sizeCalibration != Calibration::SIZE_CALIBRATION_NONE) { in configureSurface()
3740 if (mCalibration.pressureCalibration == Calibration::PRESSURE_CALIBRATION_PHYSICAL in configureSurface()
3741 || mCalibration.pressureCalibration in configureSurface()
3743 if (mCalibration.havePressureScale) { in configureSurface()
3744 mPressureScale = mCalibration.pressureScale; in configureSurface()
3797 } else if (mCalibration.orientationCalibration != in configureSurface()
3799 if (mCalibration.orientationCalibration in configureSurface()
3825 if (mCalibration.distanceCalibration != Calibration::DISTANCE_CALIBRATION_NONE) { in configureSurface()
3826 if (mCalibration.distanceCalibration in configureSurface()
3828 if (mCalibration.haveDistanceScale) { in configureSurface()
3829 mDistanceScale = mCalibration.distanceScale; in configureSurface()
4007 Calibration& out = mCalibration; in parseCalibration()
4105 if (mCalibration.sizeCalibration == Calibration::SIZE_CALIBRATION_DEFAULT) { in resolveCalibration()
4106 mCalibration.sizeCalibration = Calibration::SIZE_CALIBRATION_GEOMETRIC; in resolveCalibration()
4109 mCalibration.sizeCalibration = Calibration::SIZE_CALIBRATION_NONE; in resolveCalibration()
4114 if (mCalibration.pressureCalibration == Calibration::PRESSURE_CALIBRATION_DEFAULT) { in resolveCalibration()
4115 mCalibration.pressureCalibration = Calibration::PRESSURE_CALIBRATION_PHYSICAL; in resolveCalibration()
4118 mCalibration.pressureCalibration = Calibration::PRESSURE_CALIBRATION_NONE; in resolveCalibration()
4123 if (mCalibration.orientationCalibration == Calibration::ORIENTATION_CALIBRATION_DEFAULT) { in resolveCalibration()
4124 mCalibration.orientationCalibration = Calibration::ORIENTATION_CALIBRATION_INTERPOLATED; in resolveCalibration()
4127 mCalibration.orientationCalibration = Calibration::ORIENTATION_CALIBRATION_NONE; in resolveCalibration()
4132 if (mCalibration.distanceCalibration == Calibration::DISTANCE_CALIBRATION_DEFAULT) { in resolveCalibration()
4133 mCalibration.distanceCalibration = Calibration::DISTANCE_CALIBRATION_SCALED; in resolveCalibration()
4136 mCalibration.distanceCalibration = Calibration::DISTANCE_CALIBRATION_NONE; in resolveCalibration()
4140 if (mCalibration.coverageCalibration == Calibration::COVERAGE_CALIBRATION_DEFAULT) { in resolveCalibration()
4141 mCalibration.coverageCalibration = Calibration::COVERAGE_CALIBRATION_NONE; in resolveCalibration()
4149 switch (mCalibration.sizeCalibration) { in dumpCalibration()
4169 if (mCalibration.haveSizeScale) { in dumpCalibration()
4171 mCalibration.sizeScale); in dumpCalibration()
4174 if (mCalibration.haveSizeBias) { in dumpCalibration()
4176 mCalibration.sizeBias); in dumpCalibration()
4179 if (mCalibration.haveSizeIsSummed) { in dumpCalibration()
4181 toString(mCalibration.sizeIsSummed)); in dumpCalibration()
4185 switch (mCalibration.pressureCalibration) { in dumpCalibration()
4199 if (mCalibration.havePressureScale) { in dumpCalibration()
4201 mCalibration.pressureScale); in dumpCalibration()
4205 switch (mCalibration.orientationCalibration) { in dumpCalibration()
4220 switch (mCalibration.distanceCalibration) { in dumpCalibration()
4231 if (mCalibration.haveDistanceScale) { in dumpCalibration()
4233 mCalibration.distanceScale); in dumpCalibration()
4236 switch (mCalibration.coverageCalibration) { in dumpCalibration()
4985 switch (mCalibration.sizeCalibration) { in cookPointerData()
5019 if (mCalibration.haveSizeIsSummed && mCalibration.sizeIsSummed) { in cookPointerData()
5031 if (mCalibration.sizeCalibration == Calibration::SIZE_CALIBRATION_GEOMETRIC) { in cookPointerData()
5036 } else if (mCalibration.sizeCalibration == Calibration::SIZE_CALIBRATION_AREA) { in cookPointerData()
5041 } else if (mCalibration.sizeCalibration == Calibration::SIZE_CALIBRATION_DIAMETER) { in cookPointerData()
5046 mCalibration.applySizeScaleAndBias(&touchMajor); in cookPointerData()
5047 mCalibration.applySizeScaleAndBias(&touchMinor); in cookPointerData()
5048 mCalibration.applySizeScaleAndBias(&toolMajor); in cookPointerData()
5049 mCalibration.applySizeScaleAndBias(&toolMinor); in cookPointerData()
5063 switch (mCalibration.pressureCalibration) { in cookPointerData()
5084 switch (mCalibration.orientationCalibration) { in cookPointerData()
5111 switch (mCalibration.distanceCalibration) { in cookPointerData()
5121 switch (mCalibration.coverageCalibration) { in cookPointerData()
5201 if (mCalibration.coverageCalibration == Calibration::COVERAGE_CALIBRATION_BOX) { in cookPointerData()