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

Commit f436e6e8 authored by Yohei Yukawa's avatar Yohei Yukawa Committed by Android Git Automerger
Browse files

am 14a60950: am b6bec1a4: Remove unused methods/variables/fields from Editor.java.

* commit '14a60950':
  Remove unused methods/variables/fields from Editor.java.
parents 107cd552 14a60950
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -1401,12 +1401,11 @@ public class Editor {
            InputMethodManager imm = InputMethodManager.peekInstance();
            if (imm != null) {
                if (imm.isActive(mTextView)) {
                    boolean reported = false;
                    if (ims.mContentChanged || ims.mSelectionModeChanged) {
                        // We are in extract mode and the content has changed
                        // in some way... just report complete new text to the
                        // input method.
                        reported = reportExtractedText();
                        reportExtractedText();
                    }
                }
            }
@@ -1923,10 +1922,6 @@ public class Editor {
        mSuggestionsPopupWindow.show();
    }

    boolean areSuggestionsShown() {
        return mSuggestionsPopupWindow != null && mSuggestionsPopupWindow.isShowing();
    }

    void onScrollChanged() {
        if (mPositionListener != null) {
            mPositionListener.onScrollChanged();
@@ -4624,8 +4619,6 @@ public class Editor {
    }

    static class InputMethodState {
        Rect mCursorRectInWindow = new Rect();
        float[] mTmpOffset = new float[2];
        ExtractedTextRequest mExtractedTextRequest;
        final ExtractedText mExtractedText = new ExtractedText();
        int mBatchEditNesting;