Home
last modified time | relevance | path

Searched refs:newHistoricalInfo (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dforgetting_curve_utils.cpp48 const HistoricalInfo *const newHistoricalInfo, const HeaderPolicy *const headerPolicy) { in createUpdatedHistoricalInfo() argument
49 const int timestamp = newHistoricalInfo->getTimestamp(); in createUpdatedHistoricalInfo()
52 const int level = clampToVisibleEntryLevelRange(newHistoricalInfo->getLevel()); in createUpdatedHistoricalInfo()
53 const int count = clampToValidCountRange(newHistoricalInfo->getCount(), headerPolicy); in createUpdatedHistoricalInfo()
56 || originalHistoricalInfo->getLevel() < newHistoricalInfo->getLevel() in createUpdatedHistoricalInfo()
57 || (originalHistoricalInfo->getLevel() == newHistoricalInfo->getLevel() in createUpdatedHistoricalInfo()
58 && originalHistoricalInfo->getCount() < newHistoricalInfo->getCount())) { in createUpdatedHistoricalInfo()
60 int count = newHistoricalInfo->getCount(); in createUpdatedHistoricalInfo()
62 const int level = clampToValidLevelRange(newHistoricalInfo->getLevel() + 1); in createUpdatedHistoricalInfo()
65 const int level = clampToValidLevelRange(newHistoricalInfo->getLevel()); in createUpdatedHistoricalInfo()
Dforgetting_curve_utils.h34 const HistoricalInfo *const newHistoricalInfo, const HeaderPolicy *const headerPolicy);