am bb7f590a: Merge "docs: Add developer guide cross-references, Project ACRE, round 4" into ics-mr1
* commit 'bb7f590a5a539486de5127071c7ade8ec988d755': docs: Add developer guide cross-references, Project ACRE, round 4
This commit is contained in:
@@ -39,6 +39,13 @@ import java.util.List;
|
||||
* result in none of the affected animations being played. Because of this (and because
|
||||
* circular dependencies do not make logical sense anyway), circular dependencies
|
||||
* should be avoided, and the dependency flow of animations should only be in one direction.
|
||||
*
|
||||
* <div class="special reference">
|
||||
* <h3>Developer Guides</h3>
|
||||
* <p>For more information about animating with {@code AnimatorSet}, read the
|
||||
* <a href="{@docRoot}guide/topics/graphics/prop-animation.html#choreography">Property
|
||||
* Animation</a> developer guide.</p>
|
||||
* </div>
|
||||
*/
|
||||
public final class AnimatorSet extends Animator {
|
||||
|
||||
|
||||
@@ -29,6 +29,13 @@ import java.util.ArrayList;
|
||||
* are then determined internally and the animation will call these functions as necessary to
|
||||
* animate the property.
|
||||
*
|
||||
* <div class="special reference">
|
||||
* <h3>Developer Guides</h3>
|
||||
* <p>For more information about animating with {@code ObjectAnimator}, read the
|
||||
* <a href="{@docRoot}guide/topics/graphics/prop-animation.html#object-animator">Property
|
||||
* Animation</a> developer guide.</p>
|
||||
* </div>
|
||||
*
|
||||
* @see #setPropertyName(String)
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -38,6 +38,13 @@ import java.util.HashMap;
|
||||
* {@link AccelerateDecelerateInterpolator} class, which accelerates into and decelerates
|
||||
* out of an animation. This behavior can be changed by calling
|
||||
* {@link ValueAnimator#setInterpolator(TimeInterpolator)}.</p>
|
||||
*
|
||||
* <div class="special reference">
|
||||
* <h3>Developer Guides</h3>
|
||||
* <p>For more information about animating with {@code ValueAnimator}, read the
|
||||
* <a href="{@docRoot}guide/topics/graphics/prop-animation.html#value-animator">Property
|
||||
* Animation</a> developer guide.</p>
|
||||
* </div>
|
||||
*/
|
||||
public class ValueAnimator extends Animator {
|
||||
|
||||
|
||||
@@ -7,15 +7,15 @@ color values are supported by default. You can animate any other type by telling
|
||||
to calculate the values for that given type with a custom {@link android.animation.TypeEvaluator}.
|
||||
</p>
|
||||
|
||||
<p>For more information, see the
|
||||
<a href="{@docRoot}guide/topics/graphics/animation.html">Animation</a> developer guide.</p>
|
||||
{@more}
|
||||
|
||||
<p>
|
||||
You can set many different types of interpolators (contained in {@link android.view.animation}),
|
||||
specify {@link android.animation.Keyframe keyframes}, or group animations to play sequentially
|
||||
or simultaneously (with {@link android.animation.AnimatorSet}) to further control your animation
|
||||
behaviors.</p>
|
||||
|
||||
<p>
|
||||
For a guide on how to use the property animation system, see the
|
||||
<a href="{@docRoot}guide/topics/graphics/animation.html">Animation</a> developer guide.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
@@ -48,10 +48,11 @@ import java.util.List;
|
||||
* {@link android.content.Context#getSystemService
|
||||
* context.getSystemService(Context.SEARCH_SERVICE)}.
|
||||
*
|
||||
* <div class="special">
|
||||
* <p>For a guide to using the search dialog and adding search
|
||||
* suggestions in your application, see the Dev Guide topic about <strong><a
|
||||
* href="{@docRoot}guide/topics/search/index.html">Search</a></strong>.</p>
|
||||
* <div class="special reference">
|
||||
* <h3>Developer Guides</h3>
|
||||
* <p>For more information about using the search dialog and adding search
|
||||
* suggestions in your application, read the
|
||||
* <a href="{@docRoot}guide/topics/search/index.html">Search</a> developer guide.</p>
|
||||
* </div>
|
||||
*/
|
||||
public class SearchManager
|
||||
|
||||
@@ -49,6 +49,13 @@ import android.os.Bundle;
|
||||
* A typical file would be:</p>
|
||||
*
|
||||
* {@sample development/samples/ApiDemos/res/xml/device_admin_sample.xml meta_data}
|
||||
*
|
||||
* <div class="special reference">
|
||||
* <h3>Developer Guides</h3>
|
||||
* <p>For more information about device administration, read the
|
||||
* <a href="{@docRoot}guide/topics/admin/device-admin.html">Device Administration</a>
|
||||
* developer guide.</p>
|
||||
* </div>
|
||||
*/
|
||||
public class DeviceAdminReceiver extends BroadcastReceiver {
|
||||
private static String TAG = "DevicePolicy";
|
||||
|
||||
@@ -40,6 +40,13 @@ import java.util.List;
|
||||
* Public interface for managing policies enforced on a device. Most clients
|
||||
* of this class must have published a {@link DeviceAdminReceiver} that the user
|
||||
* has currently enabled.
|
||||
*
|
||||
* <div class="special reference">
|
||||
* <h3>Developer Guides</h3>
|
||||
* <p>For more information about managing policies for device adminstration, read the
|
||||
* <a href="{@docRoot}guide/topics/admin/device-admin.html">Device Administration</a>
|
||||
* developer guide.</p>
|
||||
* </div>
|
||||
*/
|
||||
public class DevicePolicyManager {
|
||||
private static String TAG = "DevicePolicyManager";
|
||||
|
||||
@@ -4,8 +4,9 @@
|
||||
security-aware applications that are useful in enterprise settings, in which IT professionals
|
||||
require rich control over employee devices.</p>
|
||||
|
||||
<p>For more information, see the <a
|
||||
href="{@docRoot}guide/topics/admin/device-admin.html">Device Administration</a> developer guide.</p>
|
||||
<p>For more information, see the
|
||||
<a href="{@docRoot}guide/topics/admin/device-admin.html">Device Administration</a>
|
||||
developer guide.</p>
|
||||
{@more}
|
||||
|
||||
</BODY>
|
||||
|
||||
@@ -35,6 +35,12 @@ import java.util.WeakHashMap;
|
||||
/**
|
||||
* Updates AppWidget state; gets information about installed AppWidget providers and other
|
||||
* AppWidget related state.
|
||||
*
|
||||
* <div class="special reference">
|
||||
* <h3>Developer Guides</h3>
|
||||
* <p>For more information about creating app widgets, read the
|
||||
* <a href="{@docRoot}guide/topics/appwidgets/index.html">App Widgets</a> developer guide.</p>
|
||||
* </div>
|
||||
*/
|
||||
public class AppWidgetManager {
|
||||
static final String TAG = "AppWidgetManager";
|
||||
|
||||
@@ -31,8 +31,13 @@ import android.os.Bundle;
|
||||
* <p>Extend this class and override one or more of the {@link #onUpdate}, {@link #onDeleted},
|
||||
* {@link #onEnabled} or {@link #onDisabled} methods to implement your own AppWidget functionality.
|
||||
* </p>
|
||||
* <p>For an example of how to write a AppWidget provider, see the
|
||||
* <a href="{@docRoot}guide/topics/appwidgets/index.html#Providers">AppWidgets</a> documentation.</p>
|
||||
*
|
||||
* <div class="special reference">
|
||||
* <h3>Developer Guides</h3>
|
||||
* <p>For more information about how to write an app widget provider, read the
|
||||
* <a href="{@docRoot}guide/topics/appwidgets/index.html#AppWidgetProvider">App Widgets</a>
|
||||
* developer guide.</p>
|
||||
* </div>
|
||||
*/
|
||||
public class AppWidgetProvider extends BroadcastReceiver {
|
||||
/**
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
<p>Contains the components necessary to create "app widgets", which users can embed in other
|
||||
applications (such as the home screen) to quickly access application data and services without
|
||||
launching a new activity.</p>
|
||||
<p>For more information, see the
|
||||
<a href="{@docRoot}guide/topics/appwidgets/index.html">App Widgets</a>
|
||||
developer guide.</p>
|
||||
|
||||
<p>For more information, see the
|
||||
<a href="{@docRoot}guide/topics/appwidgets/index.html">App Widgets</a> developer guide.</p>
|
||||
{@more}
|
||||
|
||||
<p>The behavior of an app widget is published by an "app widget provider." An "app widget host" is
|
||||
a component that can contain app widgets (such as the Home screen).</p>
|
||||
|
||||
@@ -24,9 +24,8 @@ details are left up to the widget hosts. For example, the home screen has one w
|
||||
widgets, but the lock screen could also contain widgets, and it would have a different way of
|
||||
adding, removing and otherwise managing widgets.</p>
|
||||
|
||||
<p>The <a href="{@docRoot}guide/topics/appwidgets/index.html">App Widgets</a>
|
||||
developer guide shows you how to create an app widget provider. For information about implementing
|
||||
an app widget host, see the {@link android.appwidget.AppWidgetHost} class.</p>
|
||||
<p>For information about implementing an app widget host, see the {@link
|
||||
android.appwidget.AppWidgetHost} class.</p>
|
||||
|
||||
</body>
|
||||
|
||||
|
||||
@@ -62,6 +62,12 @@ import java.util.UUID;
|
||||
* permission and some also require the
|
||||
* {@link android.Manifest.permission#BLUETOOTH_ADMIN} permission.
|
||||
*
|
||||
* <div class="special reference">
|
||||
* <h3>Developer Guides</h3>
|
||||
* <p>For more information about using Bluetooth, read the
|
||||
* <a href="{@docRoot}guide/topics/wireless/bluetooth.html">Bluetooth</a> developer guide.</p>
|
||||
* </div>
|
||||
*
|
||||
* {@see BluetoothDevice}
|
||||
* {@see BluetoothServerSocket}
|
||||
*/
|
||||
|
||||
@@ -54,6 +54,12 @@ import java.util.UUID;
|
||||
* <p class="note"><strong>Note:</strong>
|
||||
* Requires the {@link android.Manifest.permission#BLUETOOTH} permission.
|
||||
*
|
||||
* <div class="special reference">
|
||||
* <h3>Developer Guides</h3>
|
||||
* <p>For more information about using Bluetooth, read the
|
||||
* <a href="{@docRoot}guide/topics/wireless/bluetooth.html">Bluetooth</a> developer guide.</p>
|
||||
* </div>
|
||||
*
|
||||
* {@see BluetoothAdapter}
|
||||
* {@see BluetoothSocket}
|
||||
*/
|
||||
|
||||
@@ -55,6 +55,12 @@ import java.io.IOException;
|
||||
* <p class="note"><strong>Note:</strong>
|
||||
* Requires the {@link android.Manifest.permission#BLUETOOTH} permission.
|
||||
*
|
||||
* <div class="special reference">
|
||||
* <h3>Developer Guides</h3>
|
||||
* <p>For more information about using Bluetooth, read the
|
||||
* <a href="{@docRoot}guide/topics/wireless/bluetooth.html">Bluetooth</a> developer guide.</p>
|
||||
* </div>
|
||||
*
|
||||
* {@see BluetoothSocket}
|
||||
*/
|
||||
public final class BluetoothServerSocket implements Closeable {
|
||||
|
||||
@@ -65,6 +65,12 @@ import java.util.concurrent.locks.ReentrantReadWriteLock;
|
||||
* <p class="note"><strong>Note:</strong>
|
||||
* Requires the {@link android.Manifest.permission#BLUETOOTH} permission.
|
||||
*
|
||||
* <div class="special reference">
|
||||
* <h3>Developer Guides</h3>
|
||||
* <p>For more information about using Bluetooth, read the
|
||||
* <a href="{@docRoot}guide/topics/wireless/bluetooth.html">Bluetooth</a> developer guide.</p>
|
||||
* </div>
|
||||
*
|
||||
* {@see BluetoothServerSocket}
|
||||
* {@see java.io.InputStream}
|
||||
* {@see java.io.OutputStream}
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
<p>Provides classes that manage Bluetooth functionality, such as scanning for
|
||||
devices, connecting with devices, and managing data transfer between devices.</p>
|
||||
|
||||
<p>For more information, see the <a
|
||||
href="{@docRoot}guide/topics/wireless/bluetooth.html">Bluetooth</a> developer guide.</p>
|
||||
<p>For more information, see the
|
||||
<a href="{@docRoot}guide/topics/wireless/bluetooth.html">Bluetooth</a> developer guide.</p>
|
||||
{@more}
|
||||
|
||||
<p>The Bluetooth APIs let applications:</p>
|
||||
@@ -26,5 +26,6 @@ permission.
|
||||
|
||||
<p class="note"><strong>Note:</strong>
|
||||
Not all Android-powered devices provide Bluetooth functionality.</p>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
@@ -50,6 +50,13 @@ import java.util.ArrayList;
|
||||
* CharSequence of text, a single Intent object, or a Uri. See {@link Item}
|
||||
* for more details.
|
||||
*
|
||||
* <div class="special reference">
|
||||
* <h3>Developer Guides</h3>
|
||||
* <p>For more information about using the clipboard framework, read the
|
||||
* <a href="{@docRoot}guide/topics/clipboard/copy-paste.html">Copy and Paste</a>
|
||||
* developer guide.</p>
|
||||
* </div>
|
||||
*
|
||||
* <a name="ImplementingPaste"></a>
|
||||
* <h3>Implementing Paste or Drop</h3>
|
||||
*
|
||||
|
||||
@@ -26,6 +26,13 @@ import java.util.ArrayList;
|
||||
* Meta-data describing the contents of a {@link ClipData}. Provides enough
|
||||
* information to know if you can handle the ClipData, but not the data
|
||||
* itself.
|
||||
*
|
||||
* <div class="special reference">
|
||||
* <h3>Developer Guides</h3>
|
||||
* <p>For more information about using the clipboard framework, read the
|
||||
* <a href="{@docRoot}guide/topics/clipboard/copy-paste.html">Copy and Paste</a>
|
||||
* developer guide.</p>
|
||||
* </div>
|
||||
*/
|
||||
public class ClipDescription implements Parcelable {
|
||||
/**
|
||||
|
||||
@@ -40,6 +40,13 @@ import java.util.ArrayList;
|
||||
* is expressed as a {@link ClipData} object, which defines the protocol
|
||||
* for data exchange between applications.
|
||||
*
|
||||
* <div class="special reference">
|
||||
* <h3>Developer Guides</h3>
|
||||
* <p>For more information about using the clipboard framework, read the
|
||||
* <a href="{@docRoot}guide/topics/clipboard/copy-paste.html">Copy and Paste</a>
|
||||
* developer guide.</p>
|
||||
* </div>
|
||||
*
|
||||
* @see android.content.Context#getSystemService
|
||||
*/
|
||||
public class ClipboardManager extends android.text.ClipboardManager {
|
||||
|
||||
@@ -61,6 +61,12 @@ import android.util.Log;
|
||||
* for future searches by calling {@link android.provider.SearchRecentSuggestions#saveRecentQuery
|
||||
* SearchRecentSuggestions.saveRecentQuery()}.</li>
|
||||
* </ul>
|
||||
*
|
||||
* <div class="special reference">
|
||||
* <h3>Developer Guides</h3>
|
||||
* <p>For information about using search suggestions in your application, read the
|
||||
* <a href="{@docRoot}guide/topics/search/index.html">Search</a> developer guide.</p>
|
||||
* </div>
|
||||
*
|
||||
* @see android.provider.SearchRecentSuggestions
|
||||
*/
|
||||
|
||||
@@ -37,6 +37,12 @@ import android.util.Log;
|
||||
* {@link UsbManager#ACTION_USB_ACCESSORY_ATTACHED} Intent.
|
||||
* The application can then call {@link UsbManager#openAccessory} to open a file descriptor
|
||||
* for reading and writing data to and from the accessory.
|
||||
*
|
||||
* <div class="special reference">
|
||||
* <h3>Developer Guides</h3>
|
||||
* <p>For more information about communicating with USB hardware, read the
|
||||
* <a href="{@docRoot}guide/topics/usb/index.html">USB</a> developer guide.</p>
|
||||
* </div>
|
||||
*/
|
||||
public class UsbAccessory implements Parcelable {
|
||||
|
||||
|
||||
@@ -34,6 +34,12 @@ import java.io.FileDescriptor;
|
||||
* To communicate with the device, you open a {@link UsbDeviceConnection} for the device
|
||||
* and use {@link UsbRequest} to send and receive data on an endpoint.
|
||||
* {@link UsbDeviceConnection#controlTransfer} is used for control requests on endpoint zero.
|
||||
*
|
||||
* <div class="special reference">
|
||||
* <h3>Developer Guides</h3>
|
||||
* <p>For more information about communicating with USB hardware, read the
|
||||
* <a href="{@docRoot}guide/topics/usb/index.html">USB</a> developer guide.</p>
|
||||
* </div>
|
||||
*/
|
||||
public class UsbDevice implements Parcelable {
|
||||
|
||||
|
||||
@@ -26,6 +26,12 @@ import android.os.Parcelable;
|
||||
* piece of functionality, separate from the other interfaces.
|
||||
* An interface will have one or more {@link UsbEndpoint}s, which are the
|
||||
* channels by which the host transfers data with the device.
|
||||
*
|
||||
* <div class="special reference">
|
||||
* <h3>Developer Guides</h3>
|
||||
* <p>For more information about communicating with USB hardware, read the
|
||||
* <a href="{@docRoot}guide/topics/usb/index.html">USB</a> developer guide.</p>
|
||||
* </div>
|
||||
*/
|
||||
public class UsbInterface implements Parcelable {
|
||||
|
||||
|
||||
@@ -35,8 +35,13 @@ import java.util.HashMap;
|
||||
* {@link android.content.Context#getSystemService(java.lang.String) Context.getSystemService()}.
|
||||
*
|
||||
* {@samplecode
|
||||
* UsbManager manager = (UsbManager) getSystemService(Context.USB_SERVICE);
|
||||
* }
|
||||
* UsbManager manager = (UsbManager) getSystemService(Context.USB_SERVICE);}
|
||||
*
|
||||
* <div class="special reference">
|
||||
* <h3>Developer Guides</h3>
|
||||
* <p>For more information about communicating with USB hardware, read the
|
||||
* <a href="{@docRoot}guide/topics/usb/index.html">USB</a> developer guide.</p>
|
||||
* </div>
|
||||
*/
|
||||
public class UsbManager {
|
||||
private static final String TAG = "UsbManager";
|
||||
|
||||
@@ -1,9 +1,16 @@
|
||||
<HTML>
|
||||
<BODY>
|
||||
<p>Provides support to communicate with USB hardware peripherals that are connected to Android-powered
|
||||
devices. Use {@link android.hardware.usb.UsbManager} to access the state of the USB and to
|
||||
<p>Provides support to communicate with USB hardware peripherals that are connected to
|
||||
Android-powered devices.</p>
|
||||
|
||||
<p>For more information, see the
|
||||
<a href="{@docRoot}guide/topics/usb/index.html">USB</a> developer guide.</p>
|
||||
{@more}
|
||||
|
||||
<p>Use {@link android.hardware.usb.UsbManager} to access the state of the USB and to
|
||||
communicate with connected hardware peripherals. Use {@link android.hardware.usb.UsbDevice} to
|
||||
communicate with the hardware peripheral if the Android-powered device is acting as the USB host. Use
|
||||
{@link android.hardware.usb.UsbAccessory} if the peripheral is acting as the USB host.</p>
|
||||
communicate with the hardware peripheral if the Android-powered device is acting as the USB host.
|
||||
Use {@link android.hardware.usb.UsbAccessory} if the peripheral is acting as the USB host.</p>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -42,6 +42,12 @@ import android.util.Log;
|
||||
* <p>
|
||||
* Use the helper {@link #getDefaultAdapter(Context)} to get the default NFC
|
||||
* adapter for this Android device.
|
||||
*
|
||||
* <div class="special reference">
|
||||
* <h3>Developer Guides</h3>
|
||||
* <p>For more information about using NFC, read the
|
||||
* <a href="{@docRoot}guide/topics/nfc/index.html">Near Field Communication</a> developer guide.</p>
|
||||
* </div>
|
||||
*/
|
||||
public final class NfcAdapter {
|
||||
static final String TAG = "NFC";
|
||||
|
||||
@@ -28,6 +28,12 @@ import android.content.Context;
|
||||
* Alternately, you can just call the static helper
|
||||
* {@link NfcAdapter#getDefaultAdapter(android.content.Context)}.
|
||||
*
|
||||
* <div class="special reference">
|
||||
* <h3>Developer Guides</h3>
|
||||
* <p>For more information about using NFC, read the
|
||||
* <a href="{@docRoot}guide/topics/nfc/index.html">Near Field Communication</a> developer guide.</p>
|
||||
* </div>
|
||||
*
|
||||
* @see Context#getSystemService
|
||||
* @see NfcAdapter#getDefaultAdapter(android.content.Context)
|
||||
*/
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
<HTML>
|
||||
<BODY>
|
||||
Provides access to Near Field Communication (NFC) functionality, allowing applications to read
|
||||
NDEF message in NFC tags. A "tag" may actually be another device that appears as a tag.
|
||||
<p>Provides access to Near Field Communication (NFC) functionality, allowing applications to read
|
||||
NDEF message in NFC tags. A "tag" may actually be another device that appears as a tag.</p>
|
||||
|
||||
<p>For more information, see the
|
||||
<a href="{@docRoot}guide/topics/nfc/index.html">Near Field Communication</a> developer guide.</p>
|
||||
{@more}
|
||||
|
||||
<p>Here's a summary of the classes:</p>
|
||||
|
||||
@@ -24,5 +28,6 @@ type of data being shared and carries the data itself.</dd>
|
||||
|
||||
<p class="note"><strong>Note:</strong>
|
||||
Not all Android-powered devices provide NFC functionality.</p>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
@@ -44,6 +44,13 @@ import java.util.concurrent.Semaphore;
|
||||
*
|
||||
* <p>For a working example, see SearchSuggestionSampleProvider and SearchQueryResults in
|
||||
* samples/ApiDemos/app.
|
||||
*
|
||||
* <div class="special reference">
|
||||
* <h3>Developer Guides</h3>
|
||||
* <p>For information about using search suggestions in your application, read the
|
||||
* <a href="{@docRoot}guide/topics/search/adding-recent-query-suggestions.html">Adding Recent Query
|
||||
* Suggestions</a> developer guide.</p>
|
||||
* </div>
|
||||
*/
|
||||
public class SearchRecentSuggestions {
|
||||
// debugging support
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
<HTML>
|
||||
<BODY>
|
||||
A framework for writing Android test cases and suites.
|
||||
<p>A framework for writing Android test cases and suites.</p>
|
||||
|
||||
<p>For more information, see the
|
||||
<a href="{@docRoot}guide/topics/testing/index.html">Testing</a> developer guide.</p>
|
||||
{@more}
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
@@ -75,10 +75,11 @@ import java.util.WeakHashMap;
|
||||
* If you want the search field to always be visible, then call setIconifiedByDefault(false).
|
||||
* </p>
|
||||
*
|
||||
* <p>
|
||||
* For more information, see the <a href="{@docRoot}guide/topics/search/index.html">Search</a>
|
||||
* documentation.
|
||||
* <p>
|
||||
* <div class="special reference">
|
||||
* <h3>Developer Guides</h3>
|
||||
* <p>For information about using {@code SearchView}, read the
|
||||
* <a href="{@docRoot}guide/topics/search/index.html">Search</a> developer guide.</p>
|
||||
* </div>
|
||||
*
|
||||
* @see android.view.MenuItem#SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW
|
||||
* @attr ref android.R.styleable#SearchView_iconifiedByDefault
|
||||
|
||||
Reference in New Issue
Block a user