Searched defs:high (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/media/libmedia/
H A Dautodetect.cpp852 int high = rangeCount; local
854 while (low < high) {
855 int i = (low + high) / 2;
862 high = i;
/frameworks/base/graphics/java/android/graphics/drawable/
H A DLevelListDrawable.java66 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/core/java/android/util/
H A DMathUtils.java38 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 DKeyCharacterMap.cpp139 int high = m_keyCount - 1; local
142 while (low <= high) {
143 mid = (low + high) / 2;
146 high = mid - 1;
/frameworks/base/media/libeffects/testlibs/
H A DAudioEqualizer.cpp173 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/base/opengl/libs/ETC1/
H A Detc1.cpp201 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/libs/rs/
H A DrsScriptC_Lib.cpp348 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 Dvlc_encode.cpp2766 Int high; local
2773 high = range - 1;
2777 else if (diff_vector > high)

Completed in 504 milliseconds