Searched refs:dx (Results 1 - 25 of 127) sorted by relevance

123456

/frameworks/base/graphics/java/android/graphics/
H A DLayerRasterizer.java29 public void addLayer(Paint paint, float dx, float dy) { argument
30 nativeAddLayer(native_instance, paint.mNativePaint, dx, dy);
38 private static native void nativeAddLayer(int native_layer, int native_paint, float dx, float dy); argument
H A DPath.java228 * @param dx The amount to add to the x-coordinate of the end of the
233 public void rMoveTo(float dx, float dy) { argument
234 native_rMoveTo(mNativePath, dx, dy);
255 * @param dx The amount to add to the x-coordinate of the previous point on
260 public void rLineTo(float dx, float dy) { argument
262 native_rLineTo(mNativePath, dx, dy);
509 * Add a copy of src to the path, offset by (dx,dy)
512 * @param dx The amount to translate the path in X as it is added
514 public void addPath(Path src, float dx, float dy) { argument
516 native_addPath(mNativePath, src.mNativePath, dx, d
547 offset(float dx, float dy, Path dst) argument
562 offset(float dx, float dy) argument
573 setLastPoint(float dx, float dy) argument
629 native_rMoveTo(int nPath, float dx, float dy) argument
631 native_rLineTo(int nPath, float dx, float dy) argument
655 native_addPath(int nPath, int src, float dx, float dy) argument
659 native_offset(int nPath, float dx, float dy, int dst_path) argument
661 native_offset(int nPath, float dx, float dy) argument
662 native_setLastPoint(int nPath, float dx, float dy) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DomxVCM4P2_FindMVpred.c92 CandMV.dx = CandMV.dy = 0;
168 pDstMVPred->dx = armMedianOf3 (pCandMV1->dx, pCandMV2->dx, pCandMV3->dx);
175 pDstMVPredME[0].dx = pCandMV1->dx;
177 pDstMVPredME[1].dx = pCandMV2->dx;
179 pDstMVPredME[2].dx
[all...]
H A DomxVCM4P2_EncodeMV.c109 dstMVPredME[i].dx = 0;
142 diffMV.dx = pMVCurMB[iBlk].dx - dstMVPred.dx;
146 if (diffMV.dx == 0)
153 mvHorResidual = ( armAbs(diffMV.dx) - 1) % scaleFactor;
154 mvHorData = (armAbs(diffMV.dx) - mvHorResidual + (scaleFactor - 1))
156 if (diffMV.dx < 0)
188 if ((fcodeForward > 1) && (diffMV.dx != 0))
H A DomxVCM4P2_DecodePadMV_PVOP.c116 pDstMVCurMB[i].dx = 0;
170 diffMV.dx = mvHorData;
174 diffMV.dx = ((armAbs(mvHorData) - 1) * fcodeForward)
178 diffMV.dx = -diffMV.dx;
207 pDstMVCurMB[iBlk].dx += diffMV.dx;
211 if ( pDstMVCurMB[iBlk].dx < low )
213 pDstMVCurMB[iBlk].dx += range;
215 if (pDstMVCurMB[iBlk].dx > hig
[all...]
H A DomxVCM4P2_MotionEstimationMB.c369 pSrcDstMBCurr->pMV0[0][0].dx = 0;
398 pSrcDstMBCurr->pMV0[0][0].dx = dstMV16x16.dx;
400 pSrcDstMBCurr->pMV0[0][1].dx = dstMV16x16.dx;
402 pSrcDstMBCurr->pMV0[1][0].dx = dstMV16x16.dx;
404 pSrcDstMBCurr->pMV0[1][1].dx = dstMV16x16.dx;
485 (pSrcDstMBCurr->pMV0[0][0].dx !
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
H A DomxVCM4P10_InterpolateChroma.c36 * [in] dx Fractional part of horizontal motion vector component
52 * dx or dy is out of range [0-7].
66 OMX_S32 dx,
72 ((OMX_U8*)pSrc, srcStep, pDst, dstStep, roi.width, roi.height, dx, dy);
61 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 DomxVCM4P10_InterpolateChroma.c36 * [in] dx Fractional part of horizontal motion vector component
52 * dx or dy is out of range [0-7].
66 OMX_S32 dx,
72 ((OMX_U8*)pSrc, srcStep, pDst, dstStep, roi.width, roi.height, dx, dy);
61 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 Dgeometry.cpp78 const float dx = width * (ratio / current_ratio - 1.0f); local
79 x -= dx / 2.0f;
80 width += dx;
96 const float dx = width * (length / current_length - 1.0f); local
97 x -= dx / 2.0f;
98 width += dx;
121 const float dx = width * (f - 1.0f); local
122 x -= dx / 2.0f;
123 width += dx;
144 Point dx
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DarmVCM4P10_Interpolate_Chroma.c35 * [in] dx Fractional part of horizontal motion vector
52 OMX_U32 dx,
56 OMX_U32 EightMinusdx = 8 - dx;
64 armRetArgErrIf(dx > 7, OMX_Sts_BadArgErr)
72 if (dx != 0 || dy != 0)
75 BCoeff = dx * EightMinusdy;
77 DCoeff = dx * dy;
45 armVCM4P10_Interpolate_Chroma( OMX_U8 *pSrc, OMX_U32 iSrcStep, OMX_U8 *pDst, OMX_U32 iDstStep, OMX_U32 iWidth, OMX_U32 iHeight, OMX_U32 dx, OMX_U32 dy ) argument
H A DarmVCM4P10_Interpolate_Luma.c78 * [in] dx Fractional part of horizontal motion vector
96 OMX_U32 dx,
107 armRetArgErrIf(dx > 3, OMX_Sts_BadArgErr)
111 if (dx == 3)
123 if (dx == 0 && dy == 0)
134 if (dx == 1 || dx == 3)
140 else if (dx == 0)
152 else if (dx == 2 || dy == 2)
158 if (dx
89 armVCM4P10_Interpolate_Luma( const OMX_U8 *pSrc, OMX_U32 iSrcStep, OMX_U8 *pDst, OMX_U32 iDstStep, OMX_U32 iWidth, OMX_U32 iHeight, OMX_U32 dx, OMX_U32 dy ) argument
[all...]
H A DomxVCM4P10_BlockMatch_Quarter.c126 initialMV.dx = pSrcDstBestMV->dx;
136 pTempSrcRefY = pSrcRefY + (nSrcRefStep * (initialMV.dy/4)) + (initialMV.dx/4);
139 pelPosX = (initialMV.dx % 4) + x;
155 candMV.dx = initialMV.dx + x;
179 diffMV.dx = candMV.dx - pMVPred->dx;
184 candMV.dx,
[all...]
H A DomxVCM4P10_BlockMatch_Half.c125 integerMV.dx = pSrcDstBestMV->dx;
135 pTempSrcRefY = pSrcRefY + (nSrcRefStep * (integerMV.dy/4)) + (integerMV.dx/4);
147 candMV.dx = integerMV.dx + x * 2;
171 diffMV.dx = candMV.dx - pMVPred->dx;
176 candMV.dx,
H A DarmVCM4P10_CompareMotionCostToMV.c103 sizeCodeNum = armVCM4P10_ExpGolBitsUsed (diffMV.dx);
113 bestMV->dx = mvX;
122 if ( (mvX * mvX + mvY * mvY) < ((bestMV->dx * bestMV->dx) + (bestMV->dy * bestMV->dy)) )
125 bestMV->dx = mvX;
H A DomxVCM4P10_InterpolateChroma.c36 * dx -Fractional part of horizontal motion vector component in 1/8 pixel
55 * dx or dy is out of range [0-7].
69 OMX_S32 dx,
79 armRetArgErrIf(dx < 0, OMX_Sts_BadArgErr)
80 armRetArgErrIf(dx > 7, OMX_Sts_BadArgErr)
92 ((OMX_U8*)pSrc, srcStep, pDst, dstStep, roi.width, roi.height, dx, dy);
64 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 DomxVCM4P10_InterpolateLuma.c36 * dx -Fractional part of horizontal motion vector component in 1/4 pixel
55 * dx or dy is out of range [0,3].
68 OMX_S32 dx,
78 armRetArgErrIf(dx < 0, OMX_Sts_BadArgErr)
79 armRetArgErrIf(dx > 3, OMX_Sts_BadArgErr)
91 (pSrc, srcStep, pDst, dstStep, roi.width, roi.height, dx, dy);
63 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 Dgeometry.cpp79 const float dx = width * (ratio / current_ratio - 1.0f); local
80 x -= dx / 2.0f;
81 width += dx;
97 const float dx = width * (length / current_length - 1.0f); local
98 x -= dx / 2.0f;
99 width += dx;
122 const float dx = width * (f - 1.0f); local
123 x -= dx / 2.0f;
124 width += dx;
/frameworks/base/core/jni/android/graphics/
H A DLayerRasterizer.cpp10 static void addLayer(JNIEnv* env, jobject, SkLayerRasterizer* layer, const SkPaint* paint, float dx, float dy) { argument
13 layer->addLayer(*paint, SkFloatToScalar(dx), SkFloatToScalar(dy));
/frameworks/native/include/ui/
H A DRegion.h84 Region& translateSelf(int dx, int dy);
85 Region& orSelf(const Region& rhs, int dx, int dy);
86 Region& xorSelf(const Region& rhs, int dx, int dy);
87 Region& andSelf(const Region& rhs, int dx, int dy);
88 Region& subtractSelf(const Region& rhs, int dx, int dy);
91 const Region translate(int dx, int dy) const;
92 const Region merge(const Region& rhs, int dx, int dy) const;
93 const Region mergeExclusive(const Region& rhs, int dx, int dy) const;
94 const Region intersect(const Region& rhs, int dx, int dy) const;
95 const Region subtract(const Region& rhs, int dx, in
[all...]
/frameworks/native/include/private/ui/
H A DRegionHelper.h52 TYPE dx; member in struct:android::region_operator::region
55 : rects(rhs.rects), count(rhs.count), dx(rhs.dx), dy(rhs.dy) { }
57 : rects(r), count(c), dx(), dy() { }
58 inline region(RECT const* r, size_t c, TYPE dx, TYPE dy) argument
59 : rects(r), count(c), dx(dx), dy(dy) { }
234 SpannerBase::lhs_head = lhs.rects->left + lhs.dx;
235 SpannerBase::lhs_tail = lhs.rects->right + lhs.dx;
243 SpannerBase::rhs_head = rhs.rects->left + rhs.dx;
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/
H A DomxVCCOMM_LimitMVToRect.c72 pDstMV->dx = armMin (armMax (pSrcMV->dx, 2*pRectVOPRef->x - Xcoord),
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTouchHandler.java86 float dx = mLastX - x;
92 if (Math.abs(dx) <= 2.0f) {
93 dx = 0.0f;
96 mRotateYValue += dx * 0.25f;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DLayerRasterizer_Delegate.java64 /*package*/ static void nativeAddLayer(int native_layer, int native_paint, float dx, float dy) { argument
/frameworks/base/core/java/android/webkit/
H A DQuadF.java38 public void offset(float dx, float dy) { argument
39 p1.offset(dx, dy);
40 p2.offset(dx, dy);
41 p3.offset(dx, dy);
42 p4.offset(dx, dy);
/frameworks/support/v4/java/android/support/v4/widget/
H A DScrollerCompat.java41 void startScroll(Object scroller, int startX, int startY, int dx, int dy); argument
42 void startScroll(Object scroller, int startX, int startY, int dx, int dy, int duration); argument
88 public void startScroll(Object scroller, int startX, int startY, int dx, int dy) { argument
89 ((Scroller) scroller).startScroll(startX, startY, dx, dy);
93 public void startScroll(Object scroller, int startX, int startY, int dx, int dy, argument
95 ((Scroller) scroller).startScroll(startX, startY, dx, dy, duration);
175 public void startScroll(Object scroller, int startX, int startY, int dx, int dy) { argument
176 ScrollerCompatGingerbread.startScroll(scroller, startX, startY, dx, dy);
180 public void startScroll(Object scroller, int startX, int startY, int dx, int dy, argument
182 ScrollerCompatGingerbread.startScroll(scroller, startX, startY, dx, d
340 startScroll(int startX, int startY, int dx, int dy) argument
357 startScroll(int startX, int startY, int dx, int dy, int duration) argument
[all...]

Completed in 778 milliseconds

123456