aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/research/Statistics.java
diff options
context:
space:
mode:
authorKurt Partridge <kep@google.com>2012-08-02 20:22:29 -0700
committerKurt Partridge <kep@google.com>2012-08-05 00:55:58 -0700
commit838e6c1e5b734ed2d7b68a082f61b723d1aa35a2 (patch)
tree1ba16b47aafdf01e9a2e497aa076dea0916f37e5 /java/src/com/android/inputmethod/research/Statistics.java
parent5400f24bed28cf429eed7cf7063d6813a373f392 (diff)
downloadlatinime-838e6c1e5b734ed2d7b68a082f61b723d1aa35a2.tar.gz
latinime-838e6c1e5b734ed2d7b68a082f61b723d1aa35a2.tar.xz
latinime-838e6c1e5b734ed2d7b68a082f61b723d1aa35a2.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 Id997fb6572daa3ff55591afa1676953bb204f33a Because of a strange Gerrit interaction, earlier patchsets were recorded as the following separate changes (to soon be abandoned): - I59d86ae28123890ddb7aabc7dc9a73a75eecbca4 - I9cc95266fa4500d019e09ec53ec00e5dea7ffd38 - Ie6f23a2035e160f231406df1388a43725380df1d - Id87909e96fa7fa91174c86395a964404f3490fe1 - I57c5cbde0425c42538d589fa4d1802b3e5688f7c - Ic1f9d7727e416da1b6c4f1a45b53750cd4088dcf - I20a72ccc4ba1bc08ed3ee39bff71d2adb376588c - I417f6f364144b90085f5fef4bd2de1a40b5dfa79 Bug: 6188932 Change-Id: I771e57e3b8c0eb6721c2022e775cb0b528bdff93
Diffstat (limited to 'java/src/com/android/inputmethod/research/Statistics.java')
-rw-r--r--java/src/com/android/inputmethod/research/Statistics.java4
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;