Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0443aa3b authored by Mateusz Cicheński's avatar Mateusz Cicheński
Browse files

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
parent b8953819
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -11852,6 +11852,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     * <p>
     * <p>
     * @see #setPreferKeepClear
     * @see #setPreferKeepClear
     * @see #getPreferKeepClearRects
     * @see #getPreferKeepClearRects
     *
     * @param rects A list of rects in this view's local coordinate system
     */
     */
    public final void setPreferKeepClearRects(@NonNull List<Rect> rects) {
    public final void setPreferKeepClearRects(@NonNull List<Rect> rects) {
        final ListenerInfo info = getListenerInfo();
        final ListenerInfo info = getListenerInfo();
@@ -11892,6 +11894,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     * @see #setPreferKeepClear
     * @see #setPreferKeepClear
     * @see #getPreferKeepClearRects
     * @see #getPreferKeepClearRects
     *
     *
     * @param rects A list of rects in this view's local coordinate system
     *
     * @hide
     * @hide
     */
     */
    @SystemApi
    @SystemApi