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

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
Ver4DictDecoder.java 165 protected static int readFrequency(final DictBuffer frequencyBuffer, final int terminalId) {
166 frequencyBuffer.position(terminalId * FormatSpec.FREQUENCY_AND_FLAGS_SIZE + 1);
175 private ArrayList<WeightedString> readShortcuts(final int terminalId) {
176 if (mShortcutAddressTable.get(0, terminalId) == SparseTable.NOT_EXIST) return null;
180 terminalId);
223 final int terminalId;
225 terminalId = PtNodeReader.readTerminalId(mDictBuffer);
228 terminalId = PtNode.NOT_A_TERMINAL;
233 frequency = PtNodeReader.readFrequency(mFrequencyBuffer, terminalId);
242 final ArrayList<WeightedString> shortcutTargets = readShortcuts(terminalId);
    [all...]
Ver4DictEncoder.java 150 public void writeBigramsForOneWord(final int terminalId, final int bigramCount,
153 write(FormatSpec.BIGRAM_FREQ_CONTENT_INDEX, terminalId,
160 write(FormatSpec.BIGRAM_TIMESTAMP_CONTENT_INDEX, terminalId,
211 public void writeShortcutForOneWord(final int terminalId,
213 write(FormatSpec.SHORTCUT_CONTENT_INDEX, terminalId,
386 private void writeTerminalId(final int terminalId) {
387 mTriePos = BinaryDictEncoderUtils.writeUIntToBuffer(mTrieBuf, mTriePos, terminalId,

Completed in 56 milliseconds