Log touch timing

Change-Id: I45ce16c3194fac6da98486a986d23318347cad3a
main
Satoshi Kataoka 2012-09-18 12:06:07 +09:00
parent 8adc0154e6
commit f8b35b9b04
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() {