diff --git a/docs/html/about/versions/nougat/android-7.0.jd b/docs/html/about/versions/nougat/android-7.0.jd index 1ca540c9c3891..8ef8bd68e0b3f 100644 --- a/docs/html/about/versions/nougat/android-7.0.jd +++ b/docs/html/about/versions/nougat/android-7.0.jd @@ -44,7 +44,7 @@ page.image=images/cards/card-n-apis_2x.png
- For information about creating an app tile, see the documentation for
- android.service.quicksettings.Tile in the downloadable API Reference.
+ For information about creating an app tile, see the reference documentation
+ for {@link android.service.quicksettings.Tile Tile}.
- For more information, see android.provider.BlockedNumberContract
- in the downloadable API
- Reference.
+ For more information, see the reference documentation for
+ {@link android.provider.BlockedNumberContract BlockedNumberContract}.
- For more information, see android.telecom.CallScreeningService
- in the downloadable API
- Reference.
+ For more information, see the reference documentation for
+ {@link android.telecom.CallScreeningService CallScreeningService}.
For more information, see android.accessibilityservice.GestureDescription
- in the downloadable API Reference.
For more information, see the reference documentation for +{@link android.accessibilityservice.GestureDescription GestureDescription}. +
Activity.onProvideKeyboardShortcuts()
- method, described in the downloadable API Reference.
+ this by overriding the {@link android.view.Window.Callback#onProvideKeyboardShortcuts
+ onProvideKeyboardShortcuts()} method.
@@ -986,7 +983,8 @@ Directory Access developer documentation.
To trigger Keyboard Shortcuts Helper from anywhere in your app, call - {@code Activity.requestKeyboardShortcutsHelper()} for the relevant activity. + {@link android.app.Activity#requestShowKeyboardShortcuts requestShowKeyboardShortcuts()} + from the relevant activity.
PrinterInfo.Builder.setResourceIconId()
+ {@link android.print.PrinterInfo.Builder#setIconResourceId setIconResourceId()}.
PrinterInfo.Builder.setHasCustomPrinterIcon(), and setting a
- callback for when the icon is requested using
- android.printservice.PrinterDiscoverySession.onRequestCustomPrinterIcon()
+ {@link android.print.PrinterInfo.Builder#setHasCustomPrinterIcon setHasCustomPrinterIcon()},
+ and setting a callback for when the icon is requested using
+ {@link android.printservice.PrinterDiscoverySession#onRequestCustomPrinterIcon onRequestCustomPrinterIcon()}.
In addition, you can provide a per-printer activity to display additional
- information by calling PrinterInfo.Builder.setInfoIntent().
+ information by calling {@link android.print.PrinterInfo.Builder#setInfoIntent setInfoIntent()}.
You can indicate the progress and status of print jobs in the print job
notification by calling
- android.printservice.PrintJob.setProgress() and
- android.printservice.PrintJob.setStatus(), respectively.
+ {@link android.printservice.PrintJob#setProgress setProgress()} and
+ {@link android.printservice.PrintJob#setStatus setStatus()}, respectively.
- For more information about these methods, see the downloadable API Reference. -
- -
-The FrameMetricsListener API allows an app to monitor its UI rendering
+The Frame Metrics API allows an app to monitor its UI rendering
performance. The API provides this capability by exposing a streaming Pub/Sub API to transfer frame
timing info for the app's current window. The data returned is
equivalent to that which adb shell
@@ -1100,7 +1093,7 @@ dumpsys gfxinfo framestats displays, but is not limited to the past 120 f
-You can use FrameMetricsListener to measure interaction-level UI +You can use the Frame Metrics API to measure interaction-level UI performance in production, without a USB connection. This API allows collection of data at a much higher granularity than does {@code adb shell dumpsys gfxinfo}. This higher granularity is possible because @@ -1112,16 +1105,15 @@ for real use cases within an app.
-To monitor a window, implement the FrameMetricsListener.onMetricsAvailable()
-callback method and register it on that window. For more information, refer to
-the {@code FrameMetricsListener} class documentation in
-the downloadable API Reference.
+To monitor a window, implement the
+{@link android.view.Window.OnFrameMetricsAvailableListener#onFrameMetricsAvailable OnFrameMetricsAvailableListener.onFrameMetricsAvailable()}
+callback method and register it on that window.
-The API provides a {@code FrameMetrics} object, which contains timing data that -the rendering subsystem reports for various milestones in a frame lifecycle. -The supported metrics are: {@code UNKNOWN_DELAY_DURATION}, +The API provides a {@link android.view.FrameMetrics FrameMetrics} object, which +contains timing data that the rendering subsystem reports for various milestones +in a frame lifecycle. The supported metrics are: {@code UNKNOWN_DELAY_DURATION}, {@code INPUT_HANDLING_DURATION}, {@code ANIMATION_DURATION}, {@code LAYOUT_MEASURE_DURATION}, {@code DRAW_DURATION}, {@code SYNC_DURATION}, {@code COMMAND_ISSUE_DURATION}, {@code SWAP_BUFFERS_DURATION},