/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DictionaryListInterfaceState.java | 43 public boolean isOpen(final String wordlistId) { in isOpen() argument 44 final State state = mWordlistToState.get(wordlistId); in isOpen() 49 public int getStatus(final String wordlistId) { in getStatus() argument 50 final State state = mWordlistToState.get(wordlistId); in getStatus() 55 public void setOpen(final String wordlistId, final int status) { in setOpen() argument 57 final State state = mWordlistToState.get(wordlistId); in setOpen() 61 mWordlistToState.put(wordlistId, newState); in setOpen()
|
D | UpdateHandler.java | 911 final String wordlistId) { in installIfNeverRequested() argument 913 + " : WordListId = " + wordlistId); in installIfNeverRequested() 914 final String[] idArray = wordlistId.split(DictionaryProvider.ID_CATEGORY_SEPARATOR); in installIfNeverRequested() 923 if (CommonPreferences.getCommonPreferences(context).contains(wordlistId)) { in installIfNeverRequested() 935 MetadataDbHelper.getContentValuesOfLatestAvailableWordlistById(db, wordlistId); in installIfNeverRequested() 1000 final String wordlistId, final int version, in markAsUsed() argument 1003 context, clientId, wordlistId, version); in markAsUsed() 1036 final String wordlistId, final int version, final int status) { in markAsUnused() argument 1039 context, clientId, wordlistId, version); in markAsUnused() 1065 final String wordlistId, final int version, final int status) { in markAsDeleting() argument [all …]
|
D | DictionaryProvider.java | 270 final String wordlistId) { in getWordlistMetadataForWordlistId() argument 272 if (TextUtils.isEmpty(wordlistId)) return null; in getWordlistMetadataForWordlistId() 275 db, wordlistId); in getWordlistMetadataForWordlistId() 300 final String wordlistId = uri.getLastPathSegment(); in openAssetFile() local 302 final ContentValues wordList = getWordlistMetadataForWordlistId(clientId, wordlistId); in openAssetFile() 452 final String wordlistId = uri.getLastPathSegment(); in deleteDataFile() local 454 final ContentValues wordList = getWordlistMetadataForWordlistId(clientId, wordlistId); in deleteDataFile() 461 UpdateHandler.markAsDeleted(getContext(), clientId, wordlistId, version, status); in deleteDataFile() local 471 UpdateHandler.markAsBrokenOrRetrying(getContext(), clientId, wordlistId, version); in deleteDataFile() local
|
D | DictionaryDownloadProgressBar.java | 48 public void setIds(final String clientId, final String wordlistId) { in setIds() argument 50 mWordlistId = wordlistId; in setIds() 54 final String clientId, final String wordlistId) { in getDownloadManagerPendingIdFromWordlistId() argument 57 MetadataDbHelper.getContentValuesOfLatestAvailableWordlistById(db, wordlistId); in getDownloadManagerPendingIdFromWordlistId() 61 Log.e(TAG, "Unexpected word list ID: " + wordlistId); in getDownloadManagerPendingIdFromWordlistId()
|
D | WordListPreference.java | 71 final String wordlistId, final int version, final Locale locale, in WordListPreference() argument 77 mWordlistId = wordlistId; in WordListPreference() 86 setKey(wordlistId); in WordListPreference()
|
D | DictionarySettingsFragment.java | 316 final String wordlistId = cursor.getString(idIndex); in createInstalledDictSettingsCollection() local 327 final String key = matchLevelString + "." + description + "." + wordlistId; in createInstalledDictSettingsCollection() 349 mClientId, wordlistId, version, locale, description, status, in createInstalledDictSettingsCollection()
|
D | MetadataDbHelper.java | 482 final int status, final String wordlistId, final String locale, in makeContentValues() argument 489 result.put(WORDLISTID_COLUMN, wordlistId); in makeContentValues()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryFileDumper.java | 229 private static void installWordListToStaging(final String wordlistId, final String locale, in installWordListToStaging() argument 245 providerClient, QUERY_PATH_DATAFILE, wordlistId /* extraPath */); in installWordListToStaging() 251 DictionaryInfoUtils.getStagingFileName(wordlistId, locale, context); in installWordListToStaging() 254 tempFileName = BinaryDictionaryGetter.getTempFileName(wordlistId, context); in installWordListToStaging() 337 Log.d(TAG, "Successfully copied file for wordlist ID " + wordlistId); in installWordListToStaging() 367 reportBrokenFileToDictionaryProvider(providerClient, clientId, wordlistId); in installWordListToStaging() 372 final String wordlistId) { in reportBrokenFileToDictionaryProvider() argument 375 providerClient, QUERY_PATH_DATAFILE, wordlistId /* extraPath */); in reportBrokenFileToDictionaryProvider()
|
D | DictionaryFactory.java | 99 final String wordlistId = in killDictionary() local 117 wordlistId); in killDictionary()
|