Home | History | Annotate | Download | only in input

Lines Matching refs:Calibration

2624         if (mCalibration.coverageCalibration == Calibration::COVERAGE_CALIBRATION_BOX) {
2739 // Prepare input device calibration.
3066 if (mCalibration.sizeCalibration != Calibration::SIZE_CALIBRATION_NONE) {
3116 if (mCalibration.pressureCalibration == Calibration::PRESSURE_CALIBRATION_PHYSICAL
3118 == Calibration::PRESSURE_CALIBRATION_AMPLITUDE) {
3173 Calibration::ORIENTATION_CALIBRATION_NONE) {
3175 == Calibration::ORIENTATION_CALIBRATION_INTERPOLATED) {
3200 if (mCalibration.distanceCalibration != Calibration::DISTANCE_CALIBRATION_NONE) {
3202 == Calibration::DISTANCE_CALIBRATION_SCALED) {
3389 Calibration& out = mCalibration;
3392 out.sizeCalibration = Calibration::SIZE_CALIBRATION_DEFAULT;
3394 if (in.tryGetProperty(String8("touch.size.calibration"), sizeCalibrationString)) {
3396 out.sizeCalibration = Calibration::SIZE_CALIBRATION_NONE;
3398 out.sizeCalibration = Calibration::SIZE_CALIBRATION_GEOMETRIC;
3400 out.sizeCalibration = Calibration::SIZE_CALIBRATION_DIAMETER;
3402 out.sizeCalibration = Calibration::SIZE_CALIBRATION_BOX;
3404 out.sizeCalibration = Calibration::SIZE_CALIBRATION_AREA;
3406 ALOGW("Invalid value for touch.size.calibration: '%s'",
3419 out.pressureCalibration = Calibration::PRESSURE_CALIBRATION_DEFAULT;
3421 if (in.tryGetProperty(String8("touch.pressure.calibration"), pressureCalibrationString)) {
3423 out.pressureCalibration = Calibration::PRESSURE_CALIBRATION_NONE;
3425 out.pressureCalibration = Calibration::PRESSURE_CALIBRATION_PHYSICAL;
3427 out.pressureCalibration = Calibration::PRESSURE_CALIBRATION_AMPLITUDE;
3429 ALOGW("Invalid value for touch.pressure.calibration: '%s'",
3438 out.orientationCalibration = Calibration::ORIENTATION_CALIBRATION_DEFAULT;
3440 if (in.tryGetProperty(String8("touch.orientation.calibration"), orientationCalibrationString)) {
3442 out.orientationCalibration = Calibration::ORIENTATION_CALIBRATION_NONE;
3444 out.orientationCalibration = Calibration::ORIENTATION_CALIBRATION_INTERPOLATED;
3446 out.orientationCalibration = Calibration::ORIENTATION_CALIBRATION_VECTOR;
3448 ALOGW("Invalid value for touch.orientation.calibration: '%s'",
3454 out.distanceCalibration = Calibration::DISTANCE_CALIBRATION_DEFAULT;
3456 if (in.tryGetProperty(String8("touch.distance.calibration"), distanceCalibrationString)) {
3458 out.distanceCalibration = Calibration::DISTANCE_CALIBRATION_NONE;
3460 out.distanceCalibration = Calibration::DISTANCE_CALIBRATION_SCALED;
3462 ALOGW("Invalid value for touch.distance.calibration: '%s'",
3470 out.coverageCalibration = Calibration::COVERAGE_CALIBRATION_DEFAULT;
3472 if (in.tryGetProperty(String8("touch.coverage.calibration"), coverageCalibrationString)) {
3474 out.coverageCalibration = Calibration::COVERAGE_CALIBRATION_NONE;
3476 out.coverageCalibration = Calibration::COVERAGE_CALIBRATION_BOX;
3478 ALOGW("Invalid value for touch.coverage.calibration: '%s'",
3487 if (mCalibration.sizeCalibration == Calibration::SIZE_CALIBRATION_DEFAULT) {
3488 mCalibration.sizeCalibration = Calibration::SIZE_CALIBRATION_GEOMETRIC;
3491 mCalibration.sizeCalibration = Calibration::SIZE_CALIBRATION_NONE;
3496 if (mCalibration.pressureCalibration == Calibration::PRESSURE_CALIBRATION_DEFAULT) {
3497 mCalibration.pressureCalibration = Calibration::PRESSURE_CALIBRATION_PHYSICAL;
3500 mCalibration.pressureCalibration = Calibration::PRESSURE_CALIBRATION_NONE;
3505 if (mCalibration.orientationCalibration == Calibration::ORIENTATION_CALIBRATION_DEFAULT) {
3506 mCalibration.orientationCalibration = Calibration::ORIENTATION_CALIBRATION_INTERPOLATED;
3509 mCalibration.orientationCalibration = Calibration::ORIENTATION_CALIBRATION_NONE;
3514 if (mCalibration.distanceCalibration == Calibration::DISTANCE_CALIBRATION_DEFAULT) {
3515 mCalibration.distanceCalibration = Calibration::DISTANCE_CALIBRATION_SCALED;
3518 mCalibration.distanceCalibration = Calibration::DISTANCE_CALIBRATION_NONE;
3522 if (mCalibration.coverageCalibration == Calibration::COVERAGE_CALIBRATION_DEFAULT) {
3523 mCalibration.coverageCalibration = Calibration::COVERAGE_CALIBRATION_NONE;
3528 dump.append(INDENT3 "Calibration:\n");
3532 case Calibration::SIZE_CALIBRATION_NONE:
3533 dump.append(INDENT4 "touch.size.calibration: none\n");
3535 case Calibration::SIZE_CALIBRATION_GEOMETRIC:
3536 dump.append(INDENT4 "touch.size.calibration: geometric\n");
3538 case Calibration::SIZE_CALIBRATION_DIAMETER:
3539 dump.append(INDENT4 "touch.size.calibration: diameter\n");
3541 case Calibration::SIZE_CALIBRATION_BOX:
3542 dump.append(INDENT4 "touch.size.calibration: box\n");
3544 case Calibration::SIZE_CALIBRATION_AREA:
3545 dump.append(INDENT4 "touch.size.calibration: area\n");
3568 case Calibration::PRESSURE_CALIBRATION_NONE:
3569 dump.append(INDENT4 "touch.pressure.calibration: none\n");
3571 case Calibration::PRESSURE_CALIBRATION_PHYSICAL:
3572 dump.append(INDENT4 "touch.pressure.calibration: physical\n");
3574 case Calibration::PRESSURE_CALIBRATION_AMPLITUDE:
3575 dump.append(INDENT4 "touch.pressure.calibration: amplitude\n");
3588 case Calibration::ORIENTATION_CALIBRATION_NONE:
3589 dump.append(INDENT4 "touch.orientation.calibration: none\n");
3591 case Calibration::ORIENTATION_CALIBRATION_INTERPOLATED:
3592 dump.append(INDENT4 "touch.orientation.calibration: interpolated\n");
3594 case Calibration::ORIENTATION_CALIBRATION_VECTOR:
3595 dump.append(INDENT4 "touch.orientation.calibration: vector\n");
3603 case Calibration::DISTANCE_CALIBRATION_NONE:
3604 dump.append(INDENT4 "touch.distance.calibration: none\n");
3606 case Calibration::DISTANCE_CALIBRATION_SCALED:
3607 dump.append(INDENT4 "touch.distance.calibration: scaled\n");
3619 case Calibration::COVERAGE_CALIBRATION_NONE:
3620 dump.append(INDENT4 "touch.coverage.calibration: none\n");
3622 case Calibration::COVERAGE_CALIBRATION_BOX:
3623 dump.append(INDENT4 "touch.coverage.calibration: box\n");
4103 case Calibration::SIZE_CALIBRATION_GEOMETRIC:
4104 case Calibration::SIZE_CALIBRATION_DIAMETER:
4105 case Calibration::SIZE_CALIBRATION_BOX:
4106 case Calibration::SIZE_CALIBRATION_AREA:
4128 "Size calibration should have been resolved to NONE.");
4147 if (mCalibration.sizeCalibration == Calibration::SIZE_CALIBRATION_GEOMETRIC) {
4152 } else if (mCalibration.sizeCalibration == Calibration::SIZE_CALIBRATION_AREA) {
4157 } else if (mCalibration.sizeCalibration == Calibration::SIZE_CALIBRATION_DIAMETER) {
4180 case Calibration::PRESSURE_CALIBRATION_PHYSICAL:
4181 case Calibration::PRESSURE_CALIBRATION_AMPLITUDE:
4201 case Calibration::ORIENTATION_CALIBRATION_INTERPOLATED:
4204 case Calibration::ORIENTATION_CALIBRATION_VECTOR: {
4228 case Calibration::DISTANCE_CALIBRATION_SCALED:
4238 case Calibration::COVERAGE_CALIBRATION_BOX:
4311 if (mCalibration.coverageCalibration == Calibration::COVERAGE_CALIBRATION_BOX) {