summaryrefslogtreecommitdiff
path: root/core/java/android/view/Surface.java
diff options
context:
space:
mode:
authorSteven Thomas <steventhomas@google.com>2020-03-26 21:27:54 -0700
committerSteven Thomas <steventhomas@google.com>2020-03-26 21:47:56 -0700
commit4528b333db8da9ab44c449f42bd19754121a0041 (patch)
tree3d999f33b1b8227df1f5660a4cdd30964b324a8a /core/java/android/view/Surface.java
parent2279fd5f469d16da8e458f3bec6a1a072fc296f3 (diff)
Clean up some formatting problems in the setFrameRate sdk docs
Bug: 152413112 Test: Built the sdk docs locally, confirmed they look correct. Change-Id: Ia7286958b582e6d0eb776c4ebeff6072dabc723e
Diffstat (limited to 'core/java/android/view/Surface.java')
-rw-r--r--core/java/android/view/Surface.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/core/java/android/view/Surface.java b/core/java/android/view/Surface.java
index 13d6dd67bb19..d12ca73599f3 100644
--- a/core/java/android/view/Surface.java
+++ b/core/java/android/view/Surface.java
@@ -871,24 +871,24 @@ public class Surface implements Parcelable {
/**
* Sets the intended frame rate for this surface.
*
- * On devices that are capable of running the display at different refresh rates, the
- * system may choose a display refresh rate to better match this surface's frame
+ * <p>On devices that are capable of running the display at different refresh rates,
+ * the system may choose a display refresh rate to better match this surface's frame
* rate. Usage of this API won't introduce frame rate throttling, or affect other
* aspects of the application's frame production pipeline. However, because the system
* may change the display refresh rate, calls to this function may result in changes
* to Choreographer callback timings, and changes to the time interval at which the
- * system releases buffers back to the application.
+ * system releases buffers back to the application.</p>
*
- * Note that this only has an effect for surfaces presented on the display. If this
+ * <p>Note that this only has an effect for surfaces presented on the display. If this
* surface is consumed by something other than the system compositor, e.g. a media
- * codec, this call has no effect.
+ * codec, this call has no effect.</p>
*
* @param frameRate The intended frame rate of this surface, in frames per second. 0
* is a special value that indicates the app will accept the system's choice for the
* display frame rate, which is the default behavior if this function isn't
- * called. The frameRate param does *not* need to be a valid refresh rate for this
- * device's display - e.g., it's fine to pass 30fps to a device that can only run the
- * display at 60fps.
+ * called. The frameRate param does <em>not</em> need to be a valid refresh rate for
+ * this device's display - e.g., it's fine to pass 30fps to a device that can only run
+ * the display at 60fps.
*
* @param compatibility The frame rate compatibility of this surface. The
* compatibility value may influence the system's choice of display frame rate. See