Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java410 final ArrayList<Pair<String, String>> bigramWords = new ArrayList<>(); in testRandomlyAddBigramWords() local
430 bigramWords.add(bigram); in testRandomlyAddBigramWords()
438 for (final Pair<String, String> bigram : bigramWords) { in testRandomlyAddBigramWords()
633 final ArrayList<Pair<String, String>> bigramWords = new ArrayList<>(); in testAddBigramWordsAndFlashWithGC() local
653 bigramWords.add(bigram); in testAddBigramWordsAndFlashWithGC()
668 for (final Pair<String, String> bigram : bigramWords) { in testAddBigramWordsAndFlashWithGC()
710 final ArrayList<Pair<String, String>> bigramWords = new ArrayList<>(); in testRandomOperationsAndFlashWithGC() local
753 bigramWords.add(bigram); in testRandomOperationsAndFlashWithGC()
758 if (random.nextFloat() < removeBigramProb && !bigramWords.isEmpty()) { in testRandomOperationsAndFlashWithGC()
759 final int bigramIndex = random.nextInt(bigramWords.size()); in testRandomOperationsAndFlashWithGC()
[all …]