Home
last modified time | relevance | path

Searched refs:AssetFileAddress (Results 1 – 4 of 4) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DAssetFileAddress.java27 class AssetFileAddress { class
32 public AssetFileAddress(final String filename, final long offset, final long length) { in AssetFileAddress() method in AssetFileAddress
38 public static AssetFileAddress makeFromFileName(final String filename) { in makeFromFileName()
42 return new AssetFileAddress(filename, 0l, f.length()); in makeFromFileName()
45 public static AssetFileAddress makeFromFileNameAndOffset(final String filename, in makeFromFileNameAndOffset()
50 return new AssetFileAddress(filename, offset, length); in makeFromFileNameAndOffset()
DBinaryDictionaryGetter.java159 private static AssetFileAddress loadFallbackResource(final Context context, in loadFallbackResource()
167 return AssetFileAddress.makeFromFileNameAndOffset( in loadFallbackResource()
351 public static ArrayList<AssetFileAddress> getDictionaryFiles(final Locale locale, in getDictionaryFiles()
365 final ArrayList<AssetFileAddress> fileList = new ArrayList<AssetFileAddress>(); in getDictionaryFiles()
374 fileList.add(AssetFileAddress.makeFromFileName(f.getPath())); in getDictionaryFiles()
383 final AssetFileAddress fallbackAsset = loadFallbackResource(context, fallbackResId); in getDictionaryFiles()
DBinaryDictionaryFileDumper.java139 private static AssetFileAddress cacheWordList(final String id, final String locale, in cacheWordList()
204 return AssetFileAddress.makeFromFileName(outputFileName); in cacheWordList()
255 public static List<AssetFileAddress> cacheWordListsFromContentProvider(final Locale locale, in cacheWordListsFromContentProvider()
260 final List<AssetFileAddress> fileAddressList = new ArrayList<AssetFileAddress>(); in cacheWordListsFromContentProvider()
262 final AssetFileAddress afd = cacheWordList(id.mId, id.mLocale, resolver, context); in cacheWordListsFromContentProvider()
DDictionaryFactory.java56 final ArrayList<AssetFileAddress> assetFileList = in createMainDictionaryFromManager()
59 for (final AssetFileAddress f : assetFileList) { in createMainDictionaryFromManager()