/frameworks/av/media/libmedia/ |
H A D | autodetect.cpp | 851 int low = 0; local 854 while (low < high) { 855 int i = (low + high) / 2; 860 low = i + 1;
|
/frameworks/av/media/libeffects/testlibs/ |
H A D | AudioPeakingFilter.cpp | 103 void AudioPeakingFilter::getBandRange(uint32_t & low, uint32_t & high) const { argument 107 low = static_cast<uint32_t>((static_cast<uint64_t>(mNominalFrequency) * Effects_exp2(-halfBW + (16 << 15))) >> 16);
|
H A D | AudioEqualizer.cpp | 172 void AudioEqualizer::getBandRange(int band, uint32_t & low, argument 176 low = 0; 179 low = mpHighShelf->getFrequency(); 182 mpPeakingFilters[band - 1].getBandRange(low, high); 256 uint32_t low = mpLowShelf->getFrequency(); local 257 if (targetFreq <= low) { 272 low = freq; 274 // Now, low is right below the target and high is right above. See which one 276 low = Effects_log2(low); [all...] |
/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 135 low = ( (-32) * scaleFactor); 211 if ( pDstMVCurMB[iBlk].dx < low ) 220 if ( pDstMVCurMB[iBlk].dy < low )
|
/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); 93 int low = 0; 111 low = a.getInt( 140 mLevelListState.addLevel(low, high, dr); 172 public void addLevel(int low, int high, Drawable drawable) { argument 174 mLows[pos] = low;
|
/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, floa 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/libstagefright/timedtext/ |
H A D | TimedTextSRTSource.cpp | 231 size_t low = 0; local 235 while (low <= high) { 236 mid = low + (high - low)/2; 241 low = 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 | 168 etc1_uint32 low, bool second, bool flipped) { 188 int offset = ((low >> k) & 1) | ((low >> (k + 15)) & 2); 202 etc1_uint32 low = (pIn[4] << 24) | (pIn[5] << 16) | (pIn[6] << 8) | pIn[7]; local 229 decode_subblock(pOut, r1, g1, b1, tableA, low, false, flipped); 230 decode_subblock(pOut, r2, g2, b2, tableB, low, true, flipped); 235 etc1_uint32 low; member in struct:__anon1520 350 &pCompressed->low, yy + x * 4, pModifierTable); 365 &pCompressed->low, y + xx * 4, pModifierTable); 437 pCompressed->low 167 decode_subblock(etc1_byte* pOut, int r, int g, int b, const int* table, etc1_uint32 low, bool second, bool flipped) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | vlc_encode.cpp | 2765 Int low; local 2772 low = -range; 2775 if (diff_vector < low)
|
/frameworks/base/services/java/com/android/server/ |
H A D | NotificationManagerService.java | 1638 private final static int clamp(int x, int low, int high) { argument 1639 return (x < low) ? low : ((x > high) ? high : x); 1757 // Notification will be blocked because the score is too low.
|
/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 2840 if (value < low) { 2841 return low;
|