Home
last modified time | relevance | path

Searched refs:MAX_LEVEL (Results 1 – 5 of 5) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dforgetting_curve_utils.cpp32 const int ForgettingCurveUtils::MAX_LEVEL = 15; member in latinime::ForgettingCurveUtils
71 if (originalHistoricalInfo->getLevel() >= MAX_LEVEL) { in createUpdatedHistoricalInfo()
163 return std::min(std::max(level, MIN_VISIBLE_LEVEL), MAX_LEVEL); in clampToVisibleEntryLevelRange()
172 return std::min(std::max(level, 0), MAX_LEVEL); in clampToValidLevelRange()
193 mTables[tableId].resize(MAX_LEVEL + 1); in ProbabilityTable()
194 for (int level = 0; level <= MAX_LEVEL; ++level) { in ProbabilityTable()
219 return static_cast<float>(WEAK_MAX_PROBABILITY / (1 << (MAX_LEVEL - level))); in getBaseProbabilityForLevel()
Dforgetting_curve_utils.h93 static const int MAX_LEVEL; variable
/packages/modules/Permission/PermissionController/src/android/support/wearable/view/
DProgressDrawable.java57 private static final int MAX_LEVEL = 10000; field in ProgressDrawable
62 private static final int LEVELS_PER_SEGMENT = MAX_LEVEL / NUMBER_OF_SEGMENTS;
82 mAnimator = ObjectAnimator.ofInt(this, LEVEL, 0, MAX_LEVEL); in ProgressDrawable()
136 level * (1.0f / MAX_LEVEL) * 2 * FULL_CIRCLE + STARTING_ANGLE + correctionAngle, in draw()
/packages/modules/GeoTZ/data_pipeline/src/main/java/com/android/timezone/location/data_pipeline/steps/
DTzS2PolygonsToTzS2CellUnions.java73 if (maxS2Level < 1 || maxS2Level > S2CellId.MAX_LEVEL) { in TzS2PolygonsToTzS2CellUnions()
DTzS2CellUnionsToTzS2Ranges.java71 if (s2Level < 1 || s2Level > S2CellId.MAX_LEVEL) { in TzS2CellUnionsToTzS2Ranges()