diff options
author | David Ingram <davidi@google.com> | 2010-05-06 13:51:34 +0100 |
---|---|---|
committer | David Ingram <davidi@google.com> | 2010-05-06 17:06:33 +0100 |
commit | 0ef355d7d6a265643e2f6f97268b54e952e10536 (patch) | |
tree | ce18ad6ee2baa19729a0f7dac0558ad154a88257 /common | |
parent | 5748ab3d8d920f988df63aeff89b8e535535b14a (diff) | |
download | frameworks_base-0ef355d7d6a265643e2f6f97268b54e952e10536.zip frameworks_base-0ef355d7d6a265643e2f6f97268b54e952e10536.tar.gz frameworks_base-0ef355d7d6a265643e2f6f97268b54e952e10536.tar.bz2 |
Added definitions for the ways in which VoiceIME can be started.
This is for logging purposes. The three values BUTTON, SWIPE
and MOTION replace the boolean SWIPE parameter.
Change-Id: I3e8a275e2608781305e97851a797b18ccd3c68cd
Diffstat (limited to 'common')
-rw-r--r-- | common/java/com/android/common/speech/LoggingEvents.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/java/com/android/common/speech/LoggingEvents.java b/common/java/com/android/common/speech/LoggingEvents.java index 1f3c6ef..4b438dc 100644 --- a/common/java/com/android/common/speech/LoggingEvents.java +++ b/common/java/com/android/common/speech/LoggingEvents.java @@ -110,6 +110,11 @@ public class LoggingEvents { public static final int START = 14; public static final String EXTRA_START_LOCALE = "locale"; // value should be String public static final String EXTRA_START_SWIPE = "swipe"; // value should be boolean + // EXTRA_START_SWIPE is deprecated; switch to EXTRA_START_METHOD instead + public static final String EXTRA_START_METHOD = "method"; // value should be int below + public static final int START_METHOD_BUTTON = 1; + public static final int START_METHOD_SWIPE = 2; + public static final int START_METHOD_MOTION = 3; public static final int VOICE_INPUT_DELIVERED = 15; |