Searched defs:max (Results 1 - 25 of 183) sorted by last modified time

12345678

/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.cpp35 #define max(a, b) ((a) > (b) ? (a) : (b)) macro
595 if (currentRate >= max(initialRate, finalRate)) {
596 currentRate = max(initialRate, finalRate);
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/Download ...
/frameworks/support/samples/SupportLeanbackShowcase/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/Download ...
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DSeekBar.java179 * Get max value.
186 * Set max value.
188 public void setMax(int max) { argument
189 this.mMax = max;
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DListPopupWindow.java936 * @param max Max number of items that can be visible and still allow the list to expand.
938 void setListItemExpandMax(int max) { argument
939 mListItemExpandMaximum = max;
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java29 import static java.lang.Math.max;
607 result = Math.max(result, a[i]);
662 boolean isAtEdge = leading1 ? (span.min == 0) : (span.max == axis.getCount());
687 int index = leading ? spec.span.min : spec.span.max;
821 if (span.max > count) {
926 int cellSize = locations[span.max] - locations[span.min];
973 int measuredWidth = Math.max(widthSansPadding + hPadding, getSuggestedMinimumWidth());
974 int measuredHeight = Math.max(heightSansPadding + vPadding, getSuggestedMinimumHeight());
1043 int x2 = hLocations[colSpan.max];
1044 int y2 = vLocations[rowSpan.max];
1735 setParentConstraints(int min, int max) argument
1741 getMeasure(int min, int max) argument
2330 public final int max; field in class:GridLayout.Interval
2342 Interval(int min, int max) argument
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouter.java1355 sGlobal.requestSetVolume(this, Math.min(mVolumeMax, Math.max(0, volume)));
2760 int max, int current) {
2761 if (mVpCompat != null && controlType == mControlType && max == mMaxVolume) {
2762 // If we haven't changed control type or max just set the
2767 mVpCompat = new VolumeProviderCompat(controlType, max, current) {
2759 configureVolume(@olumeProviderCompat.ControlType int controlType, int max, int current) argument
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DSeekBarPreference.java41 * Other SeekBar specific attributes (e.g. {@code title, summary, defaultValue, min, max}) can be
123 * The ordering of these two statements are important. If we want to set max first, we need
124 * to perform the same steps by changing min/max to max/min as following:
208 public final void setMax(int max) { argument
209 if (max < mMin) {
210 max = mMin;
212 if (max != mMax) {
213 mMax = max;
307 myState.max
337 int max; field in class:SeekBarPreference.SavedState
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java479 // 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));
5141 public void setMaxRecycledViews(int viewType, int max) { argument
5143 scrapData.mMaxScrap = max;
5146 while (scrapHeap.size() > max) {
7294 return Math.min(size, Math.max(desired, min));
7297 return Math.max(desired, min);
8776 int size = Math.max(0, parentSize - padding);
8819 int size = Math.max(
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBucketTest.java45 int max = 0; field in class:BucketTest
62 max = 0;
67 max = Math.max(max, i);
78 for (int i = 0; i < max + 100; i++) {
87 for (int i = 0; i < max + 100; i++) {
144 max = Math.max(i, max);
[all...]
/frameworks/support/compat/java/android/support/v4/app/
H A DNotificationCompat.java1232 public Builder setProgress(int max, int progress, boolean indeterminate) { argument
1233 mProgressMax = max;
/frameworks/support/compat/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java674 * @param max The max 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));
698 * Gets the max value.
700 * @return The max value.
898 public Object obtainRangeInfo(int type, float min, float max, float current) { argument
981 public void setMaxTextLength(AccessibilityNodeInfo info, int max) { argument
1359 public Object obtainRangeInfo(int type, float min, float max, float current) { argument
1360 return AccessibilityNodeInfo.RangeInfo.obtain(type, min, max, curren
1495 setMaxTextLength(AccessibilityNodeInfo info, int max) argument
3438 setMaxTextLength(int max) argument
[all...]
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DAutoScrollHelper.java651 static int constrain(int value, int min, int max) { argument
652 if (value > max) {
653 return max;
661 static float constrain(float value, float min, float max) { argument
662 if (value > max) {
663 return max;
/frameworks/support/core-utils/java/android/support/v4/math/
H A DMathUtils.java34 * @param max maximum resulting value.
38 public static float clamp(float value, float min, float max) { argument
41 } else if (value > max) {
42 return max;
55 * @param max maximum resulting value.
59 public static double clamp(double value, double min, double max) { argument
62 } else if (value > max) {
63 return max;
76 * @param max maximum resulting value.
80 public static int clamp(int value, int min, int max) { argument
[all...]
/frameworks/support/design/src/android/support/design/widget/
H A DSwipeDismissBehavior.java308 int min, max;
313 max = mOriginalCapturedViewLeft;
316 max = mOriginalCapturedViewLeft + child.getWidth();
321 max = mOriginalCapturedViewLeft + child.getWidth();
324 max = mOriginalCapturedViewLeft;
328 max = 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, value), max);
391 clamp(int min, int value, int max) argument
[all...]
/frameworks/support/development/checkstyle/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/Download ...
/frameworks/support/dynamic-animation/src/android/support/animation/
H A DDynamicAnimation.java280 // Use the max value of float to indicate an unset state.
305 // Min and max values that defines the range of the animation values.
405 * Sets the max value of the animation. Animations will not animate beyond their max value.
406 * Whether or not animation will come to an end when max value is reached is dependent on the
409 * @param max maximum value of the property to be animated
410 * @return the Animation whose max value is being set
412 public T setMaxValue(float max) { argument
413 // This max value should be checked and handled in the subclass animations, instead of
414 // assuming the end of the animations when the max/mi
[all...]
/frameworks/support/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/gradle/wrapper/ org/gradle/wrapper/Download ...
/frameworks/support/media-compat/api21/android/support/v4/media/session/
H A DMediaControllerCompatApi21.java270 public void onAudioInfoChanged(int type, int stream, int control, int max, int current); argument
/frameworks/support/media-compat/java/android/support/v4/media/session/
H A DMediaControllerCompat.java487 * @param value The value to set it to, between 0 and the reported max.
787 int type, int stream, int control, int max, int current) {
789 new PlaybackInfo(type, stream, control, max, current));
1175 PlaybackInfo(int type, int stream, int control, int max, int current) { argument
1179 mMaxVolume = max;
786 onAudioInfoChanged( int type, int stream, int control, int max, int current) argument
/frameworks/support/recommendation/src/android/support/app/recommendation/
H A DContentRecommendation.java488 * @param max The maximum value for the progress of this content.
489 * @param progress The progress amount for this content. Must be in the range (0 - max).
491 public void setProgress(int max, int progress) { argument
492 if (max < 0 || progress < 0) {
495 mProgressMax = max;
876 * @param max The maximum value for the progress of this content.
877 * @param progress The progress amount for this content. Must be in the range (0 - max).
880 public Builder setProgress(int max, int progress) { argument
881 if (max < 0 || progress < 0) {
884 mBuilderProgressMax = max;
[all...]
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/
H A DUT_math_agree.java201 // 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/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A DUT_math_agree.java201 // 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/tests/java_api/Refocus/src/com/android/rs/test/
H A DDepthImage.java96 public float max; field in class:DepthImage.MinMax
98 public MinMax(float min, float max) { argument
100 this.max = max;
103 public static MinMax create(float min, float max) { argument
104 return new MinMax(min, max);
110 float max = min;
115 } else if (x > max) {
116 max = x;
119 return MinMax.create(min, max);
[all...]
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
H A DUT_math_agree.java242 // max reference functions
243 private float max(float v1, float v2) { method in class:UT_math_agree
247 private float[] max(float[] v1, float[] v2) { method in class:UT_math_agree
251 rv[i] = max(v1[i], v2[i]);
255 private byte max(byte v1, byte v2) { method in class:UT_math_agree
259 private byte[] max(byte[] v1, byte[] v2) { method in class:UT_math_agree
263 rv[i] = max(v1[i], v2[i]);
267 private short max(short v1, short v2) { method in class:UT_math_agree
271 private short[] max(short[] v1, short[] v2) { method in class:UT_math_agree
275 rv[i] = max(v
279 private int max(int v1, int v2) { method in class:UT_math_agree
283 private int[] max(int[] v1, int[] v2) { method in class:UT_math_agree
291 private long max(long v1, long v2) { method in class:UT_math_agree
295 private long[] max(long[] v1, long[] v2) { method in class:UT_math_agree
[all...]

Completed in 2400 milliseconds

12345678