mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Updated logger to record touch position within backspace key events.
Bug: 6188932 Change-Id: Ida2aff618153792f9803f30f1251d67c89af1fe0
This commit is contained in:
parent
1fe943aabd
commit
140467b8b6
@ -1288,7 +1288,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
||||
mDeleteCount++;
|
||||
mExpectingUpdateSelection = true;
|
||||
mShouldSwitchToLastSubtype = true;
|
||||
LatinImeLogger.logOnDelete();
|
||||
LatinImeLogger.logOnDelete(x, y);
|
||||
break;
|
||||
case Keyboard.CODE_SHIFT:
|
||||
case Keyboard.CODE_SWITCH_ALPHA_SYMBOL:
|
||||
|
@ -51,7 +51,7 @@ public class LatinImeLogger implements SharedPreferences.OnSharedPreferenceChang
|
||||
public static void logOnAutoCorrectionCancelled() {
|
||||
}
|
||||
|
||||
public static void logOnDelete() {
|
||||
public static void logOnDelete(int x, int y) {
|
||||
}
|
||||
|
||||
public static void logOnInputChar() {
|
||||
|
@ -260,8 +260,8 @@ public class Utils {
|
||||
}
|
||||
}
|
||||
|
||||
public static void writeBackSpace() {
|
||||
UsabilityStudyLogUtils.getInstance().write("<backspace>\t0\t0");
|
||||
public static void writeBackSpace(int x, int y) {
|
||||
UsabilityStudyLogUtils.getInstance().write("<backspace>\t" + x + "\t" + y);
|
||||
}
|
||||
|
||||
public void writeChar(char c, int x, int y) {
|
||||
|
Loading…
Reference in New Issue
Block a user