Add functions for usability logging

Change-Id: I9b66bde1b5ae76742cb685bbc558ce9570dca50a
main
satok 2010-11-16 17:32:11 +09:00
parent eb5689ed8d
commit af41759729
1 changed files with 5 additions and 1 deletions

View File

@ -280,6 +280,10 @@ public class LatinIMEUtil {
}
}
public void writeBackSpace() {
UsabilityStudyLogUtils.getInstance().write("<backspace>\t0\t0");
}
public void writeChar(char c, int x, int y) {
String inputChar = String.valueOf(c);
switch (c) {
@ -297,7 +301,7 @@ public class LatinIMEUtil {
LatinImeLogger.onPrintAllUsabilityStudtyLogs();
}
private void write(String log) {
public void write(String log) {
createLogFileIfNotExist();
final long currentTime = System.currentTimeMillis();
mDate.setTime(currentTime);