/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 49 import static java.lang.Math.min; 653 boolean isAtEdge = leading1 ? (span.min == 0) : (span.max == axis.getCount()); 678 int index = leading ? spec.span.min : spec.span.max; 701 Arrays.fill(a, Math.min(start, length), Math.min(end, length), value); 715 int min = minorWasDefined ? min(minorRange.min, count) : 0; 716 return min(size, count - min); 1221 createLinks(boolean min) argument 1231 computeLinks(PackedMap<Interval, MutableInt> links, boolean min) argument 1731 setParentConstraints(int min, int max) argument 1737 getMeasure(int min, int max) argument 2276 size(boolean min) argument 2322 public final int min; field in class:GridLayout.Interval 2339 Interval(int min, int max) argument [all...] |
/frameworks/wilhelm/tests/sandbox/ |
H A D | playbq.c | 40 #define min(a, b) ((a) < (b) ? (a) : (b)) macro 622 } else if (currentRate <= min(initialRate, finalRate)) { 623 currentRate = min(initialRate, finalRate);
|
H A D | playbq.cpp | 40 #define min(a, b) ((a) < (b) ? (a) : (b)) macro 622 } else if (currentRate <= min(initialRate, finalRate)) { 623 currentRate = min(initialRate, finalRate);
|
/frameworks/rs/cpp/ |
H A D | Sampler.cpp | 52 sp<Sampler> Sampler::create(sp<RS> rs, RsSamplerValue min, RsSamplerValue mag, RsSamplerValue wrapS, RsSamplerValue wrapT, float anisotropy) { argument 54 void* id = RS::dispatch->SamplerCreate(rs->getContext(), min, mag, wrapS, wrapT, RS_SAMPLER_WRAP, 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 | 428 extern int8_t __attribute__((overloadable)) min(int8_t v1, int8_t v2) { function 432 extern char2 __attribute__((overloadable)) min(char2 v1, char2 v2) { function 439 extern char3 __attribute__((overloadable)) min(char3 v1, char3 v2) { function 447 extern char4 __attribute__((overloadable)) min(char4 v1, char4 v2) { function 456 extern int16_t __attribute__((overloadable)) min(int16_t v1, int16_t v2) { function 460 extern short2 __attribute__((overloadable)) min(short2 v1, short2 v2) { function 467 extern short3 __attribute__((overloadable)) min(short3 v1, short3 v2) { function 475 extern short4 __attribute__((overloadable)) min(short4 v1, short4 v2) { function 484 extern int32_t __attribute__((overloadable)) min(int32_t v1, int32_t v2) { function 488 extern int2 __attribute__((overloadable)) min(int function 495 extern int3 __attribute__((overloadable)) min(int3 v1, int3 v2) { function 503 extern int4 __attribute__((overloadable)) min(int4 v1, int4 v2) { function 512 extern uchar __attribute__((overloadable)) min(uchar v1, uchar v2) { function 516 extern uchar2 __attribute__((overloadable)) min(uchar2 v1, uchar2 v2) { function 523 extern uchar3 __attribute__((overloadable)) min(uchar3 v1, uchar3 v2) { function 531 extern uchar4 __attribute__((overloadable)) min(uchar4 v1, uchar4 v2) { function 540 extern ushort __attribute__((overloadable)) min(ushort v1, ushort v2) { function 544 extern ushort2 __attribute__((overloadable)) min(ushort2 v1, ushort2 v2) { function 551 extern ushort3 __attribute__((overloadable)) min(ushort3 v1, ushort3 v2) { function 559 extern ushort4 __attribute__((overloadable)) min(ushort4 v1, ushort4 v2) { function 568 extern uint __attribute__((overloadable)) min(uint v1, uint v2) { function 572 extern uint2 __attribute__((overloadable)) min(uint2 v1, uint2 v2) { function 579 extern uint3 __attribute__((overloadable)) min(uint3 v1, uint3 v2) { function 587 extern uint4 __attribute__((overloadable)) min(uint4 v1, uint4 v2) { function 596 extern float __attribute__((overloadable)) min(float v1, float v2) { function 600 extern float2 __attribute__((overloadable)) min(float2 v1, float2 v2) { function 604 extern float2 __attribute__((overloadable)) min(float2 v1, float v2) { function 608 extern float3 __attribute__((overloadable)) min(float3 v1, float3 v2) { function 612 extern float3 __attribute__((overloadable)) min(float3 v1, float v2) { function 616 extern float4 __attribute__((overloadable)) min(float4 v1, float4 v2) { function 620 extern float4 __attribute__((overloadable)) min(float4 v1, float v2) { function [all...] |
/frameworks/rs/driver/runtime/ |
H A D | rs_cl.c | 1267 extern double __attribute__((overloadable)) min(double v1, double v2) { function 1271 extern double2 __attribute__((overloadable)) min(double2 v1, double2 v2) { function 1278 extern double3 __attribute__((overloadable)) min(double3 v1, double3 v2) { function 1286 extern double4 __attribute__((overloadable)) min(double4 v1, double4 v2) { function 1295 extern long __attribute__((overloadable)) min(long v1, long v2) { function 1298 extern long2 __attribute__((overloadable)) min(long2 v1, long2 v2) { function 1304 extern long3 __attribute__((overloadable)) min(long3 v1, long3 v2) { function 1311 extern long4 __attribute__((overloadable)) min(long4 v1, long4 v2) { function 1320 extern ulong __attribute__((overloadable)) min(ulong v1, ulong v2) { function 1323 extern ulong2 __attribute__((overloadable)) min(ulong function 1329 extern ulong3 __attribute__((overloadable)) min(ulong3 v1, ulong3 v2) { function 1336 extern ulong4 __attribute__((overloadable)) min(ulong4 v1, ulong4 v2) { function [all...] |
H A D | rs_core.c | 101 extern uint32_t __attribute__((overloadable)) min(uint32_t, uint32_t); 102 extern int32_t __attribute__((overloadable)) min(int32_t, int32_t); 110 uint32_t n = min(value, prev); 120 int32_t n = min(value, prev); 153 extern float __attribute__((overloadable)) rsRand(float min, float max);/* { 156 r = r * (max - min) + min; 173 extern int __attribute__((overloadable)) rsRand(int min, int max) { argument 174 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/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/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 | 747 TimeBucket(int p, int min, int max) { argument 749 periodMinInSecond = min;
|
/frameworks/opt/net/wifi/service/tools/halutil/ |
H A D | halutil.cpp | 33 T min(const T& t1, const T& t2) { function 625 min(num_results, max_ap), rtt_samples); 628 for (int i = 0; i < min(num_results, max_ap); i++, num_ap++) {
|
/frameworks/native/include/input/ |
H A D | InputDevice.h | 68 float min; member in struct:android::InputDeviceInfo::MotionRange 93 float min, float max, float flat, float fuzz, float resolution);
|
/frameworks/native/libs/input/ |
H A D | InputDevice.cpp | 175 void InputDeviceInfo::addMotionRange(int32_t axis, uint32_t source, float min, float max, argument 177 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 741 nsecs_t maxPredict = current->eventTime + min(delta / 2, RESAMPLE_MAX_PREDICTION);
|
/frameworks/native/libs/ui/ |
H A D | Rect.cpp | 22 static inline int32_t min(int32_t a, int32_t b) { function in namespace:android 85 result->right = min(right, with.right); 86 result->bottom = min(bottom, with.bottom);
|
H A D | Region.cpp | 454 static inline T min(T rhs, T lhs) { return rhs < lhs ? rhs : lhs; } function in class:android::Region::rasterizer 481 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 | 76 inline static T min(const T& a, const T& b) { function in namespace:android 897 "min=%0.3f, max=%0.3f, flat=%0.3f, fuzz=%0.3f, resolution=%0.3f\n", 898 name, range.source, range.min, range.max, range.flat, range.fuzz, 1807 dump.appendFormat(INDENT4 "%s: min=%d, max=%d, flat=%d, fuzz=%d, resolution=%d\n", 2652 info->addMotionRange(AMOTION_EVENT_AXIS_GENERIC_1, mSource, x.min, x.max, x.flat, 2654 info->addMotionRange(AMOTION_EVENT_AXIS_GENERIC_2, mSource, y.min, y.max, y.flat, 2656 info->addMotionRange(AMOTION_EVENT_AXIS_GENERIC_3, mSource, x.min, x.max, x.flat, 2658 info->addMotionRange(AMOTION_EVENT_AXIS_GENERIC_4, mSource, y.min, y.max, y.flat, 3119 mOrientedRanges.touchMajor.min = 0; 3130 mOrientedRanges.toolMajor.min 6562 hasValueChangedSignificantly( float filter, float newValue, float currentValue, float min, float max) argument [all...] |
H A D | InputReader.h | 1794 float min; // normalized inclusive minimum member in struct:android::JoystickInputMapper::Axis 1809 float min, float max, float flat, float fuzz, float resolution) { 1817 this->min = min; 1844 float newValue, float currentValue, float min, float max); 1806 initialize(const RawAbsoluteAxisInfo& rawAxisInfo, const AxisInfo& axisInfo, bool explicitlyMapped, float scale, float offset, float highScale, float highOffset, float min, float max, float flat, float fuzz, float resolution) argument
|
/frameworks/native/services/inputflinger/tests/ |
H A D | InputReader_test.cpp | 37 static inline T min(T a, T b) { function in namespace:android 1445 int32_t axis, uint32_t source, float min, float max, float flat, float fuzz) { 1450 ASSERT_NEAR(min, range->min, EPSILON) << "Axis: " << axis << " Source: " << source; 1444 assertMotionRange(const InputDeviceInfo& info, int32_t axis, uint32_t source, float min, float max, float flat, float fuzz) argument
|