Loading java/src/com/android/inputmethod/latin/LatinIME.java +7 −1 Original line number Diff line number Diff line Loading @@ -990,7 +990,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen @SuppressWarnings("deprecation") void onStartInputViewInternal(final EditorInfo editorInfo, final boolean restarting) { super.onStartInputView(editorInfo, restarting); Log.d("xxx", "onStartInputViewInternal "); mDictionaryFacilitator.onStartInput(); // Switch to the null consumer to handle cases leading to early exit below, for which we // also wouldn't be consuming gesture data. Loading Loading @@ -1664,6 +1664,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen private void setSuggestedWords(final SuggestedWords suggestedWords) { final SettingsValues currentSettingsValues = mSettings.getCurrent(); Log.d("xxx", "setSuggestedWords"); mInputLogic.setSuggestedWords(suggestedWords); // TODO: Modify this when we support suggestions with hard keyboard if (!hasSuggestionStripView()) { Loading @@ -1685,6 +1686,11 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen final boolean shouldShowSuggestionsStrip = shouldShowSuggestionsStripUnlessPassword && !currentSettingsValues.mInputAttributes.mIsPasswordField; mSuggestionStripView.updateVisibility(shouldShowSuggestionsStrip, isFullscreenMode()); Log.d("xxx", "setSuggestedWords >" + shouldShowSuggestionsStrip); Log.d("xxx", "setSuggestedWords currentSettingsValues.mInputAttributes.mShouldShowSuggestions>" + currentSettingsValues.mInputAttributes.mShouldShowSuggestions); Log.d("xxx", "setSuggestedWords currentSettingsValues.mInputAttributes.mIsPasswordField>" + currentSettingsValues.mInputAttributes.mIsPasswordField); if (!shouldShowSuggestionsStrip) { return; } Loading Loading
java/src/com/android/inputmethod/latin/LatinIME.java +7 −1 Original line number Diff line number Diff line Loading @@ -990,7 +990,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen @SuppressWarnings("deprecation") void onStartInputViewInternal(final EditorInfo editorInfo, final boolean restarting) { super.onStartInputView(editorInfo, restarting); Log.d("xxx", "onStartInputViewInternal "); mDictionaryFacilitator.onStartInput(); // Switch to the null consumer to handle cases leading to early exit below, for which we // also wouldn't be consuming gesture data. Loading Loading @@ -1664,6 +1664,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen private void setSuggestedWords(final SuggestedWords suggestedWords) { final SettingsValues currentSettingsValues = mSettings.getCurrent(); Log.d("xxx", "setSuggestedWords"); mInputLogic.setSuggestedWords(suggestedWords); // TODO: Modify this when we support suggestions with hard keyboard if (!hasSuggestionStripView()) { Loading @@ -1685,6 +1686,11 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen final boolean shouldShowSuggestionsStrip = shouldShowSuggestionsStripUnlessPassword && !currentSettingsValues.mInputAttributes.mIsPasswordField; mSuggestionStripView.updateVisibility(shouldShowSuggestionsStrip, isFullscreenMode()); Log.d("xxx", "setSuggestedWords >" + shouldShowSuggestionsStrip); Log.d("xxx", "setSuggestedWords currentSettingsValues.mInputAttributes.mShouldShowSuggestions>" + currentSettingsValues.mInputAttributes.mShouldShowSuggestions); Log.d("xxx", "setSuggestedWords currentSettingsValues.mInputAttributes.mIsPasswordField>" + currentSettingsValues.mInputAttributes.mIsPasswordField); if (!shouldShowSuggestionsStrip) { return; } Loading