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

* commit 'b6bec1a403fd3efc59acb2c2206aaf6b6840c2f1':
  Remove unused methods/variables/fields from Editor.java.
This commit is contained in:
Yohei Yukawa
2015-05-02 00:46:30 +00:00
committed by Android Git Automerger

View File

@@ -1402,12 +1402,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();
}
}
}
@@ -1924,10 +1923,6 @@ public class Editor {
mSuggestionsPopupWindow.show();
}
boolean areSuggestionsShown() {
return mSuggestionsPopupWindow != null && mSuggestionsPopupWindow.isShowing();
}
void onScrollChanged() {
if (mPositionListener != null) {
mPositionListener.onScrollChanged();
@@ -4625,8 +4620,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;