change onEnd() to withEndAction() in javadocs

Change-Id: Ic9a04bf86d62249b47dc654052d58797dfc3990c
diff --git a/core/java/android/view/ViewPropertyAnimator.java b/core/java/android/view/ViewPropertyAnimator.java
index d8db14c..22f98b7 100644
--- a/core/java/android/view/ViewPropertyAnimator.java
+++ b/core/java/android/view/ViewPropertyAnimator.java
@@ -701,7 +701,7 @@
      *             view.animate().x(0);
      *         }
      *     };
-     *     view.animate().x(200).onEnd(endAction);
+     *     view.animate().x(200).withEndAction(endAction);
      * </pre>
      *
      * @param runnable The action to run when the next animation ends.