diff options
author | 2012-08-02 20:22:29 -0700 | |
---|---|---|
committer | 2012-08-17 21:44:07 -0700 | |
commit | 221e756fd7d585f0eb75377b851f23cad24ccd7f (patch) | |
tree | 608a676d2275b3fc52914c710d6526ae6979b903 /java/src/com/android/inputmethod/research/Statistics.java | |
parent | 7cec911fde16775c28db3dbb16b064fc7ce69b55 (diff) | |
download | latinime-221e756fd7d585f0eb75377b851f23cad24ccd7f.tar.gz latinime-221e756fd7d585f0eb75377b851f23cad24ccd7f.tar.xz latinime-221e756fd7d585f0eb75377b851f23cad24ccd7f.zip |
ResearchLogging capture full n-gram data
DO NOT MERGE
- Captures complete motion data for all words in an n-gram.
- Also filters n-grams properly; if any word in the n-gram is not
in the dictionary, it is not included.
- Simplify ResearchLog to not require explicit state
- Added LogBuffer class MainLogBuffer class to allow n-gram-level decisions
about privacy.
- Moved LogUnit out from ResearchLogger
multi-project change with Ie2bc79fd7fe6b951b24771e94b8d4ca21989af65
Bug: 6188932
Change-Id: I568c90d4af07e7c759c1e7fc64b716bd8c7b4ae5
Diffstat (limited to 'java/src/com/android/inputmethod/research/Statistics.java')
-rw-r--r-- | java/src/com/android/inputmethod/research/Statistics.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/research/Statistics.java b/java/src/com/android/inputmethod/research/Statistics.java index 4a2cd079c..eab465aa2 100644 --- a/java/src/com/android/inputmethod/research/Statistics.java +++ b/java/src/com/android/inputmethod/research/Statistics.java @@ -66,8 +66,8 @@ public class Statistics { // To account for the interruptions when the user's attention is directed elsewhere, times // longer than MIN_TYPING_INTERMISSION are not counted when estimating this statistic. - public static final int MIN_TYPING_INTERMISSION = 5 * 1000; // in milliseconds - public static final int MIN_DELETION_INTERMISSION = 15 * 1000; // in milliseconds + public static final int MIN_TYPING_INTERMISSION = 2 * 1000; // in milliseconds + public static final int MIN_DELETION_INTERMISSION = 10 * 1000; // in milliseconds // The last time that a tap was performed private long mLastTapTime; |