diff options
author | 2012-08-28 10:26:21 -0700 | |
---|---|---|
committer | 2012-12-23 12:33:16 -0800 | |
commit | f763dc5915d394378bdcdc90cc0b238e66926b8b (patch) | |
tree | 430baf6027ae7414fc1c38b586385fdfda29f84f /java/src/com/android/inputmethod/research/Statistics.java | |
parent | 13b1be988d49818c48949d2534ffe31ed8475cfb (diff) | |
download | latinime-f763dc5915d394378bdcdc90cc0b238e66926b8b.tar.gz latinime-f763dc5915d394378bdcdc90cc0b238e66926b8b.tar.xz latinime-f763dc5915d394378bdcdc90cc0b238e66926b8b.zip |
[Rlog24] ResearchLogger detect word boundaries in callers above commitText
multi project commit with I5847d4aba97a7224ae170a7153811c5a11816449
Change-Id: Ie6fbf6f19f0193451fe6f3ddf9d4ef1637a35db1
Diffstat (limited to 'java/src/com/android/inputmethod/research/Statistics.java')
-rw-r--r-- | java/src/com/android/inputmethod/research/Statistics.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/research/Statistics.java b/java/src/com/android/inputmethod/research/Statistics.java index a02aabf3c..e9c02c919 100644 --- a/java/src/com/android/inputmethod/research/Statistics.java +++ b/java/src/com/android/inputmethod/research/Statistics.java @@ -47,6 +47,10 @@ public class Statistics { int mGesturesDeletedCount; // Total number of characters in words entered by gesture. int mGesturesCharsCount; + // Number of manual suggestions chosen. + int mManualSuggestionsCount; + // Number of times a commit was reverted in this session. + int mRevertCommitsCount; // Whether the text field was empty upon editing boolean mIsEmptyUponStarting; boolean mIsEmptinessStateKnown; @@ -111,6 +115,8 @@ public class Statistics { mSplitWordsCount = 0; mGesturesInputCount = 0; mGesturesDeletedCount = 0; + mManualSuggestionsCount = 0; + mRevertCommitsCount = 0; mIsEmptyUponStarting = true; mIsEmptinessStateKnown = false; mKeyCounter.reset(); @@ -184,4 +190,11 @@ public class Statistics { public void recordGestureDelete() { mGesturesDeletedCount++; } + public void recordManualSuggestion() { + mManualSuggestionsCount++; + } + + public void recordRevertCommit() { + mRevertCommitsCount++; + } } |