Lines Matching refs:dx

351      * @param dx The amount to add to the x-coordinate of the end of the
356 public void rMoveTo(float dx, float dy) {
357 nRMoveTo(mNativePath, dx, dy);
378 * @param dx The amount to add to the x-coordinate of the previous point on
383 public void rLineTo(float dx, float dy) {
385 nRLineTo(mNativePath, dx, dy);
678 * Add a copy of src to the path, offset by (dx,dy)
681 * @param dx The amount to translate the path in X as it is added
683 public void addPath(Path src, float dx, float dy) {
685 nAddPath(mNativePath, src.mNativePath, dx, dy);
709 * Offset the path by (dx,dy)
711 * @param dx The amount in the X direction to offset the entire path
716 public void offset(float dx, float dy, @Nullable Path dst) {
722 dst.offset(dx, dy);
726 * Offset the path by (dx,dy)
728 * @param dx The amount in the X direction to offset the entire path
731 public void offset(float dx, float dy) {
736 if (isSimplePath && dx == Math.rint(dx) && dy == Math.rint(dy)) {
737 rects.translate((int) dx, (int) dy);
741 nOffset(mNativePath, dx, dy);
747 * @param dx The new X coordinate for the last point
750 public void setLastPoint(float dx, float dy) {
752 nSetLastPoint(mNativePath, dx, dy);
827 private static native void nRMoveTo(long nPath, float dx, float dy);
829 private static native void nRLineTo(long nPath, float dx, float dy);
850 private static native void nAddPath(long nPath, long src, float dx, float dy);
853 private static native void nOffset(long nPath, float dx, float dy);
854 private static native void nSetLastPoint(long nPath, float dx, float dy);