HomeSort by relevance Sort by last modified time
    Searched defs:score (Results 1 - 25 of 297) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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;
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
RawContactMatchingCandidates.java 50 public void add(MatchScore score) {
51 mBestMatches.add(score);
53 mRawContactIds.add(score.getRawContactId());
56 mRawContactToAccount.put(score.getRawContactId(), score.getAccountId());
59 mRawContactToContact.put(score.getRawContactId(), score.getContactId());
  /external/compiler-rt/lib/asan/
asan_scariness_score.h 19 // redzone), etc. Every such feature has an int score and a string description.
20 // The overall score is the sum of all feature scores and the description
46 score += add_to_score;
48 int GetScore() const { return score; }
51 if (score && flags()->print_scariness)
52 Printf("SCARINESS: %d (%s)\n", score, descr);
54 static void PrintSimple(int score, const char *descr) {
56 SS.Scare(score, descr);
61 int score = 0; member in class:__asan::ScarinessScore
  /external/valgrind/coregrind/
pub_core_transtab.h 136 ULong score; member in struct:_SBProfEntry
  /frameworks/av/media/utils/
ProcessInfo.cpp 39 int32_t score = INVALID_ADJ; local
40 status_t err = service->getProcessStatesAndOomScoresFromPids(length, &pid, &state, &score);
45 ALOGV("pid %d state %d score %d", pid, state, score);
46 if (score <= NATIVE_ADJ) {
47 ALOGE("pid %d invalid OOM adjustments value %d", pid, score);
52 *priority = score;
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
typing_scoring.h 50 float score = ScoringParams::TYPING_BASE_OUTPUT_SCORE - compoundDistance / maxDistance; local
52 score += ScoringParams::AUTOCORRECT_OUTPUT_THRESHOLD;
71 // distracter), ONLY boost its score if it is a perfect match.
77 score += ScoringParams::PERFECT_MATCH_PROMOTION;
81 score += ScoringParams::EXACT_MATCH_PROMOTION;
83 score -= ScoringParams::CASE_ERROR_PENALTY_FOR_EXACT_MATCH;
86 score -= ScoringParams::ACCENT_ERROR_PENALTY_FOR_EXACT_MATCH;
89 score -= ScoringParams::DIGRAPH_PENALTY_FOR_EXACT_MATCH;
93 return static_cast<int>(score * SUGGEST_INTERFACE_OUTPUT_SCALE);
  /prebuilts/go/darwin-x86/doc/codewalk/
pig.go 13 win = 100 // The winning score in a game of Pig
17 // A score includes scores accumulated in previous turns for each player,
19 type score struct { type
23 // An action transitions stochastically to a resulting score.
24 type action func(current score) (result score, turnIsOver bool)
27 // If the roll value is 1, then thisTurn score is abandoned, and the players'
29 func roll(s score) (score, bool) {
32 return score{s.opponent, s.player, 0}, tru
    [all...]
  /prebuilts/go/linux-x86/doc/codewalk/
pig.go 13 win = 100 // The winning score in a game of Pig
17 // A score includes scores accumulated in previous turns for each player,
19 type score struct { type
23 // An action transitions stochastically to a resulting score.
24 type action func(current score) (result score, turnIsOver bool)
27 // If the roll value is 1, then thisTurn score is abandoned, and the players'
29 func roll(s score) (score, bool) {
32 return score{s.opponent, s.player, 0}, tru
    [all...]
  /external/apache-xml/src/main/java/org/apache/xpath/patterns/
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...]
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...]
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/webp/src/utils/
filters_utils.c 58 int score = 0; local
61 score += i;
64 if (score < best_score) {
65 best_score = 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)
MatchPatternIterator.java 304 XObject score = m_pattern.execute(xctxt); local
309 System.out.println("score: "+score);
310 System.out.println("skip: "+(score == NodeTest.SCORE_NONE));
313 // System.out.println("\n::acceptNode - score: "+score.num()+"::");
314 return (score == NodeTest.SCORE_NONE) ? DTMIterator.FILTER_SKIP
  /external/mesa3d/src/gallium/state_trackers/wgl/
stw_ext_pixelformat.c 329 /* Find out if a given attribute should be considered for score calculation.
341 * score points.
351 * the score is set to 0 points, effectively removing the pixelformat
359 * value, the pixelformat is rejected (score set to 0). However, if the actual
388 /* Allocate and initialize pixelformat score table -- better matches
389 * have higher scores. Start with a high score and take out penalty
391 * Set a score to 0 if there is a mismatch for an exact match criteria.
402 /* Given the attribute list calculate a score for each pixelformat.
434 struct stw_pixelformat_score score = scores[i - 1]; local
437 scores[i] = score;
    [all...]
  /frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
SurfaceCompositionTest.java 49 // Android devices. Andromeda devices require higher performance score.
80 CompositorScore score = getActivity().measureCompositionScore(pixelFormat); local
81 Log.i(TAG, "testSurfaceCompositionPerformance(" + formatName + ") = " + score);
83 "performance score. " + score.mSurfaces + " < " +
85 score.mSurfaces >= minScores[i]);
88 status.putDouble(KEY_SURFACE_COMPOSITION_PERFORMANCE, score.mSurfaces);
90 status.putDouble(KEY_SURFACE_COMPOSITION_BANDWITH, score.mBandwidth /
103 AllocationScore score = getActivity().measureAllocationScore(pixelFormat); local
104 Log.i(TAG, "testSurfaceAllocationPerformance(" + formatName + ") = " + score);
    [all...]
  /frameworks/support/compat/java/android/support/v4/graphics/
TypefaceCompatBaseImpl.java 82 final int score = (Math.abs(e.getWeight() - targetWeight) * 2) local
85 if (bestEntry == null || bestScore > score) {
87 bestScore = score;
  /packages/services/NetworkRecommendation/src/com/android/networkrecommendation/wakeup/
WifiWakeupNetworkSelector.java 95 int score = calculateScore(scanResult, wifiConfiguration); local
100 candidateScore = score;
117 int score = 0; local
118 // Calculate the RSSI score.
123 score += (rssi + mRssiScoreOffset) * mRssiScoreSlope;
127 score += mBand5GHzAward;
132 score += mPasspointSecurityAward;
134 score += mSecurityAward;
137 return score;
  /cts/tests/openglperf2/src/android/opengl2/cts/primitive/
GLPrimitiveBenchmark.java 136 double score = 0; local
138 score += d;
140 score /= numIterations;// Average.
145 report.setSummary("average_fps", score, ResultType.HIGHER_BETTER, ResultUnit.SCORE);
  /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/skia/src/core/
SkFontMgr.cpp 212 struct Score {
213 int score; member in struct:Score
215 Score& operator +=(int rhs) { this->score += rhs; return *this; }
216 Score& operator <<=(int rhs) { this->score <<= rhs; return *this; }
217 bool operator <(const Score& that) { return this->score < that.score; }
220 Score maxScore = { 0, 0 }
251 static const int score[3][3] = { local
    [all...]
  /frameworks/base/core/java/android/net/
ScoredNetwork.java 33 * A network identifier along with a score for the quality of that network.
67 * <p>The rankingScoreOffset is used when calculating the ranking score used to rank networks
79 * <p>This field is optional and may be set to null to indicate that no score is available for
81 * responded, are always prioritized below scored networks, regardless of the score.
111 * has opted not to score at this time. Passing a null value here is strongly preferred to
126 * has opted not to score at this time. Passing a null value here is strongly preferred to
143 * has opted not to score at this time. Passing a null value here is strongly preferred to
222 * Returns true if a ranking score can be calculated for this network.
233 * Returns a ranking score for a given RSSI which can be used to comparatively
236 * <p>The score obtained by the rssiCurve is bitshifted left by 8 bits to expand it to a
260 int score = (rssiCurve == null) ? 0 : rssiCurve.lookupScore(rssi) << Byte.SIZE; local
    [all...]

Completed in 474 milliseconds

1 2 3 4 5 6 7 8 91011>>