diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ui/InputDispatcher.h | 5 |
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 |