* commit '0894f23d586fba28c933f6240cc2b84c41035ecc': Log touch timing
This commit is contained in:
commit
e00cfb0ef4
2 changed files with 7 additions and 2 deletions
|
@ -44,7 +44,12 @@ public class LatinImeLogger implements SharedPreferences.OnSharedPreferenceChang
|
||||||
String before, String after, int position, SuggestedWords suggestedWords) {
|
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() {
|
public static void logOnAutoCorrectionCancelled() {
|
||||||
|
|
|
@ -419,7 +419,7 @@ public final class Utils {
|
||||||
// smileys and other multi-character keys.
|
// smileys and other multi-character keys.
|
||||||
final int codePoint = TextUtils.isEmpty(separatorString) ? Constants.NOT_A_CODE
|
final int codePoint = TextUtils.isEmpty(separatorString) ? Constants.NOT_A_CODE
|
||||||
: separatorString.codePointAt(0);
|
: separatorString.codePointAt(0);
|
||||||
LatinImeLogger.logOnAutoCorrection(typedWord, correctedWord, codePoint);
|
LatinImeLogger.logOnAutoCorrectionForTyping(typedWord, correctedWord, codePoint);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void onAutoCorrectionCancellation() {
|
public static void onAutoCorrectionCancellation() {
|
||||||
|
|
Loading…
Reference in a new issue