summaryrefslogtreecommitdiff
path: root/include/input/Input.h
diff options
context:
space:
mode:
author Prabir Pradhan <prabirmsp@google.com> 2021-11-17 12:58:02 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2021-11-17 12:58:02 +0000
commit34d22b905ce4bdb199e07136d9547226ccde3de0 (patch)
treeeb3323aac04538c06ae6b88535af3baf23d27b95 /include/input/Input.h
parentb2c5839d133c74b40fa476fdfb0b1996f8d49ef7 (diff)
parent6b430413d07b6afca1a4146ea91809567b5cfe9a (diff)
Merge "Change PointerController to display space"
Diffstat (limited to 'include/input/Input.h')
-rw-r--r--include/input/Input.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/input/Input.h b/include/input/Input.h
index 1e06257591..5242dcb476 100644
--- a/include/input/Input.h
+++ b/include/input/Input.h
@@ -201,6 +201,11 @@ namespace android {
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);