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

Commit 52c7ba17 authored by Gilles Debunne's avatar Gilles Debunne
Browse files

Removed updateCursorControllerPositions hidden method.

This method is no longer needed since handles' positions are
updated in onPreDraw.

See CL 100549

Change-Id: I7f95d9850c866935c22ecc49c6f4ce89a87861ae
parent 36198d7b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -51,8 +51,8 @@ import android.view.View;
import android.view.ViewConfiguration;
import android.view.ViewGroup;
import android.view.inputmethod.EditorInfo;
import android.view.inputmethod.InputMethodManager;
import android.view.inputmethod.InputConnection;
import android.view.inputmethod.InputMethodManager;
import android.widget.AbsoluteLayout.LayoutParams;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
@@ -515,7 +515,6 @@ import junit.framework.Assert;
            int candEnd = EditableInputConnection.getComposingSpanEnd(sp);
            imm.updateSelection(this, selStart, selEnd, candStart, candEnd);
        }
        updateCursorControllerPositions();
    }

    @Override
+0 −9
Original line number Diff line number Diff line
@@ -4549,15 +4549,6 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
        if (translate) canvas.translate(0, -cursorOffsetVertical);
    }

    /**
     * Update the positions of the CursorControllers.  Needed by WebTextView,
     * which does not draw.
     * @hide
     */
    protected void updateCursorControllerPositions() {
        // TODO remove
    }

    @Override
    public void getFocusedRect(Rect r) {
        if (mLayout == null) {