Home | History | Annotate | Download | only in latin

Lines Matching defs:caps

30      * Apply an auto-caps mode to a string.
32 * This intentionally does NOT apply manual caps mode. It only changes the capitalization if
33 * the mode is one of the auto-caps modes.
51 * Return whether a constant represents an auto-caps mode (either auto-shift or auto-shift-lock)
53 * @return true if this represents an auto-caps mode, false otherwise
61 * Determine what caps mode should be in effect at the current offset in
63 * checked. Note that the caps mode flags here are explicitly defined
69 * @param cs The text that should be checked for caps modes.
201 // whitespace => end with no caps (it was a stand-alone period)
202 // otherwise => end with caps (several periods/symbols in a row)
206 // otherwise => end with caps (it was a word with a full stop at the end)
209 // otherwise => end with caps (it was not an abbreviation)
213 // otherwise => end with no caps (it was an abbreviation)
221 final int caps = (TextUtils.CAP_MODE_CHARACTERS | TextUtils.CAP_MODE_WORDS
234 return caps;
243 return caps;
250 return caps;
264 return (START == state || LETTER == state) ? noCaps : caps;