Searched defs:dx (Results 51 - 71 of 71) sorted by relevance

123

/frameworks/base/graphics/java/android/graphics/
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...]
H A DCanvas.java425 * @param dx The distance to translate in X
428 public native void translate(float dx, float dy); argument
H A DPaint.java1029 public void setShadowLayer(float radius, float dx, float dy, int color) { argument
1032 shadowDx = dx;
1035 nSetShadowLayer(radius, dx, dy, color);
1038 private native void nSetShadowLayer(float radius, float dx, float dy, int color); argument
/frameworks/av/media/libstagefright/
H A DMPEG4Extractor.cpp1512 int32_t dx = U32_AT(&buffer[matrixOffset + 8]); local
1519 a00 / 65536.0f, a01 / 65536.0f, dx / 65536.0f);
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java1857 int dx = 0, dy = 0;
1860 dx = -count;
1863 dx = count;
1872 onExtractedCursorMovement(dx, dy);
2108 * @param dx The amount of cursor movement in the x dimension.
2111 public void onExtractedCursorMovement(int dx, int dy) { argument
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DGlowPadView.java798 float dx = x - mOuterRing.getX();
800 dx *= 1f / mRingScaleFactor;
802 mPointCloud.glowManager.setX(mOuterRing.getX() + dx);
1008 private void computeInsets(int dx, int dy) { argument
1017 mHorizontalInset = dx;
1021 mHorizontalInset = dx / 2;
1216 private float dist2(float dx, float dy) { argument
1217 return dx*dx + dy*dy;
H A DMultiWaveView.java976 private void computeInsets(int dx, int dy) { argument
985 mHorizontalInset = dx;
989 mHorizontalInset = dx / 2;
1109 private float dist2(float dx, float dy) { argument
1110 return dx*dx + dy*dy;
/frameworks/base/core/jni/android/graphics/
H A DCanvas.cpp181 static void translate(JNIEnv* env, jobject jcanvas, jfloat dx, jfloat dy) { argument
183 SkScalar dx_ = SkFloatToScalar(dx);
609 const SkScalar dx = w / meshWidth; local
622 x += dx;
H A DPaint.cpp710 jfloat dx, jfloat dy, int color) {
719 SkFloatToScalar(dx),
709 setShadowLayer(JNIEnv* env, jobject jpaint, jfloat radius, jfloat dx, jfloat dy, int color) argument
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp297 float dx = x1 - x0; local
300 *pSphere++ = x0 + dx * 0.5f;
303 *pSphere++ = distance(dx, dy, dz) * 0.5f;
/frameworks/base/core/jni/
H A Dandroid_view_GLES20Canvas.cpp293 OpenGLRenderer* renderer, jfloat dx, jfloat dy) {
294 renderer->translate(dx, dy);
503 OpenGLRenderer* renderer, jfloat radius, jfloat dx, jfloat dy, jint color) {
504 renderer->setupShadow(radius, dx, dy, color);
292 android_view_GLES20Canvas_translate(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloat dx, jfloat dy) argument
502 android_view_GLES20Canvas_setupShadow(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloat radius, jfloat dx, jfloat dy, jint color) argument
/frameworks/base/libs/hwui/
H A DDisplayListRenderer.cpp434 ALOGD("%s%s %p, %dx%d, 0x%x %d", (char*) indent, OP_NAMES[op],
660 float dx = getFloat(); local
664 radius, dx, dy, color);
1029 DISPLAY_LIST_LOGD("%s%s %p, %dx%d, 0x%x %d", (char*) indent, OP_NAMES[op],
1309 float dx = getFloat(); local
1313 radius, dx, dy, color);
1314 renderer.setupShadow(radius, dx, dy, color);
1512 void DisplayListRenderer::translate(float dx, float dy) { argument
1514 mTranslateX += dx;
1517 OpenGLRenderer::translate(dx, d
1839 setupShadow(float radius, float dx, float dy, int color) argument
[all...]
H A DOpenGLRenderer.cpp1167 void OpenGLRenderer::translate(float dx, float dy) { argument
1168 mSnapshot->transform->translate(dx, dy, 0.0f);
1757 int dx = i + (meshWidth + 1) * 2 + 2; local
1758 int dy = dx + 1;
1766 TextureVertex::set(vertex++, vertices[dx], vertices[dy], u2, v2);
2908 void OpenGLRenderer::setupShadow(float radius, float dx, float dy, int color) { argument
2911 mShadowDx = dx;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java138 /*package*/ static void translate(Canvas thisCanvas, float dx, float dy) { argument
145 canvasDelegate.getSnapshot().translate(dx, dy);
H A DPaint_Delegate.java424 /*package*/ static void nSetShadowLayer(Paint thisPaint, float radius, float dx, float dy, argument
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java541 public void translate(float dx, float dy) { argument
542 if (dx != 0.0f || dy != 0.0f) nTranslate(mRenderer, dx, dy);
545 private static native void nTranslate(int renderer, float dx, float dy); argument
1400 float dx, float dy, int color);
1399 nSetupShadow(int renderer, float radius, float dx, float dy, int color) argument
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPager.java764 int dx = x - sx;
766 if (dx == 0 && dy == 0) {
778 final float distanceRatio = Math.min(1f, 1.0f * Math.abs(dx) / width);
788 final float pageDelta = (float) Math.abs(dx) / (pageWidth + mPageMargin);
793 mScroller.startScroll(sx, sy, dx, dy, duration);
1701 private boolean isGutterDrag(float x, float dx) { argument
1702 return (x < mGutterSize && dx > 0) || (x > getWidth() - mGutterSize && dx < 0);
1770 final float dx = x - mLastMotionX;
1771 final float xDiff = Math.abs(dx);
2355 canScroll(View v, boolean checkV, int dx, int x, int y) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewCore.java2846 boolean sendScrollEvent, int dx, int dy);
2845 nativeSetScrollOffset(int nativeClass, boolean sendScrollEvent, int dx, int dy) argument
H A DWebViewClassic.java3871 int dx = mScrollingLayerRect.left - x;
3873 if ((dx == 0 && dy == 0) || mNativeClass == 0) {
3878 mSelectCursorBase.offset(dx, dy);
3879 mSelectCursorBaseTextQuad.offset(dx, dy);
3882 mSelectCursorExtent.offset(dx, dy);
3883 mSelectCursorExtentTextQuad.offset(dx, dy);
3888 mEditTextContentBounds.offset(dx, dy);
3900 private static int computeDuration(int dx, int dy) { argument
3901 int distance = Math.max(Math.abs(dx), Math.abs(dy));
3908 private boolean pinScrollBy(int dx, in argument
5833 calculateDragAngle(int dx, int dy) argument
[all...]
/frameworks/base/services/input/
H A DInputReader.h1548 float dx, dy; member in struct:android::TouchInputMapper::PointerGesture::Delta
/frameworks/base/core/java/android/widget/
H A DTextView.java693 float dx = 0, dy = 0, r = 0;
884 dx = a.getFloat(attr, 0);
1204 setShadowLayer(r, dx, dy, shadowcolor);
2593 public void setShadowLayer(float radius, float dx, float dy, int color) { argument
2594 mTextPaint.setShadowLayer(radius, dx, dy, color);
2597 mShadowDx = dx;
5014 final float dx = mLayout.getLineRight(0) - (width - padding);
5015 canvas.translate(isLayoutRtl ? -dx : +dx, 0.0f);
5019 final float dx
[all...]

Completed in 511 milliseconds

123