/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | Dictionary.java | 111 public boolean isValidWord(final String word) { in isValidWord() 118 abstract public boolean isInDictionary(final String word); in isInDictionary() 124 public int getFrequency(final String word) { in getFrequency() 132 public int getMaxFrequencyOfExactMatches(final String word) { in getMaxFrequencyOfExactMatches() 144 protected boolean same(final char[] word, final int length, final String typedWord) { in same() 212 public boolean isInDictionary(String word) { in isInDictionary()
|
D | ReadOnlyBinaryDictionary.java | 71 public boolean isInDictionary(final String word) { in isInDictionary() 95 public int getFrequency(final String word) { in getFrequency() 107 public int getMaxFrequencyOfExactMatches(final String word) { in getMaxFrequencyOfExactMatches()
|
D | BinaryDictionary.java | 181 private static native int getProbabilityNative(long dict, int[] word); in getProbabilityNative() 182 private static native int getMaxProbabilityOfExactMatchesNative(long dict, int[] word); in getMaxProbabilityOfExactMatchesNative() 184 boolean[] isBeginningOfSentenceArray, int[] word); in getNgramProbabilityNative() 185 private static native void getWordPropertyNative(long dict, int[] word, in getWordPropertyNative() 201 private static native boolean addUnigramEntryNative(long dict, int[] word, int probability, in addUnigramEntryNative() 204 private static native boolean removeUnigramEntryNative(long dict, int[] word); in removeUnigramEntryNative() 207 int[] word, int probability, int timestamp); in addNgramEntryNative() 209 int[][] prevWordCodePointArrays, boolean[] isBeginningOfSentenceArray, int[] word); in removeNgramEntryNative() 212 int[] word, boolean isValidWord, int count, int timestamp); in updateEntriesForWordWithNgramContextNative() 352 public boolean isInDictionary(final String word) { in isInDictionary() [all …]
|
D | ExpandableBinaryDictionary.java | 297 public void addUnigramEntry(final String word, final int frequency, in addUnigramEntry() 307 protected void addUnigramLocked(final String word, final int frequency, in addUnigramLocked() 318 public void removeUnigramEntryDynamically(final String word) { in removeUnigramEntryDynamically() 340 public void addNgramEntry(@Nonnull final NgramContext ngramContext, final String word, in addNgramEntry() 355 protected void addNgramEntryLocked(@Nonnull final NgramContext ngramContext, final String word, in addNgramEntryLocked() 369 final String word, final boolean isValidWord, final int count, final int timestamp) { in updateEntriesForWord() 464 public boolean isInDictionary(final String word) { in isInDictionary() 486 protected boolean isInDictionaryLocked(final String word) { in isInDictionaryLocked() 492 public int getMaxFrequencyOfExactMatches(final String word) { in getMaxFrequencyOfExactMatches()
|
D | DictionaryCollection.java | 86 public boolean isInDictionary(final String word) { in isInDictionary() 93 public int getFrequency(final String word) { in getFrequency() 103 public int getMaxFrequencyOfExactMatches(final String word) { in getMaxFrequencyOfExactMatches()
|
D | DictionaryFacilitator.java | 155 void unlearnFromUserHistory(final String word, in unlearnFromUserHistory() 165 boolean isValidSpellingWord(final String word); in isValidSpellingWord() 167 boolean isValidSuggestionWord(final String word); in isValidSuggestionWord()
|
D | DictionaryFacilitatorImpl.java | 543 final NgramContext ngramContext, final String word, final boolean wasAutoCapitalized, in addWordToUserHistory() 593 private void removeWord(final String dictName, final String word) { in removeWord() 601 public void unlearnFromUserHistory(final String word, in unlearnFromUserHistory() 645 public boolean isValidSpellingWord(final String word) { in isValidSpellingWord() 656 public boolean isValidSuggestionWord(final String word) { in isValidSuggestionWord() 660 private boolean isValidWord(final String word, final String[] dictionariesToCheck) { in isValidWord() 680 private int getFrequency(final String word) { in getFrequency()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | WeightedString.java | 32 public WeightedString(final String word, final int probability) { in WeightedString() 36 public WeightedString(final String word, final ProbabilityInfo probabilityInfo) { in WeightedString()
|
D | WordProperty.java | 51 public WordProperty(final String word, final ProbabilityInfo probabilityInfo, in WordProperty() 136 private static int computeHashCode(WordProperty word) { in computeHashCode()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | UserDictionaryCompatUtils.java | 28 public static void addWord(final Context context, final String word, in addWord() 44 private static void addWordWithShortcut(final Context context, final String word, in addWordWithShortcut()
|
D | SuggestionSpanUtils.java | 90 final String word = suggestedWords.getWord(i); in getTextWithSuggestionSpan() local
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | LatinImeStressTests.java | 39 final String word = CodePointUtils.generateWord(random, codePointSet); in testSwitchLanguagesAndInputLatinRandomCodePoints() local 57 final String word = CodePointUtils.generateWord(random, codePointSet); in testSwitchLanguagesAndInputRandomCodePoints() local
|
D | BinaryDictionaryTests.java | 189 private static void addUnigramWord(final BinaryDictionary binaryDictionary, final String word, in addUnigramWord() 266 final String word = CodePointUtils.generateWord(random, codePointSet); in testRandomlyAddUnigramWord() local 347 final String word = CodePointUtils.generateWord(random, codePointSet); in testRandomlyAddBigramWords() local 489 final String word = CodePointUtils.generateWord(random, codePointSet); in testAddBigramWordsAndFlashWithGC() local 551 final String word = CodePointUtils.generateWord(random, codePointSet); in testRandomOperationsAndFlashWithGC() local 565 final String word = CodePointUtils.generateWord(random, codePointSet); in testRandomOperationsAndFlashWithGC() local 595 final String word = words.get(i); in testRandomOperationsAndFlashWithGC() local 637 final String word = CodePointUtils.generateWord(random, codePointSet); in testAddManyUnigramsAndFlushWithGC() local 645 final String word = words.get(j); in testAddManyUnigramsAndFlushWithGC() local 680 final String word = CodePointUtils.generateWord(random, codePointSet); in testUnigramAndBigramCount() local [all …]
|
D | SuggestedWordsTests.java | 45 private static SuggestedWordInfo createTypedWordInfo(final String word) { in createTypedWordInfo() 62 private static SuggestedWordInfo createCorrectionWordInfo(final String word) { in createCorrectionWordInfo()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
D | UserHistoryDictionary.java | 100 @Nonnull final NgramContext ngramContext, final String word, final boolean isValid, in addToDictionary() 132 public boolean isValidWord(final String word) { in isValidWord()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | UserDictionaryCursorLoader.java | 88 final String word = candidate.getString(1); in loadInBackground() local
|
D | UserDictionaryAddWordContents.java | 65 final String word = args.getString(EXTRA_WORD); in UserDictionaryAddWordContents() local 176 private boolean hasWord(final String word, final Context context) { in hasWord()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/ |
D | UserDictionaryCursorLoader.java | 88 final String word = candidate.getString(1); in loadInBackground() local
|
D | UserDictionaryAddWordContents.java | 65 final String word = args.getString(EXTRA_WORD); in UserDictionaryAddWordContents() local 176 private boolean hasWord(final String word, final Context context) { in hasWord()
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 264 jintArray word) { in latinime_BinaryDictionary_getProbability() 274 JNIEnv *env, jclass clazz, jlong dict, jintArray word) { in latinime_BinaryDictionary_getMaxProbabilityOfExactMatches() 286 jintArray word) { in latinime_BinaryDictionary_getNgramProbability() 329 jlong dict, jintArray word, jboolean isBeginningOfSentence, jintArray outCodePoints, in latinime_BinaryDictionary_getWordProperty() 360 jintArray word, jint probability, jintArray shortcutTarget, jint shortcutProbability, in latinime_BinaryDictionary_addUnigramEntry() 387 jintArray word) { in latinime_BinaryDictionary_removeUnigramEntry() 400 jintArray word, jint probability, jint timestamp) { in latinime_BinaryDictionary_addNgramEntry() 420 jintArray word) { in latinime_BinaryDictionary_removeNgramEntry() 437 jbooleanArray isBeginningOfSentenceArray, jintArray word, jboolean isValidWord, jint count, in latinime_BinaryDictionary_updateEntriesForWordWithNgramContext()
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | Info.java | 58 private static void showWordInfo(final FusionDictionary dict, final String word) { in showWordInfo()
|
D | Diff.java | 156 private static boolean hasAttributesDifferencesAndPrintThemIfAny(final String word, in hasAttributesDifferencesAndPrintThemIfAny()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | FusionDictionary.java | 168 public void addBigram(final String word, final ProbabilityInfo probabilityInfo) { in addBigram() 185 public WeightedString getBigram(final String word) { in getBigram() 245 static int[] getCodePoints(final String word) { in getCodePoints() 274 public void add(final String word, final ProbabilityInfo probabilityInfo, in add() 333 private void add(final int[] word, final ProbabilityInfo probabilityInfo, in add()
|
D | AbstractDictDecoder.java | 35 public int getTerminalPosition(final String word) in getTerminalPosition()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
D | UserDictionaryAddWordContents.java | 80 final String word = args.getString(EXTRA_WORD); in UserDictionaryAddWordContents() local 199 private boolean hasWord(final String word, final Context context) { in hasWord()
|