Add test for InputReader location calibration

This patch adds a test for the new native location calibration
code. The Java interface is not tested.

Change-Id: Id7496486f6b6e2ade12ada607b62d1594af488e8
diff --git a/services/inputflinger/InputReader.h b/services/inputflinger/InputReader.h
index 0e57bcd..43d4869 100644
--- a/services/inputflinger/InputReader.h
+++ b/services/inputflinger/InputReader.h
@@ -268,6 +268,12 @@
         y_xmix(0.0f), y_scale(1.0f), y_offset(0.0f) {
     }
 
+    TouchAffineTransformation(float xscale, float xymix, float xoffset,
+            float yxmix, float yscale, float yoffset) :
+        x_scale(xscale), x_ymix(xymix), x_offset(xoffset),
+        y_xmix(yxmix), y_scale(yscale), y_offset(yoffset) {
+    }
+
     void applyTo(float& x, float& y) const;
 };