/frameworks/base/media/libeffects/testlibs/ |
H A D | AudioPeakingFilter.cpp | 105 void AudioPeakingFilter::getBandRange(uint32_t & low, uint32_t & high) const { 111 high = mNiquistFreq; 113 high = static_cast<uint32_t>((static_cast<uint64_t>(mNominalFrequency) * Effects_exp2(halfBW + (16 << 15))) >> 16); 114 if (UNLIKELY(high > mNiquistFreq)) { 115 high = mNiquistFreq;
|
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...] |
H A D | AudioEqualizer.h | 29 // The EQ is composed of a low-shelf, zero or more peaking filters and a high 145 // For the low shelf, the low bound is 0 and the high bound is the band 147 // For the high shelf, the low bound is the band frequency and the high 150 void getBandRange(int band, uint32_t & low, uint32_t & high) const; 223 // The high-shelving filter.
|
H A D | AudioPeakingFilter.h | 37 // All is left for this class to do is mapping between high-level parameters to 89 void getBandRange(uint32_t & low, uint32_t & high) const; 144 // A coefficient interpolator, used for mapping the high level parameters to
|
/frameworks/base/core/java/android/util/ |
H A D | SparseBooleanArray.java | 211 int high = start + len, low = start - 1, guess; 213 while (high - low > 1) { 214 guess = (high + low) / 2; 219 high = guess; 222 if (high == start + len) 224 else if (a[high] == key) 225 return high; 227 return ~high;
|
H A D | SparseIntArray.java | 217 int high = start + len, low = start - 1, guess; 219 while (high - low > 1) { 220 guess = (high + low) / 2; 225 high = guess; 228 if (high == start + len) 230 else if (a[high] == key) 231 return high; 233 return ~high;
|
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 float constrain(float amount, float low, float high) { argument 43 return amount < low ? low : (amount > high ? high : amount);
|
H A D | LongSparseArray.java | 330 int high = start + len, low = start - 1, guess; 332 while (high - low > 1) { 333 guess = (high + low) / 2; 338 high = guess; 341 if (high == start + len) 343 else if (a[high] == key) 344 return high; 346 return ~high;
|
H A D | SparseArray.java | 317 int high = start + len, low = start - 1, guess; 319 while (high - low > 1) { 320 guess = (high + low) / 2; 325 high = guess; 328 if (high == start + len) 330 else if (a[high] == key) 331 return high; 333 return ~high;
|
/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/base/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:__anon694 [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
H A D | SparseWeakArray.java | 354 int high = start + len, low = start - 1, guess; 356 while (high - low > 1) { 357 guess = (high + low) / 2; 362 high = guess; 365 if (high == start + len) 367 else if (a[high] == key) 368 return high; 370 return ~high;
|
/frameworks/base/libs/ui/ |
H A D | KeyCharacterMap.cpp | 139 int high = m_keyCount - 1; local 142 while (low <= high) { 143 mid = (low + high) / 2; 146 high = mid - 1;
|
/frameworks/base/core/java/android/text/ |
H A D | Layout.java | 700 int high = getLineCount(), low = -1, guess; 702 while (high - low > 1) { 703 guess = (high + low) / 2; 706 high = guess; 723 int high = getLineCount(), low = -1, guess; 725 while (high - low > 1) { 726 guess = (high + low) / 2; 729 high = guess; 763 int high = there - 1 + 1, low = here + 1 - 1, guess; 765 while (high [all...] |
H A D | StaticLayout.java | 951 int high = end + 1, low = start - 1, guess; 953 while (high - low > 1) { 954 guess = (high + low) / 2; 958 high = guess; 1211 int high = mLineCount; 1215 while (high - low > 1) { 1216 guess = (high + low) >> 1; 1218 high = guess;
|
/frameworks/base/libs/rs/ |
H A D | rsScriptC_Lib.cpp | 348 static float SC_clampf(float amount, float low, float high) argument 350 return amount < low ? low : (amount > high ? high : amount); 353 static int SC_clamp(int amount, int low, int high) argument 355 return amount < low ? low : (amount > high ? high : amount);
|
/frameworks/base/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/base/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)
|