Home
last modified time | relevance | path

Searched refs:fileAddress (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DDictionaryInfoUtils.java427 @Nonnull final AssetFileAddress fileAddress, final Locale locale) {
429 final int version = DictionaryHeaderUtils.getContentVersion(fileAddress);
437 fileAddress.mLength, new File(fileAddress.mFilename).lastModified(), version);
447 @Nonnull final AssetFileAddress fileAddress, final Locale locale) {
449 final int version = DictionaryHeaderUtils.getContentVersion(fileAddress);
453 fileAddress.deleteUnderlyingFile();
460 final File unCachedFile = new File(fileAddress.mFilename);
463 return new DictionaryInfo(id, locale, description, filenameToStoreOnDb, fileAddress.mLength,
510 final AssetFileAddress fileAddress = AssetFileAddress.makeFromFile(dict);
512 createDictionaryInfoFromFileAddress(fileAddress, locale);
[all …]
/packages/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/utils/
DDictionaryHeaderUtils.java26 public static int getContentVersion(AssetFileAddress fileAddress) { in getContentVersion() argument
28 new File(fileAddress.mFilename), fileAddress.mOffset, fileAddress.mLength); in getContentVersion()