/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | dct.cpp | 42 Int round; in BlockDCT_AANwSub() local 53 round = 1 << (FDCT_SHIFT - 1); in BlockDCT_AANwSub() 118 k1 = mla724(k12, k5, round); in BlockDCT_AANwSub() 119 k0 = mla724(k12, k2, round); in BlockDCT_AANwSub() 136 k1 = mla392(k0, k14, round); in BlockDCT_AANwSub() 213 k1 = mla724(k12, k5, round); in BlockDCT_AANwSub() 214 k0 = mla724(k12, k2, round); in BlockDCT_AANwSub() 231 k1 = mla392(k0, k14, round); in BlockDCT_AANwSub() 271 Int round; in Block4x4DCT_AANwSub() local 282 round = 1 << (FDCT_SHIFT - 1); in Block4x4DCT_AANwSub() [all …]
|
D | fastquant_inline.h | 30 __inline int32 aan_scale(int32 q_value, int32 coeff, int32 round, int32 QPdiv2) in aan_scale() argument 32 q_value = coeff * q_value + round; in aan_scale() 83 __inline int32 smlabb(int32 q_value, int32 coeff, int32 round) in smlabb() argument 85 q_value = coeff * q_value + round; in smlabb() 174 int32 round, int32 QPdiv2) in aan_scale() argument 178 smlabb q_value, coeff, q_value, round in aan_scale() 221 __inline int32 smlabb(int32 q_value, int32 coeff, int32 round) in smlabb() argument 225 smlabb q_value, coeff, q_value, round in smlabb() 269 int32 round, int32 QPdiv2) in aan_scale() argument 273 mla q_value, coeff, q_value, round in aan_scale() [all …]
|
D | dct_inline.h | 38 __inline int32 mla392(int32 k0, int32 k14, int32 round) in mla392() argument 44 k1 = k0 * 392 + round; in mla392() 123 __inline int32 mla392(int32 k0, int32 k14, int32 round) in mla392() argument 129 smlabt k1, k0, k14, round in mla392() 187 __inline int32 mla392(int32 k0, int32 k14, int32 round) in mla392() argument 194 mla k1, k0, k1, round in mla392() 285 __inline int32 mla392(int32 k0, int32 k14, int32 round) in mla392() argument 290 register int32 cc = (int32)round; in mla392()
|
D | fastquant.cpp | 159 Int round = 1 << 15; in BlockQuantDequantH263Inter() local 224 coeff = aan_scale(q_value, coeff, round, QPdiv2); in BlockQuantDequantH263Inter() 278 Int round = 1 << 15; in BlockQuantDequantH263Intra() local 326 q_value = round + (coeff << 12); in BlockQuantDequantH263Intra() 383 q_value = smlabb(q_value, coeff, round); in BlockQuantDequantH263Intra() 553 Int round = 1 << 15; in BlockQuantDequantMPEGInter() local 583 q_value = smlabb(q_value, coeff, round); in BlockQuantDequantMPEGInter() 682 Int round = 1 << 15; in BlockQuantDequantMPEGIntra() local 708 q_value = round + (coeff << 12); in BlockQuantDequantMPEGIntra() 755 q_value = smlabb(coeff, q_value, round); in BlockQuantDequantMPEGIntra()
|
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
D | BitmapUtils.java | 75 final int srcCroppedW = Math.round(dstW * scale); in calculateCroppedSrcRect() 76 final int srcCroppedH = Math.round(dstH * scale); in calculateCroppedSrcRect() 77 final int srcCroppedSliceH = Math.round(dstSliceH * scale); in calculateCroppedSrcRect() 87 centerV = Math.max(minCenterV, Math.min(maxCenterV, Math.round(srcH * vertSliceFrac))); in calculateCroppedSrcRect() 90 .round(Math.abs(srcH - srcCroppedSliceH) * vertSliceFrac + srcHalfSliceH); in calculateCroppedSrcRect() 120 final int srcCroppedW = Math.round(dstW * scale); in calculateCroppedSrcRect() 121 final int srcCroppedH = Math.round(dstH * scale); in calculateCroppedSrcRect()
|
/frameworks/support/core-utils/java/android/support/v4/graphics/ |
D | ColorUtils.java | 252 r = Math.round(255 * (c + m)); in HSLToColor() 253 g = Math.round(255 * (x + m)); in HSLToColor() 254 b = Math.round(255 * m); in HSLToColor() 257 r = Math.round(255 * (x + m)); in HSLToColor() 258 g = Math.round(255 * (c + m)); in HSLToColor() 259 b = Math.round(255 * m); in HSLToColor() 262 r = Math.round(255 * m); in HSLToColor() 263 g = Math.round(255 * (c + m)); in HSLToColor() 264 b = Math.round(255 * (x + m)); in HSLToColor() 267 r = Math.round(255 * m); in HSLToColor() [all …]
|
/frameworks/base/core/java/android/transition/ |
D | TranslationAnimationCreator.java | 62 int startPosX = viewPosX + Math.round(startX - terminalX); in createAnimation() 63 int startPosY = viewPosY + Math.round(startY - terminalY); in createAnimation() 102 mStartX = startX - Math.round(mMovingView.getTranslationX()); in TransitionPositionListener() 103 mStartY = startY - Math.round(mMovingView.getTranslationY()); in TransitionPositionListener() 117 mTransitionPosition[0] = Math.round(mStartX + mMovingView.getTranslationX()); in onAnimationCancel() 118 mTransitionPosition[1] = Math.round(mStartY + mMovingView.getTranslationY()); in onAnimationCancel()
|
D | TransitionUtils.java | 95 int left = Math.round(bounds.left); in copyViewImage() 96 int top = Math.round(bounds.top); in copyViewImage() 97 int right = Math.round(bounds.right); in copyViewImage() 98 int bottom = Math.round(bounds.bottom); in copyViewImage() 157 int bitmapWidth = Math.round(bounds.width()); in createViewBitmap() 158 int bitmapHeight = Math.round(bounds.height()); in createViewBitmap()
|
D | ChangeBounds.java | 75 mBounds.offsetTo(Math.round(value.x), Math.round(value.y)); 118 int right = Math.round(bottomRight.x); 119 int bottom = Math.round(bottomRight.y); 133 int left = Math.round(topLeft.x); 134 int top = Math.round(topLeft.y); 150 int left = Math.round(topLeft.x); 151 int top = Math.round(topLeft.y); 483 mLeft = Math.round(topLeft.x); in setTopLeft() 484 mTop = Math.round(topLeft.y); in setTopLeft() 492 mRight = Math.round(bottomRight.x); in setBottomRight() [all …]
|
D | CircularPropagation.java | 83 epicenterX = Math.round(loc[0] + (sceneRoot.getWidth() / 2) in getStartDelay() 85 epicenterY = Math.round(loc[1] + (sceneRoot.getHeight() / 2) in getStartDelay() 97 return Math.round(duration * directionMultiplier / mPropagationSpeed * distanceFraction); in getStartDelay()
|
D | Explode.java | 135 + Math.round(sceneRoot.getTranslationX()); in calculateOut() 137 + Math.round(sceneRoot.getTranslationY()); in calculateOut() 160 outVector[0] = (int) Math.round(maxDistance * xVector); in calculateOut() 161 outVector[1] = (int) Math.round(maxDistance * yVector); in calculateOut()
|
D | SidePropagation.java | 93 int left = loc[0] + Math.round(sceneRoot.getTranslationX()); in getStartDelay() 94 int top = loc[1] + Math.round(sceneRoot.getTranslationY()); in getStartDelay() 118 return Math.round(duration * directionMultiplier / mPropagationSpeed * distanceFraction); in getStartDelay()
|
D | VisibilityPropagation.java | 52 loc[0] += Math.round(view.getTranslationX()); in captureValues() 54 loc[1] += Math.round(view.getTranslationY()); in captureValues()
|
/frameworks/base/docs/html/training/wearables/ui/ |
D | layouts.jd | 30 and round screens. Any content placed near the corners of the screen may be cropped on round 31 Android Wear devices, so layouts designed for square screens do not work well on round devices. 35 <p>For example, figure 1 shows how the following layout looks on square and round screens:</p> 39 square screens does not work well on round screens.</p> 56 <p>The text does not display correctly on devices with round screens.</p> 61 <li>Define different layouts for square and round devices. Your app detects the shape 63 <li>Use a special layout included in the library for both square and round devices. This layout 69 on both screen shapes without having views cropped near the edges of round screens.</p> 100 and round screens. This class detects the screen shape at runtime and inflates the corresponding 111 <li>Specify a layout definition file for round screens with the <code>roundLayout</code> [all …]
|
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/ |
D | TranslationAnimationCreator.java | 50 int startPosX = viewPosX + Math.round(startX - terminalX); in createAnimation() 51 int startPosY = viewPosY + Math.round(startY - terminalY); in createAnimation() 90 mStartX = startX - Math.round(mMovingView.getTranslationX()); in TransitionPositionListener() 91 mStartY = startY - Math.round(mMovingView.getTranslationY()); in TransitionPositionListener() 105 mTransitionPosition[0] = Math.round(mStartX + mMovingView.getTranslationX()); in onAnimationCancel() 106 mTransitionPosition[1] = Math.round(mStartY + mMovingView.getTranslationY()); in onAnimationCancel()
|
/frameworks/support/percent/src/android/support/percent/ |
D | PercentLayoutHelper.java | 417 params.width = Math.round(widthHint * widthPercent); in fillLayoutParams() 421 params.height = Math.round(heightHint * heightPercent); in fillLayoutParams() 426 params.width = Math.round(params.height * aspectRatio); in fillLayoutParams() 431 params.height = Math.round(params.width / aspectRatio); in fillLayoutParams() 473 params.leftMargin = Math.round(widthHint * leftMarginPercent); in fillMarginLayoutParams() 476 params.topMargin = Math.round(heightHint * topMarginPercent); in fillMarginLayoutParams() 479 params.rightMargin = Math.round(widthHint * rightMarginPercent); in fillMarginLayoutParams() 482 params.bottomMargin = Math.round(heightHint * bottomMarginPercent); in fillMarginLayoutParams() 487 Math.round(widthHint * startMarginPercent)); in fillMarginLayoutParams() 492 Math.round(widthHint * endMarginPercent)); in fillMarginLayoutParams()
|
/frameworks/base/core/java/android/widget/ |
D | StackView.java | 250 int duration = Math.round(mStackSlider.getDurationForNeutralPosition(mYVelocity)); in transformViewForTransition() 270 int duration = Math.round(mStackSlider.getDurationForOffscreenPosition(mYVelocity)); in transformViewForTransition() 568 final int newSlideAmount = Math.round(SLIDE_UP_RATIO * getMeasuredHeight()); in onLayout() 571 mSwipeThreshold = Math.round(SWIPE_THRESHOLD_RATIO * newSlideAmount); in onLayout() 787 if (mTouchRect.contains(Math.round(x), Math.round(y))) { 858 duration = Math.round(mStackSlider.getDurationForNeutralPosition()); 860 duration = Math.round(mStackSlider.getDurationForOffscreenPosition()); 876 duration = Math.round(mStackSlider.getDurationForNeutralPosition()); 878 duration = Math.round(mStackSlider.getDurationForOffscreenPosition()); 978 viewLp.setVerticalOffset(Math.round(-r * stackDirection * mSlideAmount)); [all …]
|
D | Scroller.java | 310 mCurrX = mStartX + Math.round(x * mDeltaX); in computeScrollOffset() 311 mCurrY = mStartY + Math.round(x * mDeltaY); in computeScrollOffset() 329 mCurrX = mStartX + Math.round(distanceCoef * (mFinalX - mStartX)); in computeScrollOffset() 334 mCurrY = mStartY + Math.round(distanceCoef * (mFinalY - mStartY)); in computeScrollOffset() 463 mFinalX = startX + (int) Math.round(totalDistance * coeffX); in fling() 468 mFinalY = startY + (int) Math.round(totalDistance * coeffY); in fling()
|
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/ |
D | DrawerArrowDrawable.java | 137 setGapSize(Math.round(a.getDimension(R.styleable.DrawerArrowToggle_gapBetweenBars, 0))); in DrawerArrowDrawable() 141 mBarLength = Math.round(a.getDimension(R.styleable.DrawerArrowToggle_barLength, 0)); in DrawerArrowDrawable() 143 mArrowHeadLength = Math.round(a.getDimension( in DrawerArrowDrawable() 348 final float arrowShaftCut = Math.round(lerp(0, mMaxCutForBarSize, mProgress)); in draw() 356 final float arrowWidth = Math.round(arrowHeadBarLength * Math.cos(rotation)); in draw() 357 final float arrowHeight = Math.round(arrowHeadBarLength * Math.sin(rotation)); in draw()
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | TwilightCalculator.java | 100 float n = Math.round(daysSince2000 - J0 - arcLongitude); in calculateTwilight() 127 sunset = Math.round((solarTransitJ2000 + hourAngle) * DateUtils.DAY_IN_MILLIS) + UTC_2000; in calculateTwilight() 128 sunrise = Math.round((solarTransitJ2000 - hourAngle) * DateUtils.DAY_IN_MILLIS) + UTC_2000; in calculateTwilight()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ScrollBarUtils.java | 24 int length = Math.round((float) size * extent / range); in getThumbLength() 33 int thumbOffset = Math.round((float) (size - thumbLength) * offset / (range - extent)); in getThumbOffset()
|
/frameworks/base/graphics/java/android/graphics/ |
D | RectF.java | 442 public void round(Rect dst) { in round() method in RectF 443 dst.set(FastMath.round(left), FastMath.round(top), in round() 444 FastMath.round(right), FastMath.round(bottom)); in round()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ContextMenuBuilder.java | 115 helper.show(Math.round(x), Math.round(y)); in showPopup()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
D | BitmapUtils.java | 117 int width = Math.round(bitmap.getWidth() * scale); in resizeBitmapByScale() 118 int height = Math.round(bitmap.getHeight() * scale); in resizeBitmapByScale() 158 int width = Math.round(scale * bitmap.getWidth()); in resizeAndCropCenter() 159 int height = Math.round(scale * bitmap.getHeight()); in resizeAndCropCenter()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskPositioner.java | 394 final int deltaX = Math.round(x - mStartDragX); in notifyMoveLocked() 395 final int deltaY = Math.round(y - mStartDragY); in notifyMoveLocked() 449 mWindowDragBounds.offset(Math.round(x - mStartDragX), 0); in updateWindowDragBounds() 451 mWindowDragBounds.offset(0, Math.round(y - mStartDragY)); in updateWindowDragBounds() 454 mWindowDragBounds.offset(Math.round(x - mStartDragX), Math.round(y - mStartDragY)); in updateWindowDragBounds()
|