Searched refs:wordList (Results 1 – 6 of 6) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | UpdateHandler.java | 992 WordListMetadata wordList = MetadataHandler.findWordListById(currentMetadata, wordlistId); in markAsUsed() local 993 if (null == wordList) return; in markAsUsed() 997 actions.add(new ActionBatch.EnableAction(clientId, wordList)); in markAsUsed() 999 actions.add(new ActionBatch.StartDownloadAction(clientId, wordList, in markAsUsed() 1027 final WordListMetadata wordList = in markAsUnused() local 1029 if (null == wordList) return; in markAsUnused() 1031 actions.add(new ActionBatch.DisableAction(clientId, wordList)); in markAsUnused() 1056 final WordListMetadata wordList = in markAsDeleting() local 1058 if (null == wordList) return; in markAsDeleting() 1060 actions.add(new ActionBatch.DisableAction(clientId, wordList)); in markAsDeleting() [all …]
|
D | DictionaryProvider.java | 308 final ContentValues wordList = getWordlistMetadataForWordlistId(clientId, wordlistId); in openAssetFile() local 310 if (null == wordList) return null; in openAssetFile() 313 final int status = wordList.getAsInteger(MetadataDbHelper.STATUS_COLUMN); in openAssetFile() 324 wordList.getAsString(MetadataDbHelper.LOCAL_FILENAME_COLUMN); in openAssetFile() 463 final ContentValues wordList = getWordlistMetadataForWordlistId(clientId, wordlistId); in deleteDataFile() local 464 if (null == wordList) return 0; in deleteDataFile() 465 final int status = wordList.getAsInteger(MetadataDbHelper.STATUS_COLUMN); in deleteDataFile() 466 final int version = wordList.getAsInteger(MetadataDbHelper.VERSION_COLUMN); in deleteDataFile() 476 wordList.getAsString(MetadataDbHelper.LOCAL_FILENAME_COLUMN); in deleteDataFile()
|
D | MetadataHandler.java | 134 for (WordListMetadata wordList : metadata) { in findWordListById() 135 if (id.equals(wordList.mId) in findWordListById() 136 && wordList.mFormatVersion <= UpdateHandler.MAXIMUM_SUPPORTED_FORMAT_VERSION in findWordListById() 137 && wordList.mFormatVersion > bestFormatVersion) { in findWordListById() 138 bestWordList = wordList; in findWordListById() 139 bestFormatVersion = wordList.mFormatVersion; in findWordListById()
|
D | ActionBatch.java | 101 final WordListMetadata wordList, final boolean forceStartNow) { in StartDownloadAction() argument 102 DebugLogUtils.l("New download action for client ", clientId, " : ", wordList); in StartDownloadAction() 104 mWordList = wordList; in StartDownloadAction() 225 public EnableAction(final String clientId, final WordListMetadata wordList) { in EnableAction() argument 226 DebugLogUtils.l("New EnableAction for client ", clientId, " : ", wordList); in EnableAction() 228 mWordList = wordList; in EnableAction()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryGetter.java | 171 for (File wordList : wordLists) { in getCachedWordLists() 173 DictionaryInfoUtils.getCategoryFromFileName(wordList.getName()); in getCachedWordLists() 176 cacheFiles.put(category, new FileAndMatchLevel(wordList, matchLevel)); in getCachedWordLists() 209 for (File wordList : wordLists) { in removeFilesWithIdExcept() 211 DictionaryInfoUtils.getWordListIdFromFileName(wordList.getName()); in removeFilesWithIdExcept() 213 if (!canonicalFileToKeep.equals(wordList.getCanonicalFile())) { in removeFilesWithIdExcept() 214 wordList.delete(); in removeFilesWithIdExcept()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
D | OpenWnnClauseConverterJAJP.java | 526 private void addAutoGeneratedCandidates(String input, ArrayList wordList, boolean all) { in addAutoGeneratedCandidates() argument 527 wordList.add(new WnnWord(input, input, mPosDefault, (CLAUSE_COST - 1) * input.length())); in addAutoGeneratedCandidates()
|