parent
8adc0154e6
commit
f8b35b9b04
|
@ -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 New Issue