Loading java/src/com/android/inputmethod/latin/CandidateView.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -701,9 +701,9 @@ public class CandidateView extends LinearLayout implements OnClickListener, OnLo mShowingAddToDictionary = false; mShowingAddToDictionary = false; mShowingAutoCorrectionInverted = false; mShowingAutoCorrectionInverted = false; mTouchToSave.setVisibility(GONE); mTouchToSave.setVisibility(GONE); mCandidatesStrip.setVisibility(VISIBLE); mCandidatesStrip.removeAllViews(); mCandidatesStrip.removeAllViews(); mCandidatesPane.removeAllViews(); mCandidatesPane.removeAllViews(); closeCandidatesPane(); } } private void hidePreview() { private void hidePreview() { Loading java/src/com/android/inputmethod/latin/LatinIME.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -580,6 +580,8 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar switcher.updateShiftState(); switcher.updateShiftState(); } } if (mCandidateView != null) mCandidateView.clear(); setSuggestionStripShownInternal(isCandidateStripVisible(), /* needsInputViewShown */ false); setSuggestionStripShownInternal(isCandidateStripVisible(), /* needsInputViewShown */ false); // Delay updating suggestions because keyboard input view may not be shown at this point. // Delay updating suggestions because keyboard input view may not be shown at this point. mHandler.postUpdateSuggestions(); mHandler.postUpdateSuggestions(); Loading Loading
java/src/com/android/inputmethod/latin/CandidateView.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -701,9 +701,9 @@ public class CandidateView extends LinearLayout implements OnClickListener, OnLo mShowingAddToDictionary = false; mShowingAddToDictionary = false; mShowingAutoCorrectionInverted = false; mShowingAutoCorrectionInverted = false; mTouchToSave.setVisibility(GONE); mTouchToSave.setVisibility(GONE); mCandidatesStrip.setVisibility(VISIBLE); mCandidatesStrip.removeAllViews(); mCandidatesStrip.removeAllViews(); mCandidatesPane.removeAllViews(); mCandidatesPane.removeAllViews(); closeCandidatesPane(); } } private void hidePreview() { private void hidePreview() { Loading
java/src/com/android/inputmethod/latin/LatinIME.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -580,6 +580,8 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar switcher.updateShiftState(); switcher.updateShiftState(); } } if (mCandidateView != null) mCandidateView.clear(); setSuggestionStripShownInternal(isCandidateStripVisible(), /* needsInputViewShown */ false); setSuggestionStripShownInternal(isCandidateStripVisible(), /* needsInputViewShown */ false); // Delay updating suggestions because keyboard input view may not be shown at this point. // Delay updating suggestions because keyboard input view may not be shown at this point. mHandler.postUpdateSuggestions(); mHandler.postUpdateSuggestions(); Loading