/frameworks/wilhelm/tests/sandbox/ |
H A D | playbq.c | 35 #define max(a, b) ((a) > (b) ? (a) : (b)) macro 591 if (currentRate >= max(initialRate, finalRate)) { 592 currentRate = max(initialRate, finalRate);
|
H A D | playbq.cpp | 35 #define max(a, b) ((a) > (b) ? (a) : (b)) macro 591 if (currentRate >= max(initialRate, finalRate)) { 592 currentRate = max(initialRate, finalRate);
|
/frameworks/support/v4/api21/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompatApi21.java | 62 public static void setMaxTextLength(Object info, int max) { argument 63 ((AccessibilityNodeInfo) info).setMaxTextLength(max);
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | NotificationCompat.java | 1206 public Builder setProgress(int max, int progress, boolean indeterminate) { argument 1207 mProgressMax = max;
|
/frameworks/support/v4/java/android/support/v4/media/session/ |
H A D | MediaControllerCompat.java | 236 * @param value The value to set it to, between 0 and the reported max. 770 PlaybackInfo(int type, int stream, int control, int max, int current) { argument 774 mMaxVolume = max;
|
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompat.java | 602 public void setMaxTextLength(Object info, int max); argument 1167 public void setMaxTextLength(Object info, int max) { argument 1863 public void setMaxTextLength(Object info, int max) { argument 1864 AccessibilityNodeInfoCompatApi21.setMaxTextLength(info, max); 3637 * @param max The maximum text length. 3642 public void setMaxTextLength(int max) { argument 3643 IMPL.setMaxTextLength(mInfo, max);
|
/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 653 if (value > max) { 654 return max; 662 private static float constrain(float value, float min, float max) { argument 663 if (value > max) { 664 return max;
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ListPopupWindow.java | 920 * @param max Max number of items that can be visible and still allow the list to expand. 922 void setListItemExpandMax(int max) { argument 923 mListItemExpandMaximum = max;
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 48 import static java.lang.Math.max; 601 result = Math.max(result, a[i]); 656 boolean isAtEdge = leading1 ? (span.min == 0) : (span.max == axis.getCount()); 681 int index = leading ? spec.span.min : spec.span.max; 815 if (span.max > count) { 920 int cellSize = locations[span.max] - locations[span.min]; 967 int measuredWidth = Math.max(widthSansPadding + hPadding, getSuggestedMinimumWidth()); 968 int measuredHeight = Math.max(heightSansPadding + vPadding, getSuggestedMinimumHeight()); 1037 int x2 = hLocations[colSpan.max]; 1038 int y2 = vLocations[rowSpan.max]; 1729 setParentConstraints(int min, int max) argument 1735 getMeasure(int min, int max) argument 2324 public final int max; field in class:GridLayout.Interval 2336 Interval(int min, int max) argument [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | MediaRouter.java | 1319 sGlobal.requestSetVolume(this, Math.min(mVolumeMax, Math.max(0, volume))); 2689 int max, int current) { 2690 if (mVpCompat != null && controlType == mControlType && max == mMaxVolume) { 2691 // If we haven't changed control type or max just set the 2696 mVpCompat = new VolumeProviderCompat(controlType, max, current) { 2688 configureVolume(@olumeProviderCompat.ControlType int controlType, int max, int current) argument
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | RecyclerView.java | 410 // simple array to keep min and max child position during a layout calculation 1895 velocityX = Math.max(-mMaxFlingVelocity, Math.min(velocityX, mMaxFlingVelocity)); 1896 velocityY = Math.max(-mMaxFlingVelocity, Math.min(velocityY, mMaxFlingVelocity)); 3446 // get the new min max 4630 public void setMaxRecycledViews(int viewType, int max) { argument 4631 mMaxScrap.put(viewType, max); 4634 while (scrapHeap.size() > max) { 6445 return Math.min(size, Math.max(desired, min)); 6448 return Math.max(desired, min); 7832 int size = Math.max( [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | BucketTest.java | 44 int max = 0; field in class:BucketTest 61 max = 0; 66 max = Math.max(max, i); 77 for (int i = 0; i < max + 100; i++) { 86 for (int i = 0; i < max + 100; i++) { 143 max = Math.max(i, max); [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuRuntimeMath.cpp | 103 float SC_randf2(float min, float max) { argument 106 r = r * (max - min) + min;
|
/frameworks/rs/driver/runtime/arch/ |
H A D | generic.c | 231 extern char __attribute__((overloadable)) max(char v1, char v2) { function 235 extern char2 __attribute__((overloadable)) max(char2 v1, char2 v2) { function 242 extern char3 __attribute__((overloadable)) max(char3 v1, char3 v2) { function 250 extern char4 __attribute__((overloadable)) max(char4 v1, char4 v2) { function 259 extern short __attribute__((overloadable)) max(short v1, short v2) { function 263 extern short2 __attribute__((overloadable)) max(short2 v1, short2 v2) { function 270 extern short3 __attribute__((overloadable)) max(short3 v1, short3 v2) { function 278 extern short4 __attribute__((overloadable)) max(short4 v1, short4 v2) { function 287 extern int __attribute__((overloadable)) max(int v1, int v2) { function 291 extern int2 __attribute__((overloadable)) max(int function 298 extern int3 __attribute__((overloadable)) max(int3 v1, int3 v2) { function 306 extern int4 __attribute__((overloadable)) max(int4 v1, int4 v2) { function 315 extern uchar __attribute__((overloadable)) max(uchar v1, uchar v2) { function 319 extern uchar2 __attribute__((overloadable)) max(uchar2 v1, uchar2 v2) { function 326 extern uchar3 __attribute__((overloadable)) max(uchar3 v1, uchar3 v2) { function 334 extern uchar4 __attribute__((overloadable)) max(uchar4 v1, uchar4 v2) { function 343 extern ushort __attribute__((overloadable)) max(ushort v1, ushort v2) { function 347 extern ushort2 __attribute__((overloadable)) max(ushort2 v1, ushort2 v2) { function 354 extern ushort3 __attribute__((overloadable)) max(ushort3 v1, ushort3 v2) { function 362 extern ushort4 __attribute__((overloadable)) max(ushort4 v1, ushort4 v2) { function 371 extern uint __attribute__((overloadable)) max(uint v1, uint v2) { function 375 extern uint2 __attribute__((overloadable)) max(uint2 v1, uint2 v2) { function 382 extern uint3 __attribute__((overloadable)) max(uint3 v1, uint3 v2) { function 390 extern uint4 __attribute__((overloadable)) max(uint4 v1, uint4 v2) { function 399 extern float __attribute__((overloadable)) max(float v1, float v2) { function 403 extern float2 __attribute__((overloadable)) max(float2 v1, float2 v2) { function 407 extern float2 __attribute__((overloadable)) max(float2 v1, float v2) { function 411 extern float3 __attribute__((overloadable)) max(float3 v1, float3 v2) { function 415 extern float3 __attribute__((overloadable)) max(float3 v1, float v2) { function 419 extern float4 __attribute__((overloadable)) max(float4 v1, float4 v2) { function 423 extern float4 __attribute__((overloadable)) max(float4 v1, float v2) { function [all...] |
/frameworks/rs/driver/runtime/ |
H A D | rs_cl.c | 713 float __attribute__((overloadable)) rsRand(float min, float max) { argument 714 return SC_randf2(min, max); 1499 extern double __attribute__((overloadable)) max(double v1, double v2) { function 1503 extern double2 __attribute__((overloadable)) max(double2 v1, double2 v2) { function 1510 extern double3 __attribute__((overloadable)) max(double3 v1, double3 v2) { function 1518 extern double4 __attribute__((overloadable)) max(double4 v1, double4 v2) { function 1527 extern long __attribute__((overloadable)) max(long v1, long v2) { function 1530 extern long2 __attribute__((overloadable)) max(long2 v1, long2 v2) { function 1536 extern long3 __attribute__((overloadable)) max(long3 v1, long3 v2) { function 1543 extern long4 __attribute__((overloadable)) max(long function 1552 extern ulong __attribute__((overloadable)) max(ulong v1, ulong v2) { function 1555 extern ulong2 __attribute__((overloadable)) max(ulong2 v1, ulong2 v2) { function 1561 extern ulong3 __attribute__((overloadable)) max(ulong3 v1, ulong3 v2) { function 1568 extern ulong4 __attribute__((overloadable)) max(ulong4 v1, ulong4 v2) { function 2071 HN_FUNC_HN_HN(max); variable 2072 HN_FUNC_HN_H(max); // TODO can this be arch-specific similar to _Z3maxDv2_ff? variable [all...] |
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/java/tests/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/java/tests/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/java/tests/RsTest/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/support/design/src/android/support/design/widget/ |
H A D | SwipeDismissBehavior.java | 306 int min, max; 311 max = mOriginalCapturedViewLeft; 314 max = mOriginalCapturedViewLeft + child.getWidth(); 319 max = mOriginalCapturedViewLeft + child.getWidth(); 322 max = mOriginalCapturedViewLeft; 326 max = mOriginalCapturedViewLeft + child.getWidth(); 329 return clamp(min, left, max); 385 private static float clamp(float min, float value, float max) { argument 386 return Math.min(Math.max(min, value), max); 389 clamp(int min, int value, int max) argument [all...] |
/frameworks/support/gradle/wrapper/ |
H A D | gradle-wrapper.jar | META-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/Download ... |
/frameworks/support/recommendation/src/android/support/app/recommendation/ |
H A D | ContentRecommendation.java | 481 * @param max The maximum value for the progress of this content. 482 * @param progress The progress amount for this content. Must be in the range (0 - max). 484 public void setProgress(int max, int progress) { argument 485 if (max < 0 || progress < 0) { 488 mProgressMax = max; 869 * @param max The maximum value for the progress of this content. 870 * @param progress The progress amount for this content. Must be in the range (0 - max). 873 public Builder setProgress(int max, int progress) { argument 874 if (max < 0 || progress < 0) { 877 mBuilderProgressMax = max; [all...] |
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
H A D | SipHelper.java | 123 private MaxForwardsHeader createMaxForwardsHeader(int max) argument 125 return mHeaderFactory.createMaxForwardsHeader(max);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiLogger.java | 331 LimitedCircularArray(int max) { argument 332 mArrayList = new ArrayList<E>(max); 333 mMax = max;
|
/frameworks/opt/net/wifi/service/lib/ |
H A D | wifi_hal_stub.cpp | 87 int max, wifi_cached_scan_results *results, int *num) { 86 wifi_get_cached_gscan_results_stub(wifi_interface_handle iface, byte flush, int max, wifi_cached_scan_results *results, int *num) argument
|