Searched defs:max (Results 126 - 150 of 204) sorted by relevance

123456789

/frameworks/base/core/java/android/view/
H A DInputDevice.java743 float min, float max, float flat, float fuzz, float resolution) {
744 mMotionRanges.add(new MotionRange(axis, source, min, max, flat, fuzz, resolution));
851 private MotionRange(int axis, int source, float min, float max, float flat, float fuzz, argument
856 mMax = max;
1029 description.append(" max=").append(range.mMax);
742 addMotionRange(int axis, int source, float min, float max, float flat, float fuzz, float resolution) argument
/frameworks/base/core/java/android/widget/
H A DListPopupWindow.java899 * @param max Max number of items that can be visible and still allow the list to expand.
901 void setListItemExpandMax(int max) { argument
902 mListItemExpandMaximum = max;
H A DOverScroller.java235 return Math.max(mScrollerX.mDuration, mScrollerY.mDuration);
714 boolean springback(int start, int min, int max) { argument
725 } else if (start > max) {
726 startSpringback(start, max, 0);
746 void fling(int start, int velocity, int min, int max, int over) { argument
754 if (start > max || start < min) {
755 startAfterEdge(start, min, max, velocity);
776 if (mFinal > max) {
777 adjustDuration(mStart, mFinal, max);
778 mFinal = max;
819 startAfterEdge(int start, int min, int max, int velocity) argument
[all...]
H A DProgressBar.java117 * {@link android.R.styleable#ProgressBar_max android:max} attribute.
523 * <li>max = 100</li>
1548 * <p>Set the upper range of the progress bar <tt>max</tt>.</p>
1550 * @param max the upper range of this progress bar
1557 public synchronized void setMax(int max) { argument
1559 if (max < mMin) {
1560 max = mMin;
1564 if (mMinInitialized && max != mMax) {
1565 mMax = max;
1568 if (mProgress > max) {
[all...]
H A DRadialTimePickerView.java1185 * @param first value in the range [0,max]
1186 * @param second value in the range [0,max]
1187 * @param max the maximum value along the circle
1190 private int getCircularDiff(int first, int second, int max) { argument
1192 final int midpoint = max / 2;
1193 return (diff > midpoint) ? (max - diff) : diff;
1200 final int max = mIs24HourMode ? 23 : 12;
1201 for (int i = min; i <= max ; i++) {
1253 final int max = mIs24HourMode ? 23 : 12;
1254 if (nextValue <= max) {
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DAutoScrollHelper.java651 private static int constrain(int value, int min, int max) { argument
652 if (value > max) {
653 return max;
661 private static float constrain(float value, float min, float max) { argument
662 if (value > max) {
663 return max;
/frameworks/base/media/java/android/media/session/
H A DMediaController.java366 * @param value The value to set it to, between 0 and the reported max.
993 public PlaybackInfo(int type, AudioAttributes attrs, int control, int max, int current) { argument
997 mMaxVolume = max;
/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DBugreportReceiverTest.java138 private static final String MAX_PROPERTY = "dumpstate." + PID + ".max";
692 private void sendBugreportStarted(int max) throws Exception { argument
693 sendBugreportStarted(ID, PID, NAME, max);
696 private void sendBugreportStarted(int id, int pid, String name, int max) throws Exception { argument
703 intent.putExtra(EXTRA_MAX, max);
/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DAutofillManagerService.java474 void setMaxPartitions(int max) { argument
476 Slog.i(TAG, "setMaxPartitions(): " + max);
478 sPartitionMaxCount = max;
492 void setMaxVisibleDatasets(int max) { argument
494 Slog.i(TAG, "setMaxVisibleDatasets(): " + max);
496 sVisibleDatasetsMaxCount = max;
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMRelocator.cpp267 int32_t max = (1 << (bits - 1)) - 1; local
269 if (signed_val > max || signed_val < min) {
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAsmAnalyzer.java754 public void visitTableSwitchInsn(int min, int max, Label dflt, Label... labels) { argument
H A DDependencyFinder.java628 public void visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) { argument
/frameworks/opt/net/wifi/libwifi_hal/
H A Dhal_tool.cpp101 byte flush, int max,
100 wifi_get_cached_gscan_results_stub(wifi_interface_handle iface, byte flush, int max, wifi_cached_scan_results* results, int* num) argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiDiagnostics.java367 LimitedCircularArray(int max) { argument
368 mArrayList = new ArrayList<E>(max);
369 mMax = max;
/frameworks/support/compat/src/main/java/androidx/core/widget/
H A DAutoScrollHelper.java662 static int constrain(int value, int min, int max) { argument
663 if (value > max) {
664 return max;
672 static float constrain(float value, float min, float max) { argument
673 if (value > max) {
674 return max;
/frameworks/support/media/src/main/java/androidx/media/
H A DMediaController2.java302 * @param value The value to set it to, between 0 and the reported max.
953 PlaybackInfo(int playbackType, AudioAttributesCompat attrs, int controlType, int max, argument
958 mMaxVolume = max;
1032 int controlType, int max, int current) {
1033 return new PlaybackInfo(playbackType, attrs, controlType, max, current);
1031 createPlaybackInfo(int playbackType, AudioAttributesCompat attrs, int controlType, int max, int current) argument
/frameworks/support/media/src/main/java/androidx/media/subtitle/
H A DCea608CCParser.java639 private static int clamp(int x, int min, int max) { argument
640 return x < min ? min : (x > max ? max : x);
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
H A DGridModel.java645 max(mRelOrigin.mX, mRelPointer.mX),
653 max(mRelOrigin.mY, mRelPointer.mY),
685 private RelativeCoordinate max( method in class:GridModel
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DListPopupWindow.java937 * @param max Max number of items that can be visible and still allow the list to expand.
939 void setListItemExpandMax(int max) { argument
940 mListItemExpandMaximum = max;
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp754 if (key == "max-duration") {
759 } else if (key == "max-filesize") {
1134 format->setInt32("max-input-size", maxInputSize);
1335 "enc.vid.fps.max", mVideoEncoder);
1352 "enc.vid.bps.max", mVideoEncoder);
1369 "enc.vid.width.max", mVideoEncoder);
1498 "enc.aud.bps.max", mAudioEncoder);
1520 "enc.aud.hz.max", mAudioEncoder);
1542 "enc.aud.ch.max", mAudioEncoder);
1555 "enc.vid.height.max", mVideoEncode
2160 getMaxAmplitude(int *max) argument
[all...]
/frameworks/av/packages/MediaComponents/src/com/android/media/
H A DMediaController2Impl.java775 return Math.max(0, expectedPosition);
1076 int max, int current) {
1080 mMaxVolume = max;
1125 int controlType, int max, int current) {
1126 return new PlaybackInfoImpl(playbackType, attrs, controlType, max, current)
1075 PlaybackInfoImpl(int playbackType, AudioAttributes attrs, int controlType, int max, int current) argument
1124 createPlaybackInfo(int playbackType, AudioAttributes attrs, int controlType, int max, int current) argument
/frameworks/av/packages/MediaComponents/src/com/android/media/subtitle/
H A DClosedCaptionRenderer.java857 private static int clamp(int x, int min, int max) { argument
858 return x < min ? min : (x > max ? max : x);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.h198 // a max long side of 1920 pixels
201 // Initial max preview/recording size bound
276 // max/minCount means to do no bounds check in that direction. In case of
368 int max; member in struct:android::camera2::Parameters::Range
371 int32_t fpsFromRange(int32_t min, int32_t max) const;
394 // Get max size (from the size array) that matches the given aspect ratio.
/frameworks/base/graphics/java/android/graphics/
H A DColorSpace.java1296 @NonNull @Size(min = 2, max = 3) float[] whitePoint) {
1325 @NonNull @Size(min = 2, max = 3) float[] whitePoint,
1897 private static float clamp(float x, float min, float max) { argument
1898 return x < min ? min : x > max ? max : x;
2264 * @param max The maximum valid value in this color space's RGB range
2279 @NonNull @Size(min = 6, max = 9) float[] primaries,
2280 @NonNull @Size(min = 2, max = 3) float[] whitePoint,
2284 float max) {
2285 this(name, primaries, whitePoint, oetf, eotf, min, max, MIN_I
2277 Rgb( @onNull @izemin = 1) String name, @NonNull @Size(min = 6, max = 9) float[] primaries, @NonNull @Size(min = 2, max = 3) float[] whitePoint, @NonNull DoubleUnaryOperator oetf, @NonNull DoubleUnaryOperator eotf, float min, float max) argument
2514 Rgb( @onNull @izemin = 1) String name, @NonNull @Size(min = 6, max = 9) float[] primaries, @NonNull @Size(min = 2, max = 3) float[] whitePoint, double gamma, float min, float max, @IntRange(from = MIN_ID, to = MAX_ID) int id) argument
2571 Rgb( @onNull @izemin = 1) String name, @NonNull @Size(min = 6, max = 9) float[] primaries, @NonNull @Size(min = 2, max = 3) float[] whitePoint, @NonNull DoubleUnaryOperator oetf, @NonNull DoubleUnaryOperator eotf, float min, float max, @IntRange(from = MIN_ID, to = MAX_ID) int id) argument
3077 isSrgb( @onNull @ize6) float[] primaries, @NonNull @Size(2) float[] whitePoint, @NonNull DoubleUnaryOperator OETF, @NonNull DoubleUnaryOperator EOTF, float min, float max, @IntRange(from = MIN_ID, to = MAX_ID) int id) argument
3114 isWideGamut(@onNull @ize6) float[] primaries, float min, float max) argument
[all...]
/frameworks/base/media/java/android/media/
H A DClosedCaptionRenderer.java864 private static int clamp(int x, int min, int max) { argument
865 return x < min ? min : (x > max ? max : x);

Completed in 398 milliseconds

123456789