diff options
author | 2014-07-01 13:07:47 +0900 | |
---|---|---|
committer | 2014-07-29 17:49:14 +0900 | |
commit | 99aff0af98e66b1d8515225a103f5beb84d098b9 (patch) | |
tree | 81b65c94141e286b64dd342b357d3e999ffb49fa /java/src/com/android/inputmethod/event/CombinerChain.java | |
parent | 1db3d860ca0d7380c5a6a3a0f95751565f23043b (diff) | |
download | latinime-99aff0af98e66b1d8515225a103f5beb84d098b9.tar.gz latinime-99aff0af98e66b1d8515225a103f5beb84d098b9.tar.xz latinime-99aff0af98e66b1d8515225a103f5beb84d098b9.zip |
[HW7] Introduce consumed events
Change-Id: Ic2d95d19b1ac66e3e97e4a16187ce5aecb4ac678
Diffstat (limited to 'java/src/com/android/inputmethod/event/CombinerChain.java')
-rw-r--r-- | java/src/com/android/inputmethod/event/CombinerChain.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/event/CombinerChain.java b/java/src/com/android/inputmethod/event/CombinerChain.java index 8c6b3d949..8ddc9e7d9 100644 --- a/java/src/com/android/inputmethod/event/CombinerChain.java +++ b/java/src/com/android/inputmethod/event/CombinerChain.java @@ -84,6 +84,8 @@ public class CombinerChain { * Process an event through the combining chain, and return a processed event to apply. * @param previousEvents the list of previous events in this composition * @param newEvent the new event to process + * @return the processed event. It may be the same event, or a consumed event, or a completely + * new event. However it may never be null. */ public Event processEvent(final ArrayList<Event> previousEvents, final Event newEvent) { final ArrayList<Event> modifiablePreviousEvents = new ArrayList<>(previousEvents); |