Skip to content

Commit 3aef8e1

Browse files
committed
docs: Add developer guide cross-references, Project ACRE, round 4
Change-Id: I1b43414aaec8ea217b39a0d780c80a25409d0991
1 parent 8f04ae3 commit 3aef8e1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+327
-59
lines changed

core/java/android/animation/AnimatorSet.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@
3939
* result in none of the affected animations being played. Because of this (and because
4040
* circular dependencies do not make logical sense anyway), circular dependencies
4141
* should be avoided, and the dependency flow of animations should only be in one direction.
42+
*
43+
* <div class="special reference">
44+
* <h3>Developer Guides</h3>
45+
* <p>For more information about animating with {@code AnimatorSet}, read the
46+
* <a href="{@docRoot}guide/topics/graphics/prop-animation.html#choreography">Property
47+
* Animation</a> developer guide.</p>
48+
* </div>
4249
*/
4350
public final class AnimatorSet extends Animator {
4451

core/java/android/animation/ObjectAnimator.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@
2929
* are then determined internally and the animation will call these functions as necessary to
3030
* animate the property.
3131
*
32+
* <div class="special reference">
33+
* <h3>Developer Guides</h3>
34+
* <p>For more information about animating with {@code ObjectAnimator}, read the
35+
* <a href="{@docRoot}guide/topics/graphics/prop-animation.html#object-animator">Property
36+
* Animation</a> developer guide.</p>
37+
* </div>
38+
*
3239
* @see #setPropertyName(String)
3340
*
3441
*/

core/java/android/animation/ValueAnimator.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@
3838
* {@link AccelerateDecelerateInterpolator} class, which accelerates into and decelerates
3939
* out of an animation. This behavior can be changed by calling
4040
* {@link ValueAnimator#setInterpolator(TimeInterpolator)}.</p>
41+
*
42+
* <div class="special reference">
43+
* <h3>Developer Guides</h3>
44+
* <p>For more information about animating with {@code ValueAnimator}, read the
45+
* <a href="{@docRoot}guide/topics/graphics/prop-animation.html#value-animator">Property
46+
* Animation</a> developer guide.</p>
47+
* </div>
4148
*/
4249
public class ValueAnimator extends Animator {
4350

core/java/android/animation/package.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
to calculate the values for that given type with a custom {@link android.animation.TypeEvaluator}.
88
</p>
99

10+
<p>For more information, see the
11+
<a href="{@docRoot}guide/topics/graphics/animation.html">Animation</a> developer guide.</p>
12+
{@more}
13+
1014
<p>
1115
You can set many different types of interpolators (contained in {@link android.view.animation}),
1216
specify {@link android.animation.Keyframe keyframes}, or group animations to play sequentially
1317
or simultaneously (with {@link android.animation.AnimatorSet}) to further control your animation
1418
behaviors.</p>
1519

16-
<p>
17-
For a guide on how to use the property animation system, see the
18-
<a href="{@docRoot}guide/topics/graphics/animation.html">Animation</a> developer guide.
19-
</p>
2020
</body>
21-
</html>
21+
</html>

core/java/android/app/SearchManager.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,11 @@
4848
* {@link android.content.Context#getSystemService
4949
* context.getSystemService(Context.SEARCH_SERVICE)}.
5050
*
51-
* <div class="special">
52-
* <p>For a guide to using the search dialog and adding search
53-
* suggestions in your application, see the Dev Guide topic about <strong><a
54-
* href="{@docRoot}guide/topics/search/index.html">Search</a></strong>.</p>
51+
* <div class="special reference">
52+
* <h3>Developer Guides</h3>
53+
* <p>For more information about using the search dialog and adding search
54+
* suggestions in your application, read the
55+
* <a href="{@docRoot}guide/topics/search/index.html">Search</a> developer guide.</p>
5556
* </div>
5657
*/
5758
public class SearchManager

core/java/android/app/admin/DeviceAdminReceiver.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@
4949
* A typical file would be:</p>
5050
*
5151
* {@sample development/samples/ApiDemos/res/xml/device_admin_sample.xml meta_data}
52+
*
53+
* <div class="special reference">
54+
* <h3>Developer Guides</h3>
55+
* <p>For more information about device administration, read the
56+
* <a href="{@docRoot}guide/topics/admin/device-admin.html">Device Administration</a>
57+
* developer guide.</p>
58+
* </div>
5259
*/
5360
public class DeviceAdminReceiver extends BroadcastReceiver {
5461
private static String TAG = "DevicePolicy";

core/java/android/app/admin/DevicePolicyManager.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@
4040
* Public interface for managing policies enforced on a device. Most clients
4141
* of this class must have published a {@link DeviceAdminReceiver} that the user
4242
* has currently enabled.
43+
*
44+
* <div class="special reference">
45+
* <h3>Developer Guides</h3>
46+
* <p>For more information about managing policies for device adminstration, read the
47+
* <a href="{@docRoot}guide/topics/admin/device-admin.html">Device Administration</a>
48+
* developer guide.</p>
49+
* </div>
4350
*/
4451
public class DevicePolicyManager {
4552
private static String TAG = "DevicePolicyManager";

core/java/android/app/admin/package.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
security-aware applications that are useful in enterprise settings, in which IT professionals
55
require rich control over employee devices.</p>
66

7-
<p>For more information, see the <a
8-
href="{@docRoot}guide/topics/admin/device-admin.html">Device Administration</a> developer guide.</p>
7+
<p>For more information, see the
8+
<a href="{@docRoot}guide/topics/admin/device-admin.html">Device Administration</a>
9+
developer guide.</p>
910
{@more}
1011

1112
</BODY>

core/java/android/appwidget/AppWidgetManager.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@
3535
/**
3636
* Updates AppWidget state; gets information about installed AppWidget providers and other
3737
* AppWidget related state.
38+
*
39+
* <div class="special reference">
40+
* <h3>Developer Guides</h3>
41+
* <p>For more information about creating app widgets, read the
42+
* <a href="{@docRoot}guide/topics/appwidgets/index.html">App Widgets</a> developer guide.</p>
43+
* </div>
3844
*/
3945
public class AppWidgetManager {
4046
static final String TAG = "AppWidgetManager";

core/java/android/appwidget/AppWidgetProvider.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,13 @@
3131
* <p>Extend this class and override one or more of the {@link #onUpdate}, {@link #onDeleted},
3232
* {@link #onEnabled} or {@link #onDisabled} methods to implement your own AppWidget functionality.
3333
* </p>
34-
* <p>For an example of how to write a AppWidget provider, see the
35-
* <a href="{@docRoot}guide/topics/appwidgets/index.html#Providers">AppWidgets</a> documentation.</p>
34+
*
35+
* <div class="special reference">
36+
* <h3>Developer Guides</h3>
37+
* <p>For more information about how to write an app widget provider, read the
38+
* <a href="{@docRoot}guide/topics/appwidgets/index.html#AppWidgetProvider">App Widgets</a>
39+
* developer guide.</p>
40+
* </div>
3641
*/
3742
public class AppWidgetProvider extends BroadcastReceiver {
3843
/**

0 commit comments

Comments
 (0)