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

* commit '14a60950b24e0ae40f5fa611eb28f0453c3d583c':
  Remove unused methods/variables/fields from Editor.java.
This commit is contained in:
Yohei Yukawa
2015-05-02 01:07:50 +00:00
committed by Android Git Automerger

View File

@@ -1401,12 +1401,11 @@ public class Editor {
InputMethodManager imm = InputMethodManager.peekInstance(); InputMethodManager imm = InputMethodManager.peekInstance();
if (imm != null) { if (imm != null) {
if (imm.isActive(mTextView)) { if (imm.isActive(mTextView)) {
boolean reported = false;
if (ims.mContentChanged || ims.mSelectionModeChanged) { if (ims.mContentChanged || ims.mSelectionModeChanged) {
// We are in extract mode and the content has changed // We are in extract mode and the content has changed
// in some way... just report complete new text to the // in some way... just report complete new text to the
// input method. // input method.
reported = reportExtractedText(); reportExtractedText();
} }
} }
} }
@@ -1923,10 +1922,6 @@ public class Editor {
mSuggestionsPopupWindow.show(); mSuggestionsPopupWindow.show();
} }
boolean areSuggestionsShown() {
return mSuggestionsPopupWindow != null && mSuggestionsPopupWindow.isShowing();
}
void onScrollChanged() { void onScrollChanged() {
if (mPositionListener != null) { if (mPositionListener != null) {
mPositionListener.onScrollChanged(); mPositionListener.onScrollChanged();
@@ -4624,8 +4619,6 @@ public class Editor {
} }
static class InputMethodState { static class InputMethodState {
Rect mCursorRectInWindow = new Rect();
float[] mTmpOffset = new float[2];
ExtractedTextRequest mExtractedTextRequest; ExtractedTextRequest mExtractedTextRequest;
final ExtractedText mExtractedText = new ExtractedText(); final ExtractedText mExtractedText = new ExtractedText();
int mBatchEditNesting; int mBatchEditNesting;