Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java62 private static final float THRESHOLD = 2.0f / 3.0f; field in SlidingTab
358 final int leftTarget = (int) (THRESHOLD * parentWidth) - targetWidth + handleWidth / 2; in layout()
359 final int rightTarget = (int) ((1.0f - THRESHOLD) * parentWidth) - handleWidth / 2; in layout()
386 final int top = (int) (THRESHOLD * parentHeight) + handleHeight / 2 - targetHeight; in layout()
387 final int bottom = (int) ((1.0f - THRESHOLD) * parentHeight) - handleHeight / 2; in layout()
550 mThreshold = isHorizontal() ? THRESHOLD : 1.0f - THRESHOLD; in onInterceptTouchEvent()
555 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.java57 private static final int THRESHOLD = 1024; field in MemoryUsageTest
255 return (diff1 + diff2) < THRESHOLD; in stabilized()
/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()