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.java44 CollectionUtils.arrayAsList(array, -1, 1); in testArrayAsListFailure()
51 CollectionUtils.arrayAsList(array, 1, -1); in testArrayAsListFailure()
58 CollectionUtils.arrayAsList(array, 1, 3); in testArrayAsListFailure()
71 assertEquals(empty, CollectionUtils.arrayAsList(new String[] {}, 0, 0)); in testArrayAsList()
73 assertEquals(empty, CollectionUtils.arrayAsList(array, 0, 0)); in testArrayAsList()
74 assertEquals(empty, CollectionUtils.arrayAsList(array, 1, 1)); in testArrayAsList()
75 assertEquals(empty, CollectionUtils.arrayAsList(array, array.length, array.length)); in testArrayAsList()
77 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