/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/core/jni/ |
H A D | android_app_admin_SecurityLog.cpp | 61 size_t max = sizeof(buf) - sizeof(len) - 2; // Type byte, final newline local 62 if (len > max) len = max; 80 const size_t max = sizeof(buf) - 1; // leave room for final newline local 87 if (pos + 1 + sizeof(jint) > max) break; 90 if (pos + 1 + sizeof(len) + len > max) len = max - pos - 1 - sizeof(len); 98 if (pos + 1 + sizeof(intVal) > max) break; 104 if (pos + 1 + sizeof(longVal) > max) break; 110 if (pos + 1 + sizeof(floatVal) > max) brea [all...] |
/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 | 130 const size_t max = assetDir->mAssetDir->getFileCount(); local 135 while ((index < max) && (assetDir->mAssetDir->getFileType(index) != kFileTypeRegular)) { 141 if (index < max) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
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/cmds/servicemanager/ |
H A D | service_manager.c | 36 size_t max = 127; local 39 if (x_len < max) { 40 max = x_len; 44 while ((max > 0) && (*x != '\0')) { 46 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/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_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/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...] |
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
H A D | DepthImage.java | 96 public float max; field in class:DepthImage.MinMax 98 public MinMax(float min, float max) { argument 100 this.max = max; 103 public static MinMax create(float min, float max) { argument 104 return new MinMax(min, max); 110 float max = min; 115 } else if (x > max) { 116 max = x; 119 return MinMax.create(min, max); [all...] |
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/ |
H A D | UT_math_agree.java | 242 // max reference functions 243 private float max(float v1, float v2) { method in class:UT_math_agree 247 private float[] max(float[] v1, float[] v2) { method in class:UT_math_agree 251 rv[i] = max(v1[i], v2[i]); 255 private byte max(byte v1, byte v2) { method in class:UT_math_agree 259 private byte[] max(byte[] v1, byte[] v2) { method in class:UT_math_agree 263 rv[i] = max(v1[i], v2[i]); 267 private short max(short v1, short v2) { method in class:UT_math_agree 271 private short[] max(short[] v1, short[] v2) { method in class:UT_math_agree 275 rv[i] = max(v 279 private int max(int v1, int v2) { method in class:UT_math_agree 283 private int[] max(int[] v1, int[] v2) { method in class:UT_math_agree 291 private long max(long v1, long v2) { method in class:UT_math_agree 295 private long[] max(long[] v1, long[] v2) { method in class:UT_math_agree [all...] |
/frameworks/support/design/src/android/support/design/widget/ |
H A D | SwipeDismissBehavior.java | 308 int min, max; 313 max = mOriginalCapturedViewLeft; 316 max = mOriginalCapturedViewLeft + child.getWidth(); 321 max = mOriginalCapturedViewLeft + child.getWidth(); 324 max = mOriginalCapturedViewLeft; 328 max = mOriginalCapturedViewLeft + child.getWidth(); 331 return clamp(min, left, max); 387 static float clamp(float min, float value, float max) { argument 388 return Math.min(Math.max(min, value), max); 391 clamp(int min, int value, int max) argument [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | SeekBar.java | 179 * Get max value. 186 * Set max value. 188 public void setMax(int max) { argument 189 this.mMax = max;
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
H A D | SeekBarPreference.java | 41 * Other SeekBar specific attributes (e.g. {@code title, summary, defaultValue, min, max}) can be 123 * The ordering of these two statements are important. If we want to set max first, we need 124 * to perform the same steps by changing min/max to max/min as following: 208 public final void setMax(int max) { argument 209 if (max < mMin) { 210 max = mMin; 212 if (max != mMax) { 213 mMax = max; 307 myState.max 337 int max; field in class:SeekBarPreference.SavedState [all...] |