OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:dictFile
(Results
1 - 5
of
5
) sorted by null
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/
UserHistoryDictionaryTests.java
159
final File
dictFile
= new File(getContext().getFilesDir(), fileName);
160
if (
dictFile
!= null) {
161
assertTrue(
dictFile
.exists());
162
assertTrue(
dictFile
.length() >= MIN_USER_HISTORY_DICTIONARY_FILE_SIZE);
163
dictFile
.delete();
230
final File
dictFile
= new File(getContext().getFilesDir(), fileName);
231
if (
dictFile
!= null) {
232
assertTrue(
dictFile
.exists());
233
assertTrue(
dictFile
.length() >= MIN_USER_HISTORY_DICTIONARY_FILE_SIZE);
234
dictFile
.delete()
[
all
...]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
BinaryDictionaryDecayingTests.java
92
File
dictFile
= null;
94
dictFile
= createEmptyDictionaryAndGetFile("TestBinaryDictionary");
98
BinaryDictionary binaryDictionary = new BinaryDictionary(
dictFile
.getAbsolutePath(),
99
0 /* offset */,
dictFile
.length(), true /* useFullEditDistance */,
135
dictFile
.delete();
139
File
dictFile
= null;
141
dictFile
= createEmptyDictionaryAndGetFile("TestBinaryDictionary");
145
BinaryDictionary binaryDictionary = new BinaryDictionary(
dictFile
.getAbsolutePath(),
146
0 /* offset */,
dictFile
.length(), true /* useFullEditDistance */,
189
dictFile
.delete()
[
all
...]
BinaryDictionaryTests.java
66
File
dictFile
= null;
68
dictFile
= createEmptyDictionaryAndGetFile("TestBinaryDictionary");
72
BinaryDictionary binaryDictionary = new BinaryDictionary(
dictFile
.getAbsolutePath(),
73
0 /* offset */,
dictFile
.length(), true /* useFullEditDistance */,
80
dictFile
.delete();
81
binaryDictionary = new BinaryDictionary(
dictFile
.getAbsolutePath(), 0 /* offset */,
82
dictFile
.length(), true /* useFullEditDistance */, Locale.getDefault(),
90
File
dictFile
= null;
92
dictFile
= createEmptyDictionaryAndGetFile("TestBinaryDictionary");
96
BinaryDictionary binaryDictionary = new BinaryDictionary(
dictFile
.getAbsolutePath()
[
all
...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
DecayingExpandableBinaryDictionaryBase.java
187
final File
dictFile
= new File(mContext.getFilesDir(), mFileName);
188
final DictDecoder dictDecoder = FormatSpec.getDictDecoder(
dictFile
,
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
BinaryDictionary.java
308
final File
dictFile
= new File(mDictFilePath);
309
mNativeDict = openNative(
dictFile
.getAbsolutePath(), 0 /* startOffset */,
310
dictFile
.length(), true /* isUpdatable */);
Completed in 123 milliseconds