Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DProbabilityInfo.java26 public final int mProbability; field in ProbabilityInfo
43 if (probabilityInfo1.mProbability > probabilityInfo2.mProbability) { in max()
56 mProbability = probability; in ProbabilityInfo()
69 return Arrays.hashCode(new Object[] { mProbability, mTimestamp, mLevel, mCount }); in hashCode()
71 return Arrays.hashCode(new Object[] { mProbability }); in hashCode()
86 return mProbability == p.mProbability; in equals()
88 return mProbability == p.mProbability && mTimestamp == p.mTimestamp && mLevel == p.mLevel in equals()
DWeightedString.java43 return mProbabilityInfo.mProbability; in getProbability()
DWordProperty.java106 return mProbabilityInfo.mProbability; in getProbability()
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/content/
Dbigram_entry.h29 : mHasNext(bigramEntry.mHasNext), mProbability(bigramEntry.mProbability), in BigramEntry()
34 : mHasNext(hasNext), mProbability(probability), mHistoricalInfo(), in BigramEntry()
40 : mHasNext(hasNext), mProbability(probability), mHistoricalInfo(*historicalInfo), in BigramEntry()
48 return BigramEntry(hasNext, mProbability, &mHistoricalInfo, mTargetTerminalId); in updateHasNextAndGetEntry()
52 return BigramEntry(mHasNext, mProbability, &mHistoricalInfo, newTargetTerminalId); in updateTargetTerminalIdAndGetEntry()
61 return BigramEntry(mHasNext, mProbability, historicalInfo, mTargetTerminalId); in updateHistoricalInfoAndGetEntry()
73 return mProbability; in getProbability()
94 const int mProbability; variable
Dprobability_entry.h32 : mFlags(probabilityEntry.mFlags), mProbability(probabilityEntry.mProbability), in ProbabilityEntry()
37 : mFlags(0), mProbability(NOT_A_PROBABILITY), mHistoricalInfo() {} in ProbabilityEntry()
41 : mFlags(flags), mProbability(probability), mHistoricalInfo() {} in ProbabilityEntry()
46 : mFlags(flags), mProbability(probability), mHistoricalInfo(*historicalInfo) {} in ProbabilityEntry()
54 return ProbabilityEntry(mFlags, mProbability, historicalInfo); in createEntryWithUpdatedHistoricalInfo()
66 return mProbability; in getProbability()
84 ^ static_cast<uint64_t>(mProbability); in encode()
122 const int mProbability; variable
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/content/
Dbigram_entry.h38 : 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
Dprobability_entry.h38 : 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/suggest/core/dicnode/internal/
Ddic_node_properties.h33 mProbability(NOT_A_PROBABILITY), mDicNodeCodePoint(NOT_A_CODE_POINT), in DicNodeProperties()
46 mProbability = probability; in init()
60 mProbability = NOT_A_PROBABILITY; in init()
73 mProbability = dicNodeProp->mProbability; in initByCopy()
88 mProbability = dicNodeProp->mProbability; in init()
107 return mProbability; in getProbability()
145 int mProbability; variable
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/pt_common/
Dpt_node_params.h37 mProbabilityFieldPos(NOT_A_DICT_POS), mProbability(NOT_A_PROBABILITY), in PtNodeParams()
49 mProbability(ptNodeParams.mProbability), in PtNodeParams()
66 mProbabilityFieldPos(NOT_A_DICT_POS), mProbability(probability), in PtNodeParams()
81 mProbabilityFieldPos(NOT_A_DICT_POS), mProbability(probability), in PtNodeParams()
97 mProbability(probability), in PtNodeParams()
113 mProbabilityFieldPos(NOT_A_DICT_POS), mProbability(probability), in PtNodeParams()
201 return mProbability; in getProbability()
246 const int mProbability; variable
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Dbinary_dictionary_bigrams_iterator.h30 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/suggest/core/dictionary/property/
Dunigram_property.h31 : mTargetCodePoints(*targetCodePoints), mProbability(probability) {} in ShortcutProperty()
38 return mProbability; in getProbability()
47 int mProbability; variable
52 mProbability(NOT_A_PROBABILITY), mTimestamp(NOT_A_TIMESTAMP), mLevel(0), mCount(0), in UnigramProperty()
59 mIsNotAWord(isNotAWord), mIsBlacklisted(isBlacklisted), mProbability(probability), in UnigramProperty()
79 return mProbability; in getProbability()
106 int mProbability; variable
Dbigram_property.h31 : mTargetCodePoints(*targetCodePoints), mProbability(probability), in BigramProperty()
39 return mProbability; in getProbability()
60 int mProbability; variable
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/
Dver4_patricia_trie_writing_helper.h73 : mDictPos(dictPos), mProbability(probability), mTimestamp(timestamp) {} in DictProbability()
80 return mProbability; in getProbability()
91 int mProbability; variable
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/
Dver4_patricia_trie_writing_helper.h86 : mDictPos(dictPos), mProbability(probability), mTimestamp(timestamp) {} in DictProbability()
93 return mProbability; in getProbability()
104 int mProbability; variable
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DFusionDictionary.java108 mTerminalId = probabilityInfo == null ? NOT_A_TERMINAL : probabilityInfo.mProbability; in PtNode()
146 return mProbabilityInfo.mProbability; in getProbability()
405 assert(probabilityInfo.mProbability <= FormatSpec.MAX_TERMINAL_FREQUENCY); in add()
DBinaryDictIOUtils.java127 ptNodeInfo.mOriginalAddress, ptNodeInfo.mProbabilityInfo.mProbability); in readUnigramsAndBigramsBinaryInner()
DBinaryDictDecoderEncoderTests.java672 assertEquals(UNIGRAM_FREQ, wordProperty.mProbabilityInfo.mProbability);
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DCombinedInputOutput.java132 probabilityInfo = new ProbabilityInfo(probabilityInfo.mProbability, in readDictionaryCombined()
178 bigramProbabilityInfo.mProbability, in readDictionaryCombined()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java1030 assertEquals(unigramProbability, wordProperty.mProbabilityInfo.mProbability); in testGetWordProperties()
1155 wordProperty.mProbabilityInfo.mProbability); in testIterateAllWords()
1303 wordProperty.mProbabilityInfo.mProbability); in testAddManyShortcuts()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DCombinedFormatUtils.java91 builder.append(PROBABILITY_TAG + "=" + probabilityInfo.mProbability); in formatProbabilityInfo()