Searched defs:max (Results 1 - 25 of 183) sorted by relevance

12345678

/frameworks/ex/framesequence/jni/utils/
H A Dmath.h20 #define max(a,b) \ macro
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dgmed_n.cpp131 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/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dfind_min_max.cpp142 int min, max; local
147 max = min = *input_ptr;
154 if (*input_ptr > max)
156 max = *input_ptr;
169 *max_ptr = max;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dimgprocutil.h27 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/native/services/surfaceflinger/
H A Dclz.h41 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/support/core-utils/java/android/support/v4/math/
H A DMathUtils.java34 * @param max maximum resulting value.
38 public static float clamp(float value, float min, float max) { argument
41 } else if (value > max) {
42 return max;
55 * @param max maximum resulting value.
59 public static double clamp(double value, double min, double max) { argument
62 } else if (value > max) {
63 return max;
76 * @param max maximum resulting value.
80 public static int clamp(int value, int min, int max) { argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dcor_h_x.cpp189 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 Dcor_h_x2.cpp173 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 Dhp_max.cpp88 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/java/android/text/
H A DInputFilter.java80 public LengthFilter(int max) { argument
81 mMax = max;
/frameworks/base/graphics/java/android/graphics/
H A DTableMaskFilter.java35 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/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBucketTest.java45 int max = 0; field in class:BucketTest
62 max = 0;
67 max = Math.max(max, i);
78 for (int i = 0; i < max + 100; i++) {
87 for (int i = 0; i < max + 100; i++) {
144 max = Math.max(i, max);
[all...]
/frameworks/base/core/java/android/hardware/
H A DConsumerIrManager.java99 * @param max The maximum transmittable frequency in this range segment.
101 public CarrierFrequencyRange(int min, int max) { argument
103 mMaxFrequency = max;
/frameworks/native/libs/binder/tests/
H A DbinderTextOutputTest.cpp156 TypeParam max = std::numeric_limits<TypeParam>::max(); local
157 CHECK_VAL(max);
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DProgressBarWrapper.java61 public void setMax(int max) { argument
62 mDeterminate.setMax(max);
/frameworks/av/include/media/stagefright/foundation/
H A DAUtils.h60 inline static const T &max(const T &a, const T &b) { function
/frameworks/av/media/libstagefright/filters/
H A DColorConvert.cpp19 #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));
/frameworks/av/media/libstagefright/foundation/include/foundation/
H A DAUtils.h60 inline static const T &max(const T &a, const T &b) { function
/frameworks/av/media/libstagefright/include/foundation/
H A DAUtils.h60 inline static const T &max(const T &a, const T &b) { function
/frameworks/base/core/java/android/speech/tts/
H A DAudioPlaybackQueueItem.java112 private static final float clip(float value, float min, float max) { argument
113 return value < min ? min : (value < max ? value : max);
/frameworks/base/core/java/android/view/
H A DRoundScrollbarRenderer.java67 float currentScroll = Math.max(0, mParent.computeVerticalScrollOffset());
97 private static float clamp(float val, float min, float max) { argument
100 } else if (val > max) {
101 return max;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaProfileReader.java106 private static int getMinOrMaxFrameRateForCodec(int codec, boolean max) { argument
109 if (max) return cap.mMaxFrameRate;
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DToggleSlider.java29 void setMax(int max); argument
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
H A DLongStatsCollector.java26 * Class that collect a series of longs and produces the median, min and max values.
64 mMax = Math.max(mMax, value);
74 private Stats(int samples, long min, long max, double median) { argument
77 mMax = max;
/frameworks/native/libs/ui/
H A DRect.cpp29 static inline int32_t max(int32_t a, int32_t b) { function in namespace:android
86 result->left = max(left, with.left);
87 result->top = max(top, with.top);
134 result.left = max(result.left, exclude.right);
136 result.top = max(result.top, exclude.bottom);

Completed in 544 milliseconds

12345678