/frameworks/base/graphics/java/android/graphics/ |
H A D | LayerRasterizer.java | 30 public void addLayer(Paint paint, float dx, float dy) { argument 31 nativeAddLayer(native_instance, paint.mNativePaint, dx, dy); 39 private static native void nativeAddLayer(long native_layer, long native_paint, float dx, float dy); argument
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
H A D | omxVCM4P2_FindMVpred.c | 107 CandMV.dx = CandMV.dy = 0; 184 pDstMVPred->dy = armMedianOf3 (pCandMV1->dy, pCandMV2->dy, pCandMV3->dy); 191 pDstMVPredME[0].dy = pCandMV1->dy; 193 pDstMVPredME[1].dy = pCandMV2->dy; 195 pDstMVPredME[2].dy [all...] |
H A D | omxVCM4P2_EncodeMV.c | 125 dstMVPredME[i].dy = 0; 158 diffMV.dy = pMVCurMB[iBlk].dy - dstMVPred.dy; 178 if (diffMV.dy == 0) 185 mvVerResidual = ( armAbs(diffMV.dy) - 1) % scaleFactor; 186 mvVerData = (armAbs(diffMV.dy) - mvVerResidual + (scaleFactor - 1)) 188 if (diffMV.dy < 0) 215 if ((fcodeForward > 1) && (diffMV.dy != 0))
|
H A D | omxVCM4P2_DecodePadMV_PVOP.c | 132 pDstMVCurMB[i].dy = 0; 199 diffMV.dy = mvVerData; 203 diffMV.dy = ((armAbs(mvVerData) - 1) * fcodeForward) 207 diffMV.dy = -diffMV.dy; 223 pDstMVCurMB[iBlk].dy += diffMV.dy; 235 if ( pDstMVCurMB[iBlk].dy < low ) 237 pDstMVCurMB[iBlk].dy += range; 239 if (pDstMVCurMB[iBlk].dy > hig [all...] |
H A D | omxVCM4P2_MotionEstimationMB.c | 385 pSrcDstMBCurr->pMV0[0][0].dy = 0; 414 pSrcDstMBCurr->pMV0[0][0].dy = dstMV16x16.dy; 416 pSrcDstMBCurr->pMV0[0][1].dy = dstMV16x16.dy; 418 pSrcDstMBCurr->pMV0[1][0].dy = dstMV16x16.dy; 420 pSrcDstMBCurr->pMV0[1][1].dy = dstMV16x16.dy; 501 (pSrcDstMBCurr->pMV0[0][0].dy ! [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
H A D | omxVCM4P10_InterpolateChroma.c | 53 * [in] dy Fractional part of vertical motion vector component 67 * dx or dy is out of range [0-7]. 82 OMX_S32 dy, 87 ((OMX_U8*)pSrc, srcStep, pDst, dstStep, roi.width, roi.height, dx, dy); 76 omxVCM4P10_InterpolateChroma( const OMX_U8* pSrc, OMX_S32 srcStep, OMX_U8* pDst, OMX_S32 dstStep, OMX_S32 dx, OMX_S32 dy, OMXSize roi ) argument
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/ |
H A D | omxVCM4P10_InterpolateChroma.c | 53 * [in] dy Fractional part of vertical motion vector component 67 * dx or dy is out of range [0-7]. 82 OMX_S32 dy, 87 ((OMX_U8*)pSrc, srcStep, pDst, dstStep, roi.width, roi.height, dx, dy); 76 omxVCM4P10_InterpolateChroma( const OMX_U8* pSrc, OMX_S32 srcStep, OMX_U8* pDst, OMX_S32 dstStep, OMX_S32 dx, OMX_S32 dy, OMXSize roi ) argument
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | geometry.cpp | 82 const float dy = height * (current_ratio / ratio - 1.0f); local 83 y -= dy / 2.0f; 84 height += dy; 99 const float dy = height * (length / current_length - 1.0f); local 100 y -= dy / 2.0f; 101 height += dy; 124 const float dy = height * (f - 1.0f); local 125 y -= dy / 2.0f; 126 height += dy; 138 Point dy [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
H A D | armVCM4P10_Interpolate_Chroma.c | 52 * [in] dy Fractional part of vertical motion vector 68 OMX_U32 dy 72 OMX_U32 EightMinusdy = 8 - dy; 80 armRetArgErrIf(dy > 7, OMX_Sts_BadArgErr) 87 if (dx != 0 || dy != 0) 91 CCoeff = EightMinusdx * dy; 92 DCoeff = dx * dy;
|
H A D | armVCM4P10_Interpolate_Luma.c | 95 * [in] dy Fractional part of vertical motion vector 112 OMX_U32 dy 123 armRetArgErrIf(dy > 3, OMX_Sts_BadArgErr) 130 if (dy == 3) 138 if (dx == 0 && dy == 0) 143 else if (dy == 0) 161 if (dy == 1 || dy == 3) 167 else if (dx == 2 || dy == 2) 182 if (dy [all...] |
H A D | omxVCM4P10_BlockMatch_Quarter.c | 142 initialMV.dy = pSrcDstBestMV->dy; 151 pTempSrcRefY = pSrcRefY + (nSrcRefStep * (initialMV.dy/4)) + (initialMV.dx/4); 160 pelPosY = (initialMV.dy % 4) + y; 171 candMV.dy = initialMV.dy + y; 195 diffMV.dy = candMV.dy - pMVPred->dy; 200 candMV.dy, [all...] |
H A D | omxVCM4P10_BlockMatch_Half.c | 141 integerMV.dy = pSrcDstBestMV->dy; 150 pTempSrcRefY = pSrcRefY + (nSrcRefStep * (integerMV.dy/4)) + (integerMV.dx/4); 163 candMV.dy = integerMV.dy + y * 2; 187 diffMV.dy = candMV.dy - pMVPred->dy; 192 candMV.dy,
|
H A D | armVCM4P10_CompareMotionCostToMV.c | 119 sizeCodeNum += armVCM4P10_ExpGolBitsUsed (diffMV.dy); 129 bestMV->dy = mvY; 137 if ( (mvX * mvX + mvY * mvY) < ((bestMV->dx * bestMV->dx) + (bestMV->dy * bestMV->dy)) ) 141 bestMV->dy = mvY;
|
H A D | omxVCM4P10_InterpolateChroma.c | 53 * dy -Fractional part of vertical motion vector component in 1/8 pixel 70 * dx or dy is out of range [0-7]. 85 OMX_S32 dy, 96 armRetArgErrIf(dy < 0, OMX_Sts_BadArgErr) 97 armRetArgErrIf(dy > 7, OMX_Sts_BadArgErr) 107 ((OMX_U8*)pSrc, srcStep, pDst, dstStep, roi.width, roi.height, dx, dy); 79 omxVCM4P10_InterpolateChroma( const OMX_U8* pSrc, OMX_S32 srcStep, OMX_U8* pDst, OMX_S32 dstStep, OMX_S32 dx, OMX_S32 dy, OMXSize roi ) argument
|
H A D | omxVCM4P10_InterpolateLuma.c | 53 * dy -Fractional part of vertical motion vector y component in 1/4 pixel 70 * dx or dy is out of range [0,3]. 84 OMX_S32 dy, 95 armRetArgErrIf(dy < 0, OMX_Sts_BadArgErr) 96 armRetArgErrIf(dy > 3, OMX_Sts_BadArgErr) 106 (pSrc, srcStep, pDst, dstStep, roi.width, roi.height, dx, dy); 78 omxVCM4P10_InterpolateLuma( const OMX_U8* pSrc, OMX_S32 srcStep, OMX_U8* pDst, OMX_S32 dstStep, OMX_S32 dx, OMX_S32 dy, OMXSize roi ) argument
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | geometry.cpp | 83 const float dy = height * (current_ratio / ratio - 1.0f); local 84 y -= dy / 2.0f; 85 height += dy; 100 const float dy = height * (length / current_length - 1.0f); local 101 y -= dy / 2.0f; 102 height += dy; 125 const float dy = height * (f - 1.0f); local 126 y -= dy / 2.0f; 127 height += dy;
|
/frameworks/native/include/ui/ |
H A D | Region.h | 87 Region& translateSelf(int dx, int dy); 88 Region& orSelf(const Region& rhs, int dx, int dy); 89 Region& xorSelf(const Region& rhs, int dx, int dy); 90 Region& andSelf(const Region& rhs, int dx, int dy); 91 Region& subtractSelf(const Region& rhs, int dx, int dy); 94 const Region translate(int dx, int dy) const; 95 const Region merge(const Region& rhs, int dx, int dy) const; 96 const Region mergeExclusive(const Region& rhs, int dx, int dy) const; 97 const Region intersect(const Region& rhs, int dx, int dy) const; 98 const Region subtract(const Region& rhs, int dx, int dy) cons [all...] |
/frameworks/base/core/java/android/transition/ |
H A D | PatternPathMotion.java | 121 float dy = endY - startY; 122 float distance = distance(dx, dy); 125 double angle = Math.atan2(dy, dx); 134 float dy = endY - startY; 135 float length = distance(dx, dy); 136 double angle = Math.atan2(dy, dx);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/ |
H A D | omxVCCOMM_LimitMVToRect.c | 89 pDstMV->dy = armMin (armMax (pSrcMV->dy, 2*pRectVOPRef->y - Ycoord),
|
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/ |
H A D | RsListRS.java | 105 int dy = mLastY - y; 107 if (Math.abs(dy) <= 2) { 108 dy = 0; 111 mScript.set_gDY(dy);
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
H A D | TouchHandler.java | 87 float dy = mLastY - y; 89 if (Math.abs(dy) <= 2.0f) { 90 dy = 0.0f; 99 mRotateXValue += dy * 0.25f;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | LayerRasterizer_Delegate.java | 64 /*package*/ static void nativeAddLayer(long native_layer, long native_paint, float dx, float dy) { argument
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | pp_semaphore_luma.cpp | 34 dy = vertical component of the motion vector (int) 120 int dy, /* i */ 172 if ((dy&0xF) != 0) 173 { /* dy is not a multiple of 16 */ 180 { /* dy is a multiple of 16 */ 194 if ((dy&0xF) != 0) 195 { /* dy is not a multiple of 16 */ 202 { /* dy is a multiple of 16 */ 300 if (((dy&0xF) != 0) && (mmvy + 1 < (height >> 3) - 1)) 301 { /* dy i 112 pp_semaphore_luma( int xpred, int ypred, uint8 *pp_dec_y, uint8 *pstprcTypPrv, int *ll, int *mv_loc, int dx, int dy, int mvwidth, int width, int height ) argument [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | ScrollerCompat.java | 45 void startScroll(Object scroller, int startX, int startY, int dx, int dy); argument 46 void startScroll(Object scroller, int startX, int startY, int dx, int dy, int duration); argument 95 public void startScroll(Object scroller, int startX, int startY, int dx, int dy) { argument 96 ((Scroller) scroller).startScroll(startX, startY, dx, dy); 100 public void startScroll(Object scroller, int startX, int startY, int dx, int dy, argument 102 ((Scroller) scroller).startScroll(startX, startY, dx, dy, duration); 182 public void startScroll(Object scroller, int startX, int startY, int dx, int dy) { argument 183 ScrollerCompatGingerbread.startScroll(scroller, startX, startY, dx, dy); 187 public void startScroll(Object scroller, int startX, int startY, int dx, int dy, argument 189 ScrollerCompatGingerbread.startScroll(scroller, startX, startY, dx, dy, duratio 351 startScroll(int startX, int startY, int dx, int dy) argument 368 startScroll(int startX, int startY, int dx, int dy, int duration) argument [all...] |
H A D | ViewDragHelper.java | 168 * @param dy Change in Y position from the last call 170 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) {} argument 315 * @param dy Proposed change in position for top 318 public int clampViewPositionVertical(View child, int top, int dy) { argument 587 final int dy = finalTop - startTop; 589 if (dx == 0 && dy == 0) { 596 final int duration = computeSettleDuration(mCapturedView, dx, dy, xvel, yvel); 597 mScroller.startScroll(startLeft, startTop, dx, dy, duration); 603 private int computeSettleDuration(View child, int dx, int dy, int xvel, int yvel) { argument 607 final int absDy = Math.abs(dy); 915 canScroll(View v, boolean checkV, int dx, int dy, int x, int y) argument 1227 reportNewEdgeDrags(float dx, float dy, int pointerId) argument 1275 checkTouchSlop(View child, float dx, float dy) argument 1396 dragTo(int left, int top, int dx, int dy) argument [all...] |