Searched refs:dictId (Results 1 – 4 of 4) sorted by relevance
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | BinaryDictionaryUtilsTests.java | 38 private File createEmptyDictionaryAndGetFile(final String dictId, in createEmptyDictionaryAndGetFile() argument 41 return createEmptyVer4DictionaryAndGetFile(dictId); in createEmptyDictionaryAndGetFile() 48 private File createEmptyVer4DictionaryAndGetFile(final String dictId) throws IOException { in createEmptyVer4DictionaryAndGetFile() argument 49 final File file = getDictFile(dictId); in createEmptyVer4DictionaryAndGetFile() 52 attributeMap.put(DictionaryHeader.DICTIONARY_ID_KEY, dictId); in createEmptyVer4DictionaryAndGetFile() 68 private File getDictFile(final String dictId) { in getDictFile() argument 69 return new File(getContext().getCacheDir(), dictId + TEST_DICT_FILE_EXTENSION); in getDictFile()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryDecayingTests.java | 106 private File createEmptyDictionaryAndGetFile(final String dictId, in createEmptyDictionaryAndGetFile() argument 111 return createEmptyVer4DictionaryAndGetFile(dictId, formatVersion); in createEmptyDictionaryAndGetFile() 118 private File createEmptyVer4DictionaryAndGetFile(final String dictId, final int formatVersion) in createEmptyVer4DictionaryAndGetFile() argument 120 final File file = File.createTempFile(dictId, TEST_DICT_FILE_EXTENSION, in createEmptyVer4DictionaryAndGetFile() 124 attributeMap.put(DictionaryHeader.DICTIONARY_ID_KEY, dictId); in createEmptyVer4DictionaryAndGetFile()
|
D | BinaryDictionaryTests.java | 58 private File createEmptyDictionaryAndGetFile(final String dictId, in createEmptyDictionaryAndGetFile() argument 63 return createEmptyVer4DictionaryAndGetFile(dictId, formatVersion); in createEmptyDictionaryAndGetFile() 70 private File createEmptyVer4DictionaryAndGetFile(final String dictId, in createEmptyVer4DictionaryAndGetFile() argument 72 final File file = File.createTempFile(dictId, TEST_DICT_FILE_EXTENSION, in createEmptyVer4DictionaryAndGetFile()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryGetter.java | 115 public boolean isWordListActive(final String dictId) { in isWordListActive() argument 128 return mDictPreferences.getBoolean(dictId, true); in isWordListActive()
|