/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
ContactMatcher.java | 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 88 * between the strings is below the threshold. 320 float threshold = emailBased local 323 if (distance > threshold) { 372 public List<Long> prepareSecondaryMatchCandidates(int threshold) { 382 if (s >= threshold) { 394 * Returns the contactId with the best match score over the specified threshold or -1 399 public long pickBestMatch(int threshold, boolean allowMultipleMatches) [all...] |
/external/chromium_org/content/test/data/media/ |
webrtc_test_audio.js | 47 var threshold = MAX_AUDIO_OUTPUT_ENERGY * 0.7; 49 threshold = MAX_AUDIO_OUTPUT_ENERGY * 0.6; 52 // Detect when we have been been over the threshold and is going back again 55 if (currentlyOverThreshold && samples[i] < threshold) 57 currentlyOverThreshold = samples[i] >= threshold;
|
/external/chromium_org/chrome/browser/history/ |
history_database.cc | 268 int64 threshold; 269 if (!meta_table_.GetValue(kEarlyExpirationThresholdKey, &threshold)) { 272 threshold = 1L; 275 cached_early_expiration_threshold_ = base::Time::FromInternalValue(threshold); 279 void HistoryDatabase::UpdateEarlyExpirationThreshold(base::Time threshold) { 281 threshold.ToInternalValue()); 282 cached_early_expiration_threshold_ = threshold;
|
/external/deqp/modules/gles3/functional/ |
es3fShaderFragDataTests.cpp | 64 static bool compareSingleColor (tcu::TestLog& log, const tcu::Surface& surface, tcu::RGBA expectedColor, tcu::RGBA threshold) 69 log << TestLog::Message << "Expecting " << expectedColor << " with threshold " << threshold << TestLog::EndMessage; 76 const bool isOk = compareThreshold(resultColor, expectedColor, threshold); 201 const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); local 207 isOk = compareSingleColor(m_testCtx.getLog(), result, tcu::RGBA::green, threshold); 319 const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); local 330 if (!compareSingleColor(m_testCtx.getLog(), result, ndx == 0 ? tcu::RGBA::green : tcu::RGBA::red, threshold))
|
/frameworks/av/media/common_time/ |
ICommonTimeConfig.cpp | 246 virtual status_t getPanicThreshold(int *threshold) { 255 *threshold = reply.readInt32(); 262 virtual status_t setPanicThreshold(int threshold) { 265 data.writeInt32(threshold); 462 int threshold; local 463 status_t status = getPanicThreshold(&threshold); 466 reply->writeInt32(threshold); 473 int threshold = data.readInt32(); local 474 status_t status = setPanicThreshold(threshold);
|
/cts/hostsidetests/theme/src/android/theme/cts/ |
ComparisonTask.java | 98 private static boolean compare(BufferedImage reference, BufferedImage generated, int threshold) { 114 if (Math.abs(db) > threshold || 115 Math.abs(dg) > threshold || 116 Math.abs(dr) > threshold || 117 Math.abs(da) > threshold) {
|
/external/chromium_org/ppapi/proxy/ |
ppb_testing_proxy.cc | 119 uint32_t threshold) { 121 RawVarDataGraph::SetMinimumArrayBufferSizeForShmemForTest(threshold); 127 API_ID_PPB_TESTING, threshold)); 213 uint32_t threshold) { 214 RawVarDataGraph::SetMinimumArrayBufferSizeForShmemForTest(threshold);
|
/external/chromium_org/third_party/skia/tools/ |
skdiff.cpp | 143 static inline bool colors_match_thresholded(SkPMColor c0, SkPMColor c1, const int threshold) { 149 return ((SkAbs32(da) <= threshold) && 150 (SkAbs32(dr) <= threshold) && 151 (SkAbs32(dg) <= threshold) && 152 (SkAbs32(db) <= threshold));
|
/external/deqp/modules/gles2/functional/ |
es2fShaderFragDataTests.cpp | 64 static bool compareSingleColor (tcu::TestLog& log, const tcu::Surface& surface, tcu::RGBA expectedColor, tcu::RGBA threshold) 69 log << TestLog::Message << "Expecting " << expectedColor << " with threshold " << threshold << TestLog::EndMessage; 76 const bool isOk = compareThreshold(resultColor, expectedColor, threshold); 201 const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); local 207 isOk = compareSingleColor(m_testCtx.getLog(), result, tcu::RGBA::green, threshold);
|
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/ |
tgt.c | 262 void opj_tgt_encode(opj_bio_t *bio, opj_tgt_tree_t *tree, OPJ_UINT32 leafno, OPJ_INT32 threshold) { 283 while (low < threshold) { 302 OPJ_UINT32 opj_tgt_decode(opj_bio_t *bio, opj_tgt_tree_t *tree, OPJ_UINT32 leafno, OPJ_INT32 threshold) { 322 while (low < threshold && low < node->value) { 336 return (node->value < threshold) ? 1 : 0;
|
/external/skia/tools/ |
skdiff.cpp | 143 static inline bool colors_match_thresholded(SkPMColor c0, SkPMColor c1, const int threshold) { 149 return ((SkAbs32(da) <= threshold) && 150 (SkAbs32(dr) <= threshold) && 151 (SkAbs32(dg) <= threshold) && 152 (SkAbs32(db) <= threshold));
|
/external/webrtc/src/modules/audio_processing/utility/ |
delay_estimator.c | 260 // i) an adaptive threshold |minimum_probability|, or 267 // The "hard" threshold can't be lower than 17 (in Q9). 271 int32_t threshold = value_best_candidate + kProbabilityOffset; local 272 if (threshold < kProbabilityLowerLimit) { 273 threshold = kProbabilityLowerLimit; 275 if (handle->minimum_probability > threshold) { 276 handle->minimum_probability = threshold;
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/ |
JitterVerification.java | 38 // sensorType: threshold (% of expected period) 65 int threshold = DEFAULTS.get(sensorType, -1); local 66 if (threshold == -1) { 69 return new JitterVerification(threshold);
|
JitterVerificationTest.java | 101 private JitterVerification getVerification(int threshold, long ... timestamps) { 102 JitterVerification verification = new JitterVerification(threshold);
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
UDPMessageProcessor.java | 213 float threshold = ((float)(messageQueue.size() - LOWAT))/ ((float)(HIGHWAT - LOWAT)); local 214 boolean decision = Math.random() > 1.0 - threshold; 217 sipStack.getStackLogger().logDebug("Dropping message with probability " + (1.0 - threshold));
|
/dalvik/dx/src/com/android/dx/ssa/ |
SsaRenamer.java | 75 private int threshold; field in class:SsaRenamer 110 threshold = 0; 146 * Constructs an instance of the renamer with threshold set 154 threshold = thresh; 238 * Returns true if this SSA register is below the specified threshold. 240 * for registers above a certain threshold. 243 * @return {@code true} if its register number is below the threshold 246 return ssaReg < threshold; 540 threshold == 0) { 549 threshold == 0) [all...] |
/external/dexmaker/src/dx/java/com/android/dx/ssa/ |
SsaRenamer.java | 76 private int threshold; field in class:SsaRenamer 111 threshold = 0; 147 * Constructs an instance of the renamer with threshold set 155 threshold = thresh; 239 * Returns true if this SSA register is below the specified threshold. 241 * for registers above a certain threshold. 244 * @return {@code true} if its register number is below the threshold 247 return ssaReg < threshold; 541 threshold == 0) { 550 threshold == 0) [all...] |
/external/oprofile/libpp/ |
profile_container.cpp | 169 double const threshold = choice.threshold / 100.0; local 182 if (percent >= threshold) { 194 profile_container::select_filename(double threshold) const 198 threshold /= 100.0; 239 if (cit->percent >= threshold)
|
/external/valgrind/main/massif/tests/ |
thresholds_0_10.post.exp | 3 Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --threshold=0 --massif-out-file=massif.out --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element 4 ms_print arguments: massif.out --threshold=10 53 | ->06.50% (5,200B) in 3+ places, all below ms_print's threshold (10.00%) 58 | ->13.00% (10,400B) in 3+ places, all below ms_print's threshold (10.00%) 60 ->00.50% (400B) in 1+ places, all below ms_print's threshold (10.00%)
|
thresholds_10_0.post.exp | 3 Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --threshold=10 --massif-out-file=massif.out --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element 4 ms_print arguments: massif.out --threshold=0 53 | ->06.50% (5,200B) in 3 places, all below massif's threshold (10.00%) 58 | ->13.00% (10,400B) in 3 places, all below massif's threshold (10.00%) 60 ->00.50% (400B) in 1 place, below massif's threshold (10.00%)
|
thresholds_10_10.post.exp | 3 Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --threshold=10 --massif-out-file=massif.out --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element 4 ms_print arguments: massif.out --threshold=10 53 | ->06.50% (5,200B) in 1+ places, all below ms_print's threshold (10.00%) 58 | ->13.00% (10,400B) in 3 places, all below massif's threshold (10.00%) 60 ->00.50% (400B) in 1+ places, all below ms_print's threshold (10.00%)
|
thresholds_5_0.post.exp | 3 Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --threshold=5 --massif-out-file=massif.out --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element 4 ms_print arguments: massif.out --threshold=0 55 | ->01.50% (1,200B) in 2 places, all below massif's threshold (05.00%) 63 | ->04.00% (3,200B) in 2 places, all below massif's threshold (05.00%) 65 ->00.50% (400B) in 1 place, below massif's threshold (05.00%)
|
thresholds_5_10.post.exp | 3 Massif arguments: --stacks=no --time-unit=B --heap-admin=0 --threshold=5 --massif-out-file=massif.out --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element 4 ms_print arguments: massif.out --threshold=10 53 | ->06.50% (5,200B) in 2+ places, all below ms_print's threshold (10.00%) 58 | ->13.00% (10,400B) in 2+ places, all below ms_print's threshold (10.00%) 60 ->00.50% (400B) in 1+ places, all below ms_print's threshold (10.00%)
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
ThresholdDifferenceComparer.java | 29 * Compares two images to see if each pixel is the same, within a certain threshold value 37 * @param threshold Each pixel is compared against each other, in each of the individual 39 * threshold, then this test will fail. 41 public ThresholdDifferenceComparer(int threshold) { 42 mThreshold = threshold;
|
/external/deqp/framework/common/ |
tcuRGBA.cpp | 103 bool compareThresholdMasked (RGBA a, RGBA b, RGBA threshold, deUint32 cmpMask) 105 return computeAbsDiffMasked(a, b, cmpMask).isBelowThreshold(threshold);
|