Lines Matching refs:highest
111 int highest = 0; in detectAndConvert() local
144 ucma, matches, &goodmatch, &highest); in detectAndConvert()
146 ALOGV("goodmatch: %s, highest: %d", goodmatch ? "true" : "false", highest); in detectAndConvert()
147 if (!goodmatch && (highest < 15 || strlen(buf) < 20)) { in detectAndConvert()
172 ucma, matches, &goodmatch, &highest); in detectAndConvert()
173 if (!goodmatch && highest <= 15) { in detectAndConvert()
182 if (mLocaleEnc != NULL && !goodmatch && highest < 50) { in detectAndConvert()
209 if (!goodmatch && highest < 0) { in detectAndConvert()
219 if (goodmatchSingle || highestSingle > highest) in detectAndConvert()
452 int highest = newconfidence[0]; in getPreferred() local
458 if (newconfidence[i] > highest) { in getPreferred()
459 runnerup = highest; in getPreferred()
461 highest = newconfidence[i]; in getPreferred()
470 ucsdet_getName(matches[highestidx], &status), highest); in getPreferred()
473 if (highest > 15) { in getPreferred()
482 if ((highest - runnerup) > 15) { in getPreferred()
486 *highestmatch = highest; in getPreferred()