Searched refs:dy (Results 26 - 50 of 148) sorted by relevance

123456

/frameworks/base/graphics/java/android/graphics/
H A DPath.java325 * @param dy The amount to add to the y-coordinate of the end of the
328 public void rMoveTo(float dx, float dy) { argument
329 native_rMoveTo(mNativePath, dx, dy);
352 * @param dy The amount to add to the y-coordinate of the previous point on
355 public void rLineTo(float dx, float dy) { argument
357 native_rLineTo(mNativePath, dx, dy);
650 * Add a copy of src to the path, offset by (dx,dy)
655 public void addPath(Path src, float dx, float dy) { argument
657 native_addPath(mNativePath, src.mNativePath, dx, dy);
681 * Offset the path by (dx,dy)
688 offset(float dx, float dy, Path dst) argument
703 offset(float dx, float dy) argument
714 setLastPoint(float dx, float dy) argument
793 native_rMoveTo(long nPath, float dx, float dy) argument
795 native_rLineTo(long nPath, float dx, float dy) argument
822 native_addPath(long nPath, long src, float dx, float dy) argument
825 native_offset(long nPath, float dx, float dy, long dst_path) argument
826 native_offset(long nPath, float dx, float dy) argument
827 native_setLastPoint(long nPath, float dx, float dy) argument
[all...]
H A DCamera.java161 public native float dotWithNormal(float dx, float dy, float dz); argument
H A DPoint.java59 * Offset the point's coordinates by dx, dy
61 public final void offset(int dx, int dy) { argument
63 y += dy;
/frameworks/native/include/private/ui/
H A DRegionHelper.h53 TYPE dy; 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) { }
169 SpannerBase::lhs_head = lhs.rects->top + lhs.dy;
170 SpannerBase::lhs_tail = lhs.rects->bottom + lhs.dy;
173 SpannerBase::rhs_head = rhs.rects->top + rhs.dy;
[all...]
/frameworks/minikin/include/minikin/
H A DMinikinFont.h69 void offset(float dx, float dy) { argument
71 mTop += dy;
73 mBottom += dy;
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DTypeThunker.java62 int dx, int dy, int dz, boolean dmip, boolean dfaces, int yuv) {
69 if (dy > 0) tb.setY(dy);
61 create(RenderScript rs, Element e, int dx, int dy, int dz, boolean dmip, boolean dfaces, int yuv) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNoisyVelocityTracker.java81 final float dy = (event.y - last.y);
84 " [%d] (t=%d %.1f,%.1f) dx=%.1f dy=%.1f dt=%f vx=%.1f vy=%.1f",
86 dx, dy, dt,
88 (dy/dt)
97 mVY += weight * dy / dt;
/frameworks/support/v4/gingerbread/android/support/v4/widget/
H A DScrollerCompatGingerbread.java46 public static void startScroll(Object scroller, int startX, int startY, int dx, int dy) { argument
47 ((OverScroller) scroller).startScroll(startX, startY, dx, dy);
50 public static void startScroll(Object scroller, int startX, int startY, int dx, int dy, argument
52 ((OverScroller) scroller).startScroll(startX, startY, dx, dy, duration);
/frameworks/native/libs/ui/
H A DRegion.cpp365 Region& Region::orSelf(const Region& rhs, int dx, int dy) { argument
366 return operationSelf(rhs, dx, dy, op_or);
368 Region& Region::xorSelf(const Region& rhs, int dx, int dy) { argument
369 return operationSelf(rhs, dx, dy, op_xor);
371 Region& Region::andSelf(const Region& rhs, int dx, int dy) { argument
372 return operationSelf(rhs, dx, dy, op_and);
374 Region& Region::subtractSelf(const Region& rhs, int dx, int dy) { argument
375 return operationSelf(rhs, dx, dy, op_nand);
377 Region& Region::operationSelf(const Region& rhs, int dx, int dy, int op) { argument
379 boolean_operation(op, *this, lhs, rhs, dx, dy);
397 operation(const Region& rhs, int dx, int dy, int op) const argument
559 boolean_operation(int op, Region& dst, const Region& lhs, const Region& rhs, int dx, int dy) argument
669 boolean_operation(int op, Region& dst, const Region& lhs, const Rect& rhs, int dx, int dy) argument
708 translate(Region& reg, int dx, int dy) argument
727 translate(Region& dst, const Region& reg, int dx, int dy) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DomxVCM4P10_MotionEstimationMB.c380 mvy = pSrcMBInfo->pMV0 [2*PartY + SubPartY][2*PartX + SubPartX].dy;
398 mvy = pSrcMBInfo->pMV0 [2*PartY][2*PartX].dy;
718 pMVPred->dy = pMVArr [BlockY][BlockX - 1].dy;
726 pMVPred->dy =
727 ARM_VCM4P10_MEDIAN(pMVArr [BlockY][BlockX - 1].dy,
728 pMVArr [BlockY - 1][BlockX].dy,
729 pMVArr [BlockY - 1][BlockXPlusOff].dy);
735 pMVPred->dy = pMVArr [BlockY][BlockX - 1].dy;
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpp_semaphore_chroma_inter.cpp30 dy = vertical component of the motion vector (int)
117 int dy, /* i */
176 if (((dy&0xF) != 0) && (mmvy + 1 < (height >> 4) - 1))
177 { /* dy is not a multiple of 16 */
183 { /* dy is a multiple of 16 */
111 pp_semaphore_chroma_inter( int xpred, int ypred, uint8 *pp_dec_u, uint8 *pstprcTypPrv, int dx, int dy, int mvwidth, int height, int32 size, int mv_loc, uint8 msk_deblock ) argument
H A Dmb_motion_comp.cpp146 /* Motion vector (dx,dy) in half-pel resolution */
147 int dx, dy; local
196 dy = py[0] = py[1] = py[2] = py[3] = video->motY[imv];
209 if ((dy & 3) == 0)
211 dy = dy >> 1;
216 dy = (dy >> 1) | 1;
233 dy = PV_SIGN(xsum) * (roundtab16[(PV_ABS(xsum)) & 0xF] +
416 video->pstprcTypPrv, dx, dy, mvwidt
[all...]
/frameworks/base/core/jni/android/graphics/
H A DRasterizer.cpp81 static void addLayer(JNIEnv* env, jobject, jlong layerHandle, jlong paintHandle, jfloat dx, jfloat dy) { argument
86 nr->fBuilder.addLayer(*paint, dx, dy);
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
H A DRectangle.java61 Point dy = vAxis.scaledTo(size.y / 2.0f);
63 return new Rectangle(center.minus(dx).minus(dy),
64 center.plus(dx).minus(dy),
65 center.minus(dx).plus(dy),
66 center.plus(dx).plus(dy));
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java228 /*package*/ static void native_rMoveTo(long nPath, float dx, float dy) { argument
234 pathDelegate.rMoveTo(dx, dy);
248 /*package*/ static void native_rLineTo(long nPath, float dx, float dy) { argument
254 pathDelegate.rLineTo(dx, dy);
404 /*package*/ static void native_addPath(long nPath, long src, float dx, float dy) { argument
405 addPath(nPath, src, AffineTransform.getTranslateInstance(dx, dy));
424 /*package*/ static void native_offset(long nPath, float dx, float dy, long dst_path) { argument
433 pathDelegate.offset(dx, dy, dstDelegate);
437 /*package*/ static void native_offset(long nPath, float dx, float dy) { argument
438 native_offset(nPath, dx, dy,
442 native_setLastPoint(long nPath, float dx, float dy) argument
596 rMoveTo(float dx, float dy) argument
627 rLineTo(float dx, float dy) argument
792 offset(float dx, float dy, Path_Delegate dst) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DScroller.java134 float y, dy;
138 dy = coef * ((1.0f - y) * START_TENSION + y) + y * y * y;
139 if (Math.abs(dy - alpha) < 1E-5) break;
140 if (dy > alpha) y_max = y;
366 * @param dy Vertical distance to travel. Positive numbers will scroll the
369 public void startScroll(int startX, int startY, int dx, int dy) { argument
370 startScroll(startX, startY, dx, dy, DEFAULT_DURATION);
383 * @param dy Vertical distance to travel. Positive numbers will scroll the
387 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument
395 mFinalY = startY + dy;
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DLinearSmoothScroller.java108 final int dy = calculateDyToMakeVisible(targetView, getVerticalSnapPreference());
109 final int distance = (int) Math.sqrt(dx * dx + dy * dy);
112 action.update(-dx, -dy, time, mDecelerateInterpolator);
120 protected void onSeekTargetStep(int dx, int dy, RecyclerView.State state, Action action) { argument
126 && ((mTargetVector.x * dx < 0 || mTargetVector.y * dy < 0))) {
131 mInterimTargetDy = clampApplyScroll(mInterimTargetDy, dy);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DarmVCM4P2_BlockMatch_Half.c107 pTempSrcRefBuf = pSrcRefBuf + (refWidth * (pSrcDstMV->dy/2)) + (pSrcDstMV->dx/2);
161 pTempSrcRefBuf = pSrcRefBuf + (refWidth * (pSrcDstMV->dy/2))
196 pSrcDstMV->dy += halfPelY;
H A DarmVCM4P2_BlockMatch_Integer.c144 pDstMV->dy = -fromY;
167 if (armVCM4P2_CompareMV (x, y, candSAD, pDstMV->dx/2, pDstMV->dy/2, minSAD))
172 pDstMV->dy = y*2;
/frameworks/base/core/java/android/transition/
H A DArcMotion.java218 float dy = (startY + endY) / 2;
247 float arcDistY = dy - ey;
262 ey = dy + (ratio * (ey - dy));
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
H A DRSTestCore.java194 int dy = mLastY - y;
196 if (Math.abs(dy) <= 2) {
197 dy = 0;
200 mScript.set_gDY(dy);
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
H A DRSTestCore.java198 int dy = mLastY - y;
200 if (Math.abs(dy) <= 2) {
201 dy = 0;
204 mScript.set_gDY(dy);
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
H A DRSTestCore.java198 int dy = mLastY - y;
200 if (Math.abs(dy) <= 2) {
201 dy = 0;
204 mScript.set_gDY(dy);
/frameworks/base/core/java/com/android/internal/widget/
H A DResolverDrawerLayout.java180 final float dy = y - mInitialTouchY;
181 if (Math.abs(dy) > mTouchSlop && findChildUnder(x, y) != null &&
186 Math.min(mLastTouchY + dy, mLastTouchY + mTouchSlop));
242 final float dy = y - mInitialTouchY;
243 if (Math.abs(dy) > mTouchSlop && findChildUnder(x, y) != null) {
246 Math.min(mLastTouchY + dy, mLastTouchY + mTouchSlop));
250 final float dy = y - mLastTouchY;
251 performDrag(dy);
360 private float performDrag(float dy) { argument
361 final float newPos = Math.max(0, Math.min(mCollapseOffset + dy,
558 onNestedPreScroll(View target, int dx, int dy, int[] consumed) argument
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Davcenc_lib.h443 int blkwidth, int blkheight, int dy);
449 int blkwidth, int blkheight, int dy);
459 void eChromaDiagonalMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy,
462 void eChromaHorizontalMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy,
465 void eChromaVerticalMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy,
468 void eChromaFullMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy,
471 void eChromaVerticalMC2_SIMD(uint8 *pRef, int srcPitch, int dx, int dy,
474 void eChromaHorizontalMC2_SIMD(uint8 *pRef, int srcPitch, int dx, int dy,
477 void eChromaDiagonalMC2_SIMD(uint8 *pRef, int srcPitch, int dx, int dy,

Completed in 3154 milliseconds

123456