/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | ProbabilityInfo.java | 26 public final int mProbability; field in ProbabilityInfo 43 return (probabilityInfo1.mProbability > probabilityInfo2.mProbability) ? probabilityInfo1 in max() 53 mProbability = probability; in ProbabilityInfo() 66 return Arrays.hashCode(new Object[] { mProbability, mTimestamp, mLevel, mCount }); in hashCode() 68 return Arrays.hashCode(new Object[] { mProbability }); in hashCode() 82 return mProbability == p.mProbability; in equals() 84 return mProbability == p.mProbability && mTimestamp == p.mTimestamp && mLevel == p.mLevel in equals()
|
D | WeightedString.java | 43 return mProbabilityInfo.mProbability; in getProbability()
|
D | WordProperty.java | 133 return mProbabilityInfo.mProbability; in getProbability()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/ |
D | unigram_property.h | 33 mProbability(probability) {} in ShortcutProperty() 40 return mProbability; in getProbability() 48 const int mProbability; variable 53 mIsBlacklisted(false), mIsPossiblyOffensive(false), mProbability(NOT_A_PROBABILITY), in UnigramProperty() 62 mIsPossiblyOffensive(isPossiblyOffensive), mProbability(probability), in UnigramProperty() 71 mIsPossiblyOffensive(isPossiblyOffensive), mProbability(probability), in UnigramProperty() 80 mIsPossiblyOffensive(isPossiblyOffensive), mProbability(probability), in UnigramProperty() 89 mIsPossiblyOffensive(isPossiblyOffensive), mProbability(probability), in UnigramProperty() 113 return mProbability; in getProbability() 132 const int mProbability; variable
|
D | word_attributes.h | 26 : mProbability(NOT_A_PROBABILITY), mIsBlacklisted(false), mIsNotAWord(false), in WordAttributes() 31 : mProbability(probability), mIsBlacklisted(isBlacklisted), mIsNotAWord(isNotAWord), in WordAttributes() 35 return mProbability; in getProbability() 61 int mProbability; variable
|
D | ngram_property.h | 33 mProbability(probability), mHistoricalInfo(historicalInfo) {} in NgramProperty() 44 return mProbability; in getProbability() 58 const int mProbability; variable
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/ |
D | bigram_entry.h | 38 : mHasNext(bigramEntry.mHasNext), mProbability(bigramEntry.mProbability), in BigramEntry() 43 : mHasNext(hasNext), mProbability(probability), mHistoricalInfo(), in BigramEntry() 49 : mHasNext(hasNext), mProbability(probability), mHistoricalInfo(*historicalInfo), in BigramEntry() 57 return BigramEntry(hasNext, mProbability, &mHistoricalInfo, mTargetTerminalId); in updateHasNextAndGetEntry() 61 return BigramEntry(mHasNext, mProbability, &mHistoricalInfo, newTargetTerminalId); in updateTargetTerminalIdAndGetEntry() 70 return BigramEntry(mHasNext, mProbability, historicalInfo, mTargetTerminalId); in updateHistoricalInfoAndGetEntry() 82 return mProbability; in getProbability() 103 const int mProbability; variable
|
D | probability_entry.h | 38 : mFlags(probabilityEntry.mFlags), mProbability(probabilityEntry.mProbability), in ProbabilityEntry() 43 : mFlags(0), mProbability(NOT_A_PROBABILITY), mHistoricalInfo() {} in ProbabilityEntry() 47 : mFlags(flags), mProbability(probability), mHistoricalInfo() {} in ProbabilityEntry() 52 : mFlags(flags), mProbability(probability), mHistoricalInfo(*historicalInfo) {} in ProbabilityEntry() 60 return ProbabilityEntry(mFlags, mProbability, historicalInfo); in createEntryWithUpdatedHistoricalInfo() 72 return mProbability; in getProbability() 84 const int mProbability; variable
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | probability_entry.h | 34 : mFlags(probabilityEntry.mFlags), mProbability(probabilityEntry.mProbability), in ProbabilityEntry() 39 : mFlags(Ver4DictConstants::FLAG_NOT_A_VALID_ENTRY), mProbability(NOT_A_PROBABILITY), in ProbabilityEntry() 44 : mFlags(flags), mProbability(probability), mHistoricalInfo() {} in ProbabilityEntry() 48 : mFlags(flags), mProbability(NOT_A_PROBABILITY), mHistoricalInfo(*historicalInfo) {} in ProbabilityEntry() 55 mProbability(unigramProperty->getProbability()), in ProbabilityEntry() 61 : mFlags(0), mProbability(ngramProperty->getProbability()), in ProbabilityEntry() 77 return mProbability; in getProbability() 111 | static_cast<uint8_t>(mProbability); in encode() 149 const int mProbability; variable
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | binary_dictionary_bigrams_iterator.h | 30 mBigramPos(NOT_A_DICT_POS), mProbability(NOT_A_PROBABILITY), mHasNext(false) {} in BinaryDictionaryBigramsIterator() 35 mBigramPos(NOT_A_DICT_POS), mProbability(NOT_A_PROBABILITY), in BinaryDictionaryBigramsIterator() 41 mProbability(bigramsIterator.mProbability), mHasNext(bigramsIterator.mHasNext) {} in BinaryDictionaryBigramsIterator() 48 mBigramsStructurePolicy->getNextBigram(&mBigramPos, &mProbability, &mHasNext, &mPos); in next() 52 return mProbability; in getProbability() 65 int mProbability; variable
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/ |
D | pt_node_params.h | 38 mProbabilityFieldPos(NOT_A_DICT_POS), mProbability(NOT_A_PROBABILITY), in PtNodeParams() 50 mProbability(ptNodeParams.mProbability), in PtNodeParams() 67 mProbabilityFieldPos(NOT_A_DICT_POS), mProbability(probability), in PtNodeParams() 82 mProbabilityFieldPos(NOT_A_DICT_POS), mProbability(probability), in PtNodeParams() 98 mProbability(probability), in PtNodeParams() 114 mProbabilityFieldPos(NOT_A_DICT_POS), mProbability(probability), in PtNodeParams() 208 return mProbability; in getProbability() 253 const int mProbability; variable
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_writing_helper.h | 86 : mDictPos(dictPos), mProbability(probability), mTimestamp(timestamp) {} in DictProbability() 93 return mProbability; in getProbability() 104 int mProbability; variable
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | CombinedInputOutput.java | 137 probabilityInfo = new ProbabilityInfo(probabilityInfo.mProbability, in readDictionaryCombined() 169 bigramProbabilityInfo.mProbability, in readDictionaryCombined()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | FusionDictionary.java | 107 mTerminalId = probabilityInfo == null ? NOT_A_TERMINAL : probabilityInfo.mProbability; in PtNode() 141 return isTerminal() ? mProbabilityInfo.mProbability : NOT_A_TERMINAL; in getProbability() 335 assert(probabilityInfo.mProbability <= FormatSpec.MAX_TERMINAL_FREQUENCY); in add()
|
D | BinaryDictIOUtils.java | 117 ptNodeInfo.mOriginalAddress, ptNodeInfo.mProbabilityInfo.mProbability); in readUnigramsAndBigramsBinaryInner()
|
D | BinaryDictDecoderEncoderTests.java | 662 assertEquals(UNIGRAM_FREQ, wordProperty.mProbabilityInfo.mProbability);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | CombinedFormatUtils.java | 93 builder.append(PROBABILITY_TAG + "=" + probabilityInfo.mProbability); in formatProbabilityInfo()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryTests.java | 753 assertEquals(unigramProbability, wordProperty.mProbabilityInfo.mProbability); in testGetWordProperties() 862 wordProperty.mProbabilityInfo.mProbability); in testIterateAllWords()
|