/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
|
/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;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
ContactMatcher.java | 34 // Best possible match score 37 // Suggest to aggregate contacts if their match score is equal or greater than this threshold 40 // Automatically aggregate contacts if their match score is equal or greater than this threshold 43 // Automatically aggregate contacts if the match score is equal or greater than this threshold 47 // Score for missing data (as opposed to present data but a bad match) 50 // Score for matching phone numbers 53 // Score for matching email addresses 56 // Score for matching nickname 81 * "full name", the score may be 99. If we are looking for a "nickname" but 82 * find "first name", the score may be 50 (see specific scores define 222 int score = (mPrimaryScore > mSecondaryScore ? mPrimaryScore : mSecondaryScore); local 316 int score; local 376 MatchScore score = mScoreList.get(i); local 403 MatchScore score = mScoreList.get(i); local [all...] |
/packages/inputmethods/LatinIME/native/jni/src/ |
words_priority_queue.h | 37 void setParams(int score, int *word, int wordLength, int type) { 38 mScore = score; 59 void push(int score, int *word, int wordLength, int type) { 64 if (minScore >= score) { 71 sw = getFreeSuggestedWord(score, word, wordLength, type); 73 sw->setParams(score, word, wordLength, type); 80 AKLOGI("Push word. %d, %d", score, wordLength); 139 SuggestedWord *getFreeSuggestedWord(int score, int *word, int wordLength, int type) const { 142 mSuggestedWords[i].setParams(score, word, wordLength, type); 151 const int score = sw->mScore local [all...] |
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/ |
RagdollPreset.java | 40 int score = lexicon.get(key).getScore(boneName); local 41 if (score > resultScore) { 42 resultScore = score; 51 logger.log(Level.INFO, "Found matching joint for bone {0} : {1} with score {2}", new Object[]{boneName, resultName, resultScore}); 56 logger.log(Level.INFO, "Best match found is {0} with score {1}", new Object[]{resultName, resultScore}); 91 public void addSynonym(String word, int score) { 92 put(word.toLowerCase(), score); local 96 int score = 0; local 100 score += get(key); 103 return score; [all...] |
/frameworks/base/core/java/android/service/notification/ |
StatusBarNotification.java | 43 private final int score; field in class:StatusBarNotification 48 public StatusBarNotification(String pkg, int id, String tag, int uid, int initialPid, int score, 50 this(pkg, id, tag, uid, initialPid, score, notification, UserHandle.OWNER); 54 public StatusBarNotification(String pkg, int id, String tag, int uid, int initialPid, int score, 56 this(pkg, null, id, tag, uid, initialPid, score, notification, user); 61 int initialPid, int score, Notification notification, UserHandle user) { 62 this(pkg, basePkg, id, tag, uid, initialPid, score, notification, user, 67 int initialPid, int score, Notification notification, UserHandle user, 78 this.score = score; [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...] |
/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/keyguard/ |
KeyguardAccountView.java | 235 int score = 0; local 237 score = 4; 239 score = 3; 245 score = 2; 247 score = 1; 251 if (score > bestScore) { 253 bestScore = score; 254 } else if (score == bestScore) {
|
/frameworks/native/opengl/libs/ETC1/ |
etc1.cpp | 236 etc1_uint32 score; // Lower is more accurate member in struct:__anon20192 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...] |
/sdk/emulator/opengl/host/libs/Translator/GLcommon/ |
etc1.cpp | 236 etc1_uint32 score; // Lower is more accurate member in struct:__anon43496 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/harfbuzz_ng/util/ |
ansi-print.cc | 213 block_best (const biimage_t &bi, unsigned int *score, bool *inverse) 253 if (total < *score) { 254 *score = total; 259 if (total_i < *score) { 260 *score = total_i; 286 if (best_s < *score) { 290 *score = best_s; 318 if (best_s < *score) { 322 *score = best_s; 340 if (qs < *score) { [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)
|