/external/chromium_org/chrome/browser/extensions/api/idle/ |
idle_manager.h | 38 int threshold; member in struct:extensions::IdleMonitor 89 void QueryState(int threshold, QueryStateCallback notify); 90 void SetThreshold(const std::string& extension_id, int threshold);
|
/external/chromium_org/net/quic/ |
quic_flow_controller.cc | 120 size_t threshold = (max_receive_window_ / 2); local 122 if (consumed_window < threshold) { 129 << ", and threshold: " << threshold
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
histogram.cc | 74 double threshold = num_ * (p / 100.0); local 78 if (sum >= threshold) { 84 double pos = (threshold - left_sum) / (right_sum - left_sum);
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/ |
MeanVerification.java | 35 // sensorType: {expected, threshold} 49 * @param threshold the thresholds 51 public MeanVerification(float[] expected, float[] threshold) { 53 mThreshold = threshold; 68 float[] threshold = (float[]) DEFAULTS.get(sensorType)[1]; local 69 return new MeanVerification(expected, threshold); 151 // Uncalibrated gyroscope should be 0 for a static device but allow a bigger threshold
|
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);
|
/external/chromium_org/chrome/browser/net/ |
referrer.cc | 106 bool Referrer::Trim(double reduce_rate, double threshold) { 109 if (!it->second.Trim(reduce_rate, threshold)) 117 bool ReferrerValue::Trim(double reduce_rate, double threshold) { 119 return subresource_use_rate_ > threshold;
|
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
ContentViewReadbackTest.java | 45 private static void assertEqualColor(int actual, int expected, int threshold) { 49 if (deltaR > threshold || deltaG > threshold || deltaB > threshold) {
|
/external/chromium_org/content/test/ |
image_decoder_test.h | 60 // expected state. |file_selection| and |threshold| can be used to select 64 const int64 threshold);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
bezier.h | 67 float threshold);
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
bezier.h | 67 float threshold);
|
/external/oprofile/pp/ |
common_option.h | 24 extern double threshold;
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
PSNRComparer.java | 32 * @param threshold the PSNR necessary to pass the test, if the calculated PSNR is below this 35 public PSNRComparer(float threshold) { 36 mThreshold = threshold;
|
WeightedPixelDifference.java | 33 public WeightedPixelDifference(float threshold) { 34 mThreshold = threshold; 68 * @return true if the accumulated error is smaller than the threshold
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
InfrastructureTests.java | 63 final float threshold = 0.1f; 64 return !(new MSSIMComparer(threshold)).verifySame(ideal, given, offset, stride,
|
/external/chromium_org/ppapi/api/private/ |
ppb_testing_private.idl | 126 * Sets the threshold size at which point we switch from transmitting 129 * (in order to have fast tests). Passing a value of 0 resets the threshold 130 * to its default. The threshold is in bytes. 133 [in] uint32_t threshold);
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
DynamicsCompressorNode.cpp | 75 float threshold = m_threshold->value(); local 81 m_dynamicsCompressor->setParameterValue(DynamicsCompressor::ParamThreshold, 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))
|
/cts/hostsidetests/theme/src/android/theme/cts/ |
ComparisonTask.java | 88 private static boolean compare(BufferedImage reference, BufferedImage generated, int threshold) { 104 if (Math.abs(db) > threshold || 105 Math.abs(dg) > threshold || 106 Math.abs(dr) > threshold || 107 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)); 219 uint32_t threshold) { 220 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/chromium_org/third_party/webrtc/modules/video_coding/main/source/ |
jitter_estimator_tests.cc | 126 int threshold = regular_estimator_.GetJitterEstimate(0) / 2; local 136 if (regular_estimator_.GetJitterEstimate(0) < threshold) { 144 if (low_rate_estimator_.GetJitterEstimate(0) < 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...] |