Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DAssetFileAddress.java29 public final class AssetFileAddress { class
34 public AssetFileAddress(final String filename, final long offset, final long length) { in AssetFileAddress() method in AssetFileAddress
40 public static AssetFileAddress makeFromFile(final File file) { in makeFromFile()
42 return new AssetFileAddress(file.getAbsolutePath(), 0L, file.length()); in makeFromFile()
45 public static AssetFileAddress makeFromFileName(final String filename) { in makeFromFileName()
50 public static AssetFileAddress makeFromFileNameAndOffset(final String filename, in makeFromFileNameAndOffset()
55 return new AssetFileAddress(filename, offset, length); in makeFromFileNameAndOffset()
DBinaryDictionaryGetter.java92 public static AssetFileAddress loadFallbackResource(final Context context, in loadFallbackResource()
106 return AssetFileAddress.makeFromFileNameAndOffset( in loadFallbackResource()
242 public static ArrayList<AssetFileAddress> getDictionaryFiles(final Locale locale, in getDictionaryFiles()
262 final ArrayList<AssetFileAddress> fileList = new ArrayList<>(); in getDictionaryFiles()
272 final AssetFileAddress afa = AssetFileAddress.makeFromFileName(f.getPath()); in getDictionaryFiles()
283 final AssetFileAddress fallbackAsset = loadFallbackResource(context, fallbackResId); in getDictionaryFiles()
DDictionaryFactory.java55 final ArrayList<AssetFileAddress> assetFileList = in createMainDictionaryFromManager()
58 for (final AssetFileAddress f : assetFileList) { in createMainDictionaryFromManager()
83 public static void killDictionary(final Context context, final AssetFileAddress f) { in killDictionary()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DAssetFileAddress.java27 final class AssetFileAddress { class
32 public AssetFileAddress(final String filename, final long offset, final long length) { in AssetFileAddress() method in AssetFileAddress
44 public static AssetFileAddress makeFromFileName(final String filename) { in makeFromFileName()
48 return new AssetFileAddress(filename, 0l, f.length()); in makeFromFileName()
59 public static AssetFileAddress makeFromFileNameAndOffset(final String filename, in makeFromFileNameAndOffset()
64 return new AssetFileAddress(filename, offset, length); in makeFromFileNameAndOffset()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DDictionaryInfoUtils.java29 import com.android.inputmethod.latin.AssetFileAddress;
427 @Nonnull final AssetFileAddress fileAddress, final Locale locale) {
447 @Nonnull final AssetFileAddress fileAddress, final Locale locale) {
510 final AssetFileAddress fileAddress = AssetFileAddress.makeFromFile(dict);
535 AssetFileAddress.makeFromFile(dictionaryFile),
554 final AssetFileAddress fileAddress =
/packages/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/utils/
DDictionaryHeaderUtils.java19 import com.android.inputmethod.latin.AssetFileAddress;
26 public static int getContentVersion(AssetFileAddress fileAddress) { in getContentVersion()
/packages/inputmethods/LatinIME/java/
Dproguard.flags20 -keep class com.android.inputmethod.latin.AssetFileAddress