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

Commit d09e15e7 authored by Galia Peycheva's avatar Galia Peycheva Committed by Android (Google) Code Review
Browse files

Merge "Add a note to preferKeepClear APIs documentation"

parents c610c3b3 cd6bf71c
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -11785,7 +11785,10 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     * user and that ideally it should not be covered. Setting this is only appropriate for UI
     * where the user would likely take action to uncover it.
     * <p>
     * The system will try to respect this, but when not possible will ignore it.
     * The system will try to respect this preference, but when not possible will ignore it.
     * <p>
     * Note: while this is set to {@code true}, the system will ignore the {@code Rect}s provided
     * through {@link #setPreferKeepClearRects} (but not clear them).
     * <p>
     * @see #setPreferKeepClearRects
     * @see #isPreferKeepClear
@@ -11817,11 +11820,11 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     * user and that ideally they should not be covered. Setting this is only appropriate for UI
     * where the user would likely take action to uncover it.
     * <p>
     * If the whole view is preferred to be clear ({@link #isPreferKeepClear}), the rects set here
     * will be ignored.
     * <p>
     * The system will try to respect this preference, but when not possible will ignore it.
     * <p>
     * Note: While {@link #isPreferKeepClear} is {@code true}, the {@code Rect}s set here are
     * ignored.
     * <p>
     * @see #setPreferKeepClear
     * @see #getPreferKeepClearRects
     */
+1 −1
Original line number Diff line number Diff line
@@ -3364,7 +3364,7 @@
            area for the user and that ideally it should not be covered. Setting this is only
            appropriate for UI where the user would likely take action to uncover it.
            <p>The system will try to respect this, but when not possible will ignore it.
            See {@link android.view.View#setPreferKeepClear}. -->
            <p>This is equivalent to {@link android.view.View#setPreferKeepClear}.-->
        <attr name="preferKeepClear" format="boolean" />
        <!-- <p>Whether or not the auto handwriting initiation is enabled in this View.