/packages/inputmethods/LatinIME/native/dicttoolkit/tests/offdevice_intermediate_dict/ |
D | offdevice_intermediate_dict_test.cpp | 39 const WordProperty getDummpWordProperty(const std::vector<int> &&codePoints) { in getDummpWordProperty() 40 return WordProperty(std::move(codePoints), UnigramProperty(), std::vector<NgramProperty>()); in getDummpWordProperty() 48 const WordProperty wordProperty0 = getDummpWordProperty(getCodePointVector("abcd")); in TEST() 52 const WordProperty wordProperty1 = getDummpWordProperty(getCodePointVector("efgh")); in TEST() 56 const WordProperty wordProperty2 = getDummpWordProperty(getCodePointVector("ab")); in TEST() 60 const WordProperty wordProperty3 = getDummpWordProperty(getCodePointVector("abcdefg")); in TEST() 64 const WordProperty wordProperty4 = getDummpWordProperty(getCodePointVector("efef")); in TEST() 68 const WordProperty wordProperty5 = getDummpWordProperty(getCodePointVector("ef")); in TEST() 72 const WordProperty wordProperty6 = getDummpWordProperty(getCodePointVector("abcd")); in TEST()
|
/packages/inputmethods/LatinIME/native/dicttoolkit/src/offdevice_intermediate_dict/ |
D | offdevice_intermediate_dict_pt_node.h | 39 const WordProperty &wordProperty) in OffdeviceIntermediateDictPtNode() 41 mWortProperty(new WordProperty(wordProperty)) {} in OffdeviceIntermediateDictPtNode() 48 mWortProperty(new WordProperty(*ptNode.mWortProperty)) {} in OffdeviceIntermediateDictPtNode() 51 OffdeviceIntermediateDictPtNode(const WordProperty &wordProperty, in OffdeviceIntermediateDictPtNode() 55 mWortProperty(new WordProperty(wordProperty)) {} in OffdeviceIntermediateDictPtNode() 57 const WordProperty *getWordProperty() const { in getWordProperty() 74 const std::unique_ptr<WordProperty> mWortProperty;
|
D | offdevice_intermediate_dict.h | 37 bool addWord(const WordProperty &wordProperty); 39 const WordProperty *getWordProperty(const CodePointArrayView codePoints) const; 48 bool addWordInner(const CodePointArrayView codePoints, const WordProperty &wordProperty,
|
D | offdevice_intermediate_dict.cpp | 24 bool OffdeviceIntermediateDict::addWord(const WordProperty &wordProperty) { in addWord() 33 const WordProperty &wordProperty, OffdeviceIntermediateDictPtNodeArray &ptNodeArray) { in addWordInner() 91 const WordProperty *OffdeviceIntermediateDict::getWordProperty( in getWordProperty()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | WordProperty.java | 37 public final class WordProperty implements Comparable<WordProperty> { class 51 public WordProperty(final String word, final ProbabilityInfo probabilityInfo, in WordProperty() method in WordProperty 81 public WordProperty(final int[] codePoints, final boolean isNotAWord, in WordProperty() method in WordProperty 136 private static int computeHashCode(WordProperty word) { in computeHashCode() 153 public int compareTo(final WordProperty w) { in compareTo() 168 if (!(o instanceof WordProperty)) return false; in equals() 169 WordProperty w = (WordProperty)o; in equals()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/ |
D | word_property.h | 30 class WordProperty { 33 WordProperty() in WordProperty() function 36 WordProperty(const std::vector<int> &&codePoints, const UnigramProperty &unigramProperty, in WordProperty() function 55 DISALLOW_ASSIGNMENT_OPERATOR(WordProperty);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | ExpandableBinaryDictionary.java | 30 import com.android.inputmethod.latin.makedict.WordProperty; 78 private static final WordProperty[] DEFAULT_WORD_PROPERTIES_FOR_SYNC = 79 new WordProperty[0] /* default */; 711 final WordProperty wordProperty = result.mWordProperty; in dumpAllWordsForDebug() 726 public WordProperty[] getWordPropertiesForSyncing() { in getWordPropertiesForSyncing() 728 final AsyncResultHolder<WordProperty[]> result = in getWordPropertiesForSyncing() 733 final ArrayList<WordProperty> wordPropertyList = new ArrayList<>(); in getWordPropertiesForSyncing() 743 final WordProperty wordProperty = nextWordPropertyResult.mWordProperty; in getWordPropertiesForSyncing() 750 result.set(wordPropertyList.toArray(new WordProperty[wordPropertyList.size()])); in getWordPropertiesForSyncing()
|
D | BinaryDictionary.java | 34 import com.android.inputmethod.latin.makedict.WordProperty; 391 public WordProperty getWordProperty(final String word, final boolean isBeginningOfSentence) { in getWordProperty() 411 return new WordProperty(codePoints, in getWordProperty() 421 public WordProperty mWordProperty; 424 public GetNextWordPropertyResult(final WordProperty wordProperty, final int nextToken) { in GetNextWordPropertyResult()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | Ver4DictDecoder.java | 68 final ArrayList<WordProperty> wordProperties = new ArrayList<>(); in readDictionaryBinary() 72 final WordProperty wordProperty = result.mWordProperty; in readDictionaryBinary() 85 for (final WordProperty wordProperty : wordProperties) { in readDictionaryBinary() 92 for (final WordProperty wordProperty : wordProperties) { in readDictionaryBinary()
|
D | FusionDictionary.java | 33 public final class FusionDictionary implements Iterable<WordProperty> { 570 public static final class DictionaryIterator implements Iterator<WordProperty> { 600 public WordProperty next() { in next() 617 return new WordProperty(mCurrentString.toString(), in next() 643 public Iterator<WordProperty> iterator() { in iterator()
|
D | Ver4DictEncoder.java | 76 for (final WordProperty wordProperty : dict) { in writeDictionary() 89 for (final WordProperty word0Property : dict) { in writeDictionary()
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | CombinedInputOutput.java | 25 import com.android.inputmethod.latin.makedict.WordProperty; 200 final TreeSet<WordProperty> wordPropertiesInDict = new TreeSet<>(); in writeDictionaryCombined() 201 for (final WordProperty wordProperty : dict) { in writeDictionaryCombined() 206 for (final WordProperty wordProperty : wordPropertiesInDict) { in writeDictionaryCombined()
|
D | Diff.java | 22 import com.android.inputmethod.latin.makedict.WordProperty; 110 for (final WordProperty word0Property : dict0) { in diffWords() 141 for (final WordProperty word1Property : dict1) { in diffWords()
|
D | Info.java | 23 import com.android.inputmethod.latin.makedict.WordProperty; 46 for (final WordProperty wordProperty : dict) { in showInfo()
|
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/ |
D | FusionDictionaryTest.java | 23 import com.android.inputmethod.latin.makedict.WordProperty; 91 for (WordProperty wordProperty : dict) { in dumpDict()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryTests.java | 37 import com.android.inputmethod.latin.makedict.WordProperty; 723 final WordProperty invalidWordProperty = binaryDictionary.getWordProperty("dummyWord", in testGetWordProperties() 746 final WordProperty wordProperty = binaryDictionary.getWordProperty(word, in testGetWordProperties() 785 final WordProperty wordProperty = binaryDictionary.getWordProperty(word0, in testGetWordProperties() 808 final WordProperty invalidWordProperty = binaryDictionary.getWordProperty("dummyWord", in testIterateAllWords() 859 final WordProperty wordProperty = result.mWordProperty; in testIterateAllWords() 887 WordProperty wordProperty = binaryDictionary.getWordProperty("ddd", false); in testPossiblyOffensiveAttributeMaintained()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | CombinedFormatUtils.java | 22 import com.android.inputmethod.latin.makedict.WordProperty; 57 public static String formatWordProperty(final WordProperty wordProperty) { in formatWordProperty()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/ |
D | patricia_trie_policy.cpp | 426 const WordProperty PatriciaTriePolicy::getWordProperty( in getWordProperty() 431 return WordProperty(); in getWordProperty() 481 return WordProperty(wordCodePoints.toVector(), unigramProperty, ngrams); in getWordProperty()
|
D | patricia_trie_policy.h | 144 const WordProperty getWordProperty(const CodePointArrayView wordCodePoints) const;
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_policy.cpp | 504 const WordProperty Ver4PatriciaTriePolicy::getWordProperty( in getWordProperty() 509 return WordProperty(); in getWordProperty() 569 return WordProperty(wordCodePoints.toVector(), unigramProperty, ngrams); in getWordProperty()
|
D | ver4_patricia_trie_policy.h | 112 const WordProperty getWordProperty(const CodePointArrayView wordCodePoints) const;
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_policy.cpp | 549 const WordProperty Ver4PatriciaTriePolicy::getWordProperty( in getWordProperty() 555 return WordProperty(); in getWordProperty() 620 return WordProperty(wordCodePoints.toVector(), unigramProperty, ngrams); in getWordProperty()
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 352 const WordProperty wordProperty = dictionary->getWordProperty( in latinime_BinaryDictionary_getWordProperty() 572 const WordProperty wordProperty = dictionary->getWordProperty( in latinime_BinaryDictionary_migrateNative() 597 const WordProperty wordProperty = dictionary->getWordProperty( in latinime_BinaryDictionary_migrateNative()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/interface/ |
D | dictionary_structure_with_buffer_policy.h | 107 virtual const WordProperty getWordProperty(const CodePointArrayView wordCodePoints) const = 0;
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
D | dictionary.h | 107 const WordProperty getWordProperty(const CodePointArrayView codePoints);
|