diff options
author | Amith Yamasani <yamasani@google.com> | 2009-09-16 17:31:12 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2009-09-16 18:51:46 -0700 |
commit | 12cc9d82a6f3bd2aebad8ed97a29e2cbad3ec77a (patch) | |
tree | e4d69c80d5aa3532a633a7240842cc14e453f366 /core/java/android | |
parent | 75c4d498776a189f37e3d0294c9eda9ed51f6534 (diff) | |
download | frameworks_base-12cc9d82a6f3bd2aebad8ed97a29e2cbad3ec77a.zip frameworks_base-12cc9d82a6f3bd2aebad8ed97a29e2cbad3ec77a.tar.gz frameworks_base-12cc9d82a6f3bd2aebad8ed97a29e2cbad3ec77a.tar.bz2 |
Add a new flag for IMEs to disable suggestions for certain fields.
Diffstat (limited to 'core/java/android')
-rw-r--r-- | core/java/android/text/InputType.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/android/text/InputType.java b/core/java/android/text/InputType.java index d50684a..14b8308 100644 --- a/core/java/android/text/InputType.java +++ b/core/java/android/text/InputType.java @@ -128,6 +128,15 @@ public interface InputType { */ public static final int TYPE_TEXT_FLAG_IME_MULTI_LINE = 0x00040000; + /** + * Flag for {@link #TYPE_CLASS_TEXT}: the input method does not need to + * display any dictionary-based candidates. This is useful for text views that + * do not contain words from the language and do not benefit from any + * dictionary-based completions or corrections. It overrides the + * {@link #TYPE_TEXT_FLAG_AUTO_CORRECT} value when set. + */ + public static final int TYPE_TEXT_FLAG_NO_SUGGESTIONS = 0x00080000; + // ---------------------------------------------------------------------- /** |