Home
last modified time | relevance | path

Searched refs:arrayAsList (Results 1 – 3 of 3) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DCollectionUtilsTests.java54 CollectionUtils.arrayAsList(array, -1, 1); in testArrayAsListFailure()
61 CollectionUtils.arrayAsList(array, 1, -1); in testArrayAsListFailure()
68 CollectionUtils.arrayAsList(array, 1, 3); in testArrayAsListFailure()
82 assertEquals(empty, CollectionUtils.arrayAsList(new String[] {}, 0, 0)); in testArrayAsList()
84 assertEquals(empty, CollectionUtils.arrayAsList(array, 0, 0)); in testArrayAsList()
85 assertEquals(empty, CollectionUtils.arrayAsList(array, 1, 1)); in testArrayAsList()
86 assertEquals(empty, CollectionUtils.arrayAsList(array, array.length, array.length)); in testArrayAsList()
88 assertEquals(expected123, CollectionUtils.arrayAsList(array, 1, 4)); in testArrayAsList()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpec.java245 out = CollectionUtils.arrayAsList(array, 0, i); in filterOutEmptyString()
280 out = CollectionUtils.arrayAsList(moreKeys, 0, moreKeyIndex); in insertAdditionalMoreKeys()
292 out = CollectionUtils.arrayAsList(additionalMoreKeys, additionalIndex, additionalCount); in insertAdditionalMoreKeys()
299 out = CollectionUtils.arrayAsList(moreKeys, 0, moreKeysCount); in insertAdditionalMoreKeys()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DCollectionUtils.java44 public static <E> ArrayList<E> arrayAsList(@Nonnull final E[] array, final int start, in arrayAsList() method in CollectionUtils