Searched defs:hasSpaceBefore (Results 1 - 3 of 3) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
H A DCapsModeUtilsTests.java32 final int mask, final SpacingAndPunctuations sp, final boolean hasSpaceBefore) {
35 CapsModeUtils.getCapsMode(cs, mask, sp, hasSpaceBefore));
39 final SpacingAndPunctuations sp, final boolean hasSpaceBefore) {
43 onePathForCaps(cs, expectedResult, c | w | s, sp, hasSpaceBefore);
44 onePathForCaps(cs, expectedResult, w | s, sp, hasSpaceBefore);
45 onePathForCaps(cs, expectedResult, c | s, sp, hasSpaceBefore);
46 onePathForCaps(cs, expectedResult, c | w, sp, hasSpaceBefore);
47 onePathForCaps(cs, expectedResult, c, sp, hasSpaceBefore);
48 onePathForCaps(cs, expectedResult, w, sp, hasSpaceBefore);
49 onePathForCaps(cs, expectedResult, s, sp, hasSpaceBefore);
31 onePathForCaps(final CharSequence cs, final int expectedResult, final int mask, final SpacingAndPunctuations sp, final boolean hasSpaceBefore) argument
38 allPathsForCaps(final CharSequence cs, final int expectedResult, final SpacingAndPunctuations sp, final boolean hasSpaceBefore) argument
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DCapsModeUtils.java96 * @param hasSpaceBefore Whether we should consider there is a space inserted at the end of cs
104 final SpacingAndPunctuations spacingAndPunctuations, final boolean hasSpaceBefore) {
131 if (hasSpaceBefore) {
152 if (hasSpaceBefore) --j;
103 getCapsMode(final CharSequence cs, final int reqModes, final SpacingAndPunctuations spacingAndPunctuations, final boolean hasSpaceBefore) argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DRichInputConnection.java359 * @param hasSpaceBefore if we should consider there should be a space after the string.
363 final SpacingAndPunctuations spacingAndPunctuations, final boolean hasSpaceBefore) {
369 if (hasSpaceBefore) {
393 spacingAndPunctuations, hasSpaceBefore);
362 getCursorCapsMode(final int inputType, final SpacingAndPunctuations spacingAndPunctuations, final boolean hasSpaceBefore) argument

Completed in 117 milliseconds