HomeSort by relevance Sort by last modified time
    Searched refs:score (Results 1 - 25 of 404) 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;
  /cts/suite/cts/utils/
grapher.py 54 score = r.get('result', 'no results')
57 if score == 'pass':
60 # Get the score, then trim it to 2 decimal places
61 score = r['summary']['Average Frames Per Second']
62 score = score[0:score.index('.') + 3]
63 if score != 'no results':
67 lbl = name + ' (%s)'%score
  /hardware/bsp/intel/peripheral/libupm/src/zfm20/
javaupm_zfm20.i 8 %apply uint16_t *OUTPUT { uint16_t *id, uint16_t *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);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
MatchScore.java 19 * Captures the max score and match count for a specific raw contact or contact.
24 // Best possible match score
78 public void updatePrimaryScore(int score) {
79 if (score > mPrimaryScore) {
80 mPrimaryScore = score;
85 public void updateSecondaryScore(int score) {
86 if (score > mSecondaryScore) {
87 mSecondaryScore = score;
109 int score = (mPrimaryScore > mSecondaryScore ? mPrimaryScore : mSecondaryScore); local
111 // Ensure that of two contacts with the same match score the one with more matchin
    [all...]
RawContactMatcher.java 33 // Suggest to aggregate contacts if their match score is equal or greater than this threshold
38 // Automatically aggregate contacts if their match score is equal or greater than this threshold
41 // Automatically aggregate contacts if the match score is equal or greater than this threshold
45 // Score for matching phone numbers
48 // Score for matching email addresses
51 // Score for matching identity
54 // Score for matching nickname
79 * "full name", the score may be 99. If we are looking for a "nickname" but
80 * find "first name", the score may be 50 (see specific scores defined
84 * similar the two strings are, the score will be somewhere between 40 and 70, with the exac
226 int score; local
290 MatchScore score = mScoreList.get(i); local
312 MatchScore score = mScoreList.get(i); local
    [all...]
ContactMatcher.java 34 // Suggest to aggregate contacts if their match score is equal or greater than this threshold
37 // Automatically aggregate contacts if their match score is equal or greater than this threshold
40 // Automatically aggregate contacts if the match score is equal or greater than this threshold
44 // Score for missing data (as opposed to present data but a bad match)
47 // Score for matching phone numbers
50 // Score for matching email addresses
53 // Score for matching nickname
75 * "full name", the score may be 99. If we are looking for a "nickname" but
76 * find "first name", the score may be 50 (see specific scores defined
80 * similar the two strings are, the score will be somewhere between 40 and 70, with the exac
228 int score; local
288 MatchScore score = mScoreList.get(i); local
315 MatchScore score = mScoreList.get(i); local
    [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...]
  /external/autotest/client/site_tests/platform_GesturesRegressionTest/
platform_GesturesRegressionTest.py 23 library and regression tests, and their score changes accordingly.
54 score = value['score']
55 not_integer = isinstance(score, bool) or not isinstance(score, int)
56 if not_integer and not isinstance(score, float):
57 score = 0.0
58 self.test_results[key.replace('/', '-')] = score
59 self.output_perf_value(key.replace('/', '-'), score, 'points')
  /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...]
  /external/libchrome/sandbox/linux/suid/
process_util.h 20 // try to set the older oom_adj value instead, scaling the score to
23 bool AdjustOOMScore(pid_t process, int score);
process_util_linux.c 27 // flavors of OOM score.
33 bool AdjustOOMScore(pid_t process, int score) {
34 if (score < 0 || score > kMaxOomScore)
65 // [0, kMaxOldOomScore], so we scale the score. This may result in some
67 score = score * kMaxOldOomScore / kMaxOomScore;
72 char buf[11]; // 0 <= |score| <= kMaxOomScore; using log_10(2**32) + 1 size
73 snprintf(buf, sizeof(buf), "%d", score);
  /packages/inputmethods/LatinIME/native/jni/src/utils/
autocorrection_threshold_utils.h 27 const int *after, const int afterLength, const int score);
autocorrection_threshold_utils.cpp 46 // score = (int)((original score) * SUGGEST_INTERFACE_OUTPUT_SCALE)
47 // Undo the scaling here to recover the original score.
48 // normalizedScore = ((float)score) / SUGGEST_INTERFACE_OUTPUT_SCALE
51 // original score
54 // * (individual word's score which defined in the unigram dictionary,
55 // and this score is defined in range [0, 255].)
61 // capitalization, then treat it as if the score was 255.
64 // So, maximum original score is powf(2, min(before.length(), after.length())) * 255 * 2 * 1.2
68 // So, we can normalize original score by dividing powf(2, min(b.l(),a.l())) * 255 * 2
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiScoreReport.java 32 // TODO: This score was hardcorded to 56. Need to understand why after finishing code refactor
65 * Method returning the String representation of the score report.
67 * @return String score report
74 * Method returning the bad link speed count at the time of the current score report.
83 * Calculate wifi network score based on updated link layer stats and return a new
86 * If the score has changed from the previous value, update the WifiNetworkAgent.
90 * @param networkAgent NetworkAgent to be notified of new score
91 * @param lastReport String most recent score report
93 * @return WifiScoreReport Wifi Score report
108 int score = STARTING_SCORE local
    [all...]
  /packages/apps/Camera2/src/com/android/camera/stats/
Camera2FaceProxy.java 30 public Camera2FaceProxy(Rect faceRect, int score) {
32 mScore = score;
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/score/
relax.exp 19 if [istarget score-*-*] then {
relax_32.exp 19 if [istarget score-*-*] then {
  /frameworks/av/media/libstagefright/
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;
  /frameworks/base/core/java/android/net/
NetworkFactory.java 38 * can be filtered 3 ways: by NetworkCapabilities, by score and more complexly by
40 * or score forces re-evaluation of all current requests.
65 * msg.arg1 = score - the score of the any network currently satisfying this
67 * exceed this score it should not try to connect, holding the request
70 * or higher) score for this request, transmitted to each
72 * with the same NetworkRequest but an updated score.
74 * allowing for a better score in the future.
85 * Internally used to set our best-guess score.
86 * msg.arg1 = new score
157 public int score; field in class:NetworkFactory.NetworkRequestInfo
    [all...]
  /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...]
  /frameworks/base/core/java/com/android/internal/inputmethod/
LocaleUtils.java 42 * Calculates a matching score for the single desired locale.
48 * @return A score based on the locale matching for the default subtype enabling.
76 * Calculates a matching score for the desired locale list.
78 * <p>The supported locale gets a matching score of 3 if all language, script and country of the
80 * score of 2 if the language and script of the supported locale matches with the desired
81 * locale. The supported locale gets a matching score of 1 if only language of the supported
82 * locale matches with the desired locale. The supported locale gets a matching score of 0 if
87 * @param out The output buffer to be stored the individual score for the desired language list.
119 @NonNull public final byte[] mScore; // matching score of the i-th system languages.
121 ScoreEntry(@NonNull byte[] score, int index)
    [all...]

Completed in 681 milliseconds

1 2 3 4 5 6 7 8 91011>>