/external/icu/icu4c/source/i18n/ |
csmatch.h | 22 * Any confidence > 0 indicates a possible match, meaning that the input bytes 35 int32_t confidence; member in class:CharsetMatch
|
csrutf8.cpp | 34 int32_t confidence; local 84 // Cook up some sort of confidence score, based on presence of a BOM 86 confidence = 0; 88 confidence = 100; 90 confidence = 80; 92 confidence = 100; 94 confidence = 80; 96 // Plain ASCII. Confidence must be > 10, it's more likely than UTF-16, which 97 // accepts ASCII with confidence = 10. 98 confidence = 15 [all...] |
csr2022.cpp | 149 int32_t confidence = match_2022(textIn->fInputBytes, local 153 results->set(textIn, this, confidence); 154 return (confidence > 0); 165 int32_t confidence = match_2022(textIn->fInputBytes, local 169 results->set(textIn, this, confidence); 170 return (confidence > 0); 180 int32_t confidence = match_2022(textIn->fInputBytes, local 184 results->set(textIn, this, confidence); 185 return (confidence > 0);
|
csrucode.cpp | 32 // UTF-16 confidence calculation. Very simple minded, but better than nothing. 33 // Any 8 bit non-control characters bump the confidence up. These have a zero high byte, 38 static int32_t adjustConfidence(UChar codeUnit, int32_t confidence) { 40 confidence -= 10; 42 confidence += 10; 44 if (confidence < 0) { 45 confidence = 0; 46 } else if (confidence > 100) { 47 confidence = 100; 49 return confidence; 56 int32_t confidence = 10; local 91 int32_t confidence = 10; local 128 int32_t confidence = 0; local [all...] |
csrmbcs.cpp | 153 int32_t confidence = 0; local 179 return confidence; 187 // We don't have enough data to have any confidence. 189 confidence = 0; 194 confidence = 10; 197 return confidence; 205 confidence = 0; 207 return confidence; 212 // Assess confidence purely on having a reasonable number of 214 confidence = 30 + doubleByteCharCount - 20*badCharCount 272 int32_t confidence = match_mbcs(det, commonChars_sjis, ARRAY_SIZE(commonChars_sjis)); local 373 int32_t confidence = match_mbcs(det, commonChars_euc_jp, ARRAY_SIZE(commonChars_euc_jp)); local 395 int32_t confidence = match_mbcs(det, commonChars_euc_kr, ARRAY_SIZE(commonChars_euc_kr)); local 447 int32_t confidence = match_mbcs(det, commonChars_big5, ARRAY_SIZE(commonChars_big5)); local 523 int32_t confidence = match_mbcs(det, commonChars_gb_18030, ARRAY_SIZE(commonChars_gb_18030)); local [all...] |
/external/icu/icu4c/source/samples/csdet/ |
csdet.c | 59 int32_t confidence = ucsdet_getConfidence(csm[match], &status); local 65 printf("%s (%s) %d\n", name, lang, confidence);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
CharsetRecog_UTF8.java | 28 int confidence; local 72 // Cook up some sort of confidence score, based on presense of a BOM 74 confidence = 0; 76 confidence = 100; 78 confidence = 80; 80 confidence = 100; 82 confidence = 80; 84 // Plain ASCII. Confidence must be > 10, it's more likely than UTF-16, which 85 // accepts ASCII with confidence = 10. 87 confidence = 15; [all...] |
CharsetRecog_2022.java | 119 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences); local 120 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); 134 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences); local 135 return confidence == 0 ? null : new CharsetMatch(det, this, confidence); 159 int confidence = match(det.fInputBytes, det.fInputLen, escapeSequences); local 160 return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
|
CharsetRecog_Unicode.java | 31 // UTF-16 confidence calculation. Very simple minded, but better than nothing. 32 // Any 8 bit non-control characters bump the confidence up. These have a zero high byte, 36 static int adjustConfidence(int codeUnit, int confidence) { 38 confidence -= 10; 40 confidence += 10; 42 if (confidence < 0) { 43 confidence = 0; 44 } else if (confidence > 100) { 45 confidence = 100; 47 return confidence; 60 int confidence = 10; local 94 int confidence = 10; local 131 int confidence = 0; local [all...] |
CharsetRecog_mbcs.java | 41 * bits 0-7: the match confidence, ranging from 0-100 52 int confidence = 0; local 85 // We don't have enough data to have any confidence. 87 confidence = 0; 92 confidence = 10; 103 confidence = 0; 109 // Assess confidence purely on having a reasonable number of 111 confidence = 30 + doubleByteCharCount - 20*badCharCount; 112 if (confidence > 100) { 113 confidence = 100 225 int confidence = match(det, commonChars); local 291 int confidence = match(det, commonChars); local 402 int confidence = match(det, commonChars); local 437 int confidence = match(det, commonChars); local 535 int confidence = match(det, commonChars); local [all...] |
/frameworks/av/media/libstagefright/ |
MediaExtractor.cpp | 60 float confidence; local 61 if (!source->sniff(&tmp, &confidence, &meta)) { 68 ALOGV("Autodetected media content as '%s' with confidence %.2f", 69 mime, confidence);
|
AACExtractor.cpp | 144 float confidence; local 147 if (!SniffAAC(mDataSource, &mimeType, &confidence, &meta)) { 335 const sp<DataSource> &source, String8 *mimeType, float *confidence, 375 *confidence = 0.2;
|
AMRExtractor.cpp | 121 float confidence; local 122 if (!SniffAMR(mDataSource, &mimeType, &confidence, NULL)) { 330 const sp<DataSource> &source, String8 *mimeType, float *confidence, 340 *confidence = 0.5; 345 *confidence = 0.5;
|
NuMediaExtractor.cpp | 80 float confidence; local 82 bool success = SniffWVM(dataSource, &mimeType, &confidence, &dummy);
|
/hardware/qcom/msm8x84/kernel-headers/media/ |
msm_fd.h | 41 __u32 confidence; member in struct:msm_fd_face_data
|
/frameworks/av/media/libmediaplayerservice/ |
MediaPlayerFactory.cpp | 190 float confidence; local 191 if (SniffWVM(source, &mimeType, &confidence, NULL /* format */)) {
|
/frameworks/base/media/java/android/media/ |
FaceDetector.java | 36 /** The minimum confidence factor of good face recognition */ 46 * Returns a confidence factor between 0 and 1. This indicates how 47 * certain what has been found is actually a face. A confidence 50 public float confidence() { method in class:FaceDetector.Face
|
/hardware/qcom/msm8x84/original-kernel-headers/media/ |
msm_fd.h | 44 * @confidence: Face confidence level. 51 __u32 confidence; member in struct:msm_fd_face_data
|
/external/deqp/modules/glshared/ |
glsCalibration.hpp | 61 float confidence; member in struct:deqp::gls::LineParametersWithConfidence 65 // Confidence interval is given as the range that contains the given fraction of all slopes/offsets
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
ScenarioStatusTable.java | 148 int confidence = Utils.confidenceLevel(deviation); local 151 String image = Utils.getImage(confidence, hasFailure, comment != null); 153 if (!hasFailure|| (confidence & Utils.NAN) != 0 || failure.length() == 0){
|
/external/neven/ |
FaceDetector_jni.cpp | 41 float confidence; member in struct:FaceData 49 jfieldID confidence; member in struct:FaceOffsets 81 fdata->confidence = (float)btk_DCR_confidence(hdcr) / (1 << 24); 105 gFaceOffsets.confidence = _env->GetFieldID(faceClass, "mConfidence", "F"); 261 _env->SetFloatField(face, gFaceOffsets.confidence, faceData.confidence);
|
/frameworks/av/media/libmedia/ |
CharacterEncodingDetector.cpp | 112 // since 'buf' is empty, ICU would return a UTF-8 matcher with low confidence, so 129 // the ISO detector reports a confidence of 0, while the GB18030 detector reports 130 // a confidence of 10 with no invalid characters) 197 ALOGV("@@@@ recognized charset: %s for %s confidence %d", 273 * - recalculate the starting confidence level for multibyte encodings using a different 277 * - signal to the caller whether this match is considered good: confidence > 15, and confidence 292 int confidence = ucsdet_getConfidence(ucma[i], &status); local 293 ALOGV("%zu: %s %d", i, encname, confidence); 302 int confidence = ucsdet_getConfidence(matches[0], &status) local 319 int confidence = ucsdet_getConfidence(matches[i], &status); local [all...] |
/frameworks/base/core/java/android/view/ |
VelocityTracker.java | 251 * Confidence (coefficient of determination), between 0 (no fit) and 1 (perfect fit). 253 public float confidence; field in class:VelocityTracker.Estimator
|
/frameworks/base/core/jni/ |
android_view_VelocityTracker.cpp | 40 jfieldID confidence; member in struct:android::__anon22588 211 env->SetFloatField(outEstimatorObj, gEstimatorClassInfo.confidence, estimator.confidence); 255 gEstimatorClassInfo.confidence = GetFieldIDOrDie(env, clazz, "confidence", "F");
|
/frameworks/native/include/input/ |
VelocityTracker.h | 50 // Confidence (coefficient of determination), between 0 (no fit) and 1 (perfect fit). 51 float confidence; member in struct:android::VelocityTracker::Estimator 56 confidence = 0;
|