Searched refs:dy (Results 51 - 75 of 119) sorted by relevance

12345

/frameworks/base/graphics/java/android/graphics/
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 DRectF.java233 * adding dy to its top and bottom coordinates.
236 * @param dy The amount to add to the rectangle's top and bottom coordinates
238 public void offset(float dx, float dy) { argument
240 top += dy;
242 bottom += dy;
260 * Inset the rectangle by (dx,dy). If dx is positive, then the sides are
263 * for dy and the top and bottom.
266 * @param dy The amount to add(subtract) from the rectangle's top(bottom)
268 public void inset(float dx, float dy) { argument
270 top += dy;
[all...]
H A DPointF.java64 public final void offset(float dx, float dy) { argument
66 y += dy;
H A DRect.java269 * adding dy to its top and bottom coordinates.
272 * @param dy The amount to add to the rectangle's top and bottom coordinates
274 public void offset(int dx, int dy) { argument
276 top += dy;
278 bottom += dy;
296 * Inset the rectangle by (dx,dy). If dx is positive, then the sides are
299 * for dy and the top and bottom.
302 * @param dy The amount to add(subtract) from the rectangle's top(bottom)
304 public void inset(int dx, int dy) { argument
306 top += dy;
[all...]
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
/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/core/java/android/gesture/
H A DGestureUtils.java381 float dy = points[i + 3] - points[i + 1];
382 sum += Math.sqrt(dx * dx + dy * dy);
390 float dy = points[3] - points[1];
391 return (float) Math.sqrt(dx * dx + dy * dy) / totalLen;
396 float dy = points[3] - points[1];
397 return (float) Math.sqrt(dx * dx + dy * dy) / totalLen;
576 static float[] translate(float[] points, float dx, float dy) { argument
[all...]
H A DGestureStroke.java140 float dy = Math.abs(y - mY);
141 if (dx >= TOUCH_TOLERANCE || dy >= TOUCH_TOLERANCE) {
189 float dy = Math.abs(y - mY);
190 if (dx >= TOUCH_TOLERANCE || dy >= TOUCH_TOLERANCE) {
/frameworks/base/core/java/android/text/method/
H A DTouch.java139 float dy;
144 dy = event.getY() - ds[0].mY;
147 dy = ds[0].mY - event.getY();
153 int ny = widget.getScrollY() + (int) dy;
/frameworks/base/media/jni/mediaeditor/
H A DVideoBrowserMain.h146 * @param dy (IN) : Height of the video window
151 M4OSA_UInt32 dx, M4OSA_UInt32 dy);
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
H A DRSTestCore.java226 int dy = mLastY - y;
228 if (Math.abs(dy) <= 2) {
229 dy = 0;
232 mScript.set_gDY(dy);
/frameworks/base/core/java/android/widget/
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...]
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java239 int dy = horiz ? 0 : (alignment == ALIGN_TOP ? alignment_value - tab.getBottom()
242 Animation trans = new TranslateAnimation(0, dx, 0, dy);
257 int dy = horiz ? 0: (alignment == ALIGN_TOP ? tab.getHeight() : -tab.getHeight());
259 Animation trans = new TranslateAnimation(-dx, 0, -dy, 0);
300 int dy = horiz ? 0 : (alignment == ALIGN_TOP ? alignment_value - tab.getTop()
303 TranslateAnimation trans = new TranslateAnimation(0, dx, 0, dy);
313 text.offsetTopAndBottom(dy);
314 tab.offsetTopAndBottom(dy);
641 final int dy;
650 dy
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/api/
H A DomxVC_s.h102 dy EQU 2;
H A DarmVC.h1063 * [in] dy Fractional part of vertical motion vector
1079 OMX_U32 dy
1098 * [in] dy Fractional part of vertical motion vector
1115 OMX_U32 dy
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/api/
H A DomxVC_s.h102 dy EQU 2;
H A DarmVC.h1063 * [in] dy Fractional part of vertical motion vector
1079 OMX_U32 dy
1098 * [in] dy Fractional part of vertical motion vector
1115 OMX_U32 dy
/frameworks/base/libs/hwui/
H A DRect.h161 void translate(float dx, float dy) { argument
164 top += dy;
165 bottom += dy;
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/android/graphics/
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...]
/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 DCamera.cpp28 float dx, float dy, float dz) {
30 v->translate(SkFloatToScalar(dx), SkFloatToScalar(dy), SkFloatToScalar(dz));
27 Camera_translate(JNIEnv* env, jobject obj, float dx, float dy, float dz) argument
/frameworks/ex/widget/java/com/android/ex/widget/
H A DStaggeredGridView.java305 final float dy = y - mLastTouchY + mTouchRemainderY;
306 final int deltaY = (int) dy;
307 mTouchRemainderY = dy - deltaY;
309 if (Math.abs(dy) > mTouchSlop) {
341 final float dy = y - mLastTouchY + mTouchRemainderY;
342 final int deltaY = (int) dy;
343 mTouchRemainderY = dy - deltaY;
345 if (Math.abs(dy) > mTouchSlop) {
545 final int dy = (int) (y - mLastTouchY);
547 final boolean stopped = !trackMotionScroll(dy, fals
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmp4dec_lib.h180 int dy, /* i */
198 int dy, /* i */
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/api/
H A DarmVC.h1063 * [in] dy Fractional part of vertical motion vector
1079 OMX_U32 dy
1098 * [in] dy Fractional part of vertical motion vector
1115 OMX_U32 dy

Completed in 7701 milliseconds

12345