/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/ |
H A D | typing_weighting.h | 42 float cost = 0.0f; local 44 cost += ScoringParams::HAS_MULTI_WORD_TERMINAL_COST; 47 cost += ScoringParams::HAS_PROXIMITY_TERMINAL_COST; 50 cost += ScoringParams::HAS_EDIT_CORRECTION_TERMINAL_COST; 52 return cost; 61 float cost = 0.0f; local 63 cost = 0.0f; 65 cost = ScoringParams::INTENTIONAL_OMISSION_COST; 67 cost = ScoringParams::OMISSION_COST_FIRST_CHAR; 69 cost 87 float cost = isProximity ? (isFirstChar ? ScoringParams::FIRST_CHAR_PROXIMITY_COST local 142 float cost = (singleChar ? ScoringParams::INSERTION_COST_FIRST_CHAR : 0.0f); local 172 const float cost = firstCompletion ? ScoringParams::COST_FIRST_COMPLETION local [all...] |
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
H A D | db_robust.h | 43 double cost; member in struct:db_stat_struct
|
H A D | db_image_homography.cpp | 181 double cost,best_cost; local 214 cost=db_SquaredReprojectionErrorHomography(y,hyp_point,x3); 216 if(!done || cost<best_cost) 219 best_cost=cost;
|
H A D | db_rob_image_homography.cpp | 97 stat->cost=db_RobImageHomography_Cost(H,point_count,x_i,xp_i,one_over_scale2); 104 stat->gric=stat->cost+stat->lambda1*stat->model_dimension*((double)stat->nr_points)+stat->lambda2*((double)stat->nr_parameters); 111 /*Compute min_Jtf and upper right of JtJ. Return cost.*/ 185 /*Add square-sum to cost*/ 192 /*Compute min_Jtf and upper right of JtJ. Return cost*/ 219 /*Add square-sum to cost*/ 230 double lambda,cost,current_cost; local 253 cost=db_RobImageHomography_Cost(H_p_dx,point_count,x_i,xp_i,one_over_scale2); 256 if(cost<current_cost) 259 if(current_cost-cost<current_cos 572 double lambda,cost,current_cost; local [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
H A D | db_robust.h | 43 double cost; member in struct:db_stat_struct
|
H A D | db_image_homography.cpp | 181 double cost,best_cost; local 214 cost=db_SquaredReprojectionErrorHomography(y,hyp_point,x3); 216 if(!done || cost<best_cost) 219 best_cost=cost;
|
H A D | db_rob_image_homography.cpp | 97 stat->cost=db_RobImageHomography_Cost(H,point_count,x_i,xp_i,one_over_scale2); 104 stat->gric=stat->cost+stat->lambda1*stat->model_dimension*((double)stat->nr_points)+stat->lambda2*((double)stat->nr_parameters); 111 /*Compute min_Jtf and upper right of JtJ. Return cost.*/ 185 /*Add square-sum to cost*/ 192 /*Compute min_Jtf and upper right of JtJ. Return cost*/ 219 /*Add square-sum to cost*/ 230 double lambda,cost,current_cost; local 253 cost=db_RobImageHomography_Cost(H_p_dx,point_count,x_i,xp_i,one_over_scale2); 256 if(cost<current_cost) 259 if(current_cost-cost<current_cos 572 double lambda,cost,current_cost; local [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/ |
H A D | dic_node_utils.cpp | 68 * Computes the combined bigram / unigram cost for the given dicNode. 79 const float cost = static_cast<float>(MAX_PROBABILITY - probability) local 81 return cost;
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
H A D | LevenshteinDistance.java | 75 int cost = sourceToken.prefixOf(targetToken) ? 0 : 1; 87 if (d + cost < distance) { 88 distance = d + cost; 89 type = cost == 0 ? EDIT_UNCHANGED : EDIT_REPLACE;
|
/packages/apps/ContactsCommon/libs/ |
H A D | libphonenumber-6.2.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/i18n/ com/google/i18n/phonenumbers/ ... |