/frameworks/base/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/base/media/libeffects/testlibs/ |
H A D | AudioPeakingFilter.cpp | 105 void AudioPeakingFilter::getBandRange(uint32_t & low, uint32_t & high) const { argument 109 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/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/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 float constrain(float amount, float low, float high) { argument 43 return amount < low ? low : (amount > high ? high : amount);
|
/frameworks/base/libs/ui/ |
H A D | KeyCharacterMap.cpp | 138 int low = 0; local 142 while (low <= high) { 143 mid = (low + high) / 2; 148 low = mid + 1;
|
/frameworks/base/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:__anon694 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/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/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | vlc_encode.cpp | 2765 Int low; local 2772 low = -range; 2775 if (diff_vector < low)
|