Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java60 private static final float THRESHOLD = 2.0f / 3.0f; field in SlidingTab
346 final int leftTarget = (int) (THRESHOLD * parentWidth) - targetWidth + handleWidth / 2; in layout()
347 final int rightTarget = (int) ((1.0f - THRESHOLD) * parentWidth) - handleWidth / 2; in layout()
374 final int top = (int) (THRESHOLD * parentHeight) + handleHeight / 2 - targetHeight; in layout()
375 final int bottom = (int) ((1.0f - THRESHOLD) * parentHeight) - handleHeight / 2; in layout()
536 mThreshold = isHorizontal() ? THRESHOLD : 1.0f - THRESHOLD; in onInterceptTouchEvent()
541 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.java53 private static final int THRESHOLD = 1024; field in MemoryUsageTest
210 return (diff1 + diff2) < THRESHOLD; in stabilized()
/frameworks/base/libs/hwui/
DPathTessellator.cpp56 #define THRESHOLD 0.5f macro
909 if (d * d < THRESHOLD * THRESHOLD * (dx * dx * sqrInvScaleY + dy * dy * sqrInvScaleX)) { in recursiveCubicBezierVertices()
950 if (d * d < THRESHOLD * THRESHOLD * (dx * dx * sqrInvScaleY + dy * dy * sqrInvScaleX)) { in recursiveQuadraticBezierVertices()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppCacheTest.java48 private static final long THRESHOLD=5; field in AppCacheTest
286 long thresholdBlks = (totBlks * THRESHOLD) / 100L; in testAppCacheClear()
331 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()