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

Commit 335c4e6c authored by Gilles Debunne's avatar Gilles Debunne
Browse files

Broken build. New methods made private.

Change-Id: Ia123ab4ddb1fe93bcd053c3ea5bf6b87c7204640
parent 58d89539
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -9383,7 +9383,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
        }
        }
    }
    }


    public boolean isPositionVisible(int positionX, int positionY) {
    private boolean isPositionVisible(int positionX, int positionY) {
        synchronized (sTmpPosition) {
        synchronized (sTmpPosition) {
            final float[] position = sTmpPosition;
            final float[] position = sTmpPosition;
            position[0] = positionX;
            position[0] = positionX;
@@ -9423,7 +9423,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
        return true;
        return true;
    }
    }


    public boolean isOffsetVisible(int offset) {
    private boolean isOffsetVisible(int offset) {
        final int line = mLayout.getLineForOffset(offset);
        final int line = mLayout.getLineForOffset(offset);
        final int lineBottom = mLayout.getLineBottom(line);
        final int lineBottom = mLayout.getLineBottom(line);
        final int primaryHorizontal = (int) mLayout.getPrimaryHorizontal(offset);
        final int primaryHorizontal = (int) mLayout.getPrimaryHorizontal(offset);