am 2040090b: Merge "Log touch timing" into jb-mr1-dev

* commit '2040090b46e3639ac0ee303d06e099c8d5195eb5':
  Log touch timing
main
Satoshi Kataoka 2012-09-18 05:37:12 -07:00 committed by Android Git Automerger
commit 0894f23d58
2 changed files with 7 additions and 2 deletions

View File

@ -44,7 +44,12 @@ public class LatinImeLogger implements SharedPreferences.OnSharedPreferenceChang
String before, String after, int position, SuggestedWords suggestedWords) {
}
public static void logOnAutoCorrection(String before, String after, int separatorCode) {
public static void logOnAutoCorrectionForTyping(
String before, String after, int separatorCode) {
}
public static void logOnAutoCorrectionForGeometric(String before, String after,
int separatorCode, int[] xCoordinates, int[] yCoordinates, int[] relativeTimes) {
}
public static void logOnAutoCorrectionCancelled() {

View File

@ -419,7 +419,7 @@ public final class Utils {
// smileys and other multi-character keys.
final int codePoint = TextUtils.isEmpty(separatorString) ? Constants.NOT_A_CODE
: separatorString.codePointAt(0);
LatinImeLogger.logOnAutoCorrection(typedWord, correctedWord, codePoint);
LatinImeLogger.logOnAutoCorrectionForTyping(typedWord, correctedWord, codePoint);
}
public static void onAutoCorrectionCancellation() {