Searched defs:dy (Results 26 - 50 of 71) sorted by relevance

123

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DRegion_Delegate.java223 /*package*/ static void translate(Region thisRegion, int dx, int dy, Region dst) { argument
239 mtx.translate(dx, dy);
H A DMatrix_Delegate.java241 /*package*/ static void native_setTranslate(int native_object, float dx, float dy) { argument
247 setTranslate(d.mValues, dx, dy);
386 /*package*/ static boolean native_preTranslate(int native_object, float dx, float dy) { argument
392 d.preTransform(getTranslate(dx, dy));
486 /*package*/ static boolean native_postTranslate(int native_object, float dx, float dy) { argument
492 d.postTransform(getTranslate(dx, dy));
1005 * @param dy
1008 /*package*/ static float[] getTranslate(float dx, float dy) { argument
1009 return setTranslate(new float[9], dx, dy);
1012 /*package*/ static float[] setTranslate(float[] dest, float dx, float dy) { argument
[all...]
H A DPath_Delegate.java221 /*package*/ static void native_rMoveTo(int nPath, float dx, float dy) { argument
227 pathDelegate.rMoveTo(dx, dy);
241 /*package*/ static void native_rLineTo(int nPath, float dx, float dy) { argument
247 pathDelegate.rLineTo(dx, dy);
404 /*package*/ static void native_addPath(int nPath, int src, float dx, float dy) { argument
405 addPath(nPath, src, AffineTransform.getTranslateInstance(dx, dy));
424 /*package*/ static void native_offset(int nPath, float dx, float dy, int dst_path) { argument
433 pathDelegate.offset(dx, dy, dstDelegate);
437 /*package*/ static void native_offset(int nPath, float dx, float dy) { argument
438 native_offset(nPath, dx, dy,
442 native_setLastPoint(int nPath, float dx, float dy) argument
585 rMoveTo(float dx, float dy) argument
613 rLineTo(float dx, float dy) argument
773 offset(float dx, float dy, Path_Delegate dst) argument
[all...]
/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/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...]
H A DViewDragHelper.java168 * @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
580 final int dy = finalTop - startTop;
582 if (dx == 0 && dy == 0) {
589 final int duration = computeSettleDuration(mCapturedView, dx, dy, xvel, yvel);
590 mScroller.startScroll(startLeft, startTop, dx, dy, duration);
596 private int computeSettleDuration(View child, int dx, int dy, int xvel, int yvel) { argument
600 final int absDy = Math.abs(dy);
907 canScroll(View v, boolean checkV, int dx, int dy, int x, int y) argument
1196 reportNewEdgeDrags(float dx, float dy, int pointerId) argument
1244 checkTouchSlop(View child, float dx, float dy) argument
1365 dragTo(int left, int top, int dx, int dy) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/
H A DarmVCM4P10_Interpolate_Chroma_s.s44 dy RN 7 label
133 M_LDRD dx, dy, Dx
137 ;// EightMinusdy = 8 - dy
141 ;// CCoeff = EightMinusdx * dy
142 ;// DCoeff = dx * dy
145 RSB EightMinusdy, dy, #8
146 CMN dx,dy
157 SMULBB CCoeff, EightMinusdx, dy
158 SMULBB DCoeff, dx, dy
/frameworks/base/graphics/java/android/graphics/
H A DRegion.java218 * Translate the region by [dx, dy]. If the region is empty, do nothing.
220 public void translate(int dx, int dy) { argument
221 translate(dx, dy, null);
225 * Set the dst region to the result of translating this region by [dx, dy].
228 public native void translate(int dx, int dy, Region dst); argument
H A DMatrix.java54 public void setTranslate(float dx, float dy) {
105 public boolean preTranslate(float dx, float dy) {
153 public boolean postTranslate(float dx, float dy) {
291 /** Set the matrix to translate by (dx, dy). */
292 public void setTranslate(float dx, float dy) { argument
293 native_setTranslate(native_instance, dx, dy);
366 * M' = M * T(dx, dy)
368 public boolean preTranslate(float dx, float dy) { argument
369 return native_preTranslate(native_instance, dx, dy);
430 * M' = T(dx, dy) *
432 postTranslate(float dx, float dy) argument
812 native_setTranslate(int native_object, float dx, float dy) argument
832 native_preTranslate(int native_object, float dx, float dy) argument
848 native_postTranslate(int native_object, float dx, float dy) argument
[all...]
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/base/libs/hwui/
H A DMatrix.cpp395 float dy = x * data[kSkewY] + y * data[kScaleY] + data[kTranslateY]; local
400 y = dy * dz;
H A DDisplayListRenderer.cpp189 void DisplayListRenderer::translate(float dx, float dy) { argument
192 mTranslateY += dy;
194 OpenGLRenderer::translate(dx, dy);
470 void DisplayListRenderer::setupShadow(float radius, float dx, float dy, int color) { argument
471 addStateOp(new (alloc()) SetupShadowOp(radius, dx, dy, color));
472 OpenGLRenderer::setupShadow(radius, dx, dy, color);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java418 public void translate(float dx, float dy) { argument
421 layer.getGraphics().translate(dx, dy);
427 mTransform.translate(dx, dy);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmotion_comp.cpp109 Int dx, dy; local
134 dy = mot[0].y;
139 ypred = (ypos << 1) + dy ;
148 if ((dy & 3) == 0) dy = dy >> 1;
149 else dy = (dy >> 1) | 1;
152 ypred = ypos + dy;
175 dy
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/api/
H A DomxVC.h48 OMX_S16 dy; member in struct:__anon722
2587 * dy - Fractional part of vertical motion vector y component in 1/4 pixel
2605 * dx or dy is out of range [0,3].
2618 OMX_S32 dy,
2638 * dy -Fractional part of vertical motion vector component in 1/8 pixel
2656 * dx or dy is out of range [0-7].
2670 OMX_S32 dy,
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/api/
H A DomxVC.h48 OMX_S16 dy; member in struct:__anon766
2587 * dy - Fractional part of vertical motion vector y component in 1/4 pixel
2605 * dx or dy is out of range [0,3].
2618 OMX_S32 dy,
2638 * dy -Fractional part of vertical motion vector component in 1/8 pixel
2656 * dx or dy is out of range [0-7].
2670 OMX_S32 dy,
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/api/
H A DomxVC.h48 OMX_S16 dy; member in struct:__anon810
2587 * dy - Fractional part of vertical motion vector y component in 1/4 pixel
2605 * dx or dy is out of range [0,3].
2618 OMX_S32 dy,
2638 * dy -Fractional part of vertical motion vector component in 1/8 pixel
2656 * dx or dy is out of range [0-7].
2670 OMX_S32 dy,
/frameworks/base/core/java/android/widget/
H A DScroller.java133 float y, dy;
137 dy = coef * ((1.0f - y) * START_TENSION + y) + y * y * y;
138 if (Math.abs(dy - alpha) < 1E-5) break;
139 if (dy > alpha) y_max = y;
377 * @param dy Vertical distance to travel. Positive numbers will scroll the
380 public void startScroll(int startX, int startY, int dx, int dy) { argument
381 startScroll(startX, startY, dx, dy, DEFAULT_DURATION);
394 * @param dy Vertical distance to travel. Positive numbers will scroll the
398 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument
406 mFinalY = startY + dy;
[all...]
H A DHorizontalScrollView.java1147 * @param dy the number of pixels to scroll by on the Y axis
1149 public final void smoothScrollBy(int dx, int dy) { argument
1168 scrollBy(dx, dy);
H A DOverScroller.java354 * @param dy Vertical distance to travel. Positive numbers will scroll the
357 public void startScroll(int startX, int startY, int dx, int dy) { argument
358 startScroll(startX, startY, dx, dy, DEFAULT_DURATION);
370 * @param dy Vertical distance to travel. Positive numbers will scroll the
374 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument
377 mScrollerY.startScroll(startY, dy, duration);
535 final int dy = mScrollerY.mFinal - mScrollerY.mStart;
537 Math.signum(yvel) == Math.signum(dy);
623 float y, dy;
627 dy
[all...]
H A DScrollView.java1131 * @param dy the number of pixels to scroll by on the Y axis
1133 public final void smoothScrollBy(int dx, int dy) { argument
1144 dy = Math.max(0, Math.min(scrollY + dy, maxY)) - scrollY;
1146 mScroller.startScroll(mScrollX, scrollY, 0, dy);
1156 scrollBy(dx, dy);
/frameworks/base/core/jni/android/graphics/
H A DMatrix.cpp63 static void setTranslate(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat dx, jfloat dy) { argument
65 SkScalar dy_ = SkFloatToScalar(dy);
127 static jboolean preTranslate(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat dx, jfloat dy) { argument
129 SkScalar dy_ = SkFloatToScalar(dy);
177 static jboolean postTranslate(JNIEnv* env, jobject clazz, SkMatrix* obj, jfloat dx, jfloat dy) { argument
179 SkScalar dy_ = SkFloatToScalar(dy);
H A DPath.cpp101 static void rMoveTo(JNIEnv* env, jobject clazz, SkPath* obj, jfloat dx, jfloat dy) { argument
103 SkScalar dy_ = SkFloatToScalar(dy);
113 static void rLineTo(JNIEnv* env, jobject clazz, SkPath* obj, jfloat dx, jfloat dy) { argument
115 SkScalar dy_ = SkFloatToScalar(dy);
225 static void addPath__PathFF(JNIEnv* env, jobject clazz, SkPath* obj, SkPath* src, jfloat dx, jfloat dy) { argument
227 SkScalar dy_ = SkFloatToScalar(dy);
239 static void offset__FFPath(JNIEnv* env, jobject clazz, SkPath* obj, jfloat dx, jfloat dy, SkPath* dst) { argument
241 SkScalar dy_ = SkFloatToScalar(dy);
245 static void offset__FF(JNIEnv* env, jobject clazz, SkPath* obj, jfloat dx, jfloat dy) { argument
247 SkScalar dy_ = SkFloatToScalar(dy);
251 setLastPoint(JNIEnv* env, jobject clazz, SkPath* obj, jfloat dx, jfloat dy) argument
[all...]
/frameworks/native/libs/ui/
H A DRegion.cpp348 Region& Region::orSelf(const Region& rhs, int dx, int dy) { argument
349 return operationSelf(rhs, dx, dy, op_or);
351 Region& Region::xorSelf(const Region& rhs, int dx, int dy) { argument
352 return operationSelf(rhs, dx, dy, op_xor);
354 Region& Region::andSelf(const Region& rhs, int dx, int dy) { argument
355 return operationSelf(rhs, dx, dy, op_and);
357 Region& Region::subtractSelf(const Region& rhs, int dx, int dy) { argument
358 return operationSelf(rhs, dx, dy, op_nand);
360 Region& Region::operationSelf(const Region& rhs, int dx, int dy, int op) { argument
362 boolean_operation(op, *this, lhs, rhs, dx, dy);
380 operation(const Region& rhs, int dx, int dy, int op) const argument
542 boolean_operation(int op, Region& dst, const Region& lhs, const Region& rhs, int dx, int dy) argument
652 boolean_operation(int op, Region& dst, const Region& lhs, const Rect& rhs, int dx, int dy) argument
691 translate(Region& reg, int dx, int dy) argument
710 translate(Region& dst, const Region& reg, int dx, int dy) argument
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dmotion_comp.cpp25 /* (blkwidth << 2) + (dy << 1) + dx */
128 int dx, dy; local
133 dy = y_pos & 3;
138 if (dx == 0 && dy == 0)
146 else if (dy == 0)
158 eVertInterp1MC(ref, picpitch, pred, pred_pitch, blkwidth, blkheight, dy);
160 else if (dy == 2)
175 eVertInterp3MC(&temp2[2][0], 21, pred, pred_pitch, blkwidth, blkheight, dy);
180 ref2 = ref + (y_pos + (dy / 2)) * picpitch + x_pos;
782 int blkwidth, int blkheight, int dy)
781 eVertInterp1MC(uint8 *in, int inpitch, uint8 *out, int outpitch, int blkwidth, int blkheight, int dy) argument
1148 eVertInterp3MC(int *in, int inpitch, uint8 *out, int outpitch, int blkwidth, int blkheight, int dy) argument
1810 int dx, dy; local
1833 eChromaDiagonalMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument
1925 eChromaHorizontalMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument
1974 eChromaVerticalMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument
2017 eChromaDiagonalMC2_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument
2060 eChromaHorizontalMC2_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument
2082 eChromaVerticalMC2_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument
2108 eChromaFullMC_SIMD(uint8 *pRef, int srcPitch, int dx, int dy, uint8 *pOut, int predPitch, int blkwidth, int blkheight) argument
[all...]

Completed in 664 milliseconds

123