Add a description to the params of keep clear rects APIs.

This should make it more clear that the rects passed to these methods are in local coordinate
system of the view.

Bug: 183746978
Test: n/a

Change-Id: I1cce8d9707a9a861da802d52c6027768b8af930d
This commit is contained in:
Mateusz Cicheński
2022-04-15 06:09:28 +00:00
parent b8953819a3
commit 0443aa3b79

View File

@@ -11852,6 +11852,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
* <p>
* @see #setPreferKeepClear
* @see #getPreferKeepClearRects
*
* @param rects A list of rects in this view's local coordinate system
*/
public final void setPreferKeepClearRects(@NonNull List<Rect> rects) {
final ListenerInfo info = getListenerInfo();
@@ -11892,6 +11894,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
* @see #setPreferKeepClear
* @see #getPreferKeepClearRects
*
* @param rects A list of rects in this view's local coordinate system
*
* @hide
*/
@SystemApi