Searched defs:cost (Results 1 – 10 of 10) sorted by relevance
| /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/ |
| D | typing_weighting.h | 42 float cost = 0.0f; in getTerminalSpatialCost() local 61 float cost = 0.0f; in getOmissionCost() local 87 float cost = isProximity ? (isFirstChar ? ScoringParams::FIRST_CHAR_PROXIMITY_COST in getMatchedCost() local 142 float cost = (singleChar ? ScoringParams::INSERTION_COST_FIRST_CHAR : 0.0f); in getInsertionCost() local 155 const float cost = ScoringParams::SPACE_OMISSION_COST; in getSpaceOmissionCost() local 173 const float cost = firstCompletion ? ScoringParams::COST_FIRST_COMPLETION in getCompletionCost() local 209 const float cost = ScoringParams::SPACE_SUBSTITUTION_COST * distanceToSpaceKey; in getSpaceSubstitutionCost() local
|
| /packages/modules/HealthFitness/framework/java/android/health/connect/ratelimiter/ |
| D | RateLimiter.java | 242 private void spendApiCallResourcesIfAvailable(int uid, List<Integer> quotaBuckets, int cost) { in spendApiCallResourcesIfAvailable() 253 int cost, in spendApiAndMemoryResourcesIfAvailable() 286 long cost) { in checkIfResourcesAreAvailable() 288 hasSufficientQuota(quotaBucketToAvailableQuotaMap.get(quotaBucket), cost, quotaBucket); in checkIfResourcesAreAvailable() local 302 long cost) { in spendAvailableResources() 310 int uid, @QuotaBucket.Type int quotaBucket, float availableQuota, long cost) { in spendResources() 332 float availableQuota, long cost, @QuotaBucket.Type int quotaBucket) { in hasSufficientQuota()
|
| /packages/modules/Profiling/service/java/com/android/os/profiling/ |
| D | RateLimiter.java | 196 final int cost = getCostForProfiling(profilingType, isTriggered); in isProfilingRequestAllowed() local 613 public void add(final int uid, final int cost, final long timestamp) { in add() 669 @RateLimitResult int isProfilingAllowed(final int uid, final int cost, in isProfilingAllowed() 724 CollectionEntry(final int uid, final int cost, final Long timestamp) { in CollectionEntry()
|
| /packages/modules/Profiling/service/proto/android/os/ |
| D | ratelimiter.proto | 28 required int32 cost = 2; field
|
| /packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/ |
| D | dic_node_utils.cpp | 83 const float cost = static_cast<float>(MAX_PROBABILITY - wordAttributes.getProbability()) in getBigramNodeImprobability() local
|
| /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
| D | LevenshteinDistance.kt | 49 val cost = if (sourceToken?.prefixOf(targetToken) == true) 0 else 1 in calculate() constant
|
| /packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
| D | db_robust.h | 43 double cost; member
|
| D | db_rob_image_homography.cpp | 230 double lambda,cost,current_cost; in db_RobCamRotation_Polish() local 572 double lambda,cost,current_cost; in db_RobCamRotation_Polish_Generic() local
|
| D | db_image_homography.cpp | 181 double cost,best_cost; in db_StitchRotationCommonFocalLength_3Points() local
|
| /packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/ |
| D | StringUtils.java | 69 int i, j, cost; in getDistance() local
|