OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DictionaryInfoUtils
(Results
1 - 7
of
7
) sorted by null
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DictionaryInfoUtilsTests.java
39
assertTrue(
DictionaryInfoUtils
.looksValidForDictionaryInsertion("aochaueo", sp));
40
assertFalse(
DictionaryInfoUtils
.looksValidForDictionaryInsertion("", sp));
41
assertTrue(
DictionaryInfoUtils
.looksValidForDictionaryInsertion("ao-ch'aueo", sp));
42
assertFalse(
DictionaryInfoUtils
.looksValidForDictionaryInsertion("2908743256", sp));
43
assertTrue(
DictionaryInfoUtils
.looksValidForDictionaryInsertion("31aochaueo", sp));
44
assertFalse(
DictionaryInfoUtils
.looksValidForDictionaryInsertion("akeo raeoch oerch .",
46
assertFalse(
DictionaryInfoUtils
.looksValidForDictionaryInsertion("!!!", sp));
51
DictionaryInfoUtils
.getMainDictId(LocaleUtils.constructLocaleFromString("en")));
53
DictionaryInfoUtils
.getMainDictId(LocaleUtils.constructLocaleFromString("en_US")));
55
DictionaryInfoUtils
.getMainDictId(LocaleUtils.constructLocaleFromString("en_GB")))
[
all
...]
/packages/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/utils/
DictionaryHeaderUtils.java
27
final DictionaryHeader header =
DictionaryInfoUtils
.getDictionaryFileHeaderOrNull(
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
BinaryDictionaryGetter.java
29
import com.android.inputmethod.latin.utils.
DictionaryInfoUtils
;
76
final String safeId =
DictionaryInfoUtils
.replaceFileNameDangerousCharacters(id);
77
final File directory = new File(
DictionaryInfoUtils
.getWordListTempDirectory(context));
167
final File[] directoryList =
DictionaryInfoUtils
.getCachedDirectoryList(context);
173
DictionaryInfoUtils
.getWordListIdFromFileName(directory.getName());
180
DictionaryInfoUtils
.getCategoryFromFileName(wordList.getName());
245
final boolean hasDefaultWordList =
DictionaryInfoUtils
.isDictionaryAvailable(
255
DictionaryInfoUtils
.moveStagingFilesIfExists(context);
258
final String mainDictId =
DictionaryInfoUtils
.getMainDictId(locale);
265
final String wordListId =
DictionaryInfoUtils
.getWordListIdFromFileName(f.getName())
[
all
...]
DictionaryFactory.java
24
import com.android.inputmethod.latin.utils.
DictionaryInfoUtils
;
100
DictionaryInfoUtils
.getWordListIdFromFileName(new File(f.mFilename).getName());
131
final int resId =
DictionaryInfoUtils
.getMainDictionaryResourceIdIfAvailableForLocale(
BinaryDictionaryFileDumper.java
35
import com.android.inputmethod.latin.utils.
DictionaryInfoUtils
;
36
import com.android.inputmethod.latin.utils.
DictionaryInfoUtils
.DictionaryInfo;
251
DictionaryInfoUtils
.getStagingFileName(wordlistId, locale, context);
516
DictionaryInfoUtils
.getCurrentDictionaryFileNameAndVersionInfo(context);
528
"raw",
DictionaryInfoUtils
.RESOURCE_PACKAGE_NAME);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DictionaryInfoUtils.java
55
public class
DictionaryInfoUtils
{
56
private static final String TAG =
DictionaryInfoUtils
.class.getSimpleName();
115
private
DictionaryInfoUtils
() {
146
if (
DictionaryInfoUtils
.isFileNameCharacter(codePoint)) {
203
return new File(
DictionaryInfoUtils
.getWordListCacheDirectory(context)).listFiles();
207
return new File(
DictionaryInfoUtils
.getWordListStagingDirectory(context)).listFiles();
292
final File[] stagingFiles =
DictionaryInfoUtils
.getStagingDirectoryList(context);
506
if (!
DictionaryInfoUtils
.isMainWordListId(wordListId)) {
549
DictionaryInfoUtils
.getMainDictionaryResourceIdIfAvailableForLocale(
WordInputEventForPersonalization.java
72
if (!
DictionaryInfoUtils
.looksValidForDictionaryInsertion(
Completed in 299 milliseconds