summaryrefslogtreecommitdiffstats
path: root/include/ui
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
commitb21fb104cc95fe7e5daf3b3626241e525c39a3f1 (patch)
tree5223ab6cdc459955d35add9af46210c8c6249a48 /include/ui
parentde2f3340d64e20e51029ff438f0d635d97b8a3e0 (diff)
downloadframeworks_base-b21fb104cc95fe7e5daf3b3626241e525c39a3f1.zip
frameworks_base-b21fb104cc95fe7e5daf3b3626241e525c39a3f1.tar.gz
frameworks_base-b21fb104cc95fe7e5daf3b3626241e525c39a3f1.tar.bz2
Fix key repeat delay.
Change-Id: I6216e082324ee29bf50e37acc673350ca5417c4d
Diffstat (limited to 'include/ui')
-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