Lines Matching refs:TextUtils
20 import android.text.TextUtils;
86 * This code is a straight copy of TextUtils.getCapsMode (modulo namespace and formatting
91 * {@link TextUtils#CAP_MODE_CHARACTERS}, {@link TextUtils#CAP_MODE_WORDS}, and
92 * {@link TextUtils#CAP_MODE_SENTENCES}.
98 * {@link TextUtils#CAP_MODE_CHARACTERS}, {@link TextUtils#CAP_MODE_WORDS}, and
99 * {@link TextUtils#CAP_MODE_SENTENCES}.
116 if ((reqModes & (TextUtils.CAP_MODE_WORDS | TextUtils.CAP_MODE_SENTENCES)) == 0) {
119 return TextUtils.CAP_MODE_CHARACTERS & reqModes;
168 return (TextUtils.CAP_MODE_CHARACTERS | TextUtils.CAP_MODE_WORDS) & reqModes;
174 return (TextUtils.CAP_MODE_CHARACTERS | TextUtils.CAP_MODE_WORDS
175 | TextUtils.CAP_MODE_SENTENCES) & reqModes;
180 return TextUtils.CAP_MODE_CHARACTERS & reqModes;
182 if ((reqModes & TextUtils.CAP_MODE_SENTENCES) == 0) {
186 return (TextUtils.CAP_MODE_CHARACTERS | TextUtils.CAP_MODE_WORDS) & reqModes;
212 if (j <= 0) return TextUtils.CAP_MODE_CHARACTERS & reqModes;
220 return (TextUtils.CAP_MODE_CHARACTERS | TextUtils.CAP_MODE_SENTENCES) & reqModes;
223 return (TextUtils.CAP_MODE_CHARACTERS | TextUtils.CAP_MODE_WORDS) & reqModes;
262 final int caps = (TextUtils.CAP_MODE_CHARACTERS | TextUtils.CAP_MODE_WORDS
263 | TextUtils.CAP_MODE_SENTENCES) & reqModes;
264 final int noCaps = (TextUtils.CAP_MODE_CHARACTERS | TextUtils.CAP_MODE_WORDS) & reqModes;