Added libui dependencies for input
Allow Input to support Transform class from libui and
add Transform objects to MotionEvent and InputWindowInfo
Test: Builds
Bug: 158476194
Change-Id: Ic6f2507dbead97c2124dde8c8946add377d724c6
diff --git a/include/input/InputWindow.h b/include/input/InputWindow.h
index f8c759c..6a42ff6 100644
--- a/include/input/InputWindow.h
+++ b/include/input/InputWindow.h
@@ -21,6 +21,7 @@
#include <input/InputTransport.h>
#include <ui/Rect.h>
#include <ui/Region.h>
+#include <ui/Transform.h>
#include <utils/RefBase.h>
#include <utils/Timers.h>
@@ -160,6 +161,9 @@
float windowXScale = 1.0f;
float windowYScale = 1.0f;
+ // Transform applied to individual windows.
+ ui::Transform transform;
+
/*
* This is filled in by the WM relative to the frame and then translated
* to absolute coordinates by SurfaceFlinger once the frame is computed.