/frameworks/base/core/java/android/gesture/ |
Prediction.java | 22 public double score; field in class:Prediction 26 score = predictionScore;
|
InstanceLearner.java | 31 double score1 = object1.score; 32 double score2 = object2.score; 66 Double score = label2score.get(sample.label); local 67 if (score == null || weight > score) { 74 double score = label2score.get(name); local 75 // sum += score; 76 predictions.add(new Prediction(name, score)); 81 // prediction.score /= sum;
|
/external/chromium/chrome/common/ |
thumbnail_score_unittest.cc | 49 // This one has a lot of redirects but a better score. It should still be 57 ThumbnailScore score; local 58 // By default, the score is 1.0, meaning very boring, thus we should 60 EXPECT_DOUBLE_EQ(1.0, score.boring_score); 61 EXPECT_TRUE(score.ShouldConsiderUpdating()); 64 score.boring_score = 0.0; 65 EXPECT_TRUE(score.ShouldConsiderUpdating()); 68 score.good_clipping = true; 69 EXPECT_TRUE(score.ShouldConsiderUpdating()); 72 score.at_top = true [all...] |
thumbnail_score.h | 21 ThumbnailScore(double score, bool clipping, bool top); 24 ThumbnailScore(double score, bool clipping, bool top, 34 // How "boring" a thumbnail is. The boring score is the 0,1 ranged 74 // We consider a thumbnail interesting enough if the boring score is 87 // this score. For instance, we don't have to update a new thumbnail
|
thumbnail_score.cc | 19 // Calculates a numeric score from traits about where a snapshot was 45 ThumbnailScore::ThumbnailScore(double score, bool clipping, bool top) 46 : boring_score(score), 53 ThumbnailScore::ThumbnailScore(double score, bool clipping, bool top, 55 : boring_score(score), 98 // is better." Then we can decrease the score by dividing by a fraction. 104 // Degrade the score of each thumbnail to account for how many redirects 112 // Degrade the score and prefer the newer one based on how long apart the
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactMatcher.java | 30 // Best possible match score 33 // Suggest to aggregate contacts if their match score is equal or greater than this threshold 36 // Automatically aggregate contacts if their match score is equal or greater than this threshold 39 // Automatically aggregate contacts if the match score is equal or greater than this threshold 43 // Score for missing data (as opposed to present data but a bad match) 46 // Score for matching phone numbers 49 // Score for matching email addresses 52 // Score for matching nickname 77 * "full name", the score may be 99. If we are looking for a "nickname" but 78 * find "first name", the score may be 50 (see specific scores define 218 int score = (mPrimaryScore > mSecondaryScore ? mPrimaryScore : mSecondaryScore); local 304 int score; local 364 MatchScore score = mScoreList.get(i); local 389 MatchScore score = mScoreList.get(i); local [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/patterns/ |
FunctionPattern.java | 55 * Static calc of match score. 107 XNumber score = SCORE_NONE; local 115 score = (n == context) ? SCORE_OTHER : SCORE_NONE; 117 if (score == SCORE_OTHER) 129 return score; 151 XNumber score = SCORE_NONE; local 159 score = (n == context) ? SCORE_OTHER : SCORE_NONE; 161 if (score == SCORE_OTHER) 172 return score; 194 XNumber score = SCORE_NONE local [all...] |
ContextMatchStepPattern.java | 90 XObject score = NodeTest.SCORE_NONE; local 119 score = execute(xctxt); 121 if (score != NodeTest.SCORE_NONE) 123 //score = executePredicates( xctxt, prevStep, SCORE_OTHER, 126 return score; 128 score = NodeTest.SCORE_NONE; 147 score = execute(xctxt); 149 if (score != NodeTest.SCORE_NONE) 151 //score = executePredicates( xctxt, prevStep, SCORE_OTHER, 154 if (score != NodeTest.SCORE_NONE [all...] |
UnionPattern.java | 125 XObject score = m_patterns[i].execute(xctxt); local 127 if (score != NodeTest.SCORE_NONE) 130 bestScore = score; 131 else if (score.num() > bestScore.num()) 132 bestScore = score;
|
/external/mesa3d/src/glsl/ |
ir_function.cpp | 110 * exact match, the match score is zero. If the types don't match 112 * parameter, the match score is one. 114 int score; local 127 score = type_compare(param->type, actual->type); 131 score = type_compare(actual->type, param->type); 139 score = (type_compare(actual->type, param->type) == 0) ? 0 : -1; 146 if (score < 0) 149 total_score += score; 172 const int score = parameter_lists_match(& sig->parameters, local 175 if (score == 0 [all...] |
/frameworks/ex/variablespeed/jni/ |
sola_time_scaler.cc | 31 // Returns a cross-correlation score for the specified buffers. 36 int score = 0; local 39 // Increment the score if the sign bits match. 40 score += ((bit_cast<int32>(*buffer1++) ^ bit_cast<int32>(*buffer2++)) >= 0) 43 return score; 275 // find the best correlation score, working from the center out. 282 int score; local 284 score = analyzer_->Correlate(input_pointer, 287 if (score > best_score) { 288 best_score = score; [all...] |
/external/chromium/chrome/browser/history/ |
top_sites.h | 62 const ThumbnailScore& score); 82 // Get a thumbnail score for a given page. Returns true iff we have the 83 // thumbnail score. This may be invoked on any thread. The score will 84 // be copied to |score|. 85 virtual bool GetPageThumbnailScore(const GURL& url, ThumbnailScore* score); 87 // Get a temporary thumbnail score for a given page. Returns true iff we 88 // have the thumbnail score. Useful when checking if we should update a 89 // thumbnail for a given page. The score will be copied to |score| [all...] |
top_sites_cache.cc | 29 const ThumbnailScore& score) { 32 img.thumbnail_score = score; 51 ThumbnailScore* score) { 55 *score = found->second.thumbnail_score;
|
top_sites_cache.h | 37 const ThumbnailScore& score); 48 // Fetches the thumbnail score for the specified url. Returns true if 49 // there is a thumbnail score for the specified url. 50 bool GetPageThumbnailScore(const GURL& url, ThumbnailScore* score);
|
top_sites_database.cc | 177 const ThumbnailScore& score = thumbnail.thumbnail_score; local 178 statement.BindDouble(3, score.boring_score); 179 statement.BindBool(4, score.good_clipping); 180 statement.BindBool(5, score.at_top); 181 statement.BindInt64(6, score.time_at_snapshot.ToInternalValue()); 209 const ThumbnailScore& score = thumbnail.thumbnail_score; local 210 statement.BindDouble(5, score.boring_score); 211 statement.BindBool(6, score.good_clipping); 212 statement.BindBool(7, score.at_top); 213 statement.BindInt64(8, score.time_at_snapshot.ToInternalValue()) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
WhitelistDictionary.java | 56 final int score = Integer.valueOf(wordlist[i]); local 61 before.toLowerCase(), new Pair<Integer, String>(score, after)); 62 addWord(after, score); 67 Log.d(TAG, "The score of the word is invalid.");
|
Dictionary.java | 47 * the provided score. 51 * @param score the score of occurrence. This is normalized between 1 and 255, but 57 boolean addWord(char[] word, int wordOffset, int wordLength, int score, int dicTypeId,
|
/external/srec/srec/ca/ |
rec_resu.c | 43 int CA_FullResultScore(CA_Recog *hRecog, int *score, int do_incsil) 49 *score = cost;
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
AccountUnlockScreen.java | 242 int score = 0; local 244 score = 4; 246 score = 3; 252 score = 2; 254 score = 1; 258 if (score > bestScore) { 260 bestScore = score; 261 } else if (score == bestScore) {
|
/development/tools/emulator/opengl/host/libs/Translator/GLcommon/ |
etc1.cpp | 236 etc1_uint32 score; // Lower is more accurate member in struct:__anon1336 241 if (a->score > b->score) { 312 etc1_uint32 score = (etc1_uint32) (6 * square(decodedG - pixelG)); local 313 if (score >= bestScore) { 317 score += (etc1_uint32) (3 * square(decodedR - pixelR)); 318 if (score >= bestScore) { 322 score += (etc1_uint32) square(decodedB - pixelB); 323 if (score < bestScore) { 324 bestScore = score; 338 int score = pCompressed->score; local [all...] |
/frameworks/base/opengl/libs/ETC1/ |
etc1.cpp | 236 etc1_uint32 score; // Lower is more accurate member in struct:__anon15476 241 if (a->score > b->score) { 312 etc1_uint32 score = (etc1_uint32) (6 * square(decodedG - pixelG)); local 313 if (score >= bestScore) { 317 score += (etc1_uint32) (3 * square(decodedR - pixelR)); 318 if (score >= bestScore) { 322 score += (etc1_uint32) square(decodedB - pixelB); 323 if (score < bestScore) { 324 bestScore = score; 338 int score = pCompressed->score; local [all...] |
/external/chromium/chrome/browser/autocomplete/ |
history_contents_provider.h | 45 int score);
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
TemplateSubPatternAssociation.java | 155 double score = m_stepPattern.getMatchScore(xctxt, targetNode); local 157 return (XPath.MATCH_SCORE_NONE != score) 242 * @param mp The next association to score if this one fails.
|
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
KeyIterator.java | 129 double score = matchExpr.getMatchScore(xctxt, testNode); local 131 if (score == kd.getMatch().MATCH_SCORE_NONE)
|
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
UnionChildIterator.java | 122 XObject score = pnt.execute(xctxt, n); local 123 if (score != NodeTest.SCORE_NONE)
|