/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 49 import static java.lang.Math.min; 656 boolean isAtEdge = leading1 ? (span.min == 0) : (span.max == axis.getCount()); 681 int index = leading ? spec.span.min : spec.span.max; 704 Arrays.fill(a, Math.min(start, length), Math.min(end, length), value); 718 int min = minorWasDefined ? min(minorRange.min, count) : 0; 719 return min(size, count - min); 1215 createLinks(boolean min) argument 1225 computeLinks(PackedMap<Interval, MutableInt> links, boolean min) argument 1722 setParentConstraints(int min, int max) argument 1728 getMeasure(int min, int max) argument 2266 size(boolean min) argument 2312 public final int min; field in class:GridLayout.Interval 2329 Interval(int min, int max) argument [all...] |
/frameworks/wilhelm/tests/sandbox/ |
H A D | playbq.c | 36 #define min(a, b) ((a) < (b) ? (a) : (b)) macro 594 } else if (currentRate <= min(initialRate, finalRate)) { 595 currentRate = min(initialRate, finalRate);
|
H A D | playbq.cpp | 36 #define min(a, b) ((a) < (b) ? (a) : (b)) macro 594 } else if (currentRate <= min(initialRate, finalRate)) { 595 currentRate = min(initialRate, finalRate);
|
/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(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 | 103 float SC_randf2(float min, float max) { argument 106 r = r * (max - min) + min;
|
H A D | rsCpuRuntimeMathFuncs.cpp | 89 extern float SC_randf2(float min, float max); 90 float __attribute__((overloadable)) rsRand(float min, float max) { argument 91 return SC_randf2(min, max);
|
/frameworks/rs/driver/runtime/arch/ |
H A D | generic.c | 431 extern int8_t __attribute__((overloadable)) min(int8_t v1, int8_t v2) { function 435 extern char2 __attribute__((overloadable)) min(char2 v1, char2 v2) { function 442 extern char3 __attribute__((overloadable)) min(char3 v1, char3 v2) { function 450 extern char4 __attribute__((overloadable)) min(char4 v1, char4 v2) { function 459 extern int16_t __attribute__((overloadable)) min(int16_t v1, int16_t v2) { function 463 extern short2 __attribute__((overloadable)) min(short2 v1, short2 v2) { function 470 extern short3 __attribute__((overloadable)) min(short3 v1, short3 v2) { function 478 extern short4 __attribute__((overloadable)) min(short4 v1, short4 v2) { function 487 extern int32_t __attribute__((overloadable)) min(int32_t v1, int32_t v2) { function 491 extern int2 __attribute__((overloadable)) min(int function 498 extern int3 __attribute__((overloadable)) min(int3 v1, int3 v2) { function 506 extern int4 __attribute__((overloadable)) min(int4 v1, int4 v2) { function 515 extern uchar __attribute__((overloadable)) min(uchar v1, uchar v2) { function 519 extern uchar2 __attribute__((overloadable)) min(uchar2 v1, uchar2 v2) { function 526 extern uchar3 __attribute__((overloadable)) min(uchar3 v1, uchar3 v2) { function 534 extern uchar4 __attribute__((overloadable)) min(uchar4 v1, uchar4 v2) { function 543 extern ushort __attribute__((overloadable)) min(ushort v1, ushort v2) { function 547 extern ushort2 __attribute__((overloadable)) min(ushort2 v1, ushort2 v2) { function 554 extern ushort3 __attribute__((overloadable)) min(ushort3 v1, ushort3 v2) { function 562 extern ushort4 __attribute__((overloadable)) min(ushort4 v1, ushort4 v2) { function 571 extern uint __attribute__((overloadable)) min(uint v1, uint v2) { function 575 extern uint2 __attribute__((overloadable)) min(uint2 v1, uint2 v2) { function 582 extern uint3 __attribute__((overloadable)) min(uint3 v1, uint3 v2) { function 590 extern uint4 __attribute__((overloadable)) min(uint4 v1, uint4 v2) { function 599 extern float __attribute__((overloadable)) min(float v1, float v2) { function 603 extern float2 __attribute__((overloadable)) min(float2 v1, float2 v2) { function 607 extern float2 __attribute__((overloadable)) min(float2 v1, float v2) { function 611 extern float3 __attribute__((overloadable)) min(float3 v1, float3 v2) { function 615 extern float3 __attribute__((overloadable)) min(float3 v1, float v2) { function 619 extern float4 __attribute__((overloadable)) min(float4 v1, float4 v2) { function 623 extern float4 __attribute__((overloadable)) min(float4 v1, float v2) { function [all...] |
/frameworks/rs/driver/runtime/ |
H A D | rs_cl.c | 1273 extern double __attribute__((overloadable)) min(double v1, double v2) { function 1277 extern double2 __attribute__((overloadable)) min(double2 v1, double2 v2) { function 1284 extern double3 __attribute__((overloadable)) min(double3 v1, double3 v2) { function 1292 extern double4 __attribute__((overloadable)) min(double4 v1, double4 v2) { function 1301 extern long __attribute__((overloadable)) min(long v1, long v2) { function 1304 extern long2 __attribute__((overloadable)) min(long2 v1, long2 v2) { function 1310 extern long3 __attribute__((overloadable)) min(long3 v1, long3 v2) { function 1317 extern long4 __attribute__((overloadable)) min(long4 v1, long4 v2) { function 1326 extern ulong __attribute__((overloadable)) min(ulong v1, ulong v2) { function 1329 extern ulong2 __attribute__((overloadable)) min(ulong function 1335 extern ulong3 __attribute__((overloadable)) min(ulong3 v1, ulong3 v2) { function 1342 extern ulong4 __attribute__((overloadable)) min(ulong4 v1, ulong4 v2) { function [all...] |
H A D | rs_core.c | 103 extern uint32_t __attribute__((overloadable)) min(uint32_t, uint32_t); 104 extern int32_t __attribute__((overloadable)) min(int32_t, int32_t); 112 uint32_t n = min(value, prev); 122 int32_t n = min(value, prev); 155 extern float __attribute__((overloadable)) rsRand(float min, float max);/* { 158 r = r * (max - min) + min; 175 extern int __attribute__((overloadable)) rsRand(int min, int max) { argument 176 return (int)rsRand((float)min, (float)max);
|
/frameworks/rs/java/tests/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/java/tests/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/java/tests/RsTest/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/support/design/src/android/support/design/widget/ |
H A D | SwipeDismissBehavior.java | 275 int min, max; 279 min = mOriginalCapturedViewLeft - child.getWidth(); 282 min = mOriginalCapturedViewLeft; 287 min = mOriginalCapturedViewLeft; 290 min = mOriginalCapturedViewLeft - child.getWidth(); 294 min = mOriginalCapturedViewLeft - child.getWidth(); 298 return clamp(min, left, max); 354 private static float clamp(float min, float value, float max) { argument 355 return Math.min(Math.max(min, valu 358 clamp(int min, int value, int max) argument [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | AutoScrollHelper.java | 652 private static int constrain(int value, int min, int max) { argument 655 } else if (value < min) { 656 return min; 662 private static float constrain(float value, float min, float max) { argument 665 } else if (value < min) { 666 return min;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiScanningServiceImpl.java | 921 TimeBucket(int p, int min, int max) { argument 923 periodMinInSecond = min;
|
/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);
|
/frameworks/native/libs/input/ |
H A D | InputDevice.cpp | 178 void InputDeviceInfo::addMotionRange(int32_t axis, uint32_t source, float min, float max, argument 180 MotionRange range = { axis, source, min, max, flat, fuzz, resolution };
|
H A D | InputTransport.cpp | 59 inline static T min(const T& a, const T& b) { function in namespace:android 743 nsecs_t maxPredict = current->eventTime + min(delta / 2, RESAMPLE_MAX_PREDICTION);
|
/frameworks/native/libs/ui/ |
H A D | Rect.cpp | 24 static inline int32_t min(int32_t a, int32_t b) { function in namespace:android 87 result->right = min(right, with.right); 88 result->bottom = min(bottom, with.bottom);
|
H A D | Region.cpp | 438 static inline T min(T rhs, T lhs) { return rhs < lhs ? rhs : lhs; } function in class:android::Region::rasterizer 504 bounds.left = min(span.itemAt(0).left, bounds.left);
|
/frameworks/native/opengl/libagl/ |
H A D | context.h | 69 inline T min(T a, T b) { function in namespace:android::gl 73 inline T min(T a, T b, T c) { function in namespace:android::gl 74 return min(a, min(b, c)); 77 inline T min(T a, T b, T c, T d) { function in namespace:android::gl 78 return min(min(a,b), min(c,d));
|
/frameworks/native/services/inputflinger/ |
H A D | InputReader.cpp | 91 inline static T min(const T& a, const T& b) { function in namespace:android 961 "min=%0.3f, max=%0.3f, flat=%0.3f, fuzz=%0.3f, resolution=%0.3f\n", 962 name, range.source, range.min, range.max, range.flat, range.fuzz, 1896 dump.appendFormat(INDENT4 "%s: min=%d, max=%d, flat=%d, fuzz=%d, resolution=%d\n", 2783 info->addMotionRange(AMOTION_EVENT_AXIS_GENERIC_1, mSource, x.min, x.max, x.flat, 2785 info->addMotionRange(AMOTION_EVENT_AXIS_GENERIC_2, mSource, y.min, y.max, y.flat, 2787 info->addMotionRange(AMOTION_EVENT_AXIS_GENERIC_3, mSource, x.min, x.max, x.flat, 2789 info->addMotionRange(AMOTION_EVENT_AXIS_GENERIC_4, mSource, y.min, y.max, y.flat, 3280 mOrientedRanges.touchMajor.min = 0; 3291 mOrientedRanges.toolMajor.min 7030 hasValueChangedSignificantly( float filter, float newValue, float currentValue, float min, float max) argument [all...] |