Fix the docs build

Change-Id: I05f1f39aaa9d72201a7fd06377799246039cd505
diff --git a/core/java/android/text/InputType.java b/core/java/android/text/InputType.java
index 2e3ec52..c596388 100644
--- a/core/java/android/text/InputType.java
+++ b/core/java/android/text/InputType.java
@@ -128,8 +128,8 @@
      * the IME will not try to correct typos. You should always set this flag
      * unless you really expect users to type non-words in this field, for
      * example to choose a name for a character in a game.
-     * Contrast this with {@link TYPE_TEXT_FLAG_AUTO_COMPLETE} and
-     * {@link TYPE_TEXT_FLAG_NO_SUGGESTIONS}:
+     * Contrast this with {@link #TYPE_TEXT_FLAG_AUTO_COMPLETE} and
+     * {@link #TYPE_TEXT_FLAG_NO_SUGGESTIONS}:
      * {@code TYPE_TEXT_FLAG_AUTO_CORRECT} means that the IME will try to
      * auto-correct typos as the user is typing, but does not define whether
      * the IME offers an interface to show suggestions.
@@ -147,9 +147,9 @@
      * InputMethodSession.displayCompletions()} as a result of the editor calling
      * {@link android.view.inputmethod.InputMethodManager#displayCompletions
      * InputMethodManager.displayCompletions()}.
-     * Note the contrast with {@link TYPE_TEXT_FLAG_AUTO_CORRECT} and
-     * {@link TYPE_TEXT_FLAG_NO_SUGGESTIONS}:
-     * {@link TYPE_TEXT_FLAG_AUTO_COMPLETE} means the editor should show an
+     * Note the contrast with {@link #TYPE_TEXT_FLAG_AUTO_CORRECT} and
+     * {@link #TYPE_TEXT_FLAG_NO_SUGGESTIONS}:
+     * {@code TYPE_TEXT_FLAG_AUTO_COMPLETE} means the editor should show an
      * interface for displaying suggestions, but instead of supplying its own
      * it will rely on the Editor to pass completions/corrections.
      */
@@ -180,10 +180,10 @@
      * Please avoid using this unless you are certain this is what you want.
      * Many input methods need suggestions to work well, for example the ones
      * based on gesture typing. Consider clearing
-     * {@link TYPE_TEXT_FLAG_AUTO_CORRECT} instead if you just do not
+     * {@link #TYPE_TEXT_FLAG_AUTO_CORRECT} instead if you just do not
      * want the IME to correct typos.
-     * Note the contrast with {@link TYPE_TEXT_FLAG_AUTO_CORRECT} and
-     * {@link TYPE_TEXT_FLAG_AUTO_COMPLETE}:
+     * Note the contrast with {@link #TYPE_TEXT_FLAG_AUTO_CORRECT} and
+     * {@link #TYPE_TEXT_FLAG_AUTO_COMPLETE}:
      * {@code TYPE_TEXT_FLAG_NO_SUGGESTIONS} means the IME should never
      * show an interface to display suggestions. Most IMEs will also take this to
      * mean they should not try to auto-correct what the user is typing.
diff --git a/core/java/android/view/inputmethod/EditorInfo.java b/core/java/android/view/inputmethod/EditorInfo.java
index e41df88..d4e005b 100644
--- a/core/java/android/view/inputmethod/EditorInfo.java
+++ b/core/java/android/view/inputmethod/EditorInfo.java
@@ -148,7 +148,7 @@
      * of the application be shown behind, through transparent UI parts in the
      * fullscreen IME. The part of the UI visible to the user may not be responsive
      * to touch because the IME will receive touch events, which may confuse the
-     * user; use {@link IME_FLAG_NO_FULLSCREEN} instead for a better experience.
+     * user; use {@link #IME_FLAG_NO_FULLSCREEN} instead for a better experience.
      * Using this flag is discouraged and it may become deprecated in the future.
      * Its meaning is unclear in some situations and it may not work appropriately
      * on older versions of the platform.