Lines Matching refs:mCalibration
2649 if (mCalibration.coverageCalibration == Calibration::COVERAGE_CALIBRATION_BOX) { in populateDeviceInfo()
3102 if (mCalibration.sizeCalibration != Calibration::SIZE_CALIBRATION_NONE) { in configureSurface()
3152 if (mCalibration.pressureCalibration == Calibration::PRESSURE_CALIBRATION_PHYSICAL in configureSurface()
3153 || mCalibration.pressureCalibration in configureSurface()
3155 if (mCalibration.havePressureScale) { in configureSurface()
3156 mPressureScale = mCalibration.pressureScale; in configureSurface()
3208 } else if (mCalibration.orientationCalibration != in configureSurface()
3210 if (mCalibration.orientationCalibration in configureSurface()
3236 if (mCalibration.distanceCalibration != Calibration::DISTANCE_CALIBRATION_NONE) { in configureSurface()
3237 if (mCalibration.distanceCalibration in configureSurface()
3239 if (mCalibration.haveDistanceScale) { in configureSurface()
3240 mDistanceScale = mCalibration.distanceScale; in configureSurface()
3428 Calibration& out = mCalibration; in parseCalibration()
3526 if (mCalibration.sizeCalibration == Calibration::SIZE_CALIBRATION_DEFAULT) { in resolveCalibration()
3527 mCalibration.sizeCalibration = Calibration::SIZE_CALIBRATION_GEOMETRIC; in resolveCalibration()
3530 mCalibration.sizeCalibration = Calibration::SIZE_CALIBRATION_NONE; in resolveCalibration()
3535 if (mCalibration.pressureCalibration == Calibration::PRESSURE_CALIBRATION_DEFAULT) { in resolveCalibration()
3536 mCalibration.pressureCalibration = Calibration::PRESSURE_CALIBRATION_PHYSICAL; in resolveCalibration()
3539 mCalibration.pressureCalibration = Calibration::PRESSURE_CALIBRATION_NONE; in resolveCalibration()
3544 if (mCalibration.orientationCalibration == Calibration::ORIENTATION_CALIBRATION_DEFAULT) { in resolveCalibration()
3545 mCalibration.orientationCalibration = Calibration::ORIENTATION_CALIBRATION_INTERPOLATED; in resolveCalibration()
3548 mCalibration.orientationCalibration = Calibration::ORIENTATION_CALIBRATION_NONE; in resolveCalibration()
3553 if (mCalibration.distanceCalibration == Calibration::DISTANCE_CALIBRATION_DEFAULT) { in resolveCalibration()
3554 mCalibration.distanceCalibration = Calibration::DISTANCE_CALIBRATION_SCALED; in resolveCalibration()
3557 mCalibration.distanceCalibration = Calibration::DISTANCE_CALIBRATION_NONE; in resolveCalibration()
3561 if (mCalibration.coverageCalibration == Calibration::COVERAGE_CALIBRATION_DEFAULT) { in resolveCalibration()
3562 mCalibration.coverageCalibration = Calibration::COVERAGE_CALIBRATION_NONE; in resolveCalibration()
3570 switch (mCalibration.sizeCalibration) { in dumpCalibration()
3590 if (mCalibration.haveSizeScale) { in dumpCalibration()
3592 mCalibration.sizeScale); in dumpCalibration()
3595 if (mCalibration.haveSizeBias) { in dumpCalibration()
3597 mCalibration.sizeBias); in dumpCalibration()
3600 if (mCalibration.haveSizeIsSummed) { in dumpCalibration()
3602 toString(mCalibration.sizeIsSummed)); in dumpCalibration()
3606 switch (mCalibration.pressureCalibration) { in dumpCalibration()
3620 if (mCalibration.havePressureScale) { in dumpCalibration()
3622 mCalibration.pressureScale); in dumpCalibration()
3626 switch (mCalibration.orientationCalibration) { in dumpCalibration()
3641 switch (mCalibration.distanceCalibration) { in dumpCalibration()
3652 if (mCalibration.haveDistanceScale) { in dumpCalibration()
3654 mCalibration.distanceScale); in dumpCalibration()
3657 switch (mCalibration.coverageCalibration) { in dumpCalibration()
4153 switch (mCalibration.sizeCalibration) { in cookPointerData()
4187 if (mCalibration.haveSizeIsSummed && mCalibration.sizeIsSummed) { in cookPointerData()
4198 if (mCalibration.sizeCalibration == Calibration::SIZE_CALIBRATION_GEOMETRIC) { in cookPointerData()
4203 } else if (mCalibration.sizeCalibration == Calibration::SIZE_CALIBRATION_AREA) { in cookPointerData()
4208 } else if (mCalibration.sizeCalibration == Calibration::SIZE_CALIBRATION_DIAMETER) { in cookPointerData()
4213 mCalibration.applySizeScaleAndBias(&touchMajor); in cookPointerData()
4214 mCalibration.applySizeScaleAndBias(&touchMinor); in cookPointerData()
4215 mCalibration.applySizeScaleAndBias(&toolMajor); in cookPointerData()
4216 mCalibration.applySizeScaleAndBias(&toolMinor); in cookPointerData()
4230 switch (mCalibration.pressureCalibration) { in cookPointerData()
4251 switch (mCalibration.orientationCalibration) { in cookPointerData()
4278 switch (mCalibration.distanceCalibration) { in cookPointerData()
4288 switch (mCalibration.coverageCalibration) { in cookPointerData()
4368 if (mCalibration.coverageCalibration == Calibration::COVERAGE_CALIBRATION_BOX) { in cookPointerData()