/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | Info.java | 39 private static void showInfo(final FusionDictionary dict, final boolean plumbing) { in showInfo() 58 private static void showWordInfo(final FusionDictionary dict, final String word) { in showWordInfo() 100 final FusionDictionary dict = BinaryDictOffdeviceUtils.getDictionary(filename, in run() local
|
D | CombinedInputOutput.java | 94 final FusionDictionary dict = in readDictionaryCombined() local 199 final FusionDictionary dict) throws IOException { in writeDictionaryCombined()
|
D | DictionaryMaker.java | 264 private static void writeOutputToParsedArgs(final Arguments args, final FusionDictionary dict) in writeOutputToParsedArgs() 287 final FusionDictionary dict, final int version, final int codePointTableMode) in writeBinaryDictionary() 310 final FusionDictionary dict) throws FileNotFoundException, IOException { in writeCombinedDictionary()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
D | PersonalizationHelper.java | 54 final UserHistoryDictionary dict = ref == null ? null : ref.get(); in getUserHistoryDictionary() local 63 final UserHistoryDictionary dict = new UserHistoryDictionary( in getUserHistoryDictionary() local 75 final UserHistoryDictionary dict = entry.getValue().get(); in removeAllUserHistoryDictionaries() local
|
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/ |
D | FusionDictionaryTest.java | 70 private static void checkDictionary(final FusionDictionary dict, final ArrayList<String> words, in checkDictionary() 90 private static void dumpDict(final FusionDictionary dict) { in dumpDict() 99 final FusionDictionary dict = new FusionDictionary(new PtNodeArray(), in testFusion() local
|
D | BinaryDictEncoderFlattenTreeTests.java | 34 final FusionDictionary dict = new FusionDictionary(new PtNodeArray(), in testFlattenNodes() local
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 99 static bool latinime_BinaryDictionary_flush(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_flush() 111 jlong dict, jboolean mindsBlockByGC) { in latinime_BinaryDictionary_needsToRunGC() 117 static bool latinime_BinaryDictionary_flushWithGC(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_flushWithGC() 128 static void latinime_BinaryDictionary_close(JNIEnv *env, jclass clazz, jlong dict) { in latinime_BinaryDictionary_close() 134 static void latinime_BinaryDictionary_getHeaderInfo(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_getHeaderInfo() 170 static int latinime_BinaryDictionary_getFormatVersion(JNIEnv *env, jclass clazz, jlong dict) { in latinime_BinaryDictionary_getFormatVersion() 178 static void latinime_BinaryDictionary_getSuggestions(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_getSuggestions() 263 static jint latinime_BinaryDictionary_getProbability(JNIEnv *env, jclass clazz, jlong dict, in latinime_BinaryDictionary_getProbability() 274 JNIEnv *env, jclass clazz, jlong dict, jintArray word) { in latinime_BinaryDictionary_getMaxProbabilityOfExactMatches() 285 jlong dict, jobjectArray prevWordCodePointArrays, jbooleanArray isBeginningOfSentenceArray, in latinime_BinaryDictionary_getNgramProbability() [all …]
|
D | com_android_inputmethod_latin_DicTraverseSession.cpp | 41 Dictionary *dict = reinterpret_cast<Dictionary *>(dictionary); in latinime_initDicTraverseSession() local
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | BinaryDictionary.java | 173 private static native void getHeaderInfoNative(long dict, int[] outHeaderSize, in getHeaderInfoNative() 176 private static native boolean flushNative(long dict, String filePath); in flushNative() 177 private static native boolean needsToRunGCNative(long dict, boolean mindsBlockByGC); in needsToRunGCNative() 178 private static native boolean flushWithGCNative(long dict, String filePath); in flushWithGCNative() 179 private static native void closeNative(long dict); in closeNative() 180 private static native int getFormatVersionNative(long dict); in getFormatVersionNative() 181 private static native int getProbabilityNative(long dict, int[] word); in getProbabilityNative() 182 private static native int getMaxProbabilityOfExactMatchesNative(long dict, int[] word); in getMaxProbabilityOfExactMatchesNative() 183 private static native int getNgramProbabilityNative(long dict, int[][] prevWordCodePointArrays, in getNgramProbabilityNative() 185 private static native void getWordPropertyNative(long dict, int[] word, in getWordPropertyNative() [all …]
|
D | DictionaryCollection.java | 133 public void removeDictionary(final Dictionary dict) { in removeDictionary()
|
D | DictionaryFacilitatorImpl.java | 166 private void setSubDict(final String dictType, final ExpandableBinaryDictionary dict) { in setSubDict() 207 final Dictionary dict; in closeDict() local 262 final Object dict = factoryMethod.invoke(null /* obj */, in getSubDict() local 434 final ExpandableBinaryDictionary dict = getSubDict( in resetDictionariesForTesting() local
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | DictEncoder.java | 31 public void writeDictionary(final FusionDictionary dict, final FormatOptions formatOptions) in writeDictionary() 37 public void writePtNode(final PtNode ptNode, final FusionDictionary dict, in writePtNode()
|
D | Ver4DictEncoder.java | 50 public void writeDictionary(FusionDictionary dict, FormatOptions formatOptions) in writeDictionary() 130 public void writePtNode(PtNode ptNode, FusionDictionary dict, in writePtNode()
|
D | BinaryDictDecoderEncoderTests.java | 131 private static void addUnigrams(final int number, final FusionDictionary dict, in addUnigrams() 141 private static void addBigrams(final FusionDictionary dict, in addBigrams() 160 private static long timeWritingDictToFile(final File file, final FusionDictionary dict, in timeWritingDictToFile() 183 private static void checkDictionary(final FusionDictionary dict, final List<String> words, in checkDictionary() 217 FusionDictionary dict = null; in timeReadingAndCheckDict() local 245 final FusionDictionary dict = new FusionDictionary(new PtNodeArray(), in runReadAndWrite() local 247 addUnigrams(words.size(), dict, words); in runReadAndWrite() local
|
D | Ver2DictEncoder.java | 82 static CodePointTable makeCodePointTable(final FusionDictionary dict) { in makeCodePointTable() 125 public void writeDictionary(final FusionDictionary dict, final FormatOptions formatOptions) in writeDictionary() 249 final FusionDictionary dict) { in writeBigrams() 271 public void writePtNode(final PtNode ptNode, final FusionDictionary dict, in writePtNode()
|
D | BinaryDictEncoderUtils.java | 320 final FusionDictionary dict, in computeActualPtNodeArraySize() 406 /* package */ static ArrayList<PtNodeArray> computeAddresses(final FusionDictionary dict, in computeAddresses() 652 /* package */ static void writePlacedPtNodeArray(final FusionDictionary dict, in writePlacedPtNodeArray() 743 final FusionDictionary dict, final FormatOptions formatOptions, in writeDictionaryHeader()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/ |
D | UserHistoryDictionaryTests.java | 63 private static void assertDictionaryExists(final UserHistoryDictionary dict, in assertDictionaryExists() 111 private static void clearHistory(final UserHistoryDictionary dict) { in clearHistory() 128 final UserHistoryDictionary dict = PersonalizationHelper.getUserHistoryDictionary( in doTestRandomWords() local 225 final UserHistoryDictionary dict = PersonalizationHelper.getUserHistoryDictionary( in doTestAddManyWords() local
|
D | UserHistoryDictionaryTestsHelper.java | 77 public static boolean addAndWriteRandomWords(final UserHistoryDictionary dict, in addAndWriteRandomWords() 100 private static void addWordsToDictionary(final UserHistoryDictionary dict, in addWordsToDictionary()
|
/packages/inputmethods/LatinIME/native/dicttoolkit/tests/offdevice_intermediate_dict/ |
D | offdevice_intermediate_dict_test.cpp | 44 OffdeviceIntermediateDict dict = OffdeviceIntermediateDict( in TEST() local
|
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/ |
D | BinaryDictOffdeviceUtilsTests.java | 87 final FusionDictionary dict = new FusionDictionary(new PtNodeArray(), testOptions); in testGetRawDictWorks() local 169 final FusionDictionary dict = new FusionDictionary(new PtNodeArray(), in runTestHeaderReaderProcessorWithOneSpec() local
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DictionaryProvider.java | 76 sUriMatcherV2.addURI(DictionaryPackConstants.AUTHORITY, "*/dict/*", in sUriMatcherV2.addURI()
|