Skip to content

Commit 19aad29

Browse files
committed
docs: fix misc broken links
Change-Id: Ie0406bce6c4f1fa03b16bba76ed82ac75bfbb5f7
1 parent a25a997 commit 19aad29

File tree

17 files changed

+52
-51
lines changed

17 files changed

+52
-51
lines changed

docs/html/guide/developing/projects/projects-cmdline.jd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ android create project \
114114
<p class="caution"><strong>Caution:</strong> You should refrain from moving the location of the
115115
SDK directory, because this will break the SDK location property located in <code>local.properties</code>.
116116
If you need to update the SDK location, use the <code>android update project</code> command.
117-
See <a href="UpdatingAProject">Updating a Project</a> for more information.</p>
117+
See <a href="#UpdatingAProject">Updating a Project</a> for more information.</p>
118118

119119
<h2 id="UpdatingAProject">Updating a Project</h2>
120120

docs/html/guide/practices/optimizing-for-3.0.jd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -411,8 +411,8 @@ href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/Acti
411411
>Action Bar</a>: Samples that demonstrate various Action Bar features, such as tabs, logos, and
412412
action items.</li>
413413
<li><a
414-
href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/content/ClipboardSample.
415-
html">Clipboard</a>: An example of how to use the clipboard for copy and paste operations.</li>
414+
href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/content/ClipboardSample.html"
415+
>Clipboard</a>: An example of how to use the clipboard for copy and paste operations.</li>
416416
<li><a
417417
href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/view/DragAndDropDemo.html">
418418
Drag and Drop</a>: An example of how to perform drag and drop with new View events.</li>
@@ -427,11 +427,11 @@ href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/animatio
427427
Property Animation</a>: Several samples using the new animation APIs to animate object
428428
properties.</li>
429429
<li><a
430-
href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/view/SearchViewActionBar.
431-
html">Search View Widget</a>: Example using the new search widget in the Action Bar (as an
430+
href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/view/SearchViewActionBar.html">
431+
Search View Widget</a>: Example using the new search widget in the Action Bar (as an
432432
"action view").</li>
433433
<li><a
434-
href="{@docRoot}resources/samples/Renderscript/index.html">Renderscript</a>: Contains several
434+
href="{@docRoot}resources/samples/RenderScript/index.html">Renderscript</a>: Contains several
435435
different applications that demonstrate using renderscript APIs for computations and 3D
436436
graphics.</li>
437437
</ul>

