diff options
author | 2012-08-02 20:22:29 -0700 | |
---|---|---|
committer | 2012-08-21 22:37:33 -0700 | |
commit | bf653996eab40e2c66cfd2eaeb48ed5175b78455 (patch) | |
tree | df19f8c08c6a6b1b1f3a3ea1a02105961e719953 /java/src/com/android/inputmethod/research/Statistics.java | |
parent | f8528914375be9bd4520444faa1bcd4381a4ee80 (diff) | |
download | latinime-bf653996eab40e2c66cfd2eaeb48ed5175b78455.tar.gz latinime-bf653996eab40e2c66cfd2eaeb48ed5175b78455.tar.xz latinime-bf653996eab40e2c66cfd2eaeb48ed5175b78455.zip |
ResearchLogging capture full n-gram data
- 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 Ic70ccb6c2e11eb02d887821434b44daa3eb7a3e2
Bug: 6188932
Change-Id: I731d6cff6539e997874f723b68bdb0d9b651b937
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; |