HomeSort by relevance Sort by last modified time
    Searched defs:AssetFileAddress (Results 1 - 2 of 2) sorted by null

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
AssetFileAddress.java 27 final class AssetFileAddress {
32 public AssetFileAddress(final String filename, final long offset, final long length) {
39 * Makes an AssetFileAddress. This may return null.
44 public static AssetFileAddress makeFromFileName(final String filename) {
48 return new AssetFileAddress(filename, 0l, f.length());
52 * Makes an AssetFileAddress. This may return null.
59 public static AssetFileAddress makeFromFileNameAndOffset(final String filename,
64 return new AssetFileAddress(filename, offset, length);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
AssetFileAddress.java 29 public final class AssetFileAddress {
34 public AssetFileAddress(final String filename, final long offset, final long length) {
40 public static AssetFileAddress makeFromFile(final File file) {
42 return new AssetFileAddress(file.getAbsolutePath(), 0L, file.length());
45 public static AssetFileAddress makeFromFileName(final String filename) {
50 public static AssetFileAddress makeFromFileNameAndOffset(final String filename,
55 return new AssetFileAddress(filename, offset, length);

Completed in 42 milliseconds