/hardware/bsp/intel/peripheral/libupm/src/zfm20/ |
zfm20.cxx | 545 uint8_t ZFM20::search(int slot, uint16_t *id, uint16_t *score) 548 *score = 0; 574 // if it was found, extract the location and the score 578 *score = ((rPkt[12] << 8) & 0xff) | (rPkt[13] & 0xff); 584 uint8_t ZFM20::match(uint16_t *score) 586 *score = 0; 599 *score = ((rPkt[10] << 8) & 0xff) | (rPkt[11] & 0xff);
|
zfm20.h | 347 * Searches the fingerprint DB and returns an ID and score, if found 352 * @param score Score if found, 0 otherwise 355 uint8_t search(int slot, uint16_t *id, uint16_t *score); 359 * returns a score if they match 361 * @param score Score 364 uint8_t match(uint16_t *score);
|
/external/mesa3d/src/gallium/drivers/nvc0/codegen/ |
nv50_ir_emit_nvc0.cpp | 1959 RegScores *score; \/\/ for current BB member in class:nv50_ir::SchedDataCalculator [all...] |
/external/skia/src/ports/ |
SkFontMgr_android.cpp | 244 int score = match_score(pattern, style); variable 245 if (score < minScore) { 247 minScore = score; 258 int score = 0; local 259 score += SkTAbs((pattern.width() - candidate.width()) * 100); 260 score += SkTAbs((pattern.isItalic() == candidate.isItalic()) ? 0 : 1000); 261 score += SkTAbs(pattern.weight() - candidate.weight()); 262 return score;
|
/frameworks/minikin/libs/minikin/ |
FontCollection.cpp | 153 // Calculates a font score. 154 // The score of the font family is based on three subscores. 155 // - Coverage Score: How well the font family covers the given character or variation sequence. 156 // - Language Score: How well the font family is appropriate for the language. 157 // - Variant Score: Whether the font family matches the variant. Note that this variant is not the 161 // Coverage Score > Language Score > Variant Score 162 // The returned score reflects this priority order. 182 // The highest 2 bits are for coverage score, then following 28 bits are for language score 259 uint32_t score = 0; local 309 const uint32_t score = calcFamilyScore(ch, vs, variant, langListId, family); local [all...] |
FontFamily.cpp | 112 int score = abs(style1.getWeight() - style2.getWeight()); local 114 score += 2; 116 return score;
|
/external/autotest/client/site_tests/firmware_TouchMTB/ |
validators.py | 90 score = vlog.score 91 if score is not None: 92 score_list.append(score) 96 msg_score = 'score: %f' % score 102 return score == 1.0 317 self.vlog.score = self.fc.mf.grade(avg) 502 self.vlog.score = self.fc.mf.grade(deviation) 664 # Calculate the score based on the max erro [all...] |
/external/freetype/src/autofit/ |
afwarp.c | 66 /* Score segments for a given `scale' and `delta' in the range */ 68 /* the new best score is equal to the old one, prefer the */ 128 /* score the length of the segments for the given range */ 133 /* find best score */ 140 AF_WarpScore score = scores[idx]; local 144 if ( score > warper->best_score || 145 ( score == warper->best_score && 148 warper->best_score = score;
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/autofit/ |
afwarp.c | 66 /* Score segments for a given `scale' and `delta' in the range */ 68 /* the new best score is equal to the old one, prefer the */ 128 /* score the length of the segments for the given range */ 133 /* find best score */ 140 AF_WarpScore score = scores[idx]; local 144 if ( score > warper->best_score || 145 ( score == warper->best_score && 148 warper->best_score = score;
|
/external/v8/benchmarks/ |
run.js | 52 function PrintScore(score) { 55 print('Score (version ' + BenchmarkSuite.version + '): ' + score);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocationClustering.java | 221 // The score we want to minimize is: 299 // step 5: calculate the final score 300 float score = totalDistance * (float) Math.sqrt(realK); local 302 if (score < bestScore) { 303 bestScore = score; 308 if (score == 0) {
|
/frameworks/base/core/java/android/service/notification/ |
StatusBarNotification.java | 50 int initialPid, int score, Notification notification, UserHandle user) { 51 this(pkg, opPkg, id, tag, uid, initialPid, score, notification, user, 77 int initialPid, int score, Notification notification, UserHandle user,
|
/frameworks/base/media/java/android/media/ |
SubtitleController.java | 239 int score = (forced ? 0 : 8) + local 251 if (score > bestScore) { 252 bestScore = score;
|
/packages/inputmethods/LatinIME/native/jni/src/ |
defines.h | 112 #define DUMP_SUGGESTION(words, frequencies, index, score) \ 113 do { dumpWordInfo(words, frequencies, index, score); } while (0) 167 #define DUMP_SUGGESTION(words, frequencies, index, score)
|
/hardware/ti/omap4xxx/hwc/ |
hwc.c | 799 static __u32 add_scaling_score(__u32 score, 810 score = (((score & ~1) | upscale) << 1) | (score & 1); 814 score = (score << 5) | (16 * area / ext_area); 816 score = (score << 5) | (16 * ext_area / area); 819 score = (score << 5) | ((16 * ext_area + (mode_area >> 1)) / mode_area) 869 __u32 score = 0; local [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/ |
XPath.java | 467 * Get the match score of the given node. 472 * @return score, one of {@link #MATCH_SCORE_NODETEST}, 487 XObject score = m_mainExp.execute(xctxt); local 492 System.out.println("score: " + score.num() + " for " 497 return score.num(); 613 * The match score if no match is made. 619 * The match score if the pattern has the form 626 * The match score if the pattern pattern has the form NCName:*. 632 * The match score if the pattern consists of just a NodeTest [all...] |
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/texturepacker/ |
MaxRectsPacker.java | 389 newNode.score1 = -newNode.score1; // Reverse since we are minimizing, but for contact point score bigger is better. 594 int score = 0; local 596 if (x == 0 || x + width == binWidth) score += height; 597 if (y == 0 || y + height == binHeight) score += width; 603 score += commonIntervalLength(rect.y, rect.y + rect.height, y, y + height); 605 score += commonIntervalLength(rect.x, rect.x + rect.width, x, x + width); 607 return score; 614 bestNode.score1 = -1; // best contact score 621 int score = contactPointScoreNode(free.x, free.y, width, height); local 622 if (score > bestNode.score1) 632 int score = contactPointScoreNode(free.x, free.y, rotatedWidth, rotatedHeight); local [all...] |
/cts/libs/deviceutil/src/android/cts/util/ |
MediaUtils.java | 89 int score = 0; local 94 ++score; 101 ++score; 105 if (score == 1) { 124 ++score; 128 ++score; 131 ++score; 136 if (score > bestScore) { 137 bestScore = score;
|
/external/ImageMagick/MagickCore/ |
type.c | 382 score; 468 score=0; 470 score+=32; 474 score+=25; 475 score+=(16*(800-((ssize_t) MagickMax(MagickMin(font_weight,900),p->weight)- 478 score+=8; 482 score+=(8*(range-((ssize_t) MagickMax(stretch,p->stretch)- 485 if (score > max_score) 487 max_score=score; 374 score; local [all...] |
/external/autotest/client/site_tests/power_Consumption/ |
power_Consumption.py | 251 Fire it up and wait until it displays "Score". 263 is_done = lambda: tab.EvaluateJavaScript(js).startswith('Score') 265 utils.poll_for_condition(is_done, timeout=60, desc='V8 score found') 269 # Write v8 score from the last run to log 270 score = tab.EvaluateJavaScript(js) 271 score = score.strip().split()[1] 272 logging.info('V8 Score: %s', score)
|
/system/core/adb/ |
usb_osx.cpp | 130 SInt32 score; local 144 &plugInInterface, &score); 184 score = 0; 189 &plugInInterface, &score);
|
/system/core/fastboot/ |
usb_osx.cpp | 93 SInt32 score; local 127 &score); 281 SInt32 score; local 290 &plugin, &score);
|
/build/tools/droiddoc/templates-pdk/assets/ |
search_autocomplete.js | 199 var score = 1.0; 206 score *= 200 / (partsAfter + 1); 212 score *= 20 / (partsAfter + 1); 216 return score;
|
/external/autotest/client/site_tests/graphics_GLBench/ |
graphics_GLBench.py | 206 score, unit = val.split() 207 testrating = float(score) 236 # Tests for which glbench does not generate a meaningful perf score. 237 f.write('# No score for test\n')
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/cloudsearchdomain/ |
layer1.py | 287 score. The `phraseSlop` option controls how much the matches can 311 document's field, a score is calculated for that field based on how 315 overall score. You can specify a `tieBreaker` value to enable the 317 score. That way, if two documents have the same max field score for 318 a particular term, the score for the document that has matches in 319 more fields will be higher. The formula for calculating the score 320 with a tieBreaker is `(max field score) + (tieBreaker) * (sum of 367 the relevance score calculated for each document, specify `_score`.
|