Searched refs:round (Results 1 - 25 of 61) sorted by path

123

/frameworks/av/media/libstagefright/codecs/amrnb/common/
H A DAndroid.mk54 src/round.cpp \
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/
H A DDeemph_32_opt.s55 MOV r14, r10, ASR #16 @y[0] = round(L_tmp)
66 MOV r14, r10, ASR #16 @y[1] = round(L_tmp)
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/
H A DDeemph_32_neon.s55 MOV r14, r10, ASR #16 @y[0] = round(L_tmp)
66 MOV r14, r10, ASR #16 @y[1] = round(L_tmp)
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Ddct.cpp42 Int round; local
53 round = 1 << (FDCT_SHIFT - 1);
118 k1 = mla724(k12, k5, round);
119 k0 = mla724(k12, k2, round);
136 k1 = mla392(k0, k14, round);
213 k1 = mla724(k12, k5, round);
214 k0 = mla724(k12, k2, round);
231 k1 = mla392(k0, k14, round);
271 Int round; local
282 round
477 Int round; local
656 Int round; local
867 Int round; local
1054 Int round; local
[all...]
H A Ddct_inline.h38 __inline int32 mla392(int32 k0, int32 k14, int32 round) argument
44 k1 = k0 * 392 + round;
123 __inline int32 mla392(int32 k0, int32 k14, int32 round) argument
129 smlabt k1, k0, k14, round
187 __inline int32 mla392(int32 k0, int32 k14, int32 round) argument
194 mla k1, k0, k1, round
285 __inline int32 mla392(int32 k0, int32 k14, int32 round) argument
290 register int32 cc = (int32)round;
H A Dfastquant.cpp159 Int round = 1 << 15; local
224 coeff = aan_scale(q_value, coeff, round, QPdiv2);
278 Int round = 1 << 15; local
326 q_value = round + (coeff << 12);
383 q_value = smlabb(q_value, coeff, round);
553 Int round = 1 << 15; local
583 q_value = smlabb(q_value, coeff, round);
682 Int round = 1 << 15; local
708 q_value = round + (coeff << 12);
754 /* q_value = coeff*q_value + round */
[all...]
H A Dfastquant_inline.h30 __inline int32 aan_scale(int32 q_value, int32 coeff, int32 round, int32 QPdiv2) argument
32 q_value = coeff * q_value + round;
83 __inline int32 smlabb(int32 q_value, int32 coeff, int32 round) argument
85 q_value = coeff * q_value + round;
174 int32 round, int32 QPdiv2)
178 smlabb q_value, coeff, q_value, round
221 __inline int32 smlabb(int32 q_value, int32 coeff, int32 round) argument
225 smlabb q_value, coeff, q_value, round
269 int32 round, int32 QPdiv2)
273 mla q_value, coeff, q_value, round
173 aan_scale(int32 q_value, int32 coeff, int32 round, int32 QPdiv2) argument
268 aan_scale(int32 q_value, int32 coeff, int32 round, int32 QPdiv2) argument
317 smlabb(int32 q_value, int32 coeff, int32 round) argument
428 aan_scale(int32 q_value, int32 coeff, int32 round, int32 QPdiv2) argument
510 smlabb(int32 q_value, int32 coeff, int32 round) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_MCReconBlock_s.s34 ;// dest[j] = (x[j] + y[j] + round) >> 1, j=0..3
37 ;// each sum before dividing by two, if round is 1
40 ;// M_UHADD8R $dest, $x, $y, $round, $mask
45 ;// $round 0 if no rounding to be added, 1 if rounding to be done
52 M_UHADD8R $dest, $x, $y, $round, $mask
53 IF $round = 1
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java890 return Math.round(a.getFraction(index, base, base, defValue));
/frameworks/base/core/java/android/view/
H A DOrientationEventListener.java129 orientation = 90 - (int)Math.round(angle);
H A DView.java11532 cache.scrollBar.setAlpha(Math.round(values[0]));
/frameworks/base/core/java/android/webkit/
H A DWebViewClassic.java1396 mLastTouchX = Math.round(x);
1397 mLastTouchY = Math.round(y);
1428 handleTouchEventCommon(ev, action, Math.round(x), Math.round(y));
2377 mHistoryWidth = Math.round(p.getWidth() * scale);
2378 mHistoryHeight = Math.round(p.getHeight() * scale);
3012 return Math.round(d * mZoomManager.getInvScale());
3056 return Math.round(d * mZoomManager.getScale());
3084 calls Math.round(coordinate * mActualScale). However, for invalidates,
3091 antialiasing that we might have missed with just round()
[all...]
H A DWebViewCore.java1784 int x = Math.round(event.getX());
1785 int y = Math.round(event.getY());
2088 height = Math.round(ratio * width);
2118 width = Math.round(mWebViewClassic.getViewWidth() /
2620 webViewWidth = Math.round(viewportWidth * mCurrentViewScale);
2707 int tentativeViewWidth = Math.round(webViewWidth / tentativeScale);
2734 data.mWidth = Math.round(webViewWidth / data.mScale);
2741 Math.round(mWebViewClassic.getViewHeight() / data.mScale)
2742 : Math.round((float) mCurrentViewHeight * data.mWidth / viewportWidth);
2743 data.mTextWrapWidth = Math.round(webViewWidt
[all...]
H A DZoomManager.java491 int tx = Math.round(scale * (mInitialScrollX + mZoomCenterX) - mZoomCenterX);
492 tx = -WebViewClassic.pinLoc(tx, mWebView.getViewWidth(), Math.round(mWebView.getContentWidth()
495 int ty = Math.round(scale
499 - titleHeight, mWebView.getViewHeight(), Math.round(mWebView.getContentHeight()
595 int scrollX = mWebView.pinLocX(Math.round(sx));
596 int scrollY = mWebView.pinLocY(Math.round(sy));
1096 newZoomOverviewWidth = Math.round(viewWidth / mDefaultScale);
/frameworks/base/core/java/android/widget/
H A DAbsSeekBar.java196 setKeyProgressIncrement(Math.max(1, Math.round((float) getMax() / 20)));
538 final int increment = Math.max(1, Math.round((float) getMax() / 5));
H A DOverScroller.java651 mCurrentPosition = mStart + Math.round(q * (mFinal - mStart));
948 mCurrentPosition = mStart + (int) Math.round(distance);
H A DRatingBar.java111 // than 1 so boundaries round up).
194 setProgress(Math.round(rating * getProgressPerStar()));
H A DRemoteViewsAdapter.java504 Math.round(sDefaultLoadingViewHeight * density);
599 mMaxCountSlack = Math.round(sMaxCountSlackPercent * (mMaxCount / 2));
H A DScrollBarDrawable.java124 int length = Math.round((float) size * extent / range);
125 int offset = Math.round((float) (size - length) * mOffset / (range - extent));
H A DScroller.java322 mCurrX = mStartX + Math.round(x * mDeltaX);
323 mCurrY = mStartY + Math.round(x * mDeltaY);
341 mCurrX = mStartX + Math.round(distanceCoef * (mFinalX - mStartX));
346 mCurrY = mStartY + Math.round(distanceCoef * (mFinalY - mStartY));
475 mFinalX = startX + (int) Math.round(totalDistance * coeffX);
480 mFinalY = startY + (int) Math.round(totalDistance * coeffY);
H A DStackView.java244 int duration = Math.round(mStackSlider.getDurationForNeutralPosition(mYVelocity));
264 int duration = Math.round(mStackSlider.getDurationForOffscreenPosition(mYVelocity));
562 final int newSlideAmount = Math.round(SLIDE_UP_RATIO * getMeasuredHeight());
565 mSwipeThreshold = Math.round(SWIPE_THRESHOLD_RATIO * newSlideAmount);
781 if (mTouchRect.contains(Math.round(x), Math.round(y))) {
852 duration = Math.round(mStackSlider.getDurationForNeutralPosition());
854 duration = Math.round(mStackSlider.getDurationForOffscreenPosition());
870 duration = Math.round(mStackSlider.getDurationForNeutralPosition());
872 duration = Math.round(mStackSlide
[all...]
H A DTextView.java1493 return FastMath.round(mTextPaint.getFontMetricsInt(null) * mSpacingMult + mSpacingAdd);
6662 // FIXME: Is it okay to truncate this, or should we round?
/frameworks/base/core/java/com/android/internal/util/
H A DFastMath.java25 * Fast round from float to int. This is faster than Math.round()
29 public static int round(float value) { method in class:FastMath
/frameworks/base/core/java/com/android/internal/widget/
H A DDrawableHolder.java135 mDrawable.setAlpha((int) Math.round(mAlpha * 255f));
H A DLockPatternView.java724 mTmpInvalidateRect.union(Math.round(left), Math.round(top),
725 Math.round(right), Math.round(bottom));

Completed in 432 milliseconds

123