HomeSort by relevance Sort by last modified time
    Searched refs:logUnits (Results 1 - 3 of 3) sorted by null

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
MainLogBuffer.java 31 * MainLogBuffer is a FixedLogBuffer that tracks the state of LogUnits to make privacy guarantees.
37 * This class maintains a list of LogUnits, each corresponding to a word. As the user completes
117 * Determines whether the string determined by a series of LogUnits will not violate user
120 * @param logUnits a LogUnit list to check for publishability
123 * {@code minNGramSize} words in the logUnits, otherwise wait. if {@link
125 * words in the LogUnits.
129 private int getPublishabilityResultCode(final ArrayList<LogUnit> logUnits,
139 final int length = logUnits.size();
141 final LogUnit logUnit = logUnits.get(i);
169 final int length = logUnits.size()
    [all...]
FixedLogBuffer.java 23 * A buffer that holds a fixed number of LogUnits.
25 * LogUnits are added in and shifted out in temporal order. Only a subset of the LogUnits are
26 * actual words; the other LogUnits do not count toward the word limit. Once the buffer reaches
27 * capacity, adding another LogUnit that is a word evicts the oldest LogUnits out one at a time to
40 * Create a new LogBuffer that can hold a fixed number of LogUnits that are words (and
41 * unlimited number of non-word LogUnits), and that outputs its result to a researchLog.
67 // Give subclass a chance to handle the buffer full condition by shifting out logUnits.
93 * Removes all LogUnits from the buffer without calling onShiftOut().
103 * shift out LogUnits to bring it back down to the maximum
    [all...]
ResearchLogger.java 155 // LogUnits are queued in the LogBuffers and published to the ResearchLogs when words are
254 protected void publish(final ArrayList<LogUnit> logUnits,
257 for (final LogUnit logUnit : logUnits) {
271 publishLogUnits(logUnits, mMainResearchLog, canIncludePrivateData);
    [all...]

Completed in 931 milliseconds