Searched defs:max (Results 26 - 50 of 204) sorted by relevance

123456789

/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
H A DToggleSliderView.java120 public void setMax(int max) { argument
121 mSlider.setMax(max);
123 mMirror.setMax(max);
/frameworks/base/services/backup/java/com/android/server/backup/transport/
H A DTransportStats.java78 pw.println(String.format(Locale.US, "%sMax connection time: %d ms", prefix, stats.max));
88 Math.max(a.max, b.max),
94 public long max; field in class:TransportStats.Stats
100 max = 0;
104 private Stats(int n, double average, long max, long min) { argument
107 this.max = max;
112 this(original.n, original.average, original.max, origina
[all...]
/frameworks/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);
/frameworks/native/services/sensorservice/
H A DSensorFusion.cpp121 template <typename T> inline T max(T a, T b) { return a>b ? a : b; } function in namespace:android
/frameworks/av/include/media/
H A DEventMetric.h31 double max; member in struct:android::EventStatistics
97 stats->max = stats->max > value ? stats->max : value;
103 stats->max = value;
/frameworks/av/media/libaudioclient/
H A DPlayerBase.cpp20 #define max(a, b) ((a) > (b) ? (a) : (b)) macro
159 pan = min(max(-1.0f, pan), 1.0f);
/frameworks/av/media/libaudioprocessing/
H A DRecordBufferConverter.cpp33 static inline T max(const T& a, const T& b) function
189 mBufFrameSize = max(mSrcChannelCount, (uint32_t)FCC_2)
/frameworks/av/media/libmedia/include/media/
H A DEventMetric.h31 double max; member in struct:android::EventStatistics
97 stats->max = stats->max > value ? stats->max : value;
103 stats->max = value;
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dset_sign.cpp58 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...]
H A Dp_ol_wgh.cpp422 rmax = pointer to max(<s[i]*s[j]>), (Word32)
430 rmax contains the newly calculated max(<s[i]*s[j]>)
435 p_max = lag of the max correlation found (Word16)
482 Word32 max, t0;
491 max = MIN_32;
509 if (L_sub (t0, max) >= 0)
511 max = t0;
530 vadSt->L_Rmax = L_add(vadSt->L_Rmax, t0); // Save max correlation
531 vadSt->L_R0 = L_add(vadSt->L_R0, t1); // Save max energy
590 Word32 max; local
[all...]
H A Dpitch_ol.cpp100 rmax = pointer to max(<s[i]*s[j]>), (Word32)
107 rmax contains the newly calculated max(<s[i]*s[j]>)
111 p_max = lag of the max correlation found (Word16)
142 p_max = lag of the max correlation found (Word16)
184 Word32 *rmax, // o : max(<s[i]*s[j]>)
205 Word32 max, t0;
209 max = MIN_32;
214 if (L_sub (corr[-i], max) >= 0)
216 max = corr[-i];
234 *rmax = max;
325 Word32 max; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dp_med_ol.c42 Word32 i, j, max, R0, R1, R2; local
55 max = MIN_32;
85 if(R0 >= max)
87 max = R0;
/frameworks/av/media/mtp/
H A DMtpProperty.cpp249 void MtpProperty::setFormRange(int min, int max, int step) { argument
254 mMaximumValue.u.i8 = max;
259 mMaximumValue.u.u8 = max;
264 mMaximumValue.u.i16 = max;
269 mMaximumValue.u.u16 = max;
274 mMaximumValue.u.i32 = max;
279 mMaximumValue.u.u32 = max;
284 mMaximumValue.u.i64 = max;
289 mMaximumValue.u.u64 = max;
/frameworks/base/core/java/android/provider/
H A DSettingsValidators.java190 public InclusiveIntegerRangeValidator(int min, int max) { argument
192 mMax = max;
210 public InclusiveFloatRangeValidator(float min, float max) { argument
212 mMax = max;
/frameworks/base/core/java/android/text/
H A DInputFilter.java169 public LengthFilter(int max) { argument
170 mMax = max;
/frameworks/base/core/jni/android/graphics/
H A DMaskFilter.cpp53 static jlong createClipTable(JNIEnv* env, jobject, jint min, jint max) { argument
54 SkMaskFilter* filter = SkTableMaskFilter::CreateClip(min, max);
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DEffectParameter.java35 public EffectParameter (int min, int max, SeekBar seekBar, TextView textView, String unit) { argument
37 mMax = max;
43 mSeekBar.setMax(max-min);
/frameworks/ex/common/java/com/android/common/
H A DOperationScheduler.java60 "OperationScheduler.Options[backoff=%.1f+%.1f+%.1f max=%.1f min=%.1f period=%.1f]",
67 "OperationScheduler.Options[backoff=%.1f+%.1f max=%.1f min=%.1f period=%.1f]",
90 * backoff=(fixed)+(incremental)[+(exponential)] max=(maxmoratorium) min=(mintrigger) [period=](interval)
97 * The default options: <code>backoff=0+5 max=86400 min=0 period=0</code><br>
124 } else if (param.startsWith("max=")) {
175 time = Math.max(time, moratoriumTimeMillis);
176 time = Math.max(time, lastSuccessTimeMillis + options.minTriggerMillis);
189 time = Math.max(time, lastErrorTimeMillis + backoff);
210 return Math.max(
221 * @param max tim
224 getTimeBefore(String name, long max) argument
[all...]
/frameworks/native/libs/input/
H A DInputDevice.cpp185 void InputDeviceInfo::addMotionRange(int32_t axis, uint32_t source, float min, float max, argument
187 MotionRange range = { axis, source, min, max, flat, fuzz, resolution };
/frameworks/rs/driver/runtime/arch/
H A Dgeneric.c231 extern char __attribute__((overloadable)) max(char v1, char v2) { function
235 extern char2 __attribute__((overloadable)) max(char2 v1, char2 v2) { function
242 extern char3 __attribute__((overloadable)) max(char3 v1, char3 v2) { function
250 extern char4 __attribute__((overloadable)) max(char4 v1, char4 v2) { function
259 extern short __attribute__((overloadable)) max(short v1, short v2) { function
263 extern short2 __attribute__((overloadable)) max(short2 v1, short2 v2) { function
270 extern short3 __attribute__((overloadable)) max(short3 v1, short3 v2) { function
278 extern short4 __attribute__((overloadable)) max(short4 v1, short4 v2) { function
287 extern int __attribute__((overloadable)) max(int v1, int v2) { function
291 extern int2 __attribute__((overloadable)) max(int function
298 extern int3 __attribute__((overloadable)) max(int3 v1, int3 v2) { function
306 extern int4 __attribute__((overloadable)) max(int4 v1, int4 v2) { function
315 extern uchar __attribute__((overloadable)) max(uchar v1, uchar v2) { function
319 extern uchar2 __attribute__((overloadable)) max(uchar2 v1, uchar2 v2) { function
326 extern uchar3 __attribute__((overloadable)) max(uchar3 v1, uchar3 v2) { function
334 extern uchar4 __attribute__((overloadable)) max(uchar4 v1, uchar4 v2) { function
343 extern ushort __attribute__((overloadable)) max(ushort v1, ushort v2) { function
347 extern ushort2 __attribute__((overloadable)) max(ushort2 v1, ushort2 v2) { function
354 extern ushort3 __attribute__((overloadable)) max(ushort3 v1, ushort3 v2) { function
362 extern ushort4 __attribute__((overloadable)) max(ushort4 v1, ushort4 v2) { function
371 extern uint __attribute__((overloadable)) max(uint v1, uint v2) { function
375 extern uint2 __attribute__((overloadable)) max(uint2 v1, uint2 v2) { function
382 extern uint3 __attribute__((overloadable)) max(uint3 v1, uint3 v2) { function
390 extern uint4 __attribute__((overloadable)) max(uint4 v1, uint4 v2) { function
399 extern float __attribute__((overloadable)) max(float v1, float v2) { function
403 extern float2 __attribute__((overloadable)) max(float2 v1, float2 v2) { function
407 extern float2 __attribute__((overloadable)) max(float2 v1, float v2) { function
411 extern float3 __attribute__((overloadable)) max(float3 v1, float3 v2) { function
415 extern float3 __attribute__((overloadable)) max(float3 v1, float v2) { function
419 extern float4 __attribute__((overloadable)) max(float4 v1, float4 v2) { function
423 extern float4 __attribute__((overloadable)) max(float4 v1, float v2) { function
[all...]
/frameworks/support/car/src/main/java/androidx/car/widget/
H A DPagedSnapHelper.java274 // The max and min distance is the total height of the RecyclerView minus the height of
276 // page on the RecyclerView. That is, the max scroll will make the last child the
350 * Ensures that the given value falls between the range given by the min and max values. This
351 * method does not check that the min value is greater than or equal to the max value. If the
356 * @param max The maximum value the given value can be.
357 * @return A number that falls between {@code min} or {@code max} or one of those values if the
358 * given value is less than or greater than {@code min} and {@code max} respectively.
360 private static int clamp(int value, int min, int max) { argument
361 return Math.max(min, Math.min(max, valu
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dpvamrwbdecoder.cpp328 int32 max; local
944 max = 1;
955 max |= tmp ^(tmp >> 15); /* |= tmp ^sign(tmp) */
959 /* tmp = scaling possible according to max value of excitation */
960 tmp = add_int16(norm_s(max), Q_new) - 1;

Completed in 224 milliseconds

123456789