SurfaceFlinger Input: Shrink frame by surfaceInsets.

Probably best explained by the comment in InputWindow.h. We can't
use touchable region because we need to shift the coordinate space.
As a follow-up I'm going to look in to shifting the coordinate space
on the client but it was very non obvious where to do so.

Test: Manual
Bug: 80101428
Bug: 113136004
Bug: 111440400
Change-Id: Ibbaffa89a80f3a047c716265251f547631bdf802
diff --git a/libs/input/InputWindow.cpp b/libs/input/InputWindow.cpp
index b1d9d6a..e6bb255 100644
--- a/libs/input/InputWindow.cpp
+++ b/libs/input/InputWindow.cpp
@@ -81,6 +81,7 @@
     output.writeInt32(frameTop);
     output.writeInt32(frameRight);
     output.writeInt32(frameBottom);
+    output.writeInt32(surfaceInset);
     output.writeFloat(scaleFactor);
     output.writeBool(visible);
     output.writeBool(canReceiveKeys);
@@ -119,6 +120,7 @@
     ret.frameTop = from.readInt32();
     ret.frameRight = from.readInt32();
     ret.frameBottom = from.readInt32();
+    ret.surfaceInset = from.readInt32();
     ret.scaleFactor = from.readFloat();
     ret.visible = from.readBool();
     ret.canReceiveKeys = from.readBool();