diff options
author | 2014-07-30 16:57:56 +0000 | |
---|---|---|
committer | 2014-07-30 16:57:56 +0000 | |
commit | 93114fa05f974fb6955937efe3207e025d5a82c5 (patch) | |
tree | 7c326324b70c8c73ec6cf08021871a61ad8794e4 /java/src/com/android/inputmethod/event/CombinerChain.java | |
parent | 55387ba41731460a412fe4f39c081ff9f6a550f2 (diff) | |
parent | c4f6fc1e4868feb7bcbf2b0dc724eb9ed995780e (diff) | |
download | latinime-93114fa05f974fb6955937efe3207e025d5a82c5.tar.gz latinime-93114fa05f974fb6955937efe3207e025d5a82c5.tar.xz latinime-93114fa05f974fb6955937efe3207e025d5a82c5.zip |
am c4f6fc1e: Merge "Revert "[HW6] Split processing and applying the event."" into lmp-dev
* commit 'c4f6fc1e4868feb7bcbf2b0dc724eb9ed995780e':
Revert "[HW6] Split processing and applying the event."
Diffstat (limited to 'java/src/com/android/inputmethod/event/CombinerChain.java')
-rw-r--r-- | java/src/com/android/inputmethod/event/CombinerChain.java | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/java/src/com/android/inputmethod/event/CombinerChain.java b/java/src/com/android/inputmethod/event/CombinerChain.java index 8c6b3d949..61bc11b39 100644 --- a/java/src/com/android/inputmethod/event/CombinerChain.java +++ b/java/src/com/android/inputmethod/event/CombinerChain.java @@ -81,11 +81,11 @@ public class CombinerChain { } /** - * Process an event through the combining chain, and return a processed event to apply. + * Pass a new event through the whole chain. * @param previousEvents the list of previous events in this composition * @param newEvent the new event to process */ - public Event processEvent(final ArrayList<Event> previousEvents, final Event newEvent) { + public void processEvent(final ArrayList<Event> previousEvents, final Event newEvent) { final ArrayList<Event> modifiablePreviousEvents = new ArrayList<>(previousEvents); Event event = newEvent; for (final Combiner combiner : mCombiners) { @@ -97,14 +97,6 @@ public class CombinerChain { break; } } - return event; - } - - /** - * Apply a processed event. - * @param event the event to be applied - */ - public void applyProcessedEvent(final Event event) { if (null != event) { // TODO: figure out the generic way of doing this if (Constants.CODE_DELETE == event.mKeyCode) { |