Pretty print for InputAttributes
Change-Id: I5e4b2b6f3cd943c8f6187aaed21d67ec786bf5dfmain
parent
80b66bb166
commit
6fa003ee23
|
@ -100,4 +100,13 @@ public class InputAttributes {
|
||||||
mApplicationSpecifiedCompletionOn = flagAutoComplete && isFullscreenMode;
|
mApplicationSpecifiedCompletionOn = flagAutoComplete && isFullscreenMode;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Pretty print
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "\n mInsertSpaceOnPickSuggestionManually = " + mInsertSpaceOnPickSuggestionManually
|
||||||
|
+ "\n mInputTypeNoAutoCorrect = " + mInputTypeNoAutoCorrect
|
||||||
|
+ "\n mIsSettingsSuggestionStripOn = " + mIsSettingsSuggestionStripOn
|
||||||
|
+ "\n mApplicationSpecifiedCompletionOn = " + mApplicationSpecifiedCompletionOn;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2458,12 +2458,9 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
||||||
p.println(" mCorrectionMode=" + mCorrectionMode);
|
p.println(" mCorrectionMode=" + mCorrectionMode);
|
||||||
p.println(" mHasUncommittedTypedChars=" + mHasUncommittedTypedChars);
|
p.println(" mHasUncommittedTypedChars=" + mHasUncommittedTypedChars);
|
||||||
p.println(" mAutoCorrectEnabled=" + mSettingsValues.mAutoCorrectEnabled);
|
p.println(" mAutoCorrectEnabled=" + mSettingsValues.mAutoCorrectEnabled);
|
||||||
p.println(" mInsertSpaceOnPickSuggestionManually="
|
|
||||||
+ mInputAttributes.mInsertSpaceOnPickSuggestionManually);
|
|
||||||
p.println(" mApplicationSpecifiedCompletionOn="
|
|
||||||
+ mInputAttributes.mApplicationSpecifiedCompletionOn);
|
|
||||||
p.println(" mSoundOn=" + mSettingsValues.mSoundOn);
|
p.println(" mSoundOn=" + mSettingsValues.mSoundOn);
|
||||||
p.println(" mVibrateOn=" + mSettingsValues.mVibrateOn);
|
p.println(" mVibrateOn=" + mSettingsValues.mVibrateOn);
|
||||||
p.println(" mKeyPreviewPopupOn=" + mSettingsValues.mKeyPreviewPopupOn);
|
p.println(" mKeyPreviewPopupOn=" + mSettingsValues.mKeyPreviewPopupOn);
|
||||||
|
p.println(" mInputAttributes=" + mInputAttributes.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue