Home
last modified time | relevance | path

Searched refs:reqModes (Results 1 – 1 of 1) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DCapsModeUtils.java103 public static int getCapsMode(final CharSequence cs, final int reqModes, in getCapsMode() argument
118 if ((reqModes & (TextUtils.CAP_MODE_WORDS | TextUtils.CAP_MODE_SENTENCES)) == 0) { in getCapsMode()
121 return TextUtils.CAP_MODE_CHARACTERS & reqModes; in getCapsMode()
170 return (TextUtils.CAP_MODE_CHARACTERS | TextUtils.CAP_MODE_WORDS) & reqModes; in getCapsMode()
177 | TextUtils.CAP_MODE_SENTENCES) & reqModes; in getCapsMode()
182 return TextUtils.CAP_MODE_CHARACTERS & reqModes; in getCapsMode()
184 if ((reqModes & TextUtils.CAP_MODE_SENTENCES) == 0) { in getCapsMode()
188 return (TextUtils.CAP_MODE_CHARACTERS | TextUtils.CAP_MODE_WORDS) & reqModes; in getCapsMode()
214 if (j <= 0) return TextUtils.CAP_MODE_CHARACTERS & reqModes; in getCapsMode()
226 | TextUtils.CAP_MODE_SENTENCES) & reqModes; in getCapsMode()
[all …]