From 54de77470de4f605eef7f4b4e01718b301fe275e Mon Sep 17 00:00:00 2001 From: Elliot Waite Date: Wed, 11 Jan 2017 15:30:35 -0800 Subject: Fix @links in reference docs. Change-Id: I40cea46efd80c448640ff69753698fe8404da40b --- .../com/android/uiautomator/core/UiObject.java | 2 +- .../uiautomator/core/UiAutomationShellWrapper.java | 2 +- .../accounts/AbstractAccountAuthenticator.java | 4 ++-- core/java/android/app/Activity.java | 18 ++++++++-------- core/java/android/app/ActivityManager.java | 4 ++-- core/java/android/app/Fragment.java | 2 +- core/java/android/app/TaskStackBuilder.java | 4 ++-- core/java/android/app/backup/BackupAgent.java | 2 +- core/java/android/appwidget/AppWidgetHostView.java | 5 +++-- core/java/android/content/Context.java | 6 +++--- core/java/android/content/Intent.java | 2 +- core/java/android/content/SyncRequest.java | 2 +- core/java/android/hardware/usb/UsbEndpoint.java | 4 ++-- .../inputmethodservice/InputMethodService.java | 8 +++---- core/java/android/net/Uri.java | 4 ++-- .../android/service/carrier/CarrierService.java | 4 ++-- .../notification/NotificationListenerService.java | 2 +- core/java/android/text/Editable.java | 4 ++-- core/java/android/text/style/ImageSpan.java | 2 +- core/java/android/text/style/TtsSpan.java | 16 +++++++------- core/java/android/view/FrameMetrics.java | 2 +- core/java/android/view/KeyCharacterMap.java | 4 ++-- core/java/android/view/View.java | 2 +- .../view/animation/LayoutAnimationController.java | 2 +- core/java/android/widget/RemoteViews.java | 8 +++---- core/res/res/values/attrs.xml | 8 +++---- core/res/res/values/attrs_manifest.xml | 2 +- docs/html/about/versions/android-4.0.jd | 2 +- graphics/java/android/graphics/Outline.java | 2 +- .../java/android/graphics/drawable/Drawable.java | 2 +- media/java/android/media/AudioManager.java | 10 ++++++--- media/java/android/media/MediaSyncEvent.java | 2 +- .../android/media/audiopolicy/AudioMixingRule.java | 6 +++--- .../effect/java/android/media/effect/package.html | 2 +- .../android/renderscript/ScriptIntrinsicBLAS.java | 6 +++--- .../com/android/server/vr/VrManagerService.java | 6 +++--- .../android/telephony/CarrierConfigManager.java | 2 +- .../java/android/telephony/TelephonyManager.java | 25 +++++++++++----------- 38 files changed, 98 insertions(+), 92 deletions(-) diff --git a/cmds/uiautomator/library/core-src/com/android/uiautomator/core/UiObject.java b/cmds/uiautomator/library/core-src/com/android/uiautomator/core/UiObject.java index 751bbe825bca..ef6d55ffb483 100644 --- a/cmds/uiautomator/library/core-src/com/android/uiautomator/core/UiObject.java +++ b/cmds/uiautomator/library/core-src/com/android/uiautomator/core/UiObject.java @@ -808,7 +808,7 @@ public class UiObject { * * @return Rect * @throws UiObjectNotFoundException - * @see {@link #getBounds()} + * @see #getBounds() * @since API Level 17 */ public Rect getVisibleBounds() throws UiObjectNotFoundException { diff --git a/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/UiAutomationShellWrapper.java b/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/UiAutomationShellWrapper.java index ddeb8e786271..19aa11a3b1aa 100644 --- a/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/UiAutomationShellWrapper.java +++ b/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/UiAutomationShellWrapper.java @@ -41,7 +41,7 @@ public class UiAutomationShellWrapper { * actions such as dialing 911 or posting messages to public forums, etc. * * @param isSet True to set as monkey test. False to set as regular functional test (default). - * @see {@link ActivityManager#isUserAMonkey()} + * @see ActivityManager#isUserAMonkey() */ public void setRunAsMonkey(boolean isSet) { IActivityManager am = ActivityManagerNative.getDefault(); diff --git a/core/java/android/accounts/AbstractAccountAuthenticator.java b/core/java/android/accounts/AbstractAccountAuthenticator.java index 4dca8e24d435..a291ef5cbb1e 100644 --- a/core/java/android/accounts/AbstractAccountAuthenticator.java +++ b/core/java/android/accounts/AbstractAccountAuthenticator.java @@ -707,7 +707,7 @@ public abstract class AbstractAccountAuthenticator { * @param account the account to clone, will never be null * @return a Bundle result or null if the result is to be returned via the response. * @throws NetworkErrorException - * @see {@link #addAccountFromCredentials(AccountAuthenticatorResponse, Account, Bundle)} + * @see #addAccountFromCredentials(AccountAuthenticatorResponse, Account, Bundle) */ public Bundle getAccountCredentialsForCloning(final AccountAuthenticatorResponse response, final Account account) throws NetworkErrorException { @@ -732,7 +732,7 @@ public abstract class AbstractAccountAuthenticator { * provided by {@link #getAccountCredentialsForCloning(AccountAuthenticatorResponse, Account)}. * @return a Bundle result or null if the result is to be returned via the response. * @throws NetworkErrorException - * @see {@link #getAccountCredentialsForCloning(AccountAuthenticatorResponse, Account)} + * @see #getAccountCredentialsForCloning(AccountAuthenticatorResponse, Account) */ public Bundle addAccountFromCredentials(final AccountAuthenticatorResponse response, Account account, diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java index e4880b0f6a43..82328ae396f5 100644 --- a/core/java/android/app/Activity.java +++ b/core/java/android/app/Activity.java @@ -4210,7 +4210,7 @@ public class Activity extends ContextThemeWrapper * @param requestCode If >= 0, this code will be returned in * onActivityResult() when the activity exits. * @param options Additional options for how the Activity should be started. - * See {@link android.content.Context#startActivity(Intent, Bundle) + * See {@link android.content.Context#startActivity(Intent, Bundle)} * Context.startActivity(Intent, Bundle)} for more details. * * @throws android.content.ActivityNotFoundException @@ -4419,7 +4419,7 @@ public class Activity extends ContextThemeWrapper * flagsMask * @param extraFlags Always set to 0. * @param options Additional options for how the Activity should be started. - * See {@link android.content.Context#startActivity(Intent, Bundle) + * See {@link android.content.Context#startActivity(Intent, Bundle)} * Context.startActivity(Intent, Bundle)} for more details. If options * have also been supplied by the IntentSender, options given here will * override any that conflict with those given by the IntentSender. @@ -4504,7 +4504,7 @@ public class Activity extends ContextThemeWrapper * * @param intent The intent to start. * @param options Additional options for how the Activity should be started. - * See {@link android.content.Context#startActivity(Intent, Bundle) + * See {@link android.content.Context#startActivity(Intent, Bundle)} * Context.startActivity(Intent, Bundle)} for more details. * * @throws android.content.ActivityNotFoundException @@ -4553,7 +4553,7 @@ public class Activity extends ContextThemeWrapper * * @param intents The intents to start. * @param options Additional options for how the Activity should be started. - * See {@link android.content.Context#startActivity(Intent, Bundle) + * See {@link android.content.Context#startActivity(Intent, Bundle)} * Context.startActivity(Intent, Bundle)} for more details. * * @throws android.content.ActivityNotFoundException @@ -4602,7 +4602,7 @@ public class Activity extends ContextThemeWrapper * flagsMask * @param extraFlags Always set to 0. * @param options Additional options for how the Activity should be started. - * See {@link android.content.Context#startActivity(Intent, Bundle) + * See {@link android.content.Context#startActivity(Intent, Bundle)} * Context.startActivity(Intent, Bundle)} for more details. If options * have also been supplied by the IntentSender, options given here will * override any that conflict with those given by the IntentSender. @@ -4662,7 +4662,7 @@ public class Activity extends ContextThemeWrapper * onActivityResult() when the activity exits, as described in * {@link #startActivityForResult}. * @param options Additional options for how the Activity should be started. - * See {@link android.content.Context#startActivity(Intent, Bundle) + * See {@link android.content.Context#startActivity(Intent, Bundle)} * Context.startActivity(Intent, Bundle)} for more details. * * @return If a new activity was launched then true is returned; otherwise @@ -4739,7 +4739,7 @@ public class Activity extends ContextThemeWrapper * your own activity; the only changes you can make are to the extras * inside of it. * @param options Additional options for how the Activity should be started. - * See {@link android.content.Context#startActivity(Intent, Bundle) + * See {@link android.content.Context#startActivity(Intent, Bundle)} * Context.startActivity(Intent, Bundle)} for more details. * * @return Returns a boolean indicating whether there was another Activity @@ -4794,7 +4794,7 @@ public class Activity extends ContextThemeWrapper * @param intent The intent to start. * @param requestCode Reply request code. < 0 if reply is not requested. * @param options Additional options for how the Activity should be started. - * See {@link android.content.Context#startActivity(Intent, Bundle) + * See {@link android.content.Context#startActivity(Intent, Bundle)} * Context.startActivity(Intent, Bundle)} for more details. * * @throws android.content.ActivityNotFoundException @@ -4847,7 +4847,7 @@ public class Activity extends ContextThemeWrapper * @param intent The intent to start. * @param requestCode Reply request code. < 0 if reply is not requested. * @param options Additional options for how the Activity should be started. - * See {@link android.content.Context#startActivity(Intent, Bundle) + * See {@link android.content.Context#startActivity(Intent, Bundle)} * Context.startActivity(Intent, Bundle)} for more details. * * @throws android.content.ActivityNotFoundException diff --git a/core/java/android/app/ActivityManager.java b/core/java/android/app/ActivityManager.java index af981f69d3b6..eb2d446f889c 100644 --- a/core/java/android/app/ActivityManager.java +++ b/core/java/android/app/ActivityManager.java @@ -2143,13 +2143,13 @@ public class ActivityManager { public static final int FLAG_FOREGROUND = 1<<1; /** - * Bit for {@link #flags): set if the service is running in a + * Bit for {@link #flags}: set if the service is running in a * core system process. */ public static final int FLAG_SYSTEM_PROCESS = 1<<2; /** - * Bit for {@link #flags): set if the service is running in a + * Bit for {@link #flags}: set if the service is running in a * persistent process. */ public static final int FLAG_PERSISTENT_PROCESS = 1<<3; diff --git a/core/java/android/app/Fragment.java b/core/java/android/app/Fragment.java index 5dead2850942..6b2838626ded 100644 --- a/core/java/android/app/Fragment.java +++ b/core/java/android/app/Fragment.java @@ -1115,7 +1115,7 @@ public class Fragment implements ComponentCallbacks2, OnCreateContextMenuListene * * @param intent The intent to start. * @param options Additional options for how the Activity should be started. - * See {@link android.content.Context#startActivity(Intent, Bundle) + * See {@link android.content.Context#startActivity(Intent, Bundle)} * Context.startActivity(Intent, Bundle)} for more details. */ public void startActivity(Intent intent, Bundle options) { diff --git a/core/java/android/app/TaskStackBuilder.java b/core/java/android/app/TaskStackBuilder.java index 0077db1eb317..bab993f855e9 100644 --- a/core/java/android/app/TaskStackBuilder.java +++ b/core/java/android/app/TaskStackBuilder.java @@ -226,7 +226,7 @@ public class TaskStackBuilder { * Start the task stack constructed by this builder. * * @param options Additional options for how the Activity should be started. - * See {@link android.content.Context#startActivity(Intent, Bundle) + * See {@link android.content.Context#startActivity(Intent, Bundle)} * Context.startActivity(Intent, Bundle)} for more details. */ public void startActivities(Bundle options) { @@ -259,7 +259,7 @@ public class TaskStackBuilder { * {@link Intent#fillIn(Intent, int)} to control which unspecified parts of the * intent that can be supplied when the actual send happens. * @param options Additional options for how the Activity should be started. - * See {@link android.content.Context#startActivity(Intent, Bundle) + * See {@link android.content.Context#startActivity(Intent, Bundle)} * Context.startActivity(Intent, Bundle)} for more details. * * @return The obtained PendingIntent diff --git a/core/java/android/app/backup/BackupAgent.java b/core/java/android/app/backup/BackupAgent.java index bad632555c42..45d9fb718c97 100644 --- a/core/java/android/app/backup/BackupAgent.java +++ b/core/java/android/app/backup/BackupAgent.java @@ -493,7 +493,7 @@ public abstract class BackupAgent extends ContextWrapper { *

Attempting to back up files in directories that are ignored by * the backup system will have no effect. For example, if the app calls this method * with a file inside the {@link #getNoBackupFilesDir()} directory, it will be ignored. - * See {@link #onFullBackup(FullBackupDataOutput) for details on what directories + * See {@link #onFullBackup(FullBackupDataOutput)} for details on what directories * are excluded from backups. * * @param file The file to be backed up. The file must exist and be readable by diff --git a/core/java/android/appwidget/AppWidgetHostView.java b/core/java/android/appwidget/AppWidgetHostView.java index bb5f7a1d606e..5d99ada9a024 100644 --- a/core/java/android/appwidget/AppWidgetHostView.java +++ b/core/java/android/appwidget/AppWidgetHostView.java @@ -347,8 +347,9 @@ public class AppWidgetHostView extends FrameLayout { } /** - * Sets an executor which can be used for asynchronously inflating and applying the remoteviews. - * @see {@link RemoteViews#applyAsync(Context, ViewGroup, RemoteViews.OnViewAppliedListener, Executor)} + * Sets an executor which can be used for asynchronously inflating. CPU intensive tasks like + * view inflation or loading images will be performed on the executor. The updates will still + * be applied on the UI thread. * * @param executor the executor to use or null. * @hide diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java index da64c3a05714..ab37cd80b81d 100644 --- a/core/java/android/content/Context.java +++ b/core/java/android/content/Context.java @@ -1668,7 +1668,7 @@ public abstract class Context { * * @param intents An array of Intents to be started. * @param options Additional options for how the Activity should be started. - * See {@link android.content.Context#startActivity(Intent, Bundle) + * See {@link android.content.Context#startActivity(Intent, Bundle)} * Context.startActivity(Intent, Bundle)} for more details. * * @throws ActivityNotFoundException   @@ -1696,7 +1696,7 @@ public abstract class Context { * @param intents An array of Intents to be started. * @param options Additional options for how the Activity should be started. * @param userHandle The user for whom to launch the activities - * See {@link android.content.Context#startActivity(Intent, Bundle) + * See {@link android.content.Context#startActivity(Intent, Bundle)} * Context.startActivity(Intent, Bundle)} for more details. * * @throws ActivityNotFoundException   @@ -1745,7 +1745,7 @@ public abstract class Context { * flagsMask * @param extraFlags Always set to 0. * @param options Additional options for how the Activity should be started. - * See {@link android.content.Context#startActivity(Intent, Bundle) + * See {@link android.content.Context#startActivity(Intent, Bundle)} * Context.startActivity(Intent, Bundle)} for more details. If options * have also been supplied by the IntentSender, options given here will * override any that conflict with those given by the IntentSender. diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index c6aaa48ddad0..d08a471326c0 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -8129,7 +8129,7 @@ public class Intent implements Parcelable, Cloneable { * @return Returns a bit mask of {@link #FILL_IN_ACTION}, * {@link #FILL_IN_DATA}, {@link #FILL_IN_CATEGORIES}, {@link #FILL_IN_PACKAGE}, * {@link #FILL_IN_COMPONENT}, {@link #FILL_IN_SOURCE_BOUNDS}, - * {@link #FILL_IN_SELECTOR} and {@link #FILL_IN_CLIP_DATA indicating which fields were + * {@link #FILL_IN_SELECTOR} and {@link #FILL_IN_CLIP_DATA} indicating which fields were * changed. */ @FillInFlags diff --git a/core/java/android/content/SyncRequest.java b/core/java/android/content/SyncRequest.java index 541ebbd32f11..dd53eac9e113 100644 --- a/core/java/android/content/SyncRequest.java +++ b/core/java/android/content/SyncRequest.java @@ -175,7 +175,7 @@ public class SyncRequest implements Parcelable { } /** - * Builder class for a @link SyncRequest. As you build your SyncRequest this class will also + * Builder class for a {@link SyncRequest}. As you build your SyncRequest this class will also * perform validation. */ public static class Builder { diff --git a/core/java/android/hardware/usb/UsbEndpoint.java b/core/java/android/hardware/usb/UsbEndpoint.java index 708d651a58ae..c346700a979f 100644 --- a/core/java/android/hardware/usb/UsbEndpoint.java +++ b/core/java/android/hardware/usb/UsbEndpoint.java @@ -75,8 +75,8 @@ public class UsbEndpoint implements Parcelable { * if the direction is host to device, and * {@link UsbConstants#USB_DIR_IN} if the * direction is device to host. - * @see {@link UsbConstants#USB_DIR_IN} - * @see {@link UsbConstants#USB_DIR_OUT} + * @see UsbConstants#USB_DIR_IN + * @see UsbConstants#USB_DIR_OUT * * @return the endpoint's direction */ diff --git a/core/java/android/inputmethodservice/InputMethodService.java b/core/java/android/inputmethodservice/InputMethodService.java index fede77d9bb1d..9a6f804272b8 100644 --- a/core/java/android/inputmethodservice/InputMethodService.java +++ b/core/java/android/inputmethodservice/InputMethodService.java @@ -2370,16 +2370,16 @@ public class InputMethodService extends AbstractInputMethodService { } return true; } - + /** * Return text that can be used as a button label for the given * {@link EditorInfo#imeOptions EditorInfo.imeOptions}. Returns null * if there is no action requested. Note that there is no guarantee that * the returned text will be relatively short, so you probably do not * want to use it as text on a soft keyboard key label. - * - * @param imeOptions The value from @link EditorInfo#imeOptions EditorInfo.imeOptions}. - * + * + * @param imeOptions The value from {@link EditorInfo#imeOptions EditorInfo.imeOptions}. + * * @return Returns a label to use, or null if there is no action. */ public CharSequence getTextForImeAction(int imeOptions) { diff --git a/core/java/android/net/Uri.java b/core/java/android/net/Uri.java index 67378bd0cd81..09af05c0dfba 100644 --- a/core/java/android/net/Uri.java +++ b/core/java/android/net/Uri.java @@ -1746,8 +1746,8 @@ public abstract class Uri implements Parcelable, Comparable { * begin with and a scheme component cannot be found. * * @return normalized Uri (never null) - * @see {@link android.content.Intent#setData} - * @see {@link android.content.Intent#setDataAndNormalize} + * @see android.content.Intent#setData + * @see android.content.Intent#setDataAndNormalize */ public Uri normalizeScheme() { String scheme = getScheme(); diff --git a/core/java/android/service/carrier/CarrierService.java b/core/java/android/service/carrier/CarrierService.java index 455e1b25df18..813acc232289 100644 --- a/core/java/android/service/carrier/CarrierService.java +++ b/core/java/android/service/carrier/CarrierService.java @@ -107,12 +107,12 @@ public abstract class CarrierService extends Service { *

* Requires Permission: * {@link android.Manifest.permission#MODIFY_PHONE_STATE MODIFY_PHONE_STATE} - * Or the calling app has carrier privileges. - * @see {@link android.telephony.TelephonyManager#hasCarrierPrivileges} + * or the calling app has carrier privileges. * * @param active Whether the carrier network change is or shortly will be * active. Set this value to true to begin showing * alternative UI and false to stop. + * @see android.telephony.TelephonyManager#hasCarrierPrivileges */ public final void notifyCarrierNetworkChange(boolean active) { try { diff --git a/core/java/android/service/notification/NotificationListenerService.java b/core/java/android/service/notification/NotificationListenerService.java index 1557a2718b55..5a42b83592c3 100644 --- a/core/java/android/service/notification/NotificationListenerService.java +++ b/core/java/android/service/notification/NotificationListenerService.java @@ -785,7 +785,7 @@ public abstract class NotificationListenerService extends Service { } /** - * Request that the listener be rebound, after a previous call to (@link requestUnbind). + * Request that the listener be rebound, after a previous call to {@link #requestUnbind}. * *

This method will fail for listeners that have * not been granted the permission by the user. diff --git a/core/java/android/text/Editable.java b/core/java/android/text/Editable.java index b3f2c2a5c447..519ccd2560f6 100644 --- a/core/java/android/text/Editable.java +++ b/core/java/android/text/Editable.java @@ -94,10 +94,10 @@ extends CharSequence, GetChars, Spannable, Appendable public Editable append(char text); /** - * Convenience for replace(0, length(), "", 0, 0) - * @see #replace(int, int, CharSequence, int, int) + * Convenience for replace(0, length(), "", 0, 0). * Note that this clears the text, not the spans; * use {@link #clearSpans} if you need that. + * @see #replace(int, int, CharSequence, int, int) */ public void clear(); diff --git a/core/java/android/text/style/ImageSpan.java b/core/java/android/text/style/ImageSpan.java index 856dd0bff36e..b0bff680f390 100644 --- a/core/java/android/text/style/ImageSpan.java +++ b/core/java/android/text/style/ImageSpan.java @@ -43,7 +43,7 @@ public class ImageSpan extends DynamicDrawableSpan { } /** - * @deprecated Use {@link #ImageSpan(Context, Bitmap, int) instead. + * @deprecated Use {@link #ImageSpan(Context, Bitmap, int)} instead. */ @Deprecated public ImageSpan(Bitmap b, int verticalAlignment) { diff --git a/core/java/android/text/style/TtsSpan.java b/core/java/android/text/style/TtsSpan.java index e9153ddba831..29e667f5abc5 100644 --- a/core/java/android/text/style/TtsSpan.java +++ b/core/java/android/text/style/TtsSpan.java @@ -798,7 +798,7 @@ public class TtsSpan implements ParcelableSpan { /** * Creates a TtsSpan of type {@link #TYPE_DECIMAL} and sets the * {@link #ARG_INTEGER_PART} and {@link #ARG_FRACTIONAL_PART} arguments. - * @see {@link #setArgumentsFromDouble(double, int, int) + * @see #setArgumentsFromDouble(double, int, int) */ public DecimalBuilder(double number, int minimumFractionDigits, @@ -1082,7 +1082,7 @@ public class TtsSpan implements ParcelableSpan { * Sets the {@link #ARG_UNIT} argument. * @param unit The unit of the measure. * @return This instance. - * @see {@link TtsSpan.ARG_UNIT} + * @see TtsSpan.ARG_UNIT */ public MeasureBuilder setUnit(String unit) { return setStringArgument(TtsSpan.ARG_UNIT, unit); @@ -1116,7 +1116,7 @@ public class TtsSpan implements ParcelableSpan { * Sets the {@link #ARG_HOURS} argument. * @param hours The value to be set for hours. See {@link #ARG_HOURS}. * @return This instance. - * @see {@link #ARG_HOURS} + * @see #ARG_HOURS */ public TimeBuilder setHours(int hours) { return setIntArgument(TtsSpan.ARG_HOURS, hours); @@ -1127,7 +1127,7 @@ public class TtsSpan implements ParcelableSpan { * @param minutes The value to be set for minutes. See * {@link #ARG_MINUTES}. * @return This instance. - * @see {@link #ARG_MINUTES} + * @see #ARG_MINUTES */ public TimeBuilder setMinutes(int minutes) { return setIntArgument(TtsSpan.ARG_MINUTES, minutes); @@ -1177,7 +1177,7 @@ public class TtsSpan implements ParcelableSpan { * @param weekday The value to be set for weekday. See * {@link #ARG_WEEKDAY}. * @return This instance. - * @see {@link #ARG_WEEKDAY} + * @see #ARG_WEEKDAY */ public DateBuilder setWeekday(int weekday) { return setIntArgument(TtsSpan.ARG_WEEKDAY, weekday); @@ -1187,7 +1187,7 @@ public class TtsSpan implements ParcelableSpan { * Sets the {@link #ARG_DAY} argument. * @param day The value to be set for day. See {@link #ARG_DAY}. * @return This instance. - * @see {@link #ARG_DAY} + * @see #ARG_DAY */ public DateBuilder setDay(int day) { return setIntArgument(TtsSpan.ARG_DAY, day); @@ -1197,7 +1197,7 @@ public class TtsSpan implements ParcelableSpan { * Sets the {@link #ARG_MONTH} argument. * @param month The value to be set for month. See {@link #ARG_MONTH}. * @return This instance. - * @see {@link #ARG_MONTH} + * @see #ARG_MONTH */ public DateBuilder setMonth(int month) { return setIntArgument(TtsSpan.ARG_MONTH, month); @@ -1207,7 +1207,7 @@ public class TtsSpan implements ParcelableSpan { * Sets the {@link #ARG_YEAR} argument. * @param year The value to be set for year. See {@link #ARG_YEAR}. * @return This instance. - * @see {@link #ARG_YEAR} + * @see #ARG_YEAR */ public DateBuilder setYear(int year) { return setIntArgument(TtsSpan.ARG_YEAR, year); diff --git a/core/java/android/view/FrameMetrics.java b/core/java/android/view/FrameMetrics.java index 2b938d0df7eb..7d1b76b8becb 100644 --- a/core/java/android/view/FrameMetrics.java +++ b/core/java/android/view/FrameMetrics.java @@ -138,7 +138,7 @@ public final class FrameMetrics { /** * Identifiers for metrics available for each frame. * - * {@see {@link #getMetric(int)}} + * {@see #getMetric(int)} * @hide */ @IntDef({ diff --git a/core/java/android/view/KeyCharacterMap.java b/core/java/android/view/KeyCharacterMap.java index 55dd6bb64fe6..a70eb2279cca 100644 --- a/core/java/android/view/KeyCharacterMap.java +++ b/core/java/android/view/KeyCharacterMap.java @@ -673,8 +673,8 @@ public class KeyCharacterMap implements Parcelable { * * @return The modifier behavior for this keyboard. * - * @see {@link #MODIFIER_BEHAVIOR_CHORDED} - * @see {@link #MODIFIER_BEHAVIOR_CHORDED_OR_TOGGLED} + * @see #MODIFIER_BEHAVIOR_CHORDED + * @see #MODIFIER_BEHAVIOR_CHORDED_OR_TOGGLED */ public int getModifierBehavior() { switch (getKeyboardType()) { diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index 972208363933..4dfb6f59de8b 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -12936,7 +12936,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * Any previously attached StateListAnimator will be detached. * * @param stateListAnimator The StateListAnimator to update the view - * @see {@link android.animation.StateListAnimator} + * @see android.animation.StateListAnimator */ public void setStateListAnimator(StateListAnimator stateListAnimator) { if (mStateListAnimator == stateListAnimator) { diff --git a/core/java/android/view/animation/LayoutAnimationController.java b/core/java/android/view/animation/LayoutAnimationController.java index df2f18c21735..7fa49c1a6c8f 100644 --- a/core/java/android/view/animation/LayoutAnimationController.java +++ b/core/java/android/view/animation/LayoutAnimationController.java @@ -150,7 +150,7 @@ public class LayoutAnimationController { * Returns the order used to compute the delay of each child's animation. * * @return one of {@link #ORDER_NORMAL}, {@link #ORDER_REVERSE} or - * {@link #ORDER_RANDOM) + * {@link #ORDER_RANDOM} * * @attr ref android.R.styleable#LayoutAnimation_animationOrder */ diff --git a/core/java/android/widget/RemoteViews.java b/core/java/android/widget/RemoteViews.java index d0d233ebe975..50e1e7a99a15 100644 --- a/core/java/android/widget/RemoteViews.java +++ b/core/java/android/widget/RemoteViews.java @@ -2659,8 +2659,8 @@ public class RemoteViews implements Parcelable, Filter { * * When setting the on-click action of items within collections (eg. {@link ListView}, * {@link StackView} etc.), this method will not work. Instead, use {@link - * RemoteViews#setPendingIntentTemplate(int, PendingIntent) in conjunction with - * RemoteViews#setOnClickFillInIntent(int, Intent). + * RemoteViews#setPendingIntentTemplate(int, PendingIntent)} in conjunction with + * {@link RemoteViews#setOnClickFillInIntent(int, Intent)}. * * @param viewId The id of the view that will trigger the {@link PendingIntent} when clicked * @param pendingIntent The {@link PendingIntent} to send when user clicks @@ -3245,7 +3245,7 @@ public class RemoteViews implements Parcelable, Filter { * Applies the views asynchronously, moving as much of the task on the background * thread as possible. * - * @see {@link #apply(Context, ViewGroup)} + * @see #apply(Context, ViewGroup) * @param context Default context to use * @param parent Parent that the resulting view hierarchy will be attached to. This method * does not attach the hierarchy. The caller should do so when appropriate. @@ -3400,7 +3400,7 @@ public class RemoteViews implements Parcelable, Filter { * Applies all the actions to the provided view, moving as much of the task on the background * thread as possible. * - * @see {@link #reapply(Context, View)} + * @see #reapply(Context, View) * @param context Default context to use * @param v The view to apply the actions to. This should be the result of * the {@link #apply(Context,ViewGroup)} call. diff --git a/core/res/res/values/attrs.xml b/core/res/res/values/attrs.xml index 30a1a28617e5..8e9cae2626d2 100644 --- a/core/res/res/values/attrs.xml +++ b/core/res/res/values/attrs.xml @@ -2469,13 +2469,13 @@ i + {@see android.view.View#setAccessibilityTraversalBefore(int)} --> + {@see android.view.View#setAccessibilityTraversalAfter(int)} -->