/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | find_min_max.cpp | 142 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/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | imgprocutil.h | 27 inline int clamp(int min, int val, int max) { argument 28 return val < min ? min : (val > max ? max : val); 29 // Note that for performance reasons, this function does *not* check if min < max!
|
/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 long 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 Word16 max; local 201 max = -32767; 204 if (*(tmp2 + j) >= max) 206 max = *(tmp2 + j);
|
/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],
|
/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...] |
/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/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | DataUsageGraph.java | 55 mLimitLevel = Math.max(0, limitLevel); 56 mWarningLevel = Math.max(0, warningLevel); 57 mUsageLevel = Math.max(0, usageLevel); 58 mMaxLevel = Math.max(Math.max(Math.max(mLimitLevel, mWarningLevel), mUsageLevel), 1); 76 usageRight = Math.min(Math.max(usageRight, mMarkerWidth), w - mMarkerWidth * 2); 96 warningLeft = Math.min(Math.max(warningLeft, 0), w - mMarkerWidth);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | BucketTest.java | 34 int max = 0; field in class:BucketTest 52 max = 0; 57 max = Math.max(max, i); 67 for (int i = 0; i < max + 100; i++) { 76 for (int i = 0; i < max + 100; i++) { 130 max = Math.max(i, max); [all...] |
/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/ex/framesequence/jni/utils/ |
H A D | math.h | 20 #define max(a,b) \ macro
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | bugdroid.rs | 37 static short pill(float3 p1, float3 p2, float rad, short max, float3 img) {
38 return (short) (max * sigmoid(pillDistance(p1, p2, img) - rad));
41 static short cogPill(float3 p1, float3 p2, float rad, short max, float3 img) {
44 return (short) (max
57 static short cylinder(float3 p1, float3 p2, float rad, short max, float3 img) {
58 return (short) (max * sigmoid(cylinderDistance(p1, p2, img) - rad));
61 static short cogCylinder(float3 p1, float3 p2, float rad, short max, float3 img) {
64 return (short) (max
78 short max, float3 img) {
79 return (short) (max
[all...] |
/frameworks/support/design/src/android/support/design/widget/ |
H A D | SwipeDismissBehavior.java | 275 int min, max; 280 max = mOriginalCapturedViewLeft; 283 max = mOriginalCapturedViewLeft + child.getWidth(); 288 max = mOriginalCapturedViewLeft + child.getWidth(); 291 max = mOriginalCapturedViewLeft; 295 max = mOriginalCapturedViewLeft + child.getWidth(); 298 return clamp(min, left, max); 354 private static float clamp(float min, float value, float max) { argument 355 return Math.min(Math.max(min, value), max); 358 clamp(int min, int value, int max) argument [all...] |
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/ |
H A D | FlagSet.java | 49 this.buckets = new long[Math.max(buckets.length, minBucketCount)]; 55 int max = 0; 57 max = Math.max(i, bits[i]); 59 buckets = new long[1 + (max / sBucketSize)]; 134 final int max = Math.max(buckets.length, other.buckets.length); 135 for (int i = 0; i < max; i ++) {
|
/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/rs/java/tests/RSTest_CompatLib/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/rs/java/tests/RSTest_CompatLibLegacy/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/rs/java/tests/RsTest/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/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/av/media/libeffects/loudness/dsp/core/ |
H A D | dynamic_range_compression.cpp | 79 const float max_abs_x = std::max(std::fabs(x), kMinLogAbsValue); 84 const float rect = std::max(overshoot, 0.0f); 107 const float max_abs_x = std::max(std::fabs(*x1), 108 std::max(std::fabs(*x2), kMinLogAbsValue)); 113 const float rect = std::max(overshoot, 0.0f);
|
/frameworks/av/media/libstagefright/filters/ |
H A D | ColorConvert.cpp | 19 #ifndef max 20 #define max(a,b) ((a) > (b) ? (a) : (b)) macro 39 *r = min(262143, max(0, *r)); 40 *g = min(262143, max(0, *g)); 41 *b = min(262143, max(0, *b));
|