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

Commit a5340208 authored by John Reck's avatar John Reck
Browse files

An update on dirty rect invalidates

Bug: 67104277
Test: looked at docs
Change-Id: Ieb97c73bb8d63fddb232534e54091a73303e2258
parent 141bd929
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -45964,8 +45964,8 @@ package android.view {
    method public boolean hasTransientState();
    method public boolean hasWindowFocus();
    method public static android.view.View inflate(android.content.Context, int, android.view.ViewGroup);
    method public void invalidate(android.graphics.Rect);
    method public void invalidate(int, int, int, int);
    method public deprecated void invalidate(android.graphics.Rect);
    method public deprecated void invalidate(int, int, int, int);
    method public void invalidate();
    method public void invalidateDrawable(android.graphics.drawable.Drawable);
    method public void invalidateOutline();
+2 −2
Original line number Diff line number Diff line
@@ -49661,8 +49661,8 @@ package android.view {
    method public boolean hasTransientState();
    method public boolean hasWindowFocus();
    method public static android.view.View inflate(android.content.Context, int, android.view.ViewGroup);
    method public void invalidate(android.graphics.Rect);
    method public void invalidate(int, int, int, int);
    method public deprecated void invalidate(android.graphics.Rect);
    method public deprecated void invalidate(int, int, int, int);
    method public void invalidate();
    method public void invalidateDrawable(android.graphics.drawable.Drawable);
    method public void invalidateOutline();
+2 −2
Original line number Diff line number Diff line
@@ -46504,8 +46504,8 @@ package android.view {
    method public boolean hasTransientState();
    method public boolean hasWindowFocus();
    method public static android.view.View inflate(android.content.Context, int, android.view.ViewGroup);
    method public void invalidate(android.graphics.Rect);
    method public void invalidate(int, int, int, int);
    method public deprecated void invalidate(android.graphics.Rect);
    method public deprecated void invalidate(int, int, int, int);
    method public void invalidate();
    method public void invalidateDrawable(android.graphics.drawable.Drawable);
    method public void invalidateOutline();
+12 −0
Original line number Diff line number Diff line
@@ -15529,7 +15529,13 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     * {@code dirty}.
     *
     * @param dirty the rectangle representing the bounds of the dirty region
     *
     * @deprecated The switch to hardware accelerated rendering in API 14 reduced
     * the importance of the dirty rectangle. In API 21 the given rectangle is
     * ignored entirely in favor of an internally-calculated area instead.
     * Because of this, clients are encouraged to just call {@link #invalidate()}.
     */
    @Deprecated
    public void invalidate(Rect dirty) {
        final int scrollX = mScrollX;
        final int scrollY = mScrollY;
@@ -15550,7 +15556,13 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     * @param t the top position of the dirty region
     * @param r the right position of the dirty region
     * @param b the bottom position of the dirty region
     *
     * @deprecated The switch to hardware accelerated rendering in API 14 reduced
     * the importance of the dirty rectangle. In API 21 the given rectangle is
     * ignored entirely in favor of an internally-calculated area instead.
     * Because of this, clients are encouraged to just call {@link #invalidate()}.
     */
    @Deprecated
    public void invalidate(int l, int t, int r, int b) {
        final int scrollX = mScrollX;
        final int scrollY = mScrollY;