diff options
author | Mike LeBeau <mlebeau@android.com> | 2010-03-09 10:42:35 -0800 |
---|---|---|
committer | Mike LeBeau <mlebeau@android.com> | 2010-03-09 10:42:35 -0800 |
commit | b7af28e986f41e7d6f7b74aef5b79ce947ad5de8 (patch) | |
tree | 6e4e9ed8af99f6bd9580b447e2b76162123e54a9 /common | |
parent | eba0f753b26bfc9a4a39b9296878581b5e6704a0 (diff) | |
download | frameworks_base-b7af28e986f41e7d6f7b74aef5b79ce947ad5de8.zip frameworks_base-b7af28e986f41e7d6f7b74aef5b79ce947ad5de8.tar.gz frameworks_base-b7af28e986f41e7d6f7b74aef5b79ce947ad5de8.tar.bz2 |
Add new LoggingEvents for more detailed text modification actions for voice input.
Change-Id: I70df3612067f1c8c512a7bbe6c02381724f76bbf
Diffstat (limited to 'common')
-rw-r--r-- | common/java/com/android/common/speech/LoggingEvents.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/java/com/android/common/speech/LoggingEvents.java b/common/java/com/android/common/speech/LoggingEvents.java index 3b3ecb8..1f3c6ef 100644 --- a/common/java/com/android/common/speech/LoggingEvents.java +++ b/common/java/com/android/common/speech/LoggingEvents.java @@ -117,6 +117,12 @@ public class LoggingEvents { public static final String EXTRA_N_BEST_CHOOSE_INDEX = "index"; // value should be int public static final int TEXT_MODIFIED = 17; + public static final String EXTRA_TEXT_MODIFIED_LENGTH = "length"; // value should be int + public static final String EXTRA_TEXT_MODIFIED_TYPE = "type"; // value should be int below + public static final int TEXT_MODIFIED_TYPE_CHOOSE_SUGGESTION = 1; + public static final int TEXT_MODIFIED_TYPE_TYPING_DELETION = 2; + public static final int TEXT_MODIFIED_TYPE_TYPING_INSERTION = 3; + public static final int TEXT_MODIFIED_TYPE_TYPING_INSERTION_PUNCTUATION = 4; public static final int INPUT_ENDED = 18; |