/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | pitch_f4.c | 81 Word16 max, t0, step, temp; local 99 max = corr[t0_min]; 103 if (corr[i] >= max) 105 max = corr[i]; 132 max = Interpol_4(&corr[t0], fraction); 137 if(temp > max) 139 max = temp;
|
/frameworks/base/core/java/android/app/ |
H A D | ProgressDialog.java | 43 * <p>The progress range is 0 to {@link #getMax() max}.</p> 207 int max = mProgress.getMax(); 210 mProgressNumber.setText(String.format(format, progress, max)); 215 double percent = (double) progress / (double) max; 354 public void setMax(int max) { argument 356 mProgress.setMax(max); 359 mMax = max;
|
/frameworks/base/core/java/android/net/metrics/ |
H A D | NetworkMetrics.java | 150 j.add(String.format("dns avg=%dms max=%dms err=%.1f%% tot=%d", 151 (int) dnsLatencies.average(), (int) dnsLatencies.max, 153 j.add(String.format("connect avg=%dms max=%dms err=%.1f%% tot=%d", 154 (int) connectLatencies.average(), (int) connectLatencies.max, 167 public double max = Double.MIN_VALUE; field in class:NetworkMetrics.Metrics 173 this.max = Math.max(this.max, that.max); 183 max [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | SeekBarPreference.java | 105 public void setMax(int max) { argument 106 if (max != mMax) { 107 mMax = max; 189 myState.max = mMax; 205 mMax = myState.max; 217 int max; field in class:SeekBarPreference.SavedState 224 max = source.readInt(); 233 dest.writeInt(max);
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | BlockingAudioTrack.java | 215 int bufferSizeInBytes = Math.max(MIN_AUDIO_BUFFER_SIZE, minBufferSizeInBytes); 335 private static final long clip(long value, long min, long max) { argument 336 return value < min ? min : (value < max ? value : max); 339 private static final float clip(float value, float min, float max) { argument 340 return value < min ? min : (value < max ? value : max);
|
/frameworks/base/core/java/android/util/ |
H A D | MathUtils.java | 63 public static float max(float a, float b) { method in class:MathUtils 67 public static float max(int a, int b) { method in class:MathUtils 71 public static float max(float a, float b, float c) { method in class:MathUtils 75 public static float max(int a, int b, int c) { method in class:MathUtils
|
/frameworks/base/core/java/android/widget/ |
H A D | DayPickerPagerAdapter.java | 78 public void setRange(@NonNull Calendar min, @NonNull Calendar max) { argument 80 mMaxDate.setTimeInMillis(max.getTimeInMillis());
|
H A D | RatingBar.java | 326 public synchronized void setMax(int max) { argument 327 // Disallow max progress = 0 328 if (max <= 0) { 332 super.setMax(max);
|
H A D | YearPickerView.java | 103 public void setRange(Calendar min, Calendar max) { argument 104 mAdapter.setRange(min, max);
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
H A D | BassBoostTest.java | 163 public BassBoostParam(BassBoost bassboost, int min, int max, SeekBar seekBar, TextView textView) { argument 164 super (min, max, seekBar, textView, "o/oo");
|
H A D | EnvReverbTest.java | 274 public EnvReverbParam(EnvironmentalReverb reverb, int min, int max, SeekBar seekBar, TextView textView, String unit) { argument 275 super (min, max, seekBar, textView, unit);
|
H A D | EqualizerTest.java | 239 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, "");
|
H A D | PresetReverbTest.java | 173 public PresetParam(PresetReverb presetrvb, short min, short max, SeekBar seekBar, TextView textView) { argument 174 super (min, max, seekBar, textView, "");
|
H A D | VirtualizerTest.java | 160 public VirtualizerParam(Virtualizer virtualizer, int min, int max, SeekBar seekBar, TextView textView) { argument 161 super (min, max, seekBar, textView, "o/oo");
|
/frameworks/base/native/android/ |
H A D | asset_manager.cpp | 108 const size_t max = assetDir->mAssetDir->getFileCount(); local 113 while ((index < max) && (assetDir->mAssetDir->getFileType(index) != kFileTypeRegular)) { 119 if (index < max) {
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
H A D | Utilities.java | 120 * @return the clamped {@param value} between the provided {@param min} and {@param max}. 122 public static float clamp(float value, float min, float max) { argument 123 return Math.max(min, Math.min(max, value)); 127 * @return the clamped {@param value} between the provided {@param min} and {@param max}. 129 public static int clamp(int value, int min, int max) { argument 130 return Math.max(min, Math.min(max, value)); 137 return Math.max(0f, Math.min(1f, value)); 142 * {@param max} value 146 mapRange(@loatRangefrom=0.0,to=1.0) float value, float min, float max) argument 155 unmapRange(float value, float min, float max) argument [all...] |
/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64RelocationHelpers.h | 25 int64_t max = (1 << (bits - 1)) - 1; local 27 if (signed_val > max || signed_val < min)
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | AndroidCamera2Settings.java | 322 private int toIntConstrained(double original, int min, int max) { argument 323 original = Math.max(original, min); 324 original = Math.min(original, max);
|
/frameworks/native/include/input/ |
H A D | InputDevice.h | 69 float max; member in struct:android::InputDeviceInfo::MotionRange 95 float min, float max, float flat, float fuzz, float resolution);
|
/frameworks/native/services/vr/virtual_touchpad/ |
H A D | EvdevInjector.cpp | 131 int EvdevInjector::ConfigureAbs(uint16_t abs_type, int32_t min, int32_t max, argument 135 abs_type, min, max, fuzz, flat); 151 uidev_.absmax[abs_type] = max;
|
/frameworks/native/vulkan/vkjson/ |
H A D | vkjson.cc | 52 static uint32_t max() { return VK_PHYSICAL_DEVICE_TYPE_END_RANGE; } function in struct:__anon1940::EnumTraits 53 static bool exist(uint32_t e) { return e >= min() && e <= max(); } 295 static uint32_t max() { return VK_POINT_CLIPPING_BEHAVIOR_END_RANGE; } function in struct:__anon1940::EnumTraits 296 static bool exist(uint32_t e) { return e >= min() && e <= max(); } 849 assert(value.size() <= std::numeric_limits<uint32_t>::max()); 912 d > static_cast<double>(std::numeric_limits<int32_t>::max())) 929 d > static_cast<double>(std::numeric_limits<uint32_t>::max())) 938 if (value32 > std::numeric_limits<uint8_t>::max())
|
H A D | vkjson.h | 33 #undef max macro
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuRuntimeMath.cpp | 100 float SC_randf2(float min, float max) { argument 103 r = r * (max - min) + min;
|
/frameworks/rs/driver/runtime/ |
H A D | rs_core.c | 110 extern uint32_t __attribute__((overloadable)) max(uint32_t, uint32_t); 111 extern int32_t __attribute__((overloadable)) max(int32_t, int32_t); 137 uint32_t n = max(value, prev); 147 int32_t n = max(value, prev); 160 extern float __attribute__((overloadable)) rsRand(float min, float max);/* { 163 r = r * (max - min) + min; 168 extern float __attribute__((overloadable)) rsRand(float max) { argument 169 return rsRand(0.f, max); 171 //r *= max; 176 extern int __attribute__((overloadable)) rsRand(int max) { argument 180 rsRand(int min, int max) argument [all...] |
/frameworks/rs/tests/java_api/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...] |