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
  • VR Support
  • Print Service Enhancements
  • Virtual Files
  • -
  • FrameMetricsListener API
  • +
  • Frame Metrics API
  • @@ -434,9 +434,8 @@ displayed — users can add or move tiles just by dragging and dropping them

    - 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}.

    @@ -465,9 +464,8 @@ for the user in order to stop unwanted calls and texts from reaching the user through any medium, such as a VOIP endpoint or forwarding phones.

    - 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}.

    Call Screening

    @@ -486,9 +484,8 @@ through any medium, such as a VOIP endpoint or forwarding phones.

    - 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}.

    @@ -780,8 +777,9 @@ impairments to touch the screen. The new API allows building services with features such as face-tracking, eye-tracking, point scanning, and so on, to meet the needs of those users.

    -

    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}. +

    Direct Boot

    @@ -972,9 +970,8 @@ Directory Access developer documentation.

    from the system and from the app in focus. The system retrieves these shortcuts automatically from the app’s menu if the shortcuts exist. You can also provide your own fine-tuned shortcuts lists for the screen. You can do - this by overriding the new 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.

    @@ -1062,37 +1060,32 @@ see the Google VR SDK for An

    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. -

    - -

    FrameMetricsListener API

    +

    Frame Metrics API

    -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},