Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/policy/
Dweighting.cpp75 /* static */ void Weighting::addCostAndForwardInputIndex(const Weighting *const weighting, in addCostAndForwardInputIndex()
82 const float spatialCost = Weighting::getSpatialCost(weighting, correctionType, in addCostAndForwardInputIndex()
84 const float languageCost = Weighting::getLanguageCost(weighting, correctionType, in addCostAndForwardInputIndex()
104 /* static */ float Weighting::getSpatialCost(const Weighting *const weighting, in getSpatialCost()
142 /* static */ float Weighting::getLanguageCost(const Weighting *const weighting, in getLanguageCost()
178 /* static */ int Weighting::getForwardInputCount(const CorrectionType correctionType) { in getForwardInputCount()
Dweighting.h30 class Weighting {
32 static void addCostAndForwardInputIndex(const Weighting *const weighting,
92 Weighting() {} in Weighting() function
93 virtual ~Weighting() {} in ~Weighting()
96 DISALLOW_COPY_AND_ASSIGN(Weighting);
98 static float getSpatialCost(const Weighting *const weighting,
102 static float getLanguageCost(const Weighting *const weighting,
Dsuggest_policy.h26 class Weighting; variable
34 virtual const Weighting *getWeighting() const = 0;
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/
Dsuggest.cpp247 Weighting::addCostAndForwardInputIndex(WEIGHTING, CT_TERMINAL_INSERTION, traverseSession, 0, in processTerminalDicNode()
250 Weighting::addCostAndForwardInputIndex(WEIGHTING, CT_TERMINAL, traverseSession, 0, in processTerminalDicNode()
284 Weighting::addCostAndForwardInputIndex(WEIGHTING, CT_ADDITIONAL_PROXIMITY, in processDicNodeAsAdditionalProximityChar()
291 Weighting::addCostAndForwardInputIndex(WEIGHTING, CT_SUBSTITUTION, traverseSession, in processDicNodeAsSubstitution()
323 Weighting::addCostAndForwardInputIndex(WEIGHTING, CT_OMISSION, traverseSession, in processDicNodeAsOmission()
350 Weighting::addCostAndForwardInputIndex(WEIGHTING, CT_INSERTION, traverseSession, in processDicNodeAsInsertion()
387 Weighting::addCostAndForwardInputIndex(WEIGHTING, CT_TRANSPOSITION, in processDicNodeAsTransposition()
401 Weighting::addCostAndForwardInputIndex(WEIGHTING, CT_COMPLETION, traverseSession, in weightChildNode()
404 Weighting::addCostAndForwardInputIndex(WEIGHTING, CT_MATCH, traverseSession, in weightChildNode()
434 Weighting::addCostAndForwardInputIndex(WEIGHTING, correctionType, traverseSession, dicNode, in createNextWordDicNode()
Dsuggest.h41 class Weighting; variable
80 const Weighting *const WEIGHTING;
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
Dtyping_suggest_policy.h30 class Weighting; variable
46 AK_FORCE_INLINE const Weighting *getWeighting() const { in getWeighting()
Dtyping_weighting.h35 class TypingWeighting : public Weighting {
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_node.h81 friend class Weighting; variable