/frameworks/wilhelm/tests/sandbox/ |
H A D | playbq.cpp | 36 #define min(a, b) ((a) < (b) ? (a) : (b)) macro 598 } else if (currentRate <= min(initialRate, finalRate)) { 599 currentRate = min(initialRate, finalRate);
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 30 import static java.lang.Math.min; 662 boolean isAtEdge = leading1 ? (span.min == 0) : (span.max == axis.getCount()); 687 int index = leading ? spec.span.min : spec.span.max; 710 Arrays.fill(a, Math.min(start, length), Math.min(end, length), value); 724 int min = minorWasDefined ? min(minorRange.min, count) : 0; 725 return min(size, count - min); 1227 createLinks(boolean min) argument 1237 computeLinks(PackedMap<Interval, MutableInt> links, boolean min) argument 1735 setParentConstraints(int min, int max) argument 1741 getMeasure(int min, int max) argument 2279 size(boolean min) argument 2325 public final int min; field in class:GridLayout.Interval 2342 Interval(int min, int max) argument [all...] |
/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 124 * to perform the same steps by changing min/max to max/min as following: 194 public void setMin(int min) { argument 195 if (min > mMax) { 196 min = mMax; 198 if (min != mMin) { 199 mMin = min; 235 mSeekBarIncrement = Math.min(mMax - mMin, Math.abs(seekBarIncrement)); 306 myState.min 336 int min; field in class:SeekBarPreference.SavedState [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | RecyclerView.java | 479 // simple array to keep min and max child position during a layout calculation 2134 velocityX = Math.max(-mMaxFlingVelocity, Math.min(velocityX, mMaxFlingVelocity)); 2135 velocityY = Math.max(-mMaxFlingVelocity, Math.min(velocityY, mMaxFlingVelocity)); 3472 final int limit = Math.min(itemCount, startFocusSearchIndex); 4981 final float distanceRatio = Math.min(1.f, 1.f * delta / containerSize); 4992 return Math.min(duration, MAX_SCROLL_DURATION); 7283 * @param min The minimum value 7287 public static int chooseSize(int spec, int desired, int min) { argument 7294 return Math.min(size, Math.max(desired, min)); [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | TestedFrameLayout.java | 90 public static int chooseSize(int spec, int desired, int min) { argument 97 return Math.min(size, desired); 100 return Math.max(desired, min);
|
/frameworks/support/compat/java/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompat.java | 673 * @param min The min value. 678 public static RangeInfoCompat obtain(int type, float min, float max, float current) { argument 679 return new RangeInfoCompat(IMPL.obtainRangeInfo(type, min, max, current)); 707 * Gets the min value. 709 * @return The min value. 898 public Object obtainRangeInfo(int type, float min, float max, float current) { argument 1359 public Object obtainRangeInfo(int type, float min, float max, float current) { argument 1360 return AccessibilityNodeInfo.RangeInfo.obtain(type, min, max, current);
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
H A D | AutoScrollHelper.java | 651 static int constrain(int value, int min, int max) { argument 654 } else if (value < min) { 655 return min; 661 static float constrain(float value, float min, float max) { argument 664 } else if (value < min) { 665 return min;
|
/frameworks/support/core-utils/java/android/support/v4/math/ |
H A D | MathUtils.java | 33 * @param min minimum resulting value. 38 public static float clamp(float value, float min, float max) { argument 39 if (value < min) { 40 return min; 54 * @param min minimum resulting value. 59 public static double clamp(double value, double min, double max) { argument 60 if (value < min) { 61 return min; 75 * @param min minimum resulting value. 80 public static int clamp(int value, int min, in argument [all...] |
/frameworks/support/design/src/android/support/design/widget/ |
H A D | SwipeDismissBehavior.java | 308 int min, max; 312 min = mOriginalCapturedViewLeft - child.getWidth(); 315 min = mOriginalCapturedViewLeft; 320 min = mOriginalCapturedViewLeft; 323 min = mOriginalCapturedViewLeft - child.getWidth(); 327 min = 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, valu 391 clamp(int min, int value, int max) argument [all...] |
/frameworks/support/dynamic-animation/src/android/support/animation/ |
H A D | DynamicAnimation.java | 283 // Multiplier to the min visible change value for value threshold 414 // assuming the end of the animations when the max/min value is hit in the base class. 415 // The reason is that hitting max/min value may just be a transient state, such as during 422 * Sets the min value of the animation. Animations will not animate beyond their min value. 423 * Whether or not animation will come to an end when min value is reached is dependent on the 426 * @param min minimum value of the property to be animated 427 * @return the Animation whose min value is being set 429 public T setMinValue(float min) { argument 430 mMinValue = min; [all...] |
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/ |
H A D | UT_bug_char.java | 40 private byte min(byte v1, byte v2) { method in class:UT_bug_char 43 private byte[] min(byte[] v1, byte[] v2) { method in class:UT_bug_char 47 rv[i] = min(v1[i], v2[i]); 67 // Set results for min 68 s.set_min_rand_sc1_sc1(min(rand_sc1_0, rand_sc1_1)); 69 byte[] min_rand_sc2_raw = min(rand_sc2_0, rand_sc2_1);
|
H A D | UT_math_agree.java | 148 // min reference functions 149 private float min(float v1, float v2) { method in class:UT_math_agree 152 private float[] min(float[] v1, float[] v2) { method in class:UT_math_agree 156 rv[i] = min(v1[i], v2[i]); 159 private byte min(byte v1, byte v2) { method in class:UT_math_agree 162 private byte[] min(byte[] v1, byte[] v2) { method in class:UT_math_agree 166 rv[i] = min(v1[i], v2[i]); 169 private short min(short v1, short v2) { method in class:UT_math_agree 172 private short[] min(short[] v1, short[] v2) { method in class:UT_math_agree 176 rv[i] = min(v 179 private int min(int v1, int v2) { method in class:UT_math_agree 182 private int[] min(int[] v1, int[] v2) { method in class:UT_math_agree 189 private long min(long v1, long v2) { method in class:UT_math_agree 192 private long[] min(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_bug_char.java | 40 private byte min(byte v1, byte v2) { method in class:UT_bug_char 43 private byte[] min(byte[] v1, byte[] v2) { method in class:UT_bug_char 47 rv[i] = min(v1[i], v2[i]); 67 // Set results for min 68 s.set_min_rand_sc1_sc1(min(rand_sc1_0, rand_sc1_1)); 69 byte[] min_rand_sc2_raw = min(rand_sc2_0, rand_sc2_1);
|
H A D | UT_math_agree.java | 148 // min reference functions 149 private float min(float v1, float v2) { method in class:UT_math_agree 152 private float[] min(float[] v1, float[] v2) { method in class:UT_math_agree 156 rv[i] = min(v1[i], v2[i]); 159 private byte min(byte v1, byte v2) { method in class:UT_math_agree 162 private byte[] min(byte[] v1, byte[] v2) { method in class:UT_math_agree 166 rv[i] = min(v1[i], v2[i]); 169 private short min(short v1, short v2) { method in class:UT_math_agree 172 private short[] min(short[] v1, short[] v2) { method in class:UT_math_agree 176 rv[i] = min(v 179 private int min(int v1, int v2) { method in class:UT_math_agree 182 private int[] min(int[] v1, int[] v2) { method in class:UT_math_agree 189 private long min(long v1, long v2) { method in class:UT_math_agree 192 private long[] min(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 | 95 public float min; field in class:DepthImage.MinMax 98 public MinMax(float min, float max) { argument 99 this.min = min; 103 public static MinMax create(float min, float max) { argument 104 return new MinMax(min, max); 109 float min = array[0]; 110 float max = min; 113 if (x < min) { 114 min [all...] |
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/ |
H A D | UT_bug_char.java | 39 private byte min(byte v1, byte v2) { method in class:UT_bug_char 43 private byte[] min(byte[] v1, byte[] v2) { method in class:UT_bug_char 47 rv[i] = min(v1[i], v2[i]); 67 // Set results for min 68 s.set_min_rand_sc1_sc1(min(rand_sc1_0, rand_sc1_1)); 69 byte[] min_rand_sc2_raw = min(rand_sc2_0, rand_sc2_1);
|
H A D | UT_math_agree.java | 180 // min reference functions 181 private float min(float v1, float v2) { method in class:UT_math_agree 185 private float[] min(float[] v1, float[] v2) { method in class:UT_math_agree 189 rv[i] = min(v1[i], v2[i]); 193 private byte min(byte v1, byte v2) { method in class:UT_math_agree 197 private byte[] min(byte[] v1, byte[] v2) { method in class:UT_math_agree 201 rv[i] = min(v1[i], v2[i]); 205 private short min(short v1, short v2) { method in class:UT_math_agree 209 private short[] min(short[] v1, short[] v2) { method in class:UT_math_agree 213 rv[i] = min(v 217 private int min(int v1, int v2) { method in class:UT_math_agree 221 private int[] min(int[] v1, int[] v2) { method in class:UT_math_agree 229 private long min(long v1, long v2) { method in class:UT_math_agree 233 private long[] min(long[] v1, long[] v2) { method in class:UT_math_agree [all...] |
/frameworks/rs/cpp/ |
H A D | Sampler.cpp | 33 Sampler::Sampler(sp<RS> rs, void* id, RsSamplerValue min, RsSamplerValue mag, argument 37 RsSamplerValue mMin = min; 64 sp<Sampler> Sampler::create(const sp<RS>& rs, RsSamplerValue min, RsSamplerValue mag, argument 67 void* id = RS::dispatch->SamplerCreate(rs->getContext(), min, mag, wrapS, wrapT, 69 return new Sampler(rs, id, min, mag, wrapS, wrapT, anisotropy);
|
/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/arch/ |
H A D | generic.c | 432 extern int8_t __attribute__((overloadable)) min(int8_t v1, int8_t v2) { function 436 extern char2 __attribute__((overloadable)) min(char2 v1, char2 v2) { function 443 extern char3 __attribute__((overloadable)) min(char3 v1, char3 v2) { function 451 extern char4 __attribute__((overloadable)) min(char4 v1, char4 v2) { function 460 extern int16_t __attribute__((overloadable)) min(int16_t v1, int16_t v2) { function 464 extern short2 __attribute__((overloadable)) min(short2 v1, short2 v2) { function 471 extern short3 __attribute__((overloadable)) min(short3 v1, short3 v2) { function 479 extern short4 __attribute__((overloadable)) min(short4 v1, short4 v2) { function 488 extern int32_t __attribute__((overloadable)) min(int32_t v1, int32_t v2) { function 492 extern int2 __attribute__((overloadable)) min(int function 499 extern int3 __attribute__((overloadable)) min(int3 v1, int3 v2) { function 507 extern int4 __attribute__((overloadable)) min(int4 v1, int4 v2) { function 516 extern uchar __attribute__((overloadable)) min(uchar v1, uchar v2) { function 520 extern uchar2 __attribute__((overloadable)) min(uchar2 v1, uchar2 v2) { function 527 extern uchar3 __attribute__((overloadable)) min(uchar3 v1, uchar3 v2) { function 535 extern uchar4 __attribute__((overloadable)) min(uchar4 v1, uchar4 v2) { function 544 extern ushort __attribute__((overloadable)) min(ushort v1, ushort v2) { function 548 extern ushort2 __attribute__((overloadable)) min(ushort2 v1, ushort2 v2) { function 555 extern ushort3 __attribute__((overloadable)) min(ushort3 v1, ushort3 v2) { function 563 extern ushort4 __attribute__((overloadable)) min(ushort4 v1, ushort4 v2) { function 572 extern uint __attribute__((overloadable)) min(uint v1, uint v2) { function 576 extern uint2 __attribute__((overloadable)) min(uint2 v1, uint2 v2) { function 583 extern uint3 __attribute__((overloadable)) min(uint3 v1, uint3 v2) { function 591 extern uint4 __attribute__((overloadable)) min(uint4 v1, uint4 v2) { function 600 extern float __attribute__((overloadable)) min(float v1, float v2) { function 604 extern float2 __attribute__((overloadable)) min(float2 v1, float2 v2) { function 608 extern float2 __attribute__((overloadable)) min(float2 v1, float v2) { function 612 extern float3 __attribute__((overloadable)) min(float3 v1, float3 v2) { function 616 extern float3 __attribute__((overloadable)) min(float3 v1, float v2) { function 620 extern float4 __attribute__((overloadable)) min(float4 v1, float4 v2) { function 624 extern float4 __attribute__((overloadable)) min(float4 v1, float v2) { function [all...] |
/frameworks/rs/driver/runtime/ |
H A D | rs_cl.c | 716 float __attribute__((overloadable)) rsRand(float min, float max) { argument 717 return SC_randf2(min, max); 1424 extern double __attribute__((overloadable)) min(double v1, double v2) { function 1428 extern double2 __attribute__((overloadable)) min(double2 v1, double2 v2) { function 1435 extern double3 __attribute__((overloadable)) min(double3 v1, double3 v2) { function 1443 extern double4 __attribute__((overloadable)) min(double4 v1, double4 v2) { function 1452 extern long __attribute__((overloadable)) min(long v1, long v2) { function 1455 extern long2 __attribute__((overloadable)) min(long2 v1, long2 v2) { function 1461 extern long3 __attribute__((overloadable)) min(long3 v1, long3 v2) { function 1468 extern long4 __attribute__((overloadable)) min(long function 1477 extern ulong __attribute__((overloadable)) min(ulong v1, ulong v2) { function 1480 extern ulong2 __attribute__((overloadable)) min(ulong2 v1, ulong2 v2) { function 1486 extern ulong3 __attribute__((overloadable)) min(ulong3 v1, ulong3 v2) { function 1493 extern ulong4 __attribute__((overloadable)) min(ulong4 v1, ulong4 v2) { function 2076 HN_FUNC_HN_HN(min); variable 2077 HN_FUNC_HN_H(min); // TODO can this be arch-specific similar to _Z3minDv2_ff? variable [all...] |
H A D | rs_core.c | 108 extern uint32_t __attribute__((overloadable)) min(uint32_t, uint32_t); 109 extern int32_t __attribute__((overloadable)) min(int32_t, int32_t); 117 uint32_t n = min(value, prev); 127 int32_t n = min(value, prev); 160 extern float __attribute__((overloadable)) rsRand(float min, float max);/* { 163 r = r * (max - min) + min; 180 extern int __attribute__((overloadable)) rsRand(int min, int max) { argument 181 return (int)rsRand((float)min, (float)max);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | RadioResponse.java | 811 * @param min MIN (10 digits, MIN2+MIN1) if CDMA subscription is available 815 String hSid, String hNid, String min, String prl) { 816 responseStrings(responseInfo, mdn, hSid, hNid, min, prl); 814 getCDMASubscriptionResponse(RadioResponseInfo responseInfo, String mdn, String hSid, String hNid, String min, String prl) argument
|
/frameworks/opt/setupwizard/tools/docs/ |
H A D | jsilver.jar | META-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ... |
/frameworks/native/include/input/ |
H A D | InputDevice.h | 68 float min; member in struct:android::InputDeviceInfo::MotionRange 95 float min, float max, float flat, float fuzz, float resolution);
|