Lines Matching defs:ResearchLogger
95 public class ResearchLogger implements SharedPreferences.OnSharedPreferenceChangeListener {
104 private static final String TAG = ResearchLogger.class.getSimpleName();
149 private static final ResearchLogger sInstance = new ResearchLogger();
201 private ResearchLogger() {
205 public static ResearchLogger getInstance() {
746 // TODO: Reimplement using a keyboard background image specific to the ResearchLogger
1014 final ResearchLogger researchLogger = getInstance();
1019 researchLogger.start();
1020 final Context context = researchLogger.mLatinIME;
1027 final String uuid = ResearchSettings.readResearchLoggerUuid(researchLogger.mPrefs);
1028 researchLogger.enqueueEvent(LOGSTATEMENT_LATIN_IME_ON_START_INPUT_VIEW_INTERNAL,
1033 researchLogger.isDevTeamBuild());
1036 researchLogger.commitCurrentLogUnit();
1067 final ResearchLogger researchLogger = getInstance();
1068 researchLogger.enqueueEvent(LOGSTATEMENT_PREFS_CHANGED, prefs);
1084 final ResearchLogger researchLogger = getInstance();
1085 researchLogger.enqueueEvent(LOGSTATEMENT_MAIN_KEYBOARD_VIEW_PROCESS_MOTION_EVENT,
1090 researchLogger.setSavedDownEventTime(eventTime - 1);
1093 if (researchLogger.isMakingUserRecording()) {
1094 researchLogger.resetRecordingTimer();
1109 final ResearchLogger researchLogger = getInstance();
1110 researchLogger.enqueueEvent(LOGSTATEMENT_LATIN_IME_ON_CODE_INPUT,
1113 researchLogger.setCurrentLogUnitContainsDigitFlag();
1115 researchLogger.mStatistics.recordChar(code, time);
1196 final ResearchLogger researchLogger = getInstance();
1200 researchLogger.enqueueEvent(LOGSTATEMENT_LATINIME_ONFINISHINPUTVIEWINTERNAL,
1202 researchLogger.commitCurrentLogUnit();
1231 final ResearchLogger researchLogger = getInstance();
1232 final String scrubbedWord = researchLogger.scrubWord(word);
1233 researchLogger.enqueueEvent(LOGSTATEMENT_LATINIME_ONUPDATESELECTION, lastSelectionStart,
1245 final ResearchLogger researchLogger = getInstance();
1246 researchLogger.commitCurrentLogUnitAsWord(text, Long.MAX_VALUE, isBatchMode);
1259 final ResearchLogger researchLogger = getInstance();
1262 researchLogger.setCurrentLogUnitContainsCorrection();
1263 researchLogger.setCurrentLogUnitCorrectionType(LogUnit.CORRECTIONTYPE_TYPO);
1266 researchLogger.enqueueEvent(LOGSTATEMENT_LATINIME_PICKSUGGESTIONMANUALLY,
1270 researchLogger.commitCurrentLogUnitAsWord(scrubbedWord, Long.MAX_VALUE, isBatchMode);
1271 researchLogger.mStatistics.recordManualSuggestion(SystemClock.uptimeMillis());
1284 final ResearchLogger researchLogger = getInstance();
1285 researchLogger.enqueueEvent(LOGSTATEMENT_LATINIME_PUNCTUATIONSUGGESTION, index, suggestion,
1288 researchLogger.commitCurrentLogUnitAsWord(suggestion, Long.MAX_VALUE, isBatchMode);
1300 final ResearchLogger researchLogger = getInstance();
1301 researchLogger.enqueueEvent(LOGSTATEMENT_LATINIME_SENDKEYCODEPOINT,
1304 researchLogger.setCurrentLogUnitContainsDigitFlag();
1316 final ResearchLogger researchLogger = getInstance();
1318 logUnit = researchLogger.mMainLogBuffer.peekLastLogUnit();
1319 researchLogger.enqueueEvent(logUnit, LOGSTATEMENT_LATINIME_PROMOTEPHANTOMSPACE);
1333 final ResearchLogger researchLogger = getInstance();
1335 logUnit = researchLogger.mMainLogBuffer.peekLastLogUnit();
1337 researchLogger.enqueueEvent(logUnit, LOGSTATEMENT_LATINIME_SWAPSWAPPERANDSPACE,
1349 final ResearchLogger researchLogger = getInstance();
1350 researchLogger.commitCurrentLogUnitAsWord(text, Long.MAX_VALUE, isBatchMode);
1380 final ResearchLogger researchLogger = getInstance();
1381 researchLogger.setIsPasswordView(isPasswordView);
1382 researchLogger.enqueueEvent(LOGSTATEMENT_MAINKEYBOARDVIEW_SETKEYBOARD,
1405 final ResearchLogger researchLogger = getInstance();
1408 logUnit = researchLogger.mMainLogBuffer.peekLastLogUnit();
1414 researchLogger.enqueueEvent(logUnit != null ? logUnit : researchLogger.mCurrentLogUnit,
1420 researchLogger.mStatistics.recordRevertCommit(SystemClock.uptimeMillis());
1421 researchLogger.commitCurrentLogUnitAsWord(originallyTypedWord, Long.MAX_VALUE, isBatchMode);
1451 final ResearchLogger researchLogger = getInstance();
1452 researchLogger.enqueueEvent(LOGSTATEMENT_POINTERTRACKER_CALLLISTENERONCODEINPUT,
1457 researchLogger.suppressResearchKeyMotionData();
1518 final ResearchLogger researchLogger = getInstance();
1519 researchLogger.enqueueEvent(LOGSTATEMENT_RICHINPUTCONNECTION_COMMITCOMPLETION,
1559 final ResearchLogger researchLogger = getInstance();
1560 researchLogger.mCurrentLogUnit.initializeSuggestions(suggestedWords);
1561 researchLogger.onWordFinished(scrubbedAutoCorrection, isBatchMode);
1566 final LogUnit logUnit = researchLogger.mMainLogBuffer.peekLastLogUnit();
1569 researchLogger.enqueueEvent(logUnit, LOGSTATEMENT_LATINIME_COMMITCURRENTAUTOCORRECTION,
1586 final ResearchLogger researchLogger = getInstance();
1588 researchLogger.enqueueEvent(LOGSTATEMENT_COMMIT_PARTIAL_TEXT);
1589 researchLogger.mStatistics.recordAutoCorrection(SystemClock.uptimeMillis());
1590 researchLogger.commitCurrentLogUnitAsWord(scrubbedWord, lastTimestampOfWordData,
1604 final ResearchLogger researchLogger = getInstance();
1607 if (!researchLogger.isExpectingCommitText) {
1608 researchLogger.enqueueEvent(LOGSTATEMENT_RICHINPUTCONNECTIONCOMMITTEXT,
1610 researchLogger.commitCurrentLogUnitAsWord(scrubbedWord, Long.MAX_VALUE, isBatchMode);
1612 researchLogger.isExpectingCommitText = false;
1758 final ResearchLogger researchLogger = getInstance();
1760 researchLogger.mCurrentLogUnit.setWords(enteredText.toString());
1762 researchLogger.enqueueEvent(LOGSTATEMENT_LATINIME_ONENDBATCHINPUT, enteredText,
1764 researchLogger.mCurrentLogUnit.initializeSuggestions(suggestedWords);
1765 researchLogger.mStatistics.recordGestureInput(enteredText.length(),
1778 final ResearchLogger researchLogger = getInstance();
1779 researchLogger.enqueueEvent(LOGSTATEMENT_LATINIME_HANDLEBACKSPACE, numCharacters);
1792 final ResearchLogger researchLogger = getInstance();
1793 researchLogger.enqueueEvent(LOGSTATEMENT_LATINIME_HANDLEBACKSPACE_BATCH, deletedText,
1795 researchLogger.mStatistics.recordGestureDelete(deletedText.length(),
1807 final ResearchLogger researchLogger = getInstance();
1808 researchLogger.enqueueEvent(LOGSTATEMENT_ONUSERPAUSE, interval);
1818 final ResearchLogger researchLogger = getInstance();
1819 researchLogger.setSavedDownEventTime(SystemClock.uptimeMillis());
1820 researchLogger.mSavedDownEventTime = Long.MAX_VALUE;
1834 final ResearchLogger researchLogger = getInstance();
1835 researchLogger.enqueueEvent(LOGSTATEMENT_LATINIME_HANDLESEPARATOR, primaryCode,
1853 final ResearchLogger researchLogger = getInstance();
1854 final Statistics statistics = researchLogger.mStatistics;
1855 researchLogger.enqueueEvent(LOGSTATEMENT_STATISTICS, statistics.mCharCount,