diff options
author | 2014-08-14 18:03:11 +0000 | |
---|---|---|
committer | 2014-08-14 18:03:11 +0000 | |
commit | e04c8b10d7876effbfdf2340a1fec6bf368c3409 (patch) | |
tree | a7e7002b213b07b5381e9cbd24bd99ee4113e010 /java/src/com/android/inputmethod/event/Event.java | |
parent | 1901c331283e2f60e6277a7773a103a447bd31ca (diff) | |
parent | b8d764772b174cbd37354ffd0009bda56f223dc4 (diff) | |
download | latinime-e04c8b10d7876effbfdf2340a1fec6bf368c3409.tar.gz latinime-e04c8b10d7876effbfdf2340a1fec6bf368c3409.tar.xz latinime-e04c8b10d7876effbfdf2340a1fec6bf368c3409.zip |
am b8d76477: Add the input style to SuggestedWords.
* commit 'b8d764772b174cbd37354ffd0009bda56f223dc4':
Add the input style to SuggestedWords.
Diffstat (limited to 'java/src/com/android/inputmethod/event/Event.java')
-rw-r--r-- | java/src/com/android/inputmethod/event/Event.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/event/Event.java b/java/src/com/android/inputmethod/event/Event.java index f02f7885a..ef5b04747 100644 --- a/java/src/com/android/inputmethod/event/Event.java +++ b/java/src/com/android/inputmethod/event/Event.java @@ -257,6 +257,8 @@ public class Event { public boolean isConsumed() { return 0 != (FLAG_CONSUMED & mFlags); } + public boolean isGesture() { return EVENT_TYPE_GESTURE == mEventType; } + // Returns whether this is a fake key press from the suggestion strip. This happens with // punctuation signs selected from the suggestion strip. public boolean isSuggestionStripPress() { |