Home
last modified time | relevance | path

Searched refs:THRESHOLD (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java61 private static final float THRESHOLD = 2.0f / 3.0f; field in SlidingTab
352 final int leftTarget = (int) (THRESHOLD * parentWidth) - targetWidth + handleWidth / 2; in layout()
353 final int rightTarget = (int) ((1.0f - THRESHOLD) * parentWidth) - handleWidth / 2; in layout()
380 final int top = (int) (THRESHOLD * parentHeight) + handleHeight / 2 - targetHeight; in layout()
381 final int bottom = (int) ((1.0f - THRESHOLD) * parentHeight) - handleHeight / 2; in layout()
544 mThreshold = isHorizontal() ? THRESHOLD : 1.0f - THRESHOLD; in onInterceptTouchEvent()
549 mThreshold = isHorizontal() ? 1.0f - THRESHOLD : THRESHOLD; in onInterceptTouchEvent()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dpitch_ol.cpp72 #define THRESHOLD 27853 macro
1171 i = mult(max1, THRESHOLD, pOverflow); in Pitch_ol()
1187 i = mult(max1, THRESHOLD, pOverflow); in Pitch_ol()
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
DMemoryUsageTest.java55 private static final int THRESHOLD = 1024; field in MemoryUsageTest
251 return (diff1 + diff2) < THRESHOLD; in stabilized()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppCacheTest.java49 private static final long THRESHOLD=5; field in AppCacheTest
288 long thresholdBlks = (totBlks * THRESHOLD) / 100L; in testAppCacheClear()
333 long shouldFree = (ACTUAL_THRESHOLD-THRESHOLD)*totBlks; in testAppCacheClear()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java2554 int THRESHOLD = 128; in getMarqueeColor() local
2564 if (r > THRESHOLD) { in getMarqueeColor()
2571 if (g > THRESHOLD) { in getMarqueeColor()