Output caps debug code
Change-Id: I4a3399d9066bd28dab893ecebb720924110b871d
This commit is contained in:
parent
88794b24c0
commit
b6fb5eb391
1 changed files with 6 additions and 0 deletions
|
@ -635,6 +635,12 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||||
Log.d(TAG, "onStartInputView: editorInfo:"
|
Log.d(TAG, "onStartInputView: editorInfo:"
|
||||||
+ String.format("inputType=0x%08x imeOptions=0x%08x",
|
+ String.format("inputType=0x%08x imeOptions=0x%08x",
|
||||||
editorInfo.inputType, editorInfo.imeOptions));
|
editorInfo.inputType, editorInfo.imeOptions));
|
||||||
|
Log.d(TAG, "All caps = "
|
||||||
|
+ ((editorInfo.inputType & InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS) != 0)
|
||||||
|
+ ", sentence caps = "
|
||||||
|
+ ((editorInfo.inputType & InputType.TYPE_TEXT_FLAG_CAP_SENTENCES) != 0)
|
||||||
|
+ ", word caps = "
|
||||||
|
+ ((editorInfo.inputType & InputType.TYPE_TEXT_FLAG_CAP_WORDS) != 0));
|
||||||
}
|
}
|
||||||
if (ProductionFlag.IS_EXPERIMENTAL) {
|
if (ProductionFlag.IS_EXPERIMENTAL) {
|
||||||
ResearchLogger.latinIME_onStartInputViewInternal(editorInfo, mPrefs);
|
ResearchLogger.latinIME_onStartInputViewInternal(editorInfo, mPrefs);
|
||||||
|
|
Loading…
Reference in a new issue