Searched refs:max (Results 76 - 100 of 363) sorted by relevance

1234567891011>>

/frameworks/native/include/input/
H A DInputDevice.h64 float max; member in struct:android::InputDeviceInfo::MotionRange
88 float min, float max, float flat, float fuzz, float resolution);
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewPager.java98 page.setAlpha(Math.max(0,1.f - position));
99 final float scale = Math.max(0, 1.f - position * 0.3f);
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A Dbwfilter.rs32 float imageMax = max(sg,sb);
H A Dvibrance.rs35 float red = (r-max(g, b)) * (1.f / 256.f);
H A Dwbalance.rs96 int maximum = max(estimation.r, max(estimation.g, estimation.b));
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A Dbwfilter.rs32 float imageMax = max(sg,sb);
H A Dwbalance.rs115 int maximum = max(estimation.r, max(estimation.g, estimation.b));
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A Dbwfilter.rs32 float imageMax = max(sg,sb);
H A Dwbalance.rs115 int maximum = max(estimation.r, max(estimation.g, estimation.b));
/frameworks/av/media/libeffects/loudness/common/core/
H A Dmath.h23 using ::std::max;
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
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...]
/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/base/core/java/com/android/internal/widget/
H A DFaceUnlockView.java45 result = Math.max(specSize, desired);
H A DAutoScrollHelper.java651 private static int constrain(int value, int min, int max) { argument
652 if (value > max) {
653 return max;
661 private static float constrain(float value, float min, float max) { argument
662 if (value > max) {
663 return max;
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
H A DMultiPageTextWithPaddingTest.java55 int scrollsNeeded = (int)Math.ceil(Math.max(0.0f,
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
H A DPrintDialogFrame.java52 mHeight = Math.max(mHeight, getMeasuredHeight());
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DFadedEdgeDrawHelper.java128 topFadeStrength = Math.max(0.0f, Math.min(1.0f, topFadingEdgeStrength));
130 bottomFadeStrength = Math.max(0.0f, Math.min(1.0f, bottomFadingEdgeStrength));
135 leftFadeStrength = Math.max(0.0f, Math.min(1.0f, leftFadingEdgeStrength));
137 rightFadeStrength = Math.max(0.0f, Math.min(1.0f, rightFadingEdgeStrength));
/frameworks/base/services/java/com/android/server/content/
H A DSyncOperation.java79 * Depends on max(backoff, latestRunTime, and delayUntil).
269 Math.max(Math.max(latestRunTime, delayUntil), backoff);
283 long thisIntervalStart = Math.max(effectiveRunTime - flexTime, 0);
284 long otherIntervalStart = Math.max(
/frameworks/volley/src/com/android/volley/toolbox/
H A DPoolingByteArrayOutputStream.java53 buf = mPool.getBuf(Math.max(size, DEFAULT_SIZE));
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DProgressBarICS.java61 android.R.attr.max,
235 * <li>max = 100</li>
564 * <p>Set the range of the progress bar to 0...<tt>max</tt>.</p>
566 * @param max the upper range of this progress bar
572 public synchronized void setMax(int max) { argument
573 if (max < 0) {
574 max = 0;
576 if (max != mMax) {
577 mMax = max;
580 if (mProgress > max) {
[all...]
/frameworks/rs/driver/runtime/arch/
H A Dgeneric.c227 extern char __attribute__((overloadable)) max(char v1, char v2) { function
231 extern char2 __attribute__((overloadable)) max(char2 v1, char2 v2) { function
238 extern char3 __attribute__((overloadable)) max(char3 v1, char3 v2) { function
246 extern char4 __attribute__((overloadable)) max(char4 v1, char4 v2) { function
255 extern short __attribute__((overloadable)) max(short v1, short v2) { function
259 extern short2 __attribute__((overloadable)) max(short2 v1, short2 v2) { function
266 extern short3 __attribute__((overloadable)) max(short3 v1, short3 v2) { function
274 extern short4 __attribute__((overloadable)) max(short4 v1, short4 v2) { function
283 extern int __attribute__((overloadable)) max(int v1, int v2) { function
287 extern int2 __attribute__((overloadable)) max(int function
294 extern int3 __attribute__((overloadable)) max(int3 v1, int3 v2) { function
302 extern int4 __attribute__((overloadable)) max(int4 v1, int4 v2) { function
311 extern int64_t __attribute__((overloadable)) max(int64_t v1, int64_t v2) { function
315 extern long2 __attribute__((overloadable)) max(long2 v1, long2 v2) { function
322 extern long3 __attribute__((overloadable)) max(long3 v1, long3 v2) { function
330 extern long4 __attribute__((overloadable)) max(long4 v1, long4 v2) { function
339 extern uchar __attribute__((overloadable)) max(uchar v1, uchar v2) { function
343 extern uchar2 __attribute__((overloadable)) max(uchar2 v1, uchar2 v2) { function
350 extern uchar3 __attribute__((overloadable)) max(uchar3 v1, uchar3 v2) { function
358 extern uchar4 __attribute__((overloadable)) max(uchar4 v1, uchar4 v2) { function
367 extern ushort __attribute__((overloadable)) max(ushort v1, ushort v2) { function
371 extern ushort2 __attribute__((overloadable)) max(ushort2 v1, ushort2 v2) { function
378 extern ushort3 __attribute__((overloadable)) max(ushort3 v1, ushort3 v2) { function
386 extern ushort4 __attribute__((overloadable)) max(ushort4 v1, ushort4 v2) { function
395 extern uint __attribute__((overloadable)) max(uint v1, uint v2) { function
399 extern uint2 __attribute__((overloadable)) max(uint2 v1, uint2 v2) { function
406 extern uint3 __attribute__((overloadable)) max(uint3 v1, uint3 v2) { function
414 extern uint4 __attribute__((overloadable)) max(uint4 v1, uint4 v2) { function
423 extern ulong __attribute__((overloadable)) max(ulong v1, ulong v2) { function
427 extern ulong2 __attribute__((overloadable)) max(ulong2 v1, ulong2 v2) { function
434 extern ulong3 __attribute__((overloadable)) max(ulong3 v1, ulong3 v2) { function
442 extern ulong4 __attribute__((overloadable)) max(ulong4 v1, ulong4 v2) { function
451 extern float __attribute__((overloadable)) max(float v1, float v2) { function
455 extern float2 __attribute__((overloadable)) max(float2 v1, float2 v2) { function
459 extern float2 __attribute__((overloadable)) max(float2 v1, float v2) { function
463 extern float3 __attribute__((overloadable)) max(float3 v1, float3 v2) { function
467 extern float3 __attribute__((overloadable)) max(float3 v1, float v2) { function
471 extern float4 __attribute__((overloadable)) max(float4 v1, float4 v2) { function
475 extern float4 __attribute__((overloadable)) max(float4 v1, float v2) { function
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dadj_thr.c138 minSnrRed = max(minSnrRed, 20); /* 110: (0.375(redOffs)+1)*80,
228 tmpMinSnr = max(tmpMinSnr, HOLE_THR_LONG);
229 tmpMinSnr = max(tmpMinSnr, threshold);
266 Word32 maxSfbEn = max(sfbEnM, sfbEnS);
274 psyOutChanM->sfbMinSnr[sfb] = min(max(psyOutChanM->sfbMinSnr[sfb],
283 psyOutChanS->sfbMinSnr[sfb] = min(max(psyOutChanS->sfbMinSnr[sfb],
394 sfbThrReduced = max(tmp, *psfbThr);
508 sfbThrReduced = max(sfbEn, sfbThr);
684 maxSfb = max(maxSfb, (psyOutChannel[1].sfbCnt - 1));
835 fillLevel = max(fillLeve
[all...]
/frameworks/base/core/java/android/text/
H A DLayout.java329 int max = (int)getLineExtent(i, tabStops, false);
332 x = right - max;
334 x = left - max;
337 max = max & ~1;
338 x = (right + left - max) >> 1;
456 final int top = Math.max(dtop, 0);
504 int max = (int)getLineExtent(line, tabStops, false);
507 x = right - max;
509 // max i
[all...]
/frameworks/av/media/mtp/
H A DMtpProperty.cpp226 void MtpProperty::setFormRange(int min, int max, int step) { argument
231 mMaximumValue.u.i8 = max;
236 mMaximumValue.u.u8 = max;
241 mMaximumValue.u.i16 = max;
246 mMaximumValue.u.u16 = max;
251 mMaximumValue.u.i32 = max;
256 mMaximumValue.u.u32 = max;
261 mMaximumValue.u.i64 = max;
266 mMaximumValue.u.u64 = max;
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DEqualizerTest.java239 public EqualizerParam(Equalizer equalizer, int min, int max, SeekBar seekBar, TextView textView, String unit) { argument
240 super (min, max, seekBar, textView, unit);
264 public BandLevelParam(Equalizer equalizer, int band, short min, short max, SeekBar seekBar, TextView textView) { argument
265 super (equalizer, min, max, seekBar, textView, "mB");
290 public PresetParam(Equalizer equalizer, short min, short max, SeekBar seekBar, TextView textView) { argument
291 super (equalizer, min, max, seekBar, textView, "");

Completed in 742 milliseconds

1234567891011>>