/external/chromium_org/ui/views/ |
view_win.cc | 15 static int threshold = -1; local 16 if (threshold == -1) 17 threshold = GetSystemMetrics(SM_CXDRAG) / 2; 18 return threshold; 22 static int threshold = -1; local 23 if (threshold == -1) 24 threshold = GetSystemMetrics(SM_CYDRAG) / 2; 25 return threshold;
|
/external/chromium_org/chrome/browser/extensions/api/idle/ |
idle_api.cc | 19 int ClampThreshold(int threshold) { 20 if (threshold < kMinThreshold) { 21 threshold = kMinThreshold; 22 } else if (threshold > kMaxThreshold) { 23 threshold = kMaxThreshold; 26 return threshold; 34 int threshold; local 35 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &threshold)); 36 threshold = ClampThreshold(threshold); 52 int threshold; local 57 threshold); local [all...] |
/external/valgrind/main/drd/tests/ |
annotate_rwlock_hg.stderr.exp | 1 Total error count is below threshold.
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/ |
Barrier.java | 36 protected int threshold; field in class:Barrier 40 threshold = t; 49 if ( count==threshold ) { 50 // notify blocked threads that threshold has been reached 54 else while ( count<threshold ) {
|
/external/srec/srec/Semproc/include/ |
SR_SemprocDefinitions.h | 207 #define MEMCHK(rc, val, threshold) \ 209 if(val > threshold) \ 212 PLogError(L("%s: %d > %d\n"), ESR_rc2str(rc), (val), (threshold)); \ 216 #define LENCHK(rc, val, threshold) \ 218 if(LSTRLEN(val) > threshold) \ 221 PLogError(L("%s: %s > %d\n"), ESR_rc2str(rc), (val), (threshold)); \
|
/external/chromium_org/third_party/flot/ |
jquery.flot.threshold.min.js | 1 (function(B){var A={series:{threshold:null}};function C(D){function E(L,S,M){if(!S.threshold){return }var F=M.pointsize,I,O,N,G,K,H=B.extend({},S);H.datapoints={points:[],pointsize:F};H.label=null;H.color=S.threshold.color;H.threshold=null;H.originSeries=S;H.data=[];var P=S.threshold.below,Q=M.points,R=S.lines.show;threspoints=[];newpoints=[];for(I=0;I<Q.length;I+=F){O=Q[I];N=Q[I+1];K=G;if(N<P){G=threspoints}else{G=newpoints}if(R&&K!=G&&O!=null&&I>0&&Q[I-F]!=null){var J=(O-Q[I-F])/(N-Q[I-F+1])*(P-N)+O;K.push(J);K.push(P);for(m=2;m<F;++m){K.push(Q[I+m])}G.push(null);G.push(null);for(m=2;m<F;++m){G.push(Q[I+m])}G.push(J);G.push(P);for(m=2;m<F;++m){G.push(Q[I+m])}}G.push(O);G.push(N)}M.points=newpoints;H.datapoints.points=threspoints;if(H.datapoints.points.length>0){L.getData().push(H)}}D.hooks.processDatapoints.push(E)}B.plot.plugins.push({init:C,options:A,name:"threshold",version:"1.0"})})(jQuery)
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAutoCompleteTextView.java | 19 private int threshold = 2; field in class:ShadowAutoCompleteTextView 34 return threshold; 38 public void setThreshold(int threshold) { 39 if (threshold <= 0) { 40 threshold = 1; 42 this.threshold = threshold;
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
ThresholdingOutputStream.java | 27 * stream type when the threshold is exceeded.
33 * NOTE: This implementation may trigger the event <em>before</em> the threshold
35 * cause the threshold to be exceeded.
49 * The threshold at which the event will be triggered.
51 private int threshold;
field in class:ThresholdingOutputStream 61 * Whether or not the configured threshold has been exceeded.
71 * specified threshold.
73 * @param threshold The number of bytes at which to trigger an event.
75 public ThresholdingOutputStream(int threshold)
77 this.threshold = threshold; [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_idle_api.cc | 47 static IdleState CalculateIdleStateAndUpdateTimestamp(int threshold); 49 static IdleState ThrottledCalculateIdleState(int threshold, Profile* profile); 87 IdleState CalculateIdleStateAndUpdateTimestamp(int threshold) { 89 return CalculateIdleState(threshold); 99 IdleState ThrottledCalculateIdleState(int threshold, Profile* profile) { 104 // Only allow one check per threshold. 107 if (delta < threshold) 111 polling_data.state = CalculateIdleStateAndUpdateTimestamp(threshold); 138 int threshold; local 139 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &threshold)); [all...] |
/external/chromium_org/remoting/host/ |
audio_silence_detector.h | 16 // |threshold| is used to specify maximum absolute sample value that should 18 AudioSilenceDetector(int threshold); 31 // Silence period threshold in samples. Silence intervals shorter than this
|
audio_silence_detector.cc | 13 // Silence period threshold in seconds. Silence intervals shorter than this 20 AudioSilenceDetector::AudioSilenceDetector(int threshold) 21 : threshold_(threshold),
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/netfilter/ |
xt_NFLOG.h | 12 u_int16_t threshold; member in struct:xt_nflog_info
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/netfilter/ |
xt_NFLOG.h | 12 u_int16_t threshold; member in struct:xt_nflog_info
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/netfilter/ |
xt_NFLOG.h | 12 u_int16_t threshold; member in struct:xt_nflog_info
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/ |
log.py | 16 def __init__(self, threshold=WARN): 17 self.threshold = threshold 23 if level >= self.threshold: 60 # return the old threshold for use from tests 61 old = _global_log.threshold 62 _global_log.threshold = level
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
log.py | 16 def __init__(self, threshold=WARN): 17 self.threshold = threshold 23 if level >= self.threshold: 60 # return the old threshold for use from tests 61 old = _global_log.threshold 62 _global_log.threshold = level
|
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
DynamicsCompressorNode.idl | 28 readonly attribute AudioParam threshold; // in Decibels
|
/external/clang/test/CodeGen/ |
2008-08-07-AlignPadding1.c | 17 int threshold; member in struct:gc_generation 28 /* PyGC_Head, threshold, count */
|
union-init.c | 17 int threshold; /* collection threshold */ member in struct:gc_generation 27 /* PyGC_Head, threshold, count */
|
/external/iptables/include/linux/netfilter/ |
xt_NFLOG.h | 14 __u16 threshold; member in struct:xt_nflog_info
|
/external/chromium_org/tools/python/google/ |
logging_utils.py | 13 based on a threshold level. 16 def __init__(self, threshold=logging.WARNING, err=sys.stderr, out=sys.stdout): 18 threshold: below this logging level messages are sent to stdout, 28 self._threshold = threshold 62 def config_root(level=logging.INFO, threshold=logging.WARNING, format=FORMAT, 68 threshold: below this logging level messages are sent to stdout, 79 handler = StdoutStderrHandler(threshold=threshold)
|
/external/libvpx/libvpx/test/ |
set_roi.cc | 35 unsigned int threshold[MAX_MB_SEGMENTS] = { 0, 100, 200, 300 }; local 73 threshold); 108 if (threshold[i] != breakout) { 109 EXPECT_EQ(threshold[i], breakout) 110 << "breakout threshold error"; 141 delta_lf, threshold); 151 rand_deltas, threshold); 163 delta_lf, threshold); 170 delta_lf, threshold); 175 delta_lf, threshold); [all...] |
/external/chromium/chrome/browser/net/ |
referrer.h | 64 // if the result is still greater than the given threshold. 65 bool Trim(double reduce_rate, double threshold); 114 // Returns true if expected use rate is greater than the threshold. 115 bool Trim(double reduce_rate, double threshold);
|
/external/chromium_org/chrome/browser/net/ |
referrer.h | 64 // if the result is still greater than the given threshold. 65 bool Trim(double reduce_rate, double threshold); 114 // Returns true if expected use rate is greater than the threshold. 115 bool Trim(double reduce_rate, double threshold);
|
/cts/tests/tests/app/src/android/app/cts/ |
ActivityManagerMemoryInfoTest.java | 39 final long THRESHOLD = 500l; 40 mMemory.threshold = THRESHOLD; 49 assertEquals(THRESHOLD, values.threshold); 64 final long THRESHOLD = 500l; 65 mMemory.threshold = THRESHOLD; 74 assertEquals(THRESHOLD, result.threshold); [all...] |