docs/html/guide/practices/screen-compat-mode.jd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
7171
android:minSdkVersion}</a> or <a
7272
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
7373
android:targetSdkVersion}</a> to {@code "4"} or higher, or set <a
74-
href="guide/topics/manifest/supports-screens-element.html#resizeable">{@code
74+
href="{@docRoot}guide/topics/manifest/supports-screens-element.html#resizeable">{@code
7575
android:resizeable}</a> to {@code "true"}.</p>
7676
</dd>
7777

docs/html/guide/practices/screens_support.jd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ pixels.</p>
11111111
<img src="{@docRoot}images/screens_support/scale-test.png" alt="" />
11121112
<p class="img-caption"><strong>Figure 5.</strong> Comparison of pre-scaled and auto-scaled
11131113
bitmaps, from <a
1114-
href="resources/samples/ApiDemos/src/com/example/android/apis/graphics/DensityActivity.html">
1114+
href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/graphics/DensityActivity.html">
11151115
ApiDemos</a>.
11161116
</p>
11171117
</div>
@@ -1150,7 +1150,7 @@ subtle, because all of the bitmaps are being scaled to match the current screen
11501150
scaled bitmaps have slightly different appearances depending on whether they are pre-scaled or
11511151
auto-scaled at draw time. You can find the source code for this sample application, which
11521152
demonstrates using pre-scaled and auto-scaled bitmaps, in <a
1153-
href="resources/samples/ApiDemos/src/com/example/android/apis/graphics/DensityActivity.html">
1153+
href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/graphics/DensityActivity.html">
11541154
ApiDemos</a>.</p>
11551155

11561156
<p class="note"><strong>Note:</strong> In Android 3.0 and above, there should be no perceivable

docs/html/guide/topics/admin/device-admin.jd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -619,8 +619,8 @@ long pwExpiration;
619619
mDPM.setPasswordExpirationTimeout(mDeviceAdminSample, pwExpiration);
620620
</pre>
621621

622-
<p>From the <a href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/
623-
DeviceAdminSample.html"> Device Administration API sample</a>, here is the code
622+
<p>From the <a href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/DeviceAdminSample.html"
623+
>Device Administration API sample</a>, here is the code
624624
that updates the password expiration status:</p>
625625

626626
<pre>

docs/html/guide/topics/fundamentals/loaders.jd

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ parent.link=activities.html
3232
<h2>Related samples</h2>
3333
<ol>
3434
<li> <a
35-
href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/FragmentListCursorLoader.html">FragmentListCursorLoader</a></li>
35+
href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/LoaderCursor.html">
36+
LoaderCursor</a></li>
3637
<li> <a
3738
href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/LoaderThrottle.html">
3839
LoaderThrottle</a></li>
@@ -485,7 +486,9 @@ public static class CursorLoaderListFragment extends ListFragment
485486
<p>There are a few different samples in <strong>ApiDemos</strong> that
486487
illustrate how to use loaders:</p>
487488
<ul>
488-
<li><a href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/FragmentListCursorLoader.html">FragmentListCursorLoader</a> &#8212; A complete version of the
489+
<li><a
490+
href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/LoaderCursor.html">
491+
LoaderCursor</a> &#8212; A complete version of the
489492
snippet shown above.</li>
490493
<li><a href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/LoaderThrottle.html"> LoaderThrottle</a> &#8212; An example of how to use throttling to
491494
reduce the number of queries a content provider does then its data changes.</li>

docs/html/guide/topics/graphics/2d-graphics.jd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ browse the source in the <a href="{@docRoot}guide/samples/index.html">Sample Cod
188188

189189
<p>This document discusses the basics of using Drawable objects to draw graphics and how to use a
190190
couple subclasses of the Drawable class. For information on using Drawables to do frame-by-frame
191-
animation, see <a href="{@docRoot}guide/topics/animation/frame-animation.html">Frame-by-Frame
191+
animation, see <a href="{@docRoot}guide/topics/animation/drawable-animation.html">Drawable
192192
Animation</a>.</p>
193193

194194
<p>A {@link android.graphics.drawable.Drawable} is a general abstraction for "something that can be

docs/html/guide/topics/graphics/animation.jd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ page.title=Animation
66

77
<h2>See also</h2>
88
<ol>
9-
<li><a href="{@docRoot}guide/topics/graphics/property-animation.html">Property Animation</a></li>
9+
<li><a href="{@docRoot}guide/topics/graphics/prop-animation.html">Property
10+
Animation</a></li>
1011
<li><a href="{@docRoot}guide/topics/graphics/view-animation.html">View Animation</a></li>
1112
<li><a href="{@docRoot}guide/topics/graphics/drawable-animation.html">Drawable Animation</a></li>
1213
<ol>

docs/html/guide/topics/graphics/index.jd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ page.title=Graphics
55
<div id="qv">
66
<h2>Topics</h2>
77
<ol>
8-
<li><a href="{@docRoot}guide/topics/graphics/canvas.html">Canvas and Drawables</a></li>
8+
<li><a href="{@docRoot}guide/topics/graphics/2d-graphics.html">Canvas and Drawables</a></li>
99
<li><a href="{@docRoot}guide/topics/graphics/hardware-accel.html">Hardware Acceleration</a></li>
1010
<li><a href="{@docRoot}guide/topics/graphics/opengl.html">OpenGL</a></li>
1111
</ol>

docs/html/guide/topics/graphics/opengl.jd

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,11 @@ parent.link=index.html
4040
</ol>
4141
<h2>Related samples</h2>
4242
<ol>
43-
<li><a href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/graphics/
44-
GLSurfaceViewActivity.html">GLSurfaceViewActivity</a></li>
45-
<li><a href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/graphics/
46-
GLES20Activity.html">GLES20Activity</a></li>
47-
<li><a href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/graphics/
48-
TouchRotateActivity.html">TouchRotateActivity</a></li>
49-
<li><a href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/graphics/
50-
CompressedTextureActivity.html">Compressed Textures</a></li>
43+
<li><a href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/graphics/GLSurfaceViewActivity.html">GLSurfaceViewActivity</a></li>
44+
<li><a href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/graphics/GLES20Activity.html">GLES20Activity</a></li>
45+
<li><a href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/graphics/TouchRotateActivity.html">TouchRotateActivity</a></li>
46+
<li><a
47+
href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/graphics/CompressedTextureActivity.html">Compressed Textures</a></li>
5148
</ol>
5249
<h2>See also</h2>
5350
<ol>
@@ -94,8 +91,8 @@ understanding how to implement these classes in an activity should be your first
9491
implement the touch listeners, as shown in OpenGL Tutorials for
9592
<a href="{@docRoot}resources/tutorials/opengl/opengl-es10.html#touch">ES 1.0</a>,
9693
<a href="{@docRoot}resources/tutorials/opengl/opengl-es20.html#touch">ES 2.0</a> and the <a
97-
href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/graphics/TouchRotateActivity
98-
.html">TouchRotateActivity</a> sample.</dd>
94+
href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/graphics/TouchRotateActivity.html"
95+
>TouchRotateActivity</a> sample.</dd>
9996

10097
<dt><strong>{@link android.opengl.GLSurfaceView.Renderer}</strong></dt>
10198
<dd>This interface defines the methods required for drawing graphics in an OpenGL {@link
@@ -410,9 +407,8 @@ framework provides support for the ETC1 compression format as a standard feature
410407
android.opengl.ETC1Util} utility class and the {@code etc1tool} compression tool (located in the
411408
Android SDK at {@code &lt;sdk&gt;/tools/}). For an example of an Android application that uses
412409
texture compression, see the <a
413-
href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/graphics/
414-
CompressedTextureActivity.html">CompressedTextureActivity</a> code sample.
415-
</p>
410+
href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/graphics/CompressedTextureActivity.html"
411+
>CompressedTextureActivity</a> code sample.</p>
416412

417413
<p>To check if the ETC1 format is supported on a device, call the {@link
418414
android.opengl.ETC1Util#isETC1Supported() ETC1Util.isETC1Supported()} method.</p>

0 commit comments

Comments
 (0)