Skip to content

Commit 74b2b95

Browse files
joefernandezAndroid Git Automerger
authored andcommitted
am 09848bc: Merge "docs: add developer guide cross references, Project ACRE, round 3" into ics-mr0
* commit '09848bc89de999416e2de82a7693b2deec6bf802': docs: add developer guide cross references, Project ACRE, round 3
2 parents 76756a4 + 09848bc commit 74b2b95

File tree

15 files changed

+113
-20
lines changed

15 files changed

+113
-20
lines changed

core/java/android/app/backup/BackupAgent.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,15 @@
4646
* {@link #onBackup(ParcelFileDescriptor, BackupDataOutput, ParcelFileDescriptor) onBackup()}
4747
* and {@link #onRestore(BackupDataInput, int, ParcelFileDescriptor) onRestore()} methods,
4848
* and provide the name of its backup agent class in its {@code AndroidManifest.xml} file via
49-
* the <code><a
50-
* href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></code>
49+
* the <code>
50+
* <a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></code>
5151
* tag's {@code android:backupAgent} attribute.
52+
*
53+
* <div class="special reference">
54+
* <h3>Developer Guides</h3>
55+
* <p>For more information about using BackupAgent, read the
56+
* <a href="{@docRoot}guide/topics/data/backup.html">Data Backup</a> developer guide.</p></div>
57+
*
5258
* <h3>Basic Operation</h3>
5359
* <p>
5460
* When the application makes changes to data that it wishes to keep backed up,

core/java/android/app/backup/BackupAgentHelper.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@
4242
* {@link BackupAgentHelper} framework. See the {@link BackupHelper} interface
4343
* documentation for details.
4444
*
45+
* <div class="special reference">
46+
* <h3>Developer Guides</h3>
47+
* <p>For more information about using BackupAgentHelper, read the
48+
* <a href="{@docRoot}guide/topics/data/backup.html">Data Backup</a> developer guide.</p>
49+
* </div>
50+
*
4551
* @see BackupHelper
4652
* @see FileBackupHelper
4753
* @see SharedPreferencesBackupHelper

core/java/android/app/backup/BackupManager.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,15 @@
4141
* of how the operation then proceeds.
4242
* <p>
4343
* Several attributes affecting the operation of the backup and restore mechanism
44-
* can be set on the <code><a
45-
* href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></code>
44+
* can be set on the <code>
45+
* <a href="{@docRoot}guide/topics/manifest/application-element.html">&lt;application&gt;</a></code>
4646
* tag in your application's AndroidManifest.xml file.
4747
*
48+
* <div class="special reference">
49+
* <h3>Developer Guides</h3>
50+
* <p>For more information about using BackupManager, read the
51+
* <a href="{@docRoot}guide/topics/data/backup.html">Data Backup</a> developer guide.</p></div>
52+
*
4853
* @attr ref android.R.styleable#AndroidManifestApplication_allowBackup
4954
* @attr ref android.R.styleable#AndroidManifestApplication_backupAgent
5055
* @attr ref android.R.styleable#AndroidManifestApplication_killAfterRestore

core/java/android/content/SharedPreferences.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@
3030
* <p><em>Note: currently this class does not support use across multiple
3131
* processes. This will be added later.</em>
3232
*
33+
* <div class="special reference">
34+
* <h3>Developer Guides</h3>
35+
* <p>For more information about using SharedPreferences, read the
36+
* <a href="{@docRoot}guide/topics/data/data-storage.html#pref">Data Storage</a>
37+
* developer guide.</p></div>
38+
*
3339
* @see Context#getSharedPreferences
3440
*/
3541
public interface SharedPreferences {

core/java/android/widget/AdapterView.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@
3838
* <p>
3939
* See {@link ListView}, {@link GridView}, {@link Spinner} and
4040
* {@link Gallery} for commonly used subclasses of AdapterView.
41+
*
42+
* <div class="special reference">
43+
* <h3>Developer Guides</h3>
44+
* <p>For more information about using AdapterView, read the
45+
* <a href="{@docRoot}guide/topics/ui/binding.html">Binding to Data with AdapterView</a>
46+
* developer guide.</p></div>
4147
*/
4248
public abstract class AdapterView<T extends Adapter> extends ViewGroup {
4349

graphics/java/android/graphics/Canvas.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@
2929
* the draw calls (writing into the bitmap), a drawing primitive (e.g. Rect,
3030
* Path, text, Bitmap), and a paint (to describe the colors and styles for the
3131
* drawing).
32+
*
33+
* <div class="special reference">
34+
* <h3>Developer Guides</h3>
35+
* <p>For more information about how to use Canvas, read the
36+
* <a href="{@docRoot}guide/topics/graphics/2d-graphics.html">
37+
* Canvas and Drawables</a> developer guide.</p></div>
3238
*/
3339
public class Canvas {
3440
// assigned in constructors, freed in finalizer

graphics/java/android/graphics/drawable/Drawable.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,15 @@
103103
* <li> <b>Scale</b>: a compound drawable with a single child drawable,
104104
* whose overall size is modified based on the current level.
105105
* </ul>
106-
* <p>For information and examples of creating drawable resources (XML or bitmap files that
107-
* can be loaded in code), see <a
108-
* href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>.
106+
*
107+
* <div class="special reference">
108+
* <h3>Developer Guides</h3>
109+
* <p>For more information about how to use drawables, read the
110+
* <a href="{@docRoot}guide/topics/graphics/2d-graphics.html">Canvas and Drawables</a> developer
111+
* guide. For information and examples of creating drawable resources (XML or bitmap files that
112+
* can be loaded in code), read the
113+
* <a href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>
114+
* document.</p></div>
109115
*/
110116
public abstract class Drawable {
111117
private static final Rect ZERO_BOUNDS_RECT = new Rect();

graphics/java/android/graphics/drawable/NinePatchDrawable.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,15 @@
3131
/**
3232
*
3333
* A resizeable bitmap, with stretchable areas that you define. This type of image
34-
* is defined in a .png file with a special format, described in <a link="../../../resources.html#ninepatch">
35-
* Resources</a>.
34+
* is defined in a .png file with a special format.
3635
*
36+
* <div class="special reference">
37+
* <h3>Developer Guides</h3>
38+
* <p>For more information about how to use a NinePatchDrawable, read the
39+
* <a href="{@docRoot}guide/topics/graphics/2d-graphics.html#nine-patch">
40+
* Canvas and Drawables</a> developer guide. For information about creating a NinePatch image
41+
* file using the draw9patch tool, see the
42+
* <a href="{@docRoot}guide/developing/tools/draw9patch.html">Draw 9-patch</a> tool guide.</p></div>
3743
*/
3844
public class NinePatchDrawable extends Drawable {
3945
// dithering helps a lot, and is pretty cheap, so default is true

graphics/java/android/graphics/drawable/ShapeDrawable.java

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,16 @@
3434
* the ShapeDrawable will default to a
3535
* {@link android.graphics.drawable.shapes.RectShape}.
3636
*
37-
* <p>It can be defined in an XML file with the <code>&lt;shape></code> element. For more
38-
* information, see the guide to <a
39-
* href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>.</p>
37+
* <p>This object can be defined in an XML file with the <code>&lt;shape></code> element.</p>
38+
*
39+
* <div class="special reference">
40+
* <h3>Developer Guides</h3>
41+
* <p>For more information about how to use ShapeDrawable, read the
42+
* <a href="{@docRoot}guide/topics/graphics/2d-graphics.html#shape-drawable">
43+
* Canvas and Drawables</a> document. For more information about defining a ShapeDrawable in
44+
* XML, read the
45+
* <a href="{@docRoot}guide/topics/resources/drawable-resource.html#Shape">Drawable Resources</a>
46+
* document.</p></div>
4047
*
4148
* @attr ref android.R.styleable#ShapeDrawablePadding_left
4249
* @attr ref android.R.styleable#ShapeDrawablePadding_top

media/java/android/media/JetPlayer.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,13 @@
5252
* <li>the number of segments left to play in the queue,</li>
5353
* <li>application controller events (CC80-83) to mark points in the MIDI segments.</li>
5454
* </ul>
55-
* Use {@link #getJetPlayer()} to construct a JetPlayer instance. JetPlayer is a singleton class.
56-
*
55+
* Use {@link #getJetPlayer()} to construct a JetPlayer instance. JetPlayer is a singleton class.
56+
* </p>
57+
*
58+
* <div class="special reference">
59+
* <h3>Developer Guides</h3>
60+
* <p>For more information about how to use JetPlayer, read the
61+
* <a href="{@docRoot}guide/topics/media/jetplayer.html">JetPlayer</a> developer guide.</p></div>
5762
*/
5863
public class JetPlayer
5964
{

0 commit comments

Comments
 (0)