/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | FusionDictionary.java | 85 ArrayList<WeightedString> mShortcutTargets; field in FusionDictionary.PtNode 109 mShortcutTargets = shortcutTargets; in PtNode() 122 mShortcutTargets = shortcutTargets; in PtNode() 162 if (null == mShortcutTargets) return null; in getShortcutTargets() 164 new ArrayList<>(mShortcutTargets); in getShortcutTargets() 203 if (mShortcutTargets != null) { in getShortcut() 204 final int size = mShortcutTargets.size(); in getShortcut() 206 WeightedString shortcut = mShortcutTargets.get(i); in getShortcut() 244 if (mShortcutTargets == null) { in update() 245 mShortcutTargets = shortcutTargets; in update() [all …]
|
D | Ver4DictEncoder.java | 77 if (null == wordProperty.mShortcutTargets || wordProperty.mShortcutTargets.isEmpty()) { in writeDictionary() 85 for (final WeightedString shortcutTarget : wordProperty.mShortcutTargets) { in writeDictionary()
|
D | BinaryDictDecoderEncoderTests.java | 622 assertEquals(shortcuts.get(word).size(), wordProperty.mShortcutTargets.size()); 625 for (final WeightedString shortcutTarget : wordProperty.mShortcutTargets) { 675 assertEquals(shortcuts.get(word0).size(), wordProperty.mShortcutTargets.size()); 677 assertNotNull(wordProperty.mShortcutTargets); 678 for (final WeightedString shortcutTarget : wordProperty.mShortcutTargets) {
|
D | BinaryDictEncoderUtils.java | 133 size += getShortcutListSize(ptNode.mShortcutTargets); in getPtNodeMaximumSize() 384 nodeSize += getShortcutListSize(ptNode.mShortcutTargets); in computeActualPtNodeArraySize() 616 node.mShortcutTargets != null && !node.mShortcutTargets.isEmpty(), in makePtNodeFlags()
|
D | PtNodeInfo.java | 31 public final ArrayList<WeightedString> mShortcutTargets; field in PtNodeInfo 44 mShortcutTargets = shortcutTargets; in PtNodeInfo()
|
D | Ver4DictDecoder.java | 92 fusionDict.addBlacklistEntry(wordProperty.mWord, wordProperty.mShortcutTargets, in readDictionaryBinary() 96 wordProperty.mShortcutTargets, wordProperty.mIsNotAWord); in readDictionaryBinary()
|
D | Ver2DictDecoder.java | 286 fusionDict.addBlacklistEntry(wordProperty.mWord, wordProperty.mShortcutTargets, in readDictionaryBinary() 290 wordProperty.mShortcutTargets, wordProperty.mIsNotAWord); in readDictionaryBinary()
|
D | Ver2DictEncoder.java | 237 writeShortcuts(ptNode.mShortcutTargets); in writePtNode()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | WordProperty.java | 35 public final ArrayList<WeightedString> mShortcutTargets; field in WordProperty 53 mShortcutTargets = shortcutTargets; in WordProperty() 80 mShortcutTargets = new ArrayList<>(); in WordProperty() 100 mShortcutTargets.add( in WordProperty() 113 word.mShortcutTargets.hashCode(), in computeHashCode() 145 && mShortcutTargets.equals(w.mShortcutTargets) && mBigrams.equals(w.mBigrams) in equals()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryTests.java | 1031 assertTrue(wordProperty.mShortcutTargets.isEmpty()); in testGetWordProperties() 1198 assertEquals(1, wordProperty.mShortcutTargets.size()); in testAddShortcuts() 1199 assertEquals("zzz", wordProperty.mShortcutTargets.get(0).mWord); in testAddShortcuts() 1200 assertEquals(shortcutProbability, wordProperty.mShortcutTargets.get(0).getProbability()); in testAddShortcuts() 1207 assertEquals(1, wordProperty.mShortcutTargets.size()); in testAddShortcuts() 1208 assertEquals("zzz", wordProperty.mShortcutTargets.get(0).mWord); in testAddShortcuts() 1210 wordProperty.mShortcutTargets.get(0).getProbability()); in testAddShortcuts() 1219 assertEquals(2, wordProperty.mShortcutTargets.size()); in testAddShortcuts() 1220 for (WeightedString shortcutTarget : wordProperty.mShortcutTargets) { in testAddShortcuts() 1231 assertEquals(2, wordProperty.mShortcutTargets.size()); in testAddShortcuts() [all …]
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | Info.java | 51 if (null != wordProperty.mShortcutTargets) { in showInfo() 52 shortcutCount += wordProperty.mShortcutTargets.size(); in showInfo() 53 for (WeightedString shortcutTarget : wordProperty.mShortcutTargets) { in showInfo()
|
D | XmlDictInputOutput.java | 356 if (null != wordProperty.mShortcutTargets) { in writeDictionaryXml() 358 for (WeightedString target : wordProperty.mShortcutTargets) { in writeDictionaryXml()
|
D | Diff.java | 140 "Shortcut", word0Property.mShortcutTargets, in diffWords()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | CombinedFormatUtils.java | 70 if (wordProperty.mShortcutTargets != null) { in formatWordProperty() 71 for (final WeightedString shortcutTarget : wordProperty.mShortcutTargets) { in formatWordProperty()
|