/frameworks/av/media/libmedia/ |
H A D | autodetect.cpp | 852 int high = rangeCount; local 854 while (low < high) { 855 int i = (low + high) / 2; 862 high = i;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
H A D | omxVCM4P2_DecodePadMV_PVOP.c | 96 OMX_S16 high, low, range; local 134 high = ( 32 * scaleFactor) - 1; 215 if (pDstMVCurMB[iBlk].dx > high) 224 if (pDstMVCurMB[iBlk].dy > high)
|
/frameworks/base/core/java/com/android/internal/notification/ |
H A D | DemoContactNotificationScorer.java | 138 private final static int clamp(int x, int low, int high) { argument 139 return (x < low) ? low : ((x > high) ? high : x);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | LevelListDrawable.java | 66 public void addLevel(int low, int high, Drawable drawable) { argument 68 mLevelListState.addLevel(low, high, drawable); 113 int high = a.getInt( 120 if (high < 0) { 140 mLevelListState.addLevel(low, high, dr); 172 public void addLevel(int low, int high, Drawable drawable) { argument 175 mHighs[pos] = high;
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicInlines.h | 87 static inline int4 clamp(int4 amount, int low, int high) { argument 89 r.x = amount.x < low ? low : (amount.x > high ? high : amount.x); 90 r.y = amount.y < low ? low : (amount.y > high ? high : amount.y); 91 r.z = amount.z < low ? low : (amount.z > high ? high : amount.z); 92 r.w = amount.w < low ? low : (amount.w > high ? high : amount.w); 96 static inline float4 clamp(float4 amount, float low, float high) { argument 105 clamp(int2 amount, int low, int high) argument 112 clamp(float2 amount, float low, float high) argument 119 clamp(int amount, int low, int high) argument 123 clamp(float amount, float low, float high) argument [all...] |
/frameworks/av/media/libeffects/testlibs/ |
H A D | AudioEqualizer.cpp | 173 uint32_t & high) const { 177 high = mpLowShelf->getFrequency(); 180 high = mSampleRate * 500; 182 mpPeakingFilters[band - 1].getBandRange(low, high); 260 uint32_t high = mpHighShelf->getFrequency(); local 261 if (targetFreq >= high) { 268 high = freq; 274 // Now, low is right below the target and high is right above. See which one 277 high = Effects_log2(high); [all...] |
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedTextSRTSource.cpp | 232 size_t high = mTextVector.size() - 1; local 235 while (low <= high) { 236 mid = low + (high - low)/2; 243 high = mid - 1;
|
/frameworks/base/core/java/android/util/ |
H A D | MathUtils.java | 38 public static int constrain(int amount, int low, int high) { argument 39 return amount < low ? low : (amount > high ? high : amount); 42 public static long constrain(long amount, long low, long high) { argument 43 return amount < low ? low : (amount > high ? high : amount); 46 public static float constrain(float amount, float low, float high) { argument 47 return amount < low ? low : (amount > high ? high : amount);
|
/frameworks/native/opengl/libs/ETC1/ |
H A D | etc1.cpp | 201 etc1_uint32 high = (pIn[0] << 24) | (pIn[1] << 16) | (pIn[2] << 8) | pIn[3]; local 204 if (high & 2) { 206 int rBase = high >> 27; 207 int gBase = high >> 19; 208 int bBase = high >> 11; 210 r2 = convertDiff(rBase, high >> 24); 212 g2 = convertDiff(gBase, high >> 16); 214 b2 = convertDiff(bBase, high >> 8); 217 r1 = convert4To8(high >> 28); 218 r2 = convert4To8(high >> 2 234 etc1_uint32 high; member in struct:__anon1519 [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | vlc_encode.cpp | 2766 Int high; local 2773 high = range - 1; 2777 else if (diff_vector > high)
|
/frameworks/base/services/java/com/android/server/ |
H A D | NotificationManagerService.java | 1627 private final static int clamp(int x, int low, int high) { argument 1628 return (x < low) ? low : ((x > high) ? high : x);
|
/frameworks/base/core/java/android/view/ |
H A D | MotionEvent.java | 677 * The value is normalized to a range from -1.0 (high) to 1.0 (low). 2839 private static final float clamp(float value, float low, float high) { argument 2842 } else if (value > high) { 2843 return high;
|