From f8b35b9b04ae91f3a4991ea3ff745c68a17297c6 Mon Sep 17 00:00:00 2001 From: Satoshi Kataoka Date: Tue, 18 Sep 2012 12:06:07 +0900 Subject: [PATCH] Log touch timing Change-Id: I45ce16c3194fac6da98486a986d23318347cad3a --- java/src/com/android/inputmethod/latin/LatinImeLogger.java | 7 ++++++- java/src/com/android/inputmethod/latin/Utils.java | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/java/src/com/android/inputmethod/latin/LatinImeLogger.java b/java/src/com/android/inputmethod/latin/LatinImeLogger.java index e843848bc..a5b4c68d0 100644 --- a/java/src/com/android/inputmethod/latin/LatinImeLogger.java +++ b/java/src/com/android/inputmethod/latin/LatinImeLogger.java @@ -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() { diff --git a/java/src/com/android/inputmethod/latin/Utils.java b/java/src/com/android/inputmethod/latin/Utils.java index 1c98b92cd..63b642821 100644 --- a/java/src/com/android/inputmethod/latin/Utils.java +++ b/java/src/com/android/inputmethod/latin/Utils.java @@ -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() {