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

* commit '0894f23d586fba28c933f6240cc2b84c41035ecc':
  Log touch timing
This commit is contained in:
Satoshi Kataoka 2012-09-18 10:12:24 -07:00 committed by Android Git Automerger
commit e00cfb0ef4
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() {