summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-09-07 10:44:57 -0700
committerJeff Brown <jeffbrown@google.com>2010-09-08 12:28:43 -0700
commit61ce3982e1e5fd31f6e5b2be4d238b048a58f760 (patch)
tree7a2f8bbbae9fdb77c83ce9cceba37828185323bd /include
parentaf30ff6020990427e0e0e73e4ac4a85a6f26a8ff (diff)
downloadframeworks_native-61ce3982e1e5fd31f6e5b2be4d238b048a58f760.zip
frameworks_native-61ce3982e1e5fd31f6e5b2be4d238b048a58f760.tar.gz
frameworks_native-61ce3982e1e5fd31f6e5b2be4d238b048a58f760.tar.bz2
Fix key repeat delay.
Change-Id: I6216e082324ee29bf50e37acc673350ca5417c4d
Diffstat (limited to 'include')
-rw-r--r--include/ui/InputDispatcher.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/ui/InputDispatcher.h b/include/ui/InputDispatcher.h
index 711a658..f00f2db 100644
--- a/include/ui/InputDispatcher.h
+++ b/include/ui/InputDispatcher.h
@@ -147,9 +147,12 @@ public:
/* Notifies the system that an input channel recovered from ANR. */
virtual void notifyInputChannelRecoveredFromANR(const sp<InputChannel>& inputChannel) = 0;
- /* Gets the key repeat timeout or -1 if automatic key repeating is disabled. */
+ /* Gets the key repeat initial timeout or -1 if automatic key repeating is disabled. */
virtual nsecs_t getKeyRepeatTimeout() = 0;
+ /* Gets the key repeat inter-key delay. */
+ virtual nsecs_t getKeyRepeatDelay() = 0;
+
/* Waits for key event input targets to become available.
* If the event is being injected, injectorPid and injectorUid should specify the
* process id and used id of the injecting application, otherwise they should both