/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ListPopupWindow.java | 852 * @param max Max number of items that can be visible and still allow the list to expand. 854 void setListItemExpandMax(int max) { argument 855 mListItemExpandMaximum = max;
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 48 import static java.lang.Math.max; 598 result = Math.max(result, a[i]); 653 boolean isAtEdge = leading1 ? (span.min == 0) : (span.max == axis.getCount()); 678 int index = leading ? spec.span.min : spec.span.max; 812 if (span.max > count) { 913 int cellSize = locations[span.max] - locations[span.min]; 960 int measuredWidth = Math.max(widthSansPadding + hPadding, getSuggestedMinimumWidth()); 961 int measuredHeight = Math.max(heightSansPadding + vPadding, getSuggestedMinimumHeight()); 1035 int x2 = hLocations[colSpan.max]; 1036 int y2 = vLocations[rowSpan.max]; 1731 setParentConstraints(int min, int max) argument 1737 getMeasure(int min, int max) argument 2327 public final int max; field in class:GridLayout.Interval 2339 Interval(int min, int max) argument [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | MediaRouter.java | 1168 sGlobal.requestSetVolume(this, Math.min(mVolumeMax, Math.max(0, volume))); 2294 public void configureVolume(int controlType, int max, int current) { argument 2295 if (mVpCompat != null && controlType == mControlType && max == mMaxVolume) { 2296 // If we haven't changed control type or max just set the 2301 mVpCompat = new VolumeProviderCompat(controlType, max, current) {
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | RecyclerView.java | 297 // simple array to keep min and max child position during a layout calculation 1288 velocityX = Math.max(-mMaxFlingVelocity, Math.min(velocityX, mMaxFlingVelocity)); 1289 velocityY = Math.max(-mMaxFlingVelocity, Math.min(velocityY, mMaxFlingVelocity)); 3334 public void setMaxRecycledViews(int viewType, int max) { argument 3335 mMaxScrap.put(viewType, max); 3338 while (scrapHeap.size() > max) { 5873 int size = Math.max(0, parentSize - padding); 6167 final int offScreenRight = Math.max(0, childRight - parentRight); 6168 final int offScreenBottom = Math.max(0, childBottom - parentBottom);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | BucketTest.java | 34 int max = 0; field in class:BucketTest 52 max = 0; 57 max = Math.max(max, i); 67 for (int i = 0; i < max + 100; i++) { 76 for (int i = 0; i < max + 100; i++) { 130 max = Math.max(i, max); [all...] |
/frameworks/webview/chromium/tests/prebuilts/ |
H A D | android-janktesthelper.jar | ... int getMaxValue (int[]) int i
int[] intArray
int index
int max
private static double getAverage (int[]) int i
int[] intArray
int ... |
/frameworks/wilhelm/tests/sandbox/ |
H A D | playbq.c | 39 #define max(a, b) ((a) > (b) ? (a) : (b)) macro 619 if (currentRate >= max(initialRate, finalRate)) { 620 currentRate = max(initialRate, finalRate);
|
H A D | playbq.cpp | 39 #define max(a, b) ((a) > (b) ? (a) : (b)) macro 619 if (currentRate >= max(initialRate, finalRate)) { 620 currentRate = max(initialRate, finalRate);
|
/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 | 227 extern char __attribute__((overloadable)) max(char v1, char v2) { function 231 extern char2 __attribute__((overloadable)) max(char2 v1, char2 v2) { function 238 extern char3 __attribute__((overloadable)) max(char3 v1, char3 v2) { function 246 extern char4 __attribute__((overloadable)) max(char4 v1, char4 v2) { function 255 extern short __attribute__((overloadable)) max(short v1, short v2) { function 259 extern short2 __attribute__((overloadable)) max(short2 v1, short2 v2) { function 266 extern short3 __attribute__((overloadable)) max(short3 v1, short3 v2) { function 274 extern short4 __attribute__((overloadable)) max(short4 v1, short4 v2) { function 283 extern int __attribute__((overloadable)) max(int v1, int v2) { function 287 extern int2 __attribute__((overloadable)) max(int function 294 extern int3 __attribute__((overloadable)) max(int3 v1, int3 v2) { function 302 extern int4 __attribute__((overloadable)) max(int4 v1, int4 v2) { function 311 extern uchar __attribute__((overloadable)) max(uchar v1, uchar v2) { function 315 extern uchar2 __attribute__((overloadable)) max(uchar2 v1, uchar2 v2) { function 322 extern uchar3 __attribute__((overloadable)) max(uchar3 v1, uchar3 v2) { function 330 extern uchar4 __attribute__((overloadable)) max(uchar4 v1, uchar4 v2) { function 339 extern ushort __attribute__((overloadable)) max(ushort v1, ushort v2) { function 343 extern ushort2 __attribute__((overloadable)) max(ushort2 v1, ushort2 v2) { function 350 extern ushort3 __attribute__((overloadable)) max(ushort3 v1, ushort3 v2) { function 358 extern ushort4 __attribute__((overloadable)) max(ushort4 v1, ushort4 v2) { function 367 extern uint __attribute__((overloadable)) max(uint v1, uint v2) { function 371 extern uint2 __attribute__((overloadable)) max(uint2 v1, uint2 v2) { function 378 extern uint3 __attribute__((overloadable)) max(uint3 v1, uint3 v2) { function 386 extern uint4 __attribute__((overloadable)) max(uint4 v1, uint4 v2) { function 395 extern float __attribute__((overloadable)) max(float v1, float v2) { function 399 extern float2 __attribute__((overloadable)) max(float2 v1, float2 v2) { function 403 extern float2 __attribute__((overloadable)) max(float2 v1, float v2) { function 407 extern float3 __attribute__((overloadable)) max(float3 v1, float3 v2) { function 411 extern float3 __attribute__((overloadable)) max(float3 v1, float v2) { function 415 extern float4 __attribute__((overloadable)) max(float4 v1, float4 v2) { function 419 extern float4 __attribute__((overloadable)) max(float4 v1, float v2) { function [all...] |
/frameworks/rs/driver/runtime/ |
H A D | rs_cl.c | 1345 extern double __attribute__((overloadable)) max(double v1, double v2) { function 1349 extern double2 __attribute__((overloadable)) max(double2 v1, double2 v2) { function 1356 extern double3 __attribute__((overloadable)) max(double3 v1, double3 v2) { function 1364 extern double4 __attribute__((overloadable)) max(double4 v1, double4 v2) { function 1373 extern long __attribute__((overloadable)) max(long v1, long v2) { function 1376 extern long2 __attribute__((overloadable)) max(long2 v1, long2 v2) { function 1382 extern long3 __attribute__((overloadable)) max(long3 v1, long3 v2) { function 1389 extern long4 __attribute__((overloadable)) max(long4 v1, long4 v2) { function 1398 extern ulong __attribute__((overloadable)) max(ulong v1, ulong v2) { function 1401 extern ulong2 __attribute__((overloadable)) max(ulong function 1407 extern ulong3 __attribute__((overloadable)) max(ulong3 v1, ulong3 v2) { function 1414 extern ulong4 __attribute__((overloadable)) max(ulong4 v1, ulong4 v2) { function [all...] |
H A D | rs_core.c | 103 extern uint32_t __attribute__((overloadable)) max(uint32_t, uint32_t); 104 extern int32_t __attribute__((overloadable)) max(int32_t, int32_t); 130 uint32_t n = max(value, prev); 140 int32_t n = max(value, prev); 153 extern float __attribute__((overloadable)) rsRand(float min, float max);/* { 156 r = r * (max - min) + min; 161 extern float __attribute__((overloadable)) rsRand(float max) { argument 162 return rsRand(0.f, max); 164 //r *= max; 169 extern int __attribute__((overloadable)) rsRand(int max) { argument 173 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/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/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/v4/java/android/support/v4/app/ |
H A D | NotificationCompat.java | 1030 public Builder setProgress(int max, int progress, boolean indeterminate) { argument 1031 mProgressMax = max;
|
/frameworks/support/v4/java/android/support/v4/media/session/ |
H A D | MediaControllerCompat.java | 228 * @param value The value to set it to, between 0 and the reported max. 695 PlaybackInfo(int type, int stream, int control, int max, int current) { argument 699 mMaxVolume = 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/opt/photoviewer/src/com/android/ex/photo/views/ |
H A D | ProgressBarWrapper.java | 61 public void setMax(int max) { argument 62 mDeterminate.setMax(max);
|
/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 | WifiScanningServiceImpl.java | 747 TimeBucket(int p, int min, int max) { argument 750 periodMaxInSecond = max;
|
/frameworks/opt/net/wifi/service/lib/ |
H A D | wifi_hal.cpp | 70 int max, wifi_scan_result *results, int *num) { 69 wifi_get_cached_gscan_results(wifi_interface_handle iface, byte flush, int max, wifi_scan_result *results, int *num) argument
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | RecurrenceProcessor.java | 76 * @param maxtime the max possible time of the last occurrence. null means no limit 165 * max -- if a value in a is negative, add that negative value 166 * to max and compare that instead; this is how we deal with 169 private static boolean listContains(int[] a, int N, int v, int max) argument 178 max += w; // w is negative 179 if (max == v) {
|
/frameworks/multidex/gradle/wrapper/ |
H A D | gradle-wrapper.jar | META-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/Download ... |