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

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/base/process/
memory_stubs.cc 15 bool AdjustOOMScore(ProcessId process, int score) {
  /cts/suite/cts/deviceTests/browserbench/assets/octane/
cts_report.js 21 * @param score resulting score
22 * @param isFinal true if this is the last / final score
24 function CtsReport(msg, score, isFinal)
28 "&score=" + score + "&message=" + msg, false);
  /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_org/components/history/core/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 low, thus we should generate a new thumbnail.
59 EXPECT_TRUE(score.ShouldConsiderUpdating());
62 score.boring_score = 0.0;
63 EXPECT_TRUE(score.ShouldConsiderUpdating());
66 score.good_clipping = true;
67 EXPECT_TRUE(score.ShouldConsiderUpdating());
70 score.at_top = true;
71 EXPECT_TRUE(score.ShouldConsiderUpdating())
    [all...]
thumbnail_score.cc 18 // Calculates a numeric score from traits about where a snapshot was
22 static int GetThumbnailType(const ThumbnailScore& score) {
24 if (!score.at_top)
26 if (!score.good_clipping)
28 if (!score.load_completed)
42 ThumbnailScore::ThumbnailScore(double score, bool clipping, bool top)
43 : boring_score(score),
51 ThumbnailScore::ThumbnailScore(double score,
55 : boring_score(score),
97 // is better." Then we can decrease the score by dividing by a fraction
    [all...]
thumbnail_score.h 20 ThumbnailScore(double score, bool clipping, bool top);
23 ThumbnailScore(double score, bool clipping, bool top, const base::Time& time);
32 // How "boring" a thumbnail is. The boring score is the 0,1 ranged
37 // The score should only be used for comparing two thumbnails taken from
39 // absolute score is not suitable for judging whether the thumbnail is
41 // succinct, so the boring score can be as high as 0.9, depending on the
85 // We consider a thumbnail interesting enough if the boring score is
102 // this score. For instance, we don't have to update a new thumbnail
  /external/chromium_org/sandbox/linux/suid/
process_util.h 19 // try to set the older oom_adj value instead, scaling the score to
22 bool AdjustOOMScore(pid_t process, int score);
process_util_linux.c 26 // flavors of OOM score.
32 bool AdjustOOMScore(pid_t process, int score) {
33 if (score < 0 || score > kMaxOomScore)
64 // [0, kMaxOldOomScore], so we scale the score. This may result in some
66 score = score * kMaxOldOomScore / kMaxOomScore;
71 char buf[11]; // 0 <= |score| <= kMaxOomScore; using log_10(2**32) + 1 size
72 snprintf(buf, sizeof(buf), "%d", score);
  /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
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/
FilePathScoreFunction.js 70 score: function(data, matchIndexes)
80 var score = this._score;
86 var skipCharScore = j === 0 ? 0 : score[i * m + j - 1];
87 var prevCharScore = i === 0 || j === 0 ? 0 : score[(i - 1) * m + j - 1];
92 score[i * m + j] = (prevCharScore + pickCharScore);
95 score[i * m + j] = skipCharScore;
101 return score[n * m - 1];
153 var score = 10;
155 score += 4;
157 score += 2
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
typing_scoring.h 48 float score = ScoringParams::TYPING_BASE_OUTPUT_SCORE - compoundDistance / maxDistance; local
50 score += ScoringParams::AUTOCORRECT_OUTPUT_THRESHOLD;
53 score += ScoringParams::EXACT_MATCH_PROMOTION;
55 score -= ScoringParams::CASE_ERROR_PENALTY_FOR_EXACT_MATCH;
58 score -= ScoringParams::ACCENT_ERROR_PENALTY_FOR_EXACT_MATCH;
61 score -= ScoringParams::DIGRAPH_PENALTY_FOR_EXACT_MATCH;
64 return static_cast<int>(score * SUGGEST_INTERFACE_OUTPUT_SCALE);
  /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/chromium_org/content/public/browser/
zygote_host_linux.h 33 // Adjust the OOM score of the given renderer's PID. The allowed
34 // range for the score is [0, 1000], where higher values are more
37 int score) = 0;
  /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...]
  /external/chromium_org/chrome/browser/thumbnails/
thumbnailing_context.cc 17 score.at_top =
19 score.load_completed = !web_contents->IsLoading() && !load_interrupted;
  /external/chromium_org/components/favicon_base/
select_favicon_frames.h 19 // Score which is smaller than the minimum score returned by
30 // If score is non-NULL, it receives a score between 0 (bad) and 1 (good)
33 // The score is arbitrary, but it's best for exact size matches,
44 float* score);
49 // |desired_sizes|, the index of the largest size is returned. If |score| is
50 // non-NULL, |score| is set to a value between 0 (bad) and 1 (good) that
52 // produce the ImageSkia. The score is arbitrary, but it's best for exact
61 float* score);
    [all...]
  /frameworks/base/core/java/android/net/
