Searched refs:CharEncoding (Results 1 – 4 of 4) sorted by relevance
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictEncoderUtils.java | 19 import com.android.inputmethod.latin.makedict.BinaryDictDecoderUtils.CharEncoding; 64 int size = CharEncoding.getCharArraySize(characters, codePointToOneByteCodeMap); in getPtNodeCharactersSize() 786 CharEncoding.writeString(headerBuffer, key, null); in writeDictionaryHeader() 787 CharEncoding.writeString(headerBuffer, value, null); in writeDictionaryHeader() 793 CharEncoding.writeString(headerBuffer, DictionaryHeader.CODE_POINT_TABLE_KEY, null); in writeDictionaryHeader() 794 CharEncoding.writeString(headerBuffer, codePointTableString, null); in writeDictionaryHeader()
|
D | Ver2DictEncoder.java | 20 import com.android.inputmethod.latin.makedict.BinaryDictDecoderUtils.CharEncoding; 220 mPosition = CharEncoding.writeCharArray(codePoints, mBuffer, mPosition, in writeCharacters()
|
D | BinaryDictDecoderUtils.java | 116 static final class CharEncoding { class in BinaryDictDecoderUtils 384 } else if (CharEncoding.fitsOnOneByte(headerBuffer[index] & 0xFF, in decodeHeaderAttributes()
|
D | BinaryDictDecoderEncoderTests.java | 27 import com.android.inputmethod.latin.makedict.BinaryDictDecoderUtils.CharEncoding; 319 CharEncoding.writeString(buffer, 0, word, null); in testCharEncoding() 321 final String str = CharEncoding.readString(dictBuffer); in testCharEncoding()
|