Fix several cases of broken droiddoc syntax
external issue 35214 patch contributed by Jeff Smith <whydoubt@yahoo.com> Change-Id: I70dcee88a140699bf3e1ab369bed6dcd2fdd3d83
This commit is contained in:
@@ -735,7 +735,7 @@ public abstract class BroadcastReceiver {
|
||||
|
||||
/**
|
||||
* Control inclusion of debugging help for mismatched
|
||||
* calls to {@ Context#registerReceiver(BroadcastReceiver, IntentFilter)
|
||||
* calls to {@link Context#registerReceiver(BroadcastReceiver, IntentFilter)
|
||||
* Context.registerReceiver()}.
|
||||
* If called with true, before given to registerReceiver(), then the
|
||||
* callstack of the following {@link Context#unregisterReceiver(BroadcastReceiver)
|
||||
|
||||
@@ -1610,7 +1610,7 @@ public abstract class PackageManager {
|
||||
*
|
||||
* @param flags Additional option flags. Use any combination of
|
||||
* {@link #GET_META_DATA}, {@link #GET_SHARED_LIBRARY_FILES},
|
||||
* {link #GET_UNINSTALLED_PACKAGES} to modify the data returned.
|
||||
* {@link #GET_UNINSTALLED_PACKAGES} to modify the data returned.
|
||||
*
|
||||
* @return A List of ApplicationInfo objects, one for each application that
|
||||
* is installed on the device. In the unlikely case of there being
|
||||
|
||||
@@ -123,7 +123,7 @@ public class DummyDataStateTracker implements NetworkStateTracker {
|
||||
* Record the detailed state of a network, and if it is a
|
||||
* change from the previous state, send a notification to
|
||||
* any listeners.
|
||||
* @param state the new @{code DetailedState}
|
||||
* @param state the new {@code DetailedState}
|
||||
* @param reason a {@code String} indicating a reason for the state change,
|
||||
* if one was supplied. May be {@code null}.
|
||||
* @param extraInfo optional {@code String} providing extra information about the state change
|
||||
|
||||
@@ -376,7 +376,7 @@ public class MobileDataStateTracker implements NetworkStateTracker {
|
||||
* Record the detailed state of a network, and if it is a
|
||||
* change from the previous state, send a notification to
|
||||
* any listeners.
|
||||
* @param state the new @{code DetailedState}
|
||||
* @param state the new {@code DetailedState}
|
||||
* @param reason a {@code String} indicating a reason for the state change,
|
||||
* if one was supplied. May be {@code null}.
|
||||
* @param extraInfo optional {@code String} providing extra information about the state change
|
||||
|
||||
@@ -70,7 +70,7 @@ import java.util.Locale;
|
||||
* indicate location with an NDEF message, provide support for chunking of
|
||||
* NDEF records, and to pack optional fields. This class does not expose
|
||||
* those details. To write an NDEF Record as binary you must first put it
|
||||
* into an @{link NdefMessage}, then call {@link NdefMessage#toByteArray()}.
|
||||
* into an {@link NdefMessage}, then call {@link NdefMessage#toByteArray()}.
|
||||
* <p class="note">
|
||||
* {@link NdefMessage} and {@link NdefRecord} implementations are
|
||||
* always available, even on Android devices that do not have NFC hardware.
|
||||
|
||||
@@ -289,7 +289,7 @@ public class StorageManager
|
||||
* Constructs a StorageManager object through which an application can
|
||||
* can communicate with the systems mount service.
|
||||
*
|
||||
* @param tgtLooper The {@android.os.Looper} which events will be received on.
|
||||
* @param tgtLooper The {@link android.os.Looper} which events will be received on.
|
||||
*
|
||||
* <p>Applications can get instance of this class by calling
|
||||
* {@link android.content.Context#getSystemService(java.lang.String)} with an argument
|
||||
|
||||
@@ -155,7 +155,7 @@ public interface SurfaceHolder {
|
||||
|
||||
/**
|
||||
* Make the surface a fixed size. It will never change from this size.
|
||||
* When working with a {link SurfaceView}, this must be called from the
|
||||
* When working with a {@link SurfaceView}, this must be called from the
|
||||
* same thread running the SurfaceView's window.
|
||||
*
|
||||
* @param width The surface's width.
|
||||
@@ -167,14 +167,14 @@ public interface SurfaceHolder {
|
||||
* Allow the surface to resized based on layout of its container (this is
|
||||
* the default). When this is enabled, you should monitor
|
||||
* {@link Callback#surfaceChanged} for changes to the size of the surface.
|
||||
* When working with a {link SurfaceView}, this must be called from the
|
||||
* When working with a {@link SurfaceView}, this must be called from the
|
||||
* same thread running the SurfaceView's window.
|
||||
*/
|
||||
public void setSizeFromLayout();
|
||||
|
||||
/**
|
||||
* Set the desired PixelFormat of the surface. The default is OPAQUE.
|
||||
* When working with a {link SurfaceView}, this must be called from the
|
||||
* When working with a {@link SurfaceView}, this must be called from the
|
||||
* same thread running the SurfaceView's window.
|
||||
*
|
||||
* @param format A constant from PixelFormat.
|
||||
|
||||
@@ -2362,7 +2362,7 @@ public class View implements Drawable.Callback, Drawable.Callback2, KeyEvent.Cal
|
||||
* with a stable layout. (Note that you should avoid using
|
||||
* {@link #SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION} by itself.)
|
||||
*
|
||||
* If you have set the window flag {@ WindowManager.LayoutParams#FLAG_FULLSCREEN}
|
||||
* If you have set the window flag {@link WindowManager.LayoutParams#FLAG_FULLSCREEN}
|
||||
* to hide the status bar (instead of using {@link #SYSTEM_UI_FLAG_FULLSCREEN}),
|
||||
* then a hidden status bar will be considered a "stable" state for purposes
|
||||
* here. This allows your UI to continually hide the status bar, while still
|
||||
|
||||
@@ -5206,7 +5206,7 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
|
||||
}
|
||||
|
||||
/**
|
||||
* If {link #addStatesFromChildren} is true, refreshes this group's
|
||||
* If {@link #addStatesFromChildren} is true, refreshes this group's
|
||||
* drawable state (to include the states from its children).
|
||||
*/
|
||||
public void childDrawableStateChanged(View child) {
|
||||
|
||||
@@ -91,11 +91,11 @@ public final class TextServicesManager {
|
||||
|
||||
/**
|
||||
* Get a spell checker session for the specified spell checker
|
||||
* @param locale the locale for the spell checker. If {@param locale} is null and
|
||||
* @param locale the locale for the spell checker. If {@code locale} is null and
|
||||
* referToSpellCheckerLanguageSettings is true, the locale specified in Settings will be
|
||||
* returned. If {@param locale} is not null and referToSpellCheckerLanguageSettings is true,
|
||||
* the locale specified in Settings will be returned only when it is same as {@param locale}.
|
||||
* Exceptionally, when referToSpellCheckerLanguageSettings is true and {@param locale} is
|
||||
* returned. If {@code locale} is not null and referToSpellCheckerLanguageSettings is true,
|
||||
* the locale specified in Settings will be returned only when it is same as {@code locale}.
|
||||
* Exceptionally, when referToSpellCheckerLanguageSettings is true and {@code locale} is
|
||||
* only language (e.g. "en"), the specified locale in Settings (e.g. "en_US") will be
|
||||
* selected.
|
||||
* @param listener a spell checker session lister for getting results from a spell checker.
|
||||
|
||||
@@ -295,7 +295,7 @@ final public class MediaExtractor {
|
||||
* Returns true iff we are caching data and the cache has reached the
|
||||
* end of the data stream (for now, a future seek may of course restart
|
||||
* the fetching of data).
|
||||
* This API only returns a meaningful result if {link #getCachedDuration}
|
||||
* This API only returns a meaningful result if {@link #getCachedDuration}
|
||||
* indicates the presence of a cache, i.e. does NOT return -1.
|
||||
*/
|
||||
public native boolean hasCacheReachedEndOfStream();
|
||||
|
||||
@@ -706,7 +706,7 @@ public class MediaPlayer
|
||||
* surface rendering area. When the surface has the same aspect ratio
|
||||
* as the content, the aspect ratio of the content is maintained;
|
||||
* otherwise, the aspect ratio of the content is not maintained when video
|
||||
* is being rendered. Unlike {@ #VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING},
|
||||
* is being rendered. Unlike {@link #VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING},
|
||||
* there is no content cropping with this video scaling mode.
|
||||
*/
|
||||
public static final int VIDEO_SCALING_MODE_SCALE_TO_FIT = 1;
|
||||
|
||||
@@ -158,7 +158,7 @@ public final class MoreAsserts {
|
||||
* Asserts that array {@code actual} is the same size and every element
|
||||
* is the same as those in array {@code expected}. Note that this uses
|
||||
* {@code equals()} instead of {@code ==} to compare the objects.
|
||||
* {@code null} will be considered equal to {code null} (unlike SQL).
|
||||
* {@code null} will be considered equal to {@code null} (unlike SQL).
|
||||
* On failure, message indicates first specific element mismatch.
|
||||
*/
|
||||
public static void assertEquals(
|
||||
|
||||
@@ -91,7 +91,7 @@ import java.util.Random;
|
||||
* {@link #setApplication setApplication()}. You must do this <em>before</em> calling
|
||||
* startService() or bindService(). The test framework provides a
|
||||
* number of alternatives for Context, including
|
||||
* {link android.test.mock.MockContext MockContext},
|
||||
* {@link android.test.mock.MockContext MockContext},
|
||||
* {@link android.test.RenamingDelegatingContext RenamingDelegatingContext},
|
||||
* {@link android.content.ContextWrapper ContextWrapper}, and
|
||||
* {@link android.test.IsolatedContext}.
|
||||
|
||||
@@ -69,7 +69,7 @@ public class DataIdleTest extends InstrumentationTestCase {
|
||||
/**
|
||||
* Helper method that fetches all the network stats available and reports it
|
||||
* to instrumentation out.
|
||||
* @param template {link {@link NetworkTemplate} to match.
|
||||
* @param template {@link NetworkTemplate} to match.
|
||||
*/
|
||||
private void fetchStats(NetworkTemplate template) {
|
||||
INetworkStatsSession session = null;
|
||||
|
||||
@@ -1590,7 +1590,7 @@ public class WifiStateMachine extends StateMachine {
|
||||
|
||||
/**
|
||||
* Record the detailed state of a network.
|
||||
* @param state the new @{code DetailedState}
|
||||
* @param state the new {@code DetailedState}
|
||||
*/
|
||||
private void setNetworkDetailedState(NetworkInfo.DetailedState state) {
|
||||
if (DBG) {
|
||||
|
||||
Reference in New Issue
Block a user