diff options
author | 2012-05-11 03:33:42 -0700 | |
---|---|---|
committer | 2012-05-11 03:33:42 -0700 | |
commit | 9978953e29dbcd65c377a7589ad0d75e3ff4fe1a (patch) | |
tree | 7a01fcad07c395505377389c28e7c0e8f2926f10 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 59f091875c2a908291636d1ddb1788efee49c327 (diff) | |
parent | 6792a909cd0da3db6a957cb2576b4d08f46a53b7 (diff) | |
download | latinime-9978953e29dbcd65c377a7589ad0d75e3ff4fe1a.tar.gz latinime-9978953e29dbcd65c377a7589ad0d75e3ff4fe1a.tar.xz latinime-9978953e29dbcd65c377a7589ad0d75e3ff4fe1a.zip |
am 6792a909: Merge "Output caps debug code" into jb-dev
* commit '6792a909cd0da3db6a957cb2576b4d08f46a53b7':
Output caps debug code
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index e8211aecf..fd8f7827f 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -635,6 +635,12 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen Log.d(TAG, "onStartInputView: editorInfo:" + String.format("inputType=0x%08x imeOptions=0x%08x", 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) { ResearchLogger.latinIME_onStartInputViewInternal(editorInfo, mPrefs); |