summaryrefslogtreecommitdiffstats
path: root/services/inputflinger/tests
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2015-03-13 17:32:02 -0700
committerMichael Wright <michaelwr@google.com>2015-04-17 16:37:16 +0000
commit842500e146cdc0036b2a1a3e2acc7626d005128b (patch)
tree6f780e99fb5df6cb019f46dc1cac085d444ed65c /services/inputflinger/tests
parente5364c8c02f1a943e78dee600ac45573d5cdcbbf (diff)
downloadframeworks_native-842500e146cdc0036b2a1a3e2acc7626d005128b.zip
frameworks_native-842500e146cdc0036b2a1a3e2acc7626d005128b.tar.gz
frameworks_native-842500e146cdc0036b2a1a3e2acc7626d005128b.tar.bz2
Fuse stylus and touch screen data.
TODO: Ensure we dispatch new pressure and button data when stylus is stationary. Change-Id: I10a665a9b81ff4b9acd01bf72f0fc2e0c2abc203
Diffstat (limited to 'services/inputflinger/tests')
-rw-r--r--services/inputflinger/tests/InputReader_test.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/services/inputflinger/tests/InputReader_test.cpp b/services/inputflinger/tests/InputReader_test.cpp
index 40f51b6..f34b810 100644
--- a/services/inputflinger/tests/InputReader_test.cpp
+++ b/services/inputflinger/tests/InputReader_test.cpp
@@ -777,6 +777,14 @@ private:
virtual int32_t bumpGeneration() {
return ++mGeneration;
}
+
+ virtual void getExternalStylusDevices(Vector<InputDeviceInfo>& outDevices) {
+
+ }
+
+ virtual void dispatchExternalStylusState(const StylusState&) {
+
+ }
};