Reland "Change PointerController to display space"
259a2122aeafea0f20bfcc7c9bcd089511a5aa56
Bug: 188939842
Bug: 144544464
Bug: 206817973
Test: forrest run - CtsHardwareTestCases
Change-Id: I8f0312a502ec5c79038ef1697cf2d5b23db9fcfc
diff --git a/include/input/Input.h b/include/input/Input.h
index 1e06257..5242dcb 100644
--- a/include/input/Input.h
+++ b/include/input/Input.h
@@ -201,6 +201,11 @@
class Parcel;
#endif
+/*
+ * Apply the given transform to the point without applying any translation/offset.
+ */
+vec2 transformWithoutTranslation(const ui::Transform& transform, const vec2& xy);
+
const char* inputEventTypeToString(int32_t type);
std::string inputEventSourceToString(int32_t source);