/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...] |
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
BitmapFilterTests.java | 31 private static final int THRESHOLD = 20; 44 * Verifies that a Bitmap only contains white and black, within a certain threshold 46 private static BitmapVerifier mBlackWhiteVerifier = new PerPixelBitmapVerifier(THRESHOLD) { 50 return weight < THRESHOLD // is approx Color.BLACK 51 || weight > WHITE_WEIGHT - THRESHOLD; // is approx Color.WHITE
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
bp_signal_overflow.c | 58 #define THRESHOLD 100 86 pe.sample_period = THRESHOLD; 125 if (overflows != EXECUTIONS / THRESHOLD) { 127 overflows, EXECUTIONS / THRESHOLD);
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
NearPixelComparer.java | 27 private static final int THRESHOLD = 10; 64 return (error < THRESHOLD);
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/ |
EventGapVerification.java | 23 private static final double THRESHOLD = 1.8; 92 TimeUnit.NANOSECONDS.convert((int) (THRESHOLD * mExpectedDelayUs), 115 if (deltaUs > mExpectedDelayUs * THRESHOLD) {
|
/development/samples/USB/MissileLauncher/src/com/android/missilelauncher/ |
MissileLauncherActivity.java | 67 private static final double THRESHOLD = 5.0; 176 if (event.values[0] < -THRESHOLD) { 178 } else if (event.values[0] > THRESHOLD) { 181 if (event.values[1] < -THRESHOLD) { 183 } else if (event.values[1] > THRESHOLD) {
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
pitch_ol.cpp | 72 #define THRESHOLD 27853 882 if (sub (mult (max1, THRESHOLD), max2) < 0) 893 if (sub (mult (max1, THRESHOLD), max3) < 0) [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
SlidingTab.java | 46 * A special widget containing two Sliders and a threshold for each. Moving either slider beyond 47 * the threshold will cause the registered OnTriggerListener.onTrigger() to be called with 61 private static final float THRESHOLD = 2.0f / 3.0f; 114 * by moving it beyond a threshold. 119 * threshold. 125 * the threshold. 131 * the threshold. 136 * Called when the user moves a handle beyond the threshold. 352 final int leftTarget = (int) (THRESHOLD * parentWidth) - targetWidth + handleWidth / 2; 353 final int rightTarget = (int) ((1.0f - THRESHOLD) * parentWidth) - handleWidth / 2 [all...] |
/sdk/attribute_stats/src/ |
Analyzer.java | 61 public static final int THRESHOLD = 10; // percent 428 if (percentage < THRESHOLD && prevPercentage >= THRESHOLD) { 440 if (percentage >= THRESHOLD /*&& usage.count > 1*/) { // 1:Ignore when not enough data?
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
mergesort.c | 53 #define THRESHOLD 16 /* Best choice for natural merge cut-off. */ 268 * when THRESHOLD/2 pairs compare with same sense. (Only used when NATURAL 308 if (length < THRESHOLD) { /* Pairwise merge */
|
/external/chromium_org/third_party/skia/experimental/AndroidPathRenderer/ |
AndroidPathRenderer.cpp | 38 #define THRESHOLD 0.5f 535 // alter the bezier recursion threshold values we calculate in order to compensate for 667 if (d * d < THRESHOLD * THRESHOLD * (dx * dx * sqrInvScaleY + dy * dy * sqrInvScaleX)) { 708 if (d * d < THRESHOLD * THRESHOLD * (dx * dx * sqrInvScaleY + dy * dy * sqrInvScaleX)) {
|
/external/skia/experimental/AndroidPathRenderer/ |
AndroidPathRenderer.cpp | 38 #define THRESHOLD 0.5f 535 // alter the bezier recursion threshold values we calculate in order to compensate for 667 if (d * d < THRESHOLD * THRESHOLD * (dx * dx * sqrInvScaleY + dy * dy * sqrInvScaleX)) { 708 if (d * d < THRESHOLD * THRESHOLD * (dx * dx * sqrInvScaleY + dy * dy * sqrInvScaleX)) {
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
MemoryUsageTest.java | 56 private static final int THRESHOLD = 1024; 252 return (diff1 + diff2) < THRESHOLD;
|
/external/valgrind/main/exp-bbv/tests/ppc32-linux/ |
ll.S | 114 addi 15,15,THRESHOLD+1 # cl = ax >> (P_BITS)+THRESH+1
|
/external/opencv/ |
cvjni.cpp | 19 #define THRESHOLD 10
227 cvThreshold( grayImage, binaryImage, THRESHOLD, THRESHOLD_MAX_VALUE, CV_THRESH_BINARY );
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
AppCacheTest.java | 48 private static final long THRESHOLD=5; 286 long thresholdBlks = (totBlks * THRESHOLD) / 100L; 331 long shouldFree = (ACTUAL_THRESHOLD-THRESHOLD)*totBlks;
|
/external/valgrind/main/exp-bbv/tests/amd64-linux/ |
ll.S | 83 add $(THRESHOLD+1),%al 84 mov %al,%cl # cl = (ax >> P_BITS) + THRESHOLD + 1
|
/external/valgrind/main/exp-bbv/tests/x86-linux/ |
ll.S | 75 add $(THRESHOLD+1),%al 76 mov %al,%cl # cl = (ax >> P_BITS) + THRESHOLD + 1
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
RecursiveActionTest.java | [all...] |
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
VoiceDialerActivity.java | 629 private static final int THRESHOLD = 8; // absolute pseudo energy threshold 650 int threshold = THRESHOLD*sampleCount; // absolute energy threshold local 678 if (energy > threshold && energy > (prevE * 2) && prevE != 0) { 679 // rising edge if energy doubled and > abs threshold 685 if (energy < threshold || energy < (prevE / 2)){ 700 if (energy < threshold || energy < (peak / 2)) { [all...] |
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/ |
ThermalService.java | 88 private static final String THRESHOLD = "Threshold";
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
EditStyledText.java | [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.text_3.5.0.v20100601-1300.jar | |
/external/eigen/blas/testing/ |
cblat2.f | 17 * 16.0 THRESHOLD VALUE OF TEST RATIO 147 * Read the threshold value of the test ratio [all...] |
dblat2.f | 17 * 16.0 THRESHOLD VALUE OF TEST RATIO 142 * Read the threshold value of the test ratio [all...] |