Searched refs:dy (Results 1 - 25 of 119) sorted by relevance

12345

/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.java319 * @param dy The amount to add to the y-coordinate of the end of the
322 public void rMoveTo(float dx, float dy) { argument
323 native_rMoveTo(mNativePath, dx, dy);
346 * @param dy The amount to add to the y-coordinate of the previous point on
349 public void rLineTo(float dx, float dy) { argument
351 native_rLineTo(mNativePath, dx, dy);
598 * Add a copy of src to the path, offset by (dx,dy)
603 public void addPath(Path src, float dx, float dy) { argument
605 native_addPath(mNativePath, src.mNativePath, dx, dy);
629 * Offset the path by (dx,dy), returnin
636 offset(float dx, float dy, Path dst) argument
651 offset(float dx, float dy) argument
662 setLastPoint(float dx, float dy) argument
718 native_rMoveTo(int nPath, float dx, float dy) argument
720 native_rLineTo(int nPath, float dx, float dy) argument
742 native_addPath(int nPath, int src, float dx, float dy) argument
745 native_offset(int nPath, float dx, float dy, int dst_path) argument
746 native_offset(int nPath, float dx, float dy) argument
747 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;
169 pDstMVPred->dy = armMedianOf3 (pCandMV1->dy, pCandMV2->dy, pCandMV3->dy);
176 pDstMVPredME[0].dy = pCandMV1->dy;
178 pDstMVPredME[1].dy = pCandMV2->dy;
180 pDstMVPredME[2].dy
[all...]
H A DomxVCM4P2_EncodeMV.c110 dstMVPredME[i].dy = 0;
143 diffMV.dy = pMVCurMB[iBlk].dy - dstMVPred.dy;
163 if (diffMV.dy == 0)
170 mvVerResidual = ( armAbs(diffMV.dy) - 1) % scaleFactor;
171 mvVerData = (armAbs(diffMV.dy) - mvVerResidual + (scaleFactor - 1))
173 if (diffMV.dy < 0)
200 if ((fcodeForward > 1) && (diffMV.dy != 0))
H A DomxVCM4P2_DecodePadMV_PVOP.c117 pDstMVCurMB[i].dy = 0;
184 diffMV.dy = mvVerData;
188 diffMV.dy = ((armAbs(mvVerData) - 1) * fcodeForward)
192 diffMV.dy = -diffMV.dy;
208 pDstMVCurMB[iBlk].dy += diffMV.dy;
220 if ( pDstMVCurMB[iBlk].dy < low )
222 pDstMVCurMB[iBlk].dy += range;
224 if (pDstMVCurMB[iBlk].dy > hig
[all...]
H A DomxVCM4P2_MotionEstimationMB.c370 pSrcDstMBCurr->pMV0[0][0].dy = 0;
399 pSrcDstMBCurr->pMV0[0][0].dy = dstMV16x16.dy;
401 pSrcDstMBCurr->pMV0[0][1].dy = dstMV16x16.dy;
403 pSrcDstMBCurr->pMV0[1][0].dy = dstMV16x16.dy;
405 pSrcDstMBCurr->pMV0[1][1].dy = dstMV16x16.dy;
486 (pSrcDstMBCurr->pMV0[0][0].dy !
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
H A DomxVCM4P10_InterpolateChroma.c38 * [in] dy Fractional part of vertical motion vector component
52 * dx or dy is out of range [0-7].
67 OMX_S32 dy,
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.c38 * [in] dy Fractional part of vertical motion vector component
52 * dx or dy is out of range [0-7].
67 OMX_S32 dy,
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.cpp82 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 DarmVCM4P10_Interpolate_Chroma.c37 * [in] dy Fractional part of vertical motion vector
53 OMX_U32 dy
57 OMX_U32 EightMinusdy = 8 - dy;
65 armRetArgErrIf(dy > 7, OMX_Sts_BadArgErr)
72 if (dx != 0 || dy != 0)
76 CCoeff = EightMinusdx * dy;
77 DCoeff = dx * dy;
H A DarmVCM4P10_Interpolate_Luma.c80 * [in] dy Fractional part of vertical motion vector
97 OMX_U32 dy
108 armRetArgErrIf(dy > 3, OMX_Sts_BadArgErr)
115 if (dy == 3)
123 if (dx == 0 && dy == 0)
128 else if (dy == 0)
146 if (dy == 1 || dy == 3)
152 else if (dx == 2 || dy == 2)
167 if (dy
[all...]
H A DomxVCM4P10_BlockMatch_Quarter.c127 initialMV.dy = pSrcDstBestMV->dy;
136 pTempSrcRefY = pSrcRefY + (nSrcRefStep * (initialMV.dy/4)) + (initialMV.dx/4);
145 pelPosY = (initialMV.dy % 4) + y;
156 candMV.dy = initialMV.dy + y;
180 diffMV.dy = candMV.dy - pMVPred->dy;
185 candMV.dy,
[all...]
H A DomxVCM4P10_BlockMatch_Half.c126 integerMV.dy = pSrcDstBestMV->dy;
135 pTempSrcRefY = pSrcRefY + (nSrcRefStep * (integerMV.dy/4)) + (integerMV.dx/4);
148 candMV.dy = integerMV.dy + y * 2;
172 diffMV.dy = candMV.dy - pMVPred->dy;
177 candMV.dy,
H A DarmVCM4P10_CompareMotionCostToMV.c104 sizeCodeNum += armVCM4P10_ExpGolBitsUsed (diffMV.dy);
114 bestMV->dy = mvY;
122 if ( (mvX * mvX + mvY * mvY) < ((bestMV->dx * bestMV->dx) + (bestMV->dy * bestMV->dy)) )
126 bestMV->dy = mvY;
H A DomxVCM4P10_InterpolateChroma.c38 * dy -Fractional part of vertical motion vector component in 1/8 pixel
55 * dx or dy is out of range [0-7].
70 OMX_S32 dy,
81 armRetArgErrIf(dy < 0, OMX_Sts_BadArgErr)
82 armRetArgErrIf(dy > 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.c38 * dy -Fractional part of vertical motion vector y component in 1/4 pixel
55 * dx or dy is out of range [0,3].
69 OMX_S32 dy,
80 armRetArgErrIf(dy < 0, OMX_Sts_BadArgErr)
81 armRetArgErrIf(dy > 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.cpp83 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/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, int dy) cons
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/
H A DomxVCCOMM_LimitMVToRect.c74 pDstMV->dy = armMin (armMax (pSrcMV->dy, 2*pRectVOPRef->y - Ycoord),
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
H A DRsListRS.java105 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 DTouchHandler.java87 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 DLayerRasterizer_Delegate.java64 /*package*/ static void nativeAddLayer(int native_layer, int native_paint, float dx, float dy) { argument
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpp_semaphore_luma.cpp34 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 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, dy, duratio
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 866 milliseconds

12345