OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:typedWord
(Results
1 - 10
of
10
) sorted by null
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DistracterFilterTest.java
57
String
typedWord
;
59
typedWord
= "Bill";
62
EMPTY_PREV_WORDS_INFO,
typedWord
, localeEnUs));
64
typedWord
= "nOt";
67
EMPTY_PREV_WORDS_INFO,
typedWord
, localeEnUs));
69
typedWord
= "youre";
72
EMPTY_PREV_WORDS_INFO,
typedWord
, localeEnUs));
74
typedWord
= "Banana";
77
EMPTY_PREV_WORDS_INFO,
typedWord
, localeEnUs));
79
typedWord
= "orange"
[
all
...]
SuggestedWordsTests.java
140
final SuggestedWordInfo
typedWord
= wordsWithTypedWord.getTypedWordInfoOrNull();
141
assertNotNull(
typedWord
);
142
assertEquals(TYPED_WORD,
typedWord
.mWord);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
AutoCorrectionUtils.java
63
public static boolean shouldBlockAutoCorrectionBySafetyNet(final String
typedWord
,
71
final int typedWordLength =
typedWord
.length();
76
final int distance = BinaryDictionaryUtils.editDistance(
typedWord
, suggestion);
83
Log.e(TAG, "Safety net: before = " +
typedWord
+ ", after = " + suggestion);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
Dictionary.java
116
* @param
typedWord
the word to compare with
119
protected boolean same(final char[] word, final int length, final String
typedWord
) {
120
if (
typedWord
.length() != length) {
124
if (word[i] !=
typedWord
.charAt(i)) {
SuggestedWords.java
91
final String
typedWord
,
104
mTypedWord =
typedWord
;
193
final String
typedWord
, final SuggestedWords previousSuggestions) {
196
suggestionsList.add(new SuggestedWordInfo(
typedWord
, SuggestedWordInfo.MAX_SCORE,
200
alreadySeen.add(
typedWord
.toString());
347
public static boolean removeDups(final String
typedWord
,
353
if (!TextUtils.isEmpty(
typedWord
)) {
354
didRemoveTypedWord = removeSuggestedWordInfoFrom(
typedWord
, candidates,
395
String
typedWord
= null;
401
assert(null ==
typedWord
);
[
all
...]
LastComposedWord.java
65
final InputPointers inputPointers, final String
typedWord
,
71
mTypedWord =
typedWord
;
Suggest.java
126
final String
typedWord
= wordComposer.getTypedWord();
127
final int trailingSingleQuotesCount = StringUtils.getTrailingSingleQuotesCount(
typedWord
);
129
?
typedWord
.substring(0,
typedWord
.length() - trailingSingleQuotesCount)
130
:
typedWord
;
174
if (!TextUtils.isEmpty(
typedWord
)) {
175
suggestionsContainer.add(0, new SuggestedWordInfo(
typedWord
,
184
suggestionsList = getSuggestionsInfoListWithDebugInfo(
typedWord
, suggestionsContainer);
237
SuggestedWordInfo.removeDups(null /*
typedWord
*/, suggestionsContainer);
260
final String
typedWord
, final ArrayList<SuggestedWordInfo> suggestions)
[
all
...]
WordComposer.java
148
final String
typedWord
= mTypedWordCache.toString();
150
final int lastIndex =
typedWord
.length()
151
- StringUtils.getTrailingSingleQuotesCount(
typedWord
);
159
final int codePointSize = Character.codePointCount(
typedWord
, 0, lastIndex);
163
return StringUtils.copyCodePointsAndReturnCodePointCount(destination,
typedWord
, 0,
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
AccessibilityUtils.java
155
* @param
typedWord
the currently typed word
157
public void setAutoCorrection(final SuggestedWords suggestedWords, final String
typedWord
) {
160
mTypedWord =
typedWord
;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
InputLogic.java
[
all
...]
Completed in 646 milliseconds