aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/BinaryDictionary.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Clean up: Update variable names to comply with spec of ApplicationInfo.Ken Wakasa2011-01-091-9/+18
| | | | | | | | | ApplicationInfo.sourceDir may or may not be apk file name. It can be a directory as well. The spec just says it's "Full path to the location of this package". Also, added error handling in loadDictionary(). Change-Id: I5e64d0aba4b1ec7634f4b3ac5537e7a774433ece
* Load main dic in nativeKen Wakasa2011-01-071-63/+16
| | | | | | | Follow up to Id57dce51 bug: 3219819 Change-Id: I00e11ef21d0252ffa88c12dffb9c55b0f2e19a66
* Consolidate main dictionary files.Ken Wakasa2011-01-051-22/+9
| | | | | | | | | This change is a preparation for upcoming optimizations on dictionary file loading. * We can consolidate dictionary files because we are no longer relying on Asset Manager. * Stopping compressing dictionary files as planning to use mmap() on the region in the apk file. * Probably we won't rely on Asset Manager. Instead we'll probably use offset and size obtained from AssetFileDescriptor. Change-Id: Id57dce512fd3d2397a58628f8264bd824194da76
* Fix a crash when MAX_WORD_LENGTH is too short.satok2010-12-061-8/+8
| | | | Change-Id: Idcb5aa2685321b8d0ac7d846caecbd1c79e4dd77
* Fix parameters of native functions and refactor Dictionarysatok2010-12-021-13/+14
| | | | | | - created bigram/unigram dictionary classes Change-Id: I233a28ed8d611870db3f4cf8f25fc45b5d41529b
* Move a logic for finding words with a missing character to the native code.satok2010-12-011-19/+2
| | | | Change-Id: I58338643830ff4f9708f78a9c26f75c8bf2ebf45
* Cleanup unused Java importTadashi G. Takaoka2010-11-291-4/+4
| | | | | | This change also fixes wrong file mode. Change-Id: Ifcf4c9444ddcdc62d2e4b394891d6eee135c1e8f
* Clean up LatinIME javasatok2010-08-241-1/+0
| | | | | | | | - remove unused code - add @Override - change the inappropriate cast Change-Id: Ib25b4939e5b4273794ab0f6349776b5b62d89894
* DO NOT MERGE. Backport LatinIME from master to Gingerbreadsatok2010-08-201-17/+128
| | | | | | TODO: Cleanup will follow. Change-Id: I4a68ba9f2f55760aa24187f1f13fdfa8a0b70963
* Clarify licensingJean-Baptiste Queru2010-04-051-1/+1
| | | | | | | | -use AOSP copyright instead of Google -add NOTICE and tag file Bug: 2548782 Change-Id: If50b2e9e9cc4b4876b0d047fc9f34e2d537a6da4
* Don't let the native code target be included twice when unbundling.Amith Yamasani2010-03-091-0/+151
Move java code to a different directory so that the unbundled version doesn't try to compile the native code again. Change-Id: I05cf9e643824ddc448821f69805ccb0240c5b986