/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | find_min_max.cpp | 142 register int min, max; local 147 max = min = *input_ptr; 154 if (*input_ptr > max) 156 max = *input_ptr; 169 *max_ptr = max;
|
H A D | post_proc.h | 35 #define UPDATE_PV_MAXPV_MIN(p,max,min) if ((p) > max) max=(p); else if ((p) < min) min = (p);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | TableMaskFilter.java | 35 public static TableMaskFilter CreateClipTable(int min, int max) { argument 36 return new TableMaskFilter(nativeNewClip(min, max)); 44 private static native int nativeNewClip(int min, int max); argument
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | gmed_n.cpp | 131 Word16 max; 143 max = -32767; 146 if (sub (tmp2[j], max) >= 0) 148 max = tmp2[j]; 189 register Word16 max; local 201 max = -32767; 204 if (*(tmp2 + j) >= max) 206 max = *(tmp2 + j);
|
/frameworks/native/libs/utils/ |
H A D | primes.py | 39 max = 2**31 - 1 variable 40 while n < max:
|
/frameworks/native/services/surfaceflinger/ |
H A D | clz.h | 41 static inline T max(T a, T b) { function in namespace:android 45 static inline T max(T a, T b, T c) { function in namespace:android 46 return max(a, max(b, c)); 49 static inline T max(T a, T b, T c, T d) { function in namespace:android 50 return max(a, b, max(c, d));
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | spreading.c | 31 * higher frequencies thr(n) = max(thr(n), sh(n)*thr(n-1)) 32 * lower frequencies thr(n) = max(thr(n), sl(n)*thr(n+1)) 44 pbSpreadedEnergy[i] = max(pbSpreadedEnergy[i], 49 pbSpreadedEnergy[i] = max(pbSpreadedEnergy[i],
|
H A D | ms_stereo.c | 76 nrgL = max(nrgL,thrL) + 1; 79 nrgR = max(nrgR,thrR) + 1; 88 nrgL = max(nrgL,minThreshold) + 1; 92 nrgR = max(nrgR,minThreshold) + 1;
|
/frameworks/base/core/java/android/speech/srec/ |
H A D | UlawEncoderInputStream.java | 50 byte[] ulawBuf, int ulawOffset, int length, int max) { 76 if (max <= 0) max = MAX_ULAW; 78 int coef = MAX_ULAW * (1 << SCALE_BITS) / max; 121 int max = 0; 125 if (pcm > max) max = pcm; 127 return max; 133 * @param max pcm value corresponding to maximum ulaw value. 135 public UlawEncoderInputStream(InputStream in, int max) { argument 49 encode(byte[] pcmBuf, int pcmOffset, byte[] ulawBuf, int ulawOffset, int length, int max) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | cor_h_x.cpp | 189 Word32 s, y32[L_CODE], max, tot; 197 max = 0; 207 if (L_sub (s, max) > (Word32) 0L) 208 max = s; 210 tot = L_add (tot, L_shr (max, 1)); 258 Word32 max; local 269 max = 0; 296 if (s > max) 298 max = s; 302 tot += (max >> [all...] |
H A D | cor_h_x2.cpp | 173 Word32 s, y32[L_CODE], max, tot; 181 max = 0; 191 if (L_sub (s, max) > (Word32) 0L) 192 max = s; 194 tot = L_add (tot, L_shr (max, 1)); 244 Word32 max; local 252 max = 0; 266 if (s > max) 268 max = s; 271 tot = (tot + (max >> [all...] |
H A D | hp_max.cpp | 88 cor_hp_max = pointer to max high-pass filtered norm. correlation (Word16) 92 cor_hp_max contains max high-pass filtered norm. correlation (Word16) 134 Word16 *cor_hp_max) // o : max high-pass filtered norm. correlation 138 Word32 max, t0, t1; 142 max = MIN_32; 154 if (L_sub (t0, max) >= 0) 156 max = t0; 181 // max/t0 182 shift1 = sub(norm_l(max), 1); 183 max16 = extract_h(L_shl(max, shift 249 Word32 max, t0, t1; local [all...] |
H A D | set_sign.cpp | 58 of the max correlation. Updated copyright year. 368 Word16 val, cor, k_cn, k_dn, max, max_of_all; 418 max = -1; 423 val = sub (cor, max); 427 max = cor; 433 val = sub (max, max_of_all); 437 max_of_all = max; 502 Word16 max; local 567 max = -1; 572 if (cor > max) [all...] |
/frameworks/base/core/java/android/os/ |
H A D | FileUtils.java | 140 * @param max length (positive for head, negative of tail, 0 for no limit) 145 public static String readTextFile(File file, int max, String ellipsis) throws IOException { argument 153 if (max > 0 || (size > 0 && max == 0)) { // "head" mode: read the first N bytes 154 if (size > 0 && (max == 0 || size < max)) max = (int) size; 155 byte[] data = new byte[max + 1]; 158 if (length <= max) return new String(data, 0, length); 159 if (ellipsis == null) return new String(data, 0, max); [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | SetTimeZonePermissionsTest.java | 51 int max = (mZones.length > 10) ? mZones.length : 10; 52 assertTrue("No system-defined time zones - test invalid", max > 0); 54 for (int i = 0; i < max; i++) {
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | BigCacheTest.java | 58 final int max = ViewConfiguration.get(getActivity()).getScaledMaximumDrawingCacheSize(); 59 assertTrue(mTiny.getWidth() * mTiny.getHeight() * 2 < max); 66 final int max = ViewConfiguration.get(getActivity()).getScaledMaximumDrawingCacheSize(); 67 assertTrue(mLarge.getWidth() * mLarge.getHeight() * 2 > max);
|
/frameworks/base/core/java/android/hardware/ |
H A D | Sensor.java | 201 void setRange(float max, float res) { argument 202 mMaxRange = max;
|
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/ |
H A D | UT_math_agree.java | 201 // max reference functions 202 private float max(float v1, float v2) { method in class:UT_math_agree 205 private float[] max(float[] v1, float[] v2) { method in class:UT_math_agree 209 rv[i] = max(v1[i], v2[i]); 212 private byte max(byte v1, byte v2) { method in class:UT_math_agree 215 private byte[] max(byte[] v1, byte[] v2) { method in class:UT_math_agree 219 rv[i] = max(v1[i], v2[i]); 222 private short max(short v1, short v2) { method in class:UT_math_agree 225 private short[] max(short[] v1, short[] v2) { method in class:UT_math_agree 229 rv[i] = max(v 232 private int max(int v1, int v2) { method in class:UT_math_agree 235 private int[] max(int[] v1, int[] v2) { method in class:UT_math_agree 242 private long max(long v1, long v2) { method in class:UT_math_agree 245 private long[] max(long[] v1, long[] v2) { method in class:UT_math_agree [all...] |
/frameworks/ex/photoviewer/src/com/android/ex/photo/views/ |
H A D | ProgressBarWrapper.java | 61 public void setMax(int max) { argument 62 mDeterminate.setMax(max);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
H A D | ProgressBarWrapper.java | 61 public void setMax(int max) { argument 62 mDeterminate.setMax(max);
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
H A D | EffectParameter.java | 35 public EffectParameter (int min, int max, SeekBar seekBar, TextView textView, String unit) { argument 37 mMax = max; 43 mSeekBar.setMax(max-min);
|
/frameworks/base/core/java/android/widget/ |
H A D | LinearLayout.java | 582 mWeightSum = Math.max(0.0f, weightSum); 651 // See how tall everyone is. Also remember max width. 678 mTotalLength = Math.max(totalLength, totalLength + lp.topMargin + lp.bottomMargin); 705 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin + 709 largestChildHeight = Math.max(childHeight, largestChildHeight); 743 maxWidth = Math.max(maxWidth, measuredWidth); 752 weightedMaxWidth = Math.max(weightedMaxWidth, 755 alternativeMaxWidth = Math.max(alternativeMaxWidth, 787 mTotalLength = Math.max(totalLength, totalLength + largestChildHeight + 798 heightSize = Math.max(heightSiz [all...] |
H A D | AbsSeekBar.java | 180 * By default, this will be a value that is derived from the max progress. 190 public synchronized void setMax(int max) { argument 191 super.setMax(max); 196 setKeyProgressIncrement(Math.max(1, Math.round((float) getMax() / 20))); 252 // The max height does not incorporate padding, whereas the height 256 int max = getMax(); 257 float scale = max > 0 ? (float) getProgress() / (float) max : 0; 345 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth())); 346 dh = Math.max(mMinHeigh [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteGlobal.java | 113 return Math.max(1, value); 123 return Math.max(2, value);
|
/frameworks/base/core/java/android/preference/ |
H A D | SeekBarPreference.java | 100 public void setMax(int max) { argument 101 if (max != mMax) { 102 mMax = max; 184 myState.max = mMax; 200 mMax = myState.max; 212 int max; field in class:SeekBarPreference.SavedState 219 max = source.readInt(); 228 dest.writeInt(max);
|