From 19aad293c0dba4ed9a47939c487fecdd5318ef08 Mon Sep 17 00:00:00 2001 From: Scott Main Date: Tue, 18 Oct 2011 16:57:32 -0700 Subject: docs: fix misc broken links Change-Id: Ie0406bce6c4f1fa03b16bba76ed82ac75bfbb5f7 --- .../guide/developing/projects/projects-cmdline.jd | 2 +- docs/html/guide/practices/optimizing-for-3.0.jd | 10 +++++----- docs/html/guide/practices/screen-compat-mode.jd | 2 +- docs/html/guide/practices/screens_support.jd | 4 ++-- docs/html/guide/topics/admin/device-admin.jd | 4 ++-- docs/html/guide/topics/fundamentals/loaders.jd | 7 +++++-- docs/html/guide/topics/graphics/2d-graphics.jd | 2 +- docs/html/guide/topics/graphics/animation.jd | 3 ++- docs/html/guide/topics/graphics/index.jd | 2 +- docs/html/guide/topics/graphics/opengl.jd | 22 +++++++++------------- docs/html/guide/topics/renderscript/compute.jd | 2 +- docs/html/guide/topics/renderscript/graphics.jd | 6 +++--- .../guide/topics/resources/animation-resource.jd | 4 ++-- docs/html/guide/topics/search/search-dialog.jd | 4 ++-- docs/html/guide/topics/usb/adk.jd | 8 ++++---- docs/html/guide/topics/usb/index.jd | 4 ++-- docs/html/sdk/android-4.0.jd | 17 +++++++++-------- 17 files changed, 52 insertions(+), 51 deletions(-) diff --git a/docs/html/guide/developing/projects/projects-cmdline.jd b/docs/html/guide/developing/projects/projects-cmdline.jd index 08e0d9a..81c2c58 100644 --- a/docs/html/guide/developing/projects/projects-cmdline.jd +++ b/docs/html/guide/developing/projects/projects-cmdline.jd @@ -114,7 +114,7 @@ android create project \

Caution: You should refrain from moving the location of the SDK directory, because this will break the SDK location property located in local.properties. If you need to update the SDK location, use the android update project command. - See Updating a Project for more information.

+ See Updating a Project for more information.

Updating a Project

