Searched refs:min (Results 226 - 250 of 474) sorted by relevance

1234567891011>>

/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.c40 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
622 } else if (currentRate <= min(initialRate, finalRate)) {
623 currentRate = min(initialRate, finalRate);
H A Dplaybq.cpp40 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
622 } else if (currentRate <= min(initialRate, finalRate)) {
623 currentRate = min(initialRate, finalRate);
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dbitenc.c542 cnt = min(((totFillBits - (3+4)) >> 3), ((1<<4)-1));
552 esc_count = min( ((totFillBits >> 3) - ((1<<4)-1)), (1<<8)-1);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/api/
H A DarmCOMM.h211 OMX_INT min,
234 OMX_F32 min,
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/
H A DarmCOMM.h211 OMX_INT min,
234 OMX_F32 min,
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/api/
H A DarmCOMM.h211 OMX_INT min,
234 OMX_F32 min,
/frameworks/base/core/java/android/text/method/
H A DBaseMovementMethod.java491 scrollX = Math.min(scrollX + getCharacterWidth(widget) * amount, maxScrollX);
548 bottomLine = Math.min(bottomLine + amount - 1, limit);
/frameworks/base/core/java/android/view/animation/
H A DAnimation.java852 if (!mFillEnabled) normalizedTime = Math.max(Math.min(normalizedTime, 1.0f), 0.0f);
863 if (mFillEnabled) normalizedTime = Math.max(Math.min(normalizedTime, 1.0f), 0.0f);
/frameworks/base/core/java/android/widget/
H A DEditor.java1372 float min = Float.MAX_VALUE;
1375 min = Math.min(min, layout.getLineLeft(line));
1378 left = (int) min;
1862 int min = offset;
1866 mTextView.replaceText_internal(min, max, content);
1883 final int nextCharIdx = Math.min(mTextView.getText().length(), dragSourceStart + 1);
2285 positionX = Math.min(displayMetrics.widthPixels - width, positionX);
2539 return Math.min(position
[all...]
H A DRadialTimePickerView.java448 int minDimension = Math.min(measuredWidth, measuredHeight);
709 final int min = Math.min(mXCenter, mYCenter);
711 mCircleRadius[HOURS] = min * mCircleRadiusMultiplier[HOURS];
712 mCircleRadius[HOURS_INNER] = min * mCircleRadiusMultiplier[HOURS];
713 mCircleRadius[MINUTES] = min * mCircleRadiusMultiplier[MINUTES];
1423 final int min = mIs24HourMode ? 0 : 1;
1425 for (int i = min; i <= max ; i++) {
H A DZoomButtonsController.java636 distanceX = Math.min(Math.abs(frame.left - containerCoordsX),
643 distanceY = Math.min(Math.abs(frame.top - containerCoordsY),
H A DTextView.java4124 Math.max(0, Math.min(start, len)),
4125 Math.max(0, Math.min(end, len)));
4836 int start = Math.min(Math.min(a, b), c);
4875 top = Math.min(top, bounds.top);
5012 (int) Math.min(0, mShadowDx - mShadowRadius);
5017 return (int) Math.min(0, mShadowDy - mShadowRadius);
5394 clipLeft += Math.min(0, mShadowDx - mShadowRadius);
5397 clipTop += Math.min(0, mShadowDy - mShadowRadius);
6632 width = Math.min(widt
8833 paste(int min, int max) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarContainer.java276 Math.min(mHeight, MeasureSpec.getSize(heightMeasureSpec)), MeasureSpec.AT_MOST);
297 Math.min(nonTabMaxHeight + getMeasuredHeightWithMargins(mTabContainer),
/frameworks/base/graphics/java/android/graphics/
H A DRect.java434 right = Math.min(a.right, b.right);
435 bottom = Math.min(a.bottom, b.bottom);
/frameworks/base/media/java/android/media/
H A DMediaCodecInfo.java824 * {@code Math.min(getSupportedWidths().getUpper(),
863 final int maxWidthInBlocks = Math.min(
907 final int maxHeightInBlocks = Math.min(
955 Math.min(mBlocksPerSecondRange.getUpper() / (double) blockCount,
992 ok = Math.min(height, width) <= mSmallerDimensionUpperLimit;
1128 Math.min(widths.getUpper(), heights.getUpper());
1133 Math.min(mWidthRange.getUpper(), mHeightRange.getUpper());
1346 mSmallerDimensionUpperLimit = Math.min(
1348 Math.min(mWidthRange.getUpper(), mHeightRange.getUpper()));
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSwipeHelper.java169 return Math.min(Math.max(mMinSwipeProgress, result), mMaxSwipeProgress);
330 duration = Math.min(duration,
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackViewLayoutAlgorithm.java36 static final float StackPeekMinScale = 0.8f; // The min scale of the last card in the peek area
58 // The min/max scroll progress
159 mInitialScrollP = Math.min(mMaxScrollP, Math.max(0, mInitialScrollP));
229 float pBounded = Math.max(0, Math.min(pTaskRelative, 1f));
H A DTaskStackViewTouchHandler.java264 deltaP *= (1f - (Math.min(maxOverScroll, overScrollAmount)
280 int overscrollRange = (int) (Math.min(1f, overscrollRangePct) *
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
H A DSinkActivity.java321 int count = Math.min(mHidBuffer.remaining(), maxPacketSize);
359 Math.min(MULTITOUCH_MAX_CONTACTS, event.getPointerCount());
/frameworks/native/services/surfaceflinger/
H A DTransform.cpp216 r.left = floorf(min(lt[0], rt[0], lb[0], rb[0]) + 0.5f);
217 r.top = floorf(min(lt[1], rt[1], lb[1], rb[1]) + 0.5f);
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsMessage.java384 nextPos = pos + Math.min(limit, textLen - pos);
391 nextPos = pos + Math.min(limit / 2, textLen - pos);
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneData.java272 length = Math.min(ids.length, labels.length);
503 int length = Math.min(mBackupCountryCodes.length, mBackupCountryNames.length);
/frameworks/support/v4/kitkat/android/support/v4/print/
H A DPrintHelperKitkat.java277 scale = Math.min(scale, content.height() / imageHeight);
503 if (sampleSize <= 0 || 0 >= (int) (Math.min(w, h) / sampleSize)) {
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteButton.java441 width = Math.min(widthSize, minWidth + getPaddingLeft() + getPaddingRight());
455 height = Math.min(heightSize, minHeight + getPaddingTop() + getPaddingBottom());
/frameworks/native/services/inputflinger/
H A DInputReader.cpp76 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...]

Completed in 1113 milliseconds

1234567891011>>