NetworkFactory.java 36 * can be filtered 3 ways: by NetworkCapabilities, by score and more complexly by
38 * or score forces re-evaluation of all current requests.
63 * msg.arg1 = score - the score of the any network currently satisfying this
65 * exceed this score it should not try to connect, holding the request
68 * or higher) score for this request, transmitted to each
70 * with the same NetworkRequest but an updated score.
72 * allowing for a better score in the future.
83 * Internally used to set our best-guess score.
84 * msg.arg1 = new score
155 public int score; field in class:NetworkFactory.NetworkRequestInfo
    [all...]
  /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...]
  /frameworks/base/core/java/android/hardware/camera2/params/
Face.java 72 * @param score Confidence level between {@value #SCORE_MIN}-{@value #SCORE_MAX}.
88 public Face(Rect bounds, int score, int id,
91 if (score < SCORE_MIN || score > SCORE_MAX) {
103 mScore = score;
123 * @param score Confidence level between {@value #SCORE_MIN}-{@value #SCORE_MAX}.
132 public Face(Rect bounds, int score) {
133 this(bounds, score, ID_UNSUPPORTED,
249 return String.format("{ bounds: %s, score: %s, id: %d, " +
  /frameworks/base/services/core/java/com/android/server/connectivity/
NetworkAgentInfo.java 51 // This represents the last score received from the NetworkAgent.
56 // Score for explicitly connected network.
67 LinkProperties lp, NetworkCapabilities nc, int score, Context context, Handler handler,
75 currentScore = score;
90 // Get the current score for this Network. This may be modified from what the
93 // TODO: We may want to refactor this into a NetworkScore class that takes a base score from
95 // score. The NetworkScore class would provide a nice place to centralize score constants
98 int score = currentScore; local
100 if (!validated) score -= UNVALIDATED_SCORE_PENALTY
    [all...]
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
ImageGoodnessFilter.java 16 // Takes sharpness score, rates the image good if above 10, bad otherwise
88 .addOutputPort("score", Signature.PORT_OPTIONAL, floatT)
138 float score = 0.0f; local
139 score = computePictureScore(vectorAccel, sharpness, underExposure, overExposure,
141 if (scoreMean == 0) scoreMean = score;
142 else scoreMean = scoreMean * (1 - DECAY) + score * DECAY;
148 colorfulness, contrastRating, score);
156 if (score >= GREAT_SCORE) {
158 } else if (score >= GOOD_SCORE) {
160 } else if (score >= OK_SCORE)
229 float score = 0.0f; local
    [all...]
  /external/chromium_org/chrome/browser/history/
top_sites.h 53 const ThumbnailScore& score) = 0;
60 const ThumbnailScore& score) = 0;
86 // Get a thumbnail score for a given page. Returns true iff we have the
87 // thumbnail score. This may be invoked on any thread. The score will
88 // be copied to |score|.
90 ThumbnailScore* score) = 0;
92 // Get a temporary thumbnail score for a given page. Returns true iff we
93 // have the thumbnail score. Useful when checking if we should update a
94 // thumbnail for a given page. The score will be copied to |score|
    [all...]

Completed in 1744 milliseconds

1 2 3 4 5 6 7 8 91011>>