diff --git a/docs/html/guide/practices/optimizing-for-3.0.jd b/docs/html/guide/practices/optimizing-for-3.0.jd index e968372..a24dba8 100644 --- a/docs/html/guide/practices/optimizing-for-3.0.jd +++ b/docs/html/guide/practices/optimizing-for-3.0.jd @@ -411,8 +411,8 @@ href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/Acti >Action Bar: Samples that demonstrate various Action Bar features, such as tabs, logos, and action items.
  • Clipboard: An example of how to use the clipboard for copy and paste operations.
  • +href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/content/ClipboardSample.html" +>Clipboard: An example of how to use the clipboard for copy and paste operations.
  • Drag and Drop: An example of how to perform drag and drop with new View events.
  • @@ -427,11 +427,11 @@ href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/animatio Property Animation: Several samples using the new animation APIs to animate object properties.
  • Search View Widget: Example using the new search widget in the Action Bar (as an +href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/view/SearchViewActionBar.html"> +Search View Widget: Example using the new search widget in the Action Bar (as an "action view").
  • Renderscript: Contains several +href="{@docRoot}resources/samples/RenderScript/index.html">Renderscript: Contains several different applications that demonstrate using renderscript APIs for computations and 3D graphics.
  • diff --git a/docs/html/guide/practices/screen-compat-mode.jd b/docs/html/guide/practices/screen-compat-mode.jd index 6a77d60..7f10914 100644 --- a/docs/html/guide/practices/screen-compat-mode.jd +++ b/docs/html/guide/practices/screen-compat-mode.jd @@ -71,7 +71,7 @@ href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code android:minSdkVersion} or {@code android:targetSdkVersion} to {@code "4"} or higher, or set {@code +href="{@docRoot}guide/topics/manifest/supports-screens-element.html#resizeable">{@code android:resizeable} to {@code "true"}.

    diff --git a/docs/html/guide/practices/screens_support.jd b/docs/html/guide/practices/screens_support.jd index 6dec4b3..0c3c7d3 100644 --- a/docs/html/guide/practices/screens_support.jd +++ b/docs/html/guide/practices/screens_support.jd @@ -1111,7 +1111,7 @@ pixels.

    Figure 5. Comparison of pre-scaled and auto-scaled bitmaps, from +href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/graphics/DensityActivity.html"> ApiDemos.

    @@ -1150,7 +1150,7 @@ subtle, because all of the bitmaps are being scaled to match the current screen scaled bitmaps have slightly different appearances depending on whether they are pre-scaled or auto-scaled at draw time. You can find the source code for this sample application, which demonstrates using pre-scaled and auto-scaled bitmaps, in +href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/graphics/DensityActivity.html"> ApiDemos.

    Note: In Android 3.0 and above, there should be no perceivable diff --git a/docs/html/guide/topics/admin/device-admin.jd b/docs/html/guide/topics/admin/device-admin.jd index 7dddd9a..7bbf5e6 100644 --- a/docs/html/guide/topics/admin/device-admin.jd +++ b/docs/html/guide/topics/admin/device-admin.jd @@ -619,8 +619,8 @@ long pwExpiration; mDPM.setPasswordExpirationTimeout(mDeviceAdminSample, pwExpiration); -

    From the Device Administration API sample, here is the code +

    From the Device Administration API sample, here is the code that updates the password expiration status:

    diff --git a/docs/html/guide/topics/fundamentals/loaders.jd b/docs/html/guide/topics/fundamentals/loaders.jd
    index d31f090..3aad204 100644
    --- a/docs/html/guide/topics/fundamentals/loaders.jd
    +++ b/docs/html/guide/topics/fundamentals/loaders.jd
    @@ -32,7 +32,8 @@ parent.link=activities.html
         

    Related samples

    1. FragmentListCursorLoader
    2. +href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/LoaderCursor.html"> +LoaderCursor
    3. LoaderThrottle
    4. @@ -485,7 +486,9 @@ public static class CursorLoaderListFragment extends ListFragment

      There are a few different samples in ApiDemos that illustrate how to use loaders:

        -
      • FragmentListCursorLoader — A complete version of the +
      • +LoaderCursor — A complete version of the snippet shown above.
      • LoaderThrottle — An example of how to use throttling to reduce the number of queries a content provider does then its data changes.
      • diff --git a/docs/html/guide/topics/graphics/2d-graphics.jd b/docs/html/guide/topics/graphics/2d-graphics.jd index ac2b47c..5abffb3 100644 --- a/docs/html/guide/topics/graphics/2d-graphics.jd +++ b/docs/html/guide/topics/graphics/2d-graphics.jd @@ -188,7 +188,7 @@ browse the source in the Sample Cod

        This document discusses the basics of using Drawable objects to draw graphics and how to use a couple subclasses of the Drawable class. For information on using Drawables to do frame-by-frame -animation, see Frame-by-Frame +animation, see Drawable Animation.

        A {@link android.graphics.drawable.Drawable} is a general abstraction for "something that can be diff --git a/docs/html/guide/topics/graphics/animation.jd b/docs/html/guide/topics/graphics/animation.jd index e8996f6..561369d 100644 --- a/docs/html/guide/topics/graphics/animation.jd +++ b/docs/html/guide/topics/graphics/animation.jd @@ -6,7 +6,8 @@ page.title=Animation

        See also

          -
        1. Property Animation
        2. +
        3. Property +Animation
        4. View Animation
        5. Drawable Animation
          1. diff --git a/docs/html/guide/topics/graphics/index.jd b/docs/html/guide/topics/graphics/index.jd index ffa9a39..ab623c2 100644 --- a/docs/html/guide/topics/graphics/index.jd +++ b/docs/html/guide/topics/graphics/index.jd @@ -5,7 +5,7 @@ page.title=Graphics

            Topics

              -
            1. Canvas and Drawables
            2. +
            3. Canvas and Drawables
            4. Hardware Acceleration
            5. OpenGL
            diff --git a/docs/html/guide/topics/graphics/opengl.jd b/docs/html/guide/topics/graphics/opengl.jd index 231f4ef..6a2a20f 100644 --- a/docs/html/guide/topics/graphics/opengl.jd +++ b/docs/html/guide/topics/graphics/opengl.jd @@ -40,14 +40,11 @@ parent.link=index.html

          Related samples

            -
          1. GLSurfaceViewActivity
          2. -
          3. GLES20Activity
          4. -
          5. TouchRotateActivity
          6. -
          7. Compressed Textures
          8. +
          9. GLSurfaceViewActivity
          10. +
          11. GLES20Activity
          12. +
          13. TouchRotateActivity
          14. +
          15. Compressed Textures

          See also

            @@ -94,8 +91,8 @@ understanding how to implement these classes in an activity should be your first implement the touch listeners, as shown in OpenGL Tutorials for ES 1.0, ES 2.0 and the TouchRotateActivity sample. +href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/graphics/TouchRotateActivity.html" +>TouchRotateActivity sample.
            {@link android.opengl.GLSurfaceView.Renderer}
            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 android.opengl.ETC1Util} utility class and the {@code etc1tool} compression tool (located in the Android SDK at {@code <sdk>/tools/}). For an example of an Android application that uses texture compression, see the CompressedTextureActivity code sample. -

            +href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/graphics/CompressedTextureActivity.html" +>CompressedTextureActivity code sample.

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

            diff --git a/docs/html/guide/topics/renderscript/compute.jd b/docs/html/guide/topics/renderscript/compute.jd index e4c2283..8f08f59 100644 --- a/docs/html/guide/topics/renderscript/compute.jd +++ b/docs/html/guide/topics/renderscript/compute.jd @@ -1,6 +1,6 @@ page.title=Compute parent.title=RenderScript -parent.link=index.html +parent.link=index.html @jd:body
            diff --git a/docs/html/guide/topics/renderscript/graphics.jd b/docs/html/guide/topics/renderscript/graphics.jd index d8be85f..3ea3f85 100644 --- a/docs/html/guide/topics/renderscript/graphics.jd +++ b/docs/html/guide/topics/renderscript/graphics.jd @@ -22,13 +22,13 @@ parent.link=index.html
            1. Balls
            2. -
            3. Fountain
            4. +
            5. Fountain
            6. Hello World
            7. -
            8. Samples
            9. +
            10. Misc Samples
            diff --git a/docs/html/guide/topics/resources/animation-resource.jd b/docs/html/guide/topics/resources/animation-resource.jd index 480ca78..eaa698f 100644 --- a/docs/html/guide/topics/resources/animation-resource.jd +++ b/docs/html/guide/topics/resources/animation-resource.jd @@ -10,8 +10,8 @@ parent.link=available-resources.html
          1. Property Animation
          2. View Animation
              -
            1. Tween animation
            2. -
            3. Frame animation
            4. +
            5. Tween animation
            6. +
            7. Frame animation
          diff --git a/docs/html/guide/topics/search/search-dialog.jd b/docs/html/guide/topics/search/search-dialog.jd index 27409d5..e06563d 100644 --- a/docs/html/guide/topics/search/search-dialog.jd +++ b/docs/html/guide/topics/search/search-dialog.jd @@ -807,8 +807,8 @@ the Action Bar developer guide.

          Also see the Searchable Dictionary for an example implementation using +href="{@docRoot}resources/samples/SearchableDictionary/src/com/example/android/searchabledict/SearchableDictionary.html" +>Searchable Dictionary for an example implementation using both the dialog and the widget.

          diff --git a/docs/html/guide/topics/usb/adk.jd b/docs/html/guide/topics/usb/adk.jd index 120576b..6c7ab0d 100644 --- a/docs/html/guide/topics/usb/adk.jd +++ b/docs/html/guide/topics/usb/adk.jd @@ -396,7 +396,7 @@ page.title=Android Open Accessory Development Kit
        6. Connect the ADK board (USB-A) to your Android-powered device (micro-USB). Ensure that the power cable to the accessory is plugged in or that the micro-USB port on the accesory is - connected to your computer for power (this also allows you to monitor the + connected to your computer for power (this also allows you to monitor the ADK board). When connected, accept the prompt that asks for whether or not to open the DemoKit application to connect to the accessory. If the prompt does not show up, connect and reconnect the accessory.
        7. @@ -625,8 +625,8 @@ void loop() AndroidAccessory::isAccessoryDevice(). This method checks the vendor and product ID of the device descriptor. A device in accessory mode has a vendor ID of 0x18D1 and a product ID of 0x2D00 or 0x2D01. If the device is in accessory mode, then the ADK board can establish communication with the device. If not, the board attempts to start the device in accessory mode.

          + "#establish">establish communication with the device. If not, the board attempts to start the device in accessory mode.

           bool AndroidAccessory::isConnected(void)
           {
          @@ -699,7 +699,7 @@ bool AndroidAccessory::switchDevice(byte addr)
           
          If this method returns false, the board waits until a new device is connected. If it is successful, the device displays itself on the USB bus as being in accessory mode when the ADK board re-enumerates the bus. When the device is in accessory mode, the accessory then establishes communication with the device. +"establish-adk">establishes communication with the device.

          Establish communication with the device

          diff --git a/docs/html/guide/topics/usb/index.jd b/docs/html/guide/topics/usb/index.jd index 6dc8ec5..ef53bdf 100644 --- a/docs/html/guide/topics/usb/index.jd +++ b/docs/html/guide/topics/usb/index.jd @@ -42,8 +42,8 @@ page.title=USB Host and Accessory dependant on the device's hardware, regardless of platform level. You can filter for devices that support USB host and accessory through a <uses-feature> element. See - the USB accessory and host documentation for more details.

          + the USB accessory and host documentation for more details.

          Debugging considerations

          diff --git a/docs/html/sdk/android-4.0.jd b/docs/html/sdk/android-4.0.jd index ade3d8b..4580986 100644 --- a/docs/html/sdk/android-4.0.jd +++ b/docs/html/sdk/android-4.0.jd @@ -1196,8 +1196,10 @@ a narrow screen, so the system will place more of them into the overflow menu. H allows you to enable “split action bar" so that more action items can appear on the screen in a separate bar at the bottom of the screen. To enable split action bar, add {@link android.R.attr#uiOptions android:uiOptions} with {@code "splitActionBarWhenNarrow"} to either your -{@code <application>} tag or -individual {@code <activity>} tags +{@code <application>} +tag or +individual {@code +<activity>} tags in your manifest file. When enabled, the system will add an additional bar at the bottom of the screen for all action items when the screen is narrow (no action items will appear in the primary action bar).

          @@ -1267,9 +1269,8 @@ public boolean onCreateOptionsMenu(Menu menu) {

    For an example using the {@link android.widget.ShareActionProvider}, see the ActionBarActionProviderActivity -class in ApiDemos.

    +href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/app/ActionBarActionProviderActivity.html" +>ActionBarActionProviderActivity class in ApiDemos.

    Collapsible action views

    @@ -1530,7 +1531,7 @@ href="{@docRoot}guide/topics/resources/drawable-resource.html#StateList">state l provide a different background drawable when a cursor hovers over the view.

    For a demonstration of the new hover events, see the Hover class in +href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/view/Hover.html">Hover class in ApiDemos.

    @@ -1571,7 +1572,7 @@ android.view.MotionEvent#AXIS_DISTANCE}, {@link android.view.MotionEvent#AXIS_TI android.view.MotionEvent#AXIS_ORIENTATION}.

    For a demonstration of tool types, button states and the new axis codes, see the TouchPaint +href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/graphics/TouchPaint.html">TouchPaint class in ApiDemos.

    @@ -1773,7 +1774,7 @@ operations. See the object (View, Drawable, Fragment, Object, or anything else) and define animation aspects such as duration, interpolation, repeat and more. The new framework makes Animations in Android simpler than ever. See the -Property Animation developer +Property Animation developer guide.
  • RenderScript graphics and compute engine: RenderScript offers a high performance 3D graphics rendering and compute API at the native level, which you write in the C (C99 standard), -- cgit v1.1