Searched refs:best (Results 1 - 12 of 12) sorted by relevance

/frameworks/compile/mclinker/lib/Support/
H A DTargetRegistry.cpp35 Target* best = NULL, * ambiguity = NULL; local
41 if (best == NULL || highest < quality) {
43 best = *target;
51 if (best == NULL) {
57 pError = std::string("Ambiguous targets: \"") + best->name() + "\" and \"" +
62 return best;
/frameworks/support/compat/src/main/java/androidx/core/graphics/
H A DTypefaceCompatBaseImpl.java55 T best = null;
62 if (best == null || bestScore > score) {
63 best = font;
67 return best;
140 FontFileResourceEntry best = findBestEntry(entry, style);
141 if (best == null) {
145 context, resources, best.getResourceId(), best.getFileName(), style);
/frameworks/minikin/libs/minikin/
H A DMeasurement.cpp101 size_t best = searchStart; local
111 best = i;
118 return best;
H A DOptimalLineBreaker.cpp280 float score; // best score found for this break
350 float best = SCORE_INFTY; local
372 if (jScore + bestHope >= best) continue;
406 if (score <= best) {
407 best = score;
411 breaksData.push_back({best + candidates[i].penalty + context.linePenalty, // score
/frameworks/base/core/java/com/android/internal/colorextraction/types/
H A DTonal.java122 // Decide what's the best color to use.
148 // palette and finds a best fit amongst a collection of pre-defined
149 // palettes. The best fit is tweaked to be closer to the source color
169 Log.w(TAG, "Could not find best fit!");
362 TonalPalette best = null;
370 best = candidate;
375 best = candidate;
380 best = candidate;
385 best = candidate;
388 best
[all...]
/frameworks/base/core/java/android/text/util/
H A DRfc822Tokenizer.java216 int best = 0;
230 best = i;
235 return best;
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp1088 // point committed to (best) and the smallest point in which a commit
1093 // search. The upper value is only used when best is already equal
1102 Rational best(0, 1), minBad; // Current bounds for a binary search
1118 // Halve the difference between best and minBad.
1125 double mid = (double) best
1126 + ((double) minBad - (double) best) / 2.0;
1131 if (((lower == best) && (upper == minBad))) {
1132 return best;
1136 selected = (lower != best) ? lower : upper;
1157 // This is the best scal
[all...]
/frameworks/native/libs/binder/tests/
H A DbinderThroughputTest.cpp144 double best = (double)m_best / 1.0E6; local
147 cout << "average:" << average << "ms worst:" << worst << "ms best:" << best << "ms" << endl;
H A Dschd-dbg.cpp245 double best = (double)m_best / 1.0E6; local
252 << ",\"bst\":" << setw(W) << left << best << ",\"miss\":" << left
/frameworks/base/core/java/android/text/
H A DLayout.java1488 int best = lineStartOffset;
1531 best = low;
1540 best = here;
1547 best = max;
1551 return best;
/frameworks/rs/script_api/
H A Drs_for_each.spec79 versions, it will also be used to provide hint on how to best iterate over
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java3564 ResolveInfo best = null;
3574 if (best == null || cur.priority > best.priority) {
3575 best = cur;
3579 if (best != null) {
3580 return best.getComponentInfo().getComponentName();
6341 if (DEBUG_PREFERRED || debug) Slog.v(TAG, "Figuring out best match...");
6895 * Verification statuses are ordered from the worse to the best, except for
15994 // Ignored; we tried our best
[all...]

Completed in 289 milliseconds