diff options
author | 2013-12-17 05:33:15 +0000 | |
---|---|---|
committer | 2013-12-17 05:33:16 +0000 | |
commit | b54c747d7cc2a89e6bc51d31676a70779d4c41b4 (patch) | |
tree | 24f42bf24aa8767a787473d75ae839769bd21de9 /java/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderUtils.java | |
parent | 19dd753c0ccaea8dee71eeae7edc724c58c6f024 (diff) | |
parent | 4fdcefe504a4f8e832a75be2c7280ea8a5e390d3 (diff) | |
download | latinime-b54c747d7cc2a89e6bc51d31676a70779d4c41b4.tar.gz latinime-b54c747d7cc2a89e6bc51d31676a70779d4c41b4.tar.xz latinime-b54c747d7cc2a89e6bc51d31676a70779d4c41b4.zip |
Merge "Move DictUpdater to the tests directory."
Diffstat (limited to 'java/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderUtils.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderUtils.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderUtils.java b/java/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderUtils.java index acabea10d..2dbb5eb93 100644 --- a/java/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderUtils.java +++ b/java/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderUtils.java @@ -58,6 +58,7 @@ public final class BinaryDictDecoderUtils { public int readInt(); public int position(); public void position(int newPosition); + @UsedForTesting public void put(final byte b); public int limit(); @UsedForTesting @@ -166,6 +167,7 @@ public final class BinaryDictDecoderUtils { return size; } + @UsedForTesting static int getCharArraySize(final int[] chars, final int start, final int end) { int size = 0; for (int i = start; i < end; ++i) { @@ -262,6 +264,7 @@ public final class BinaryDictDecoderUtils { */ // TODO: Merge this method with writeCharArray and rename the various write* methods to // make the difference clear. + @UsedForTesting static int writeCodePoints(final OutputStream stream, final int[] codePoints, final int startIndex, final int endIndex) throws IOException { |