aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/DictionaryCollection.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add CollectionUtils class to create generic collection easilyTadashi G. Takaoka2012-08-221-5/+5
| | | | Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89
* Fix duplicate getSuggestions() call for main dictionaryTadashi G. Takaoka2012-08-061-1/+1
| | | | Change-Id: I092480063452505cdf03dbd83b9c64e535822931
* Cleanup old methods (A90)Jean Chalard2012-07-101-40/+0
| | | | Change-Id: I5435cef8ac6be523934ffa394952cb120c8e89d6
* Implement the common Dictionary interface (A89)Jean Chalard2012-07-101-0/+21
| | | | | | This will de-duplicate a lot of existing code. Change-Id: Idaffb2fde23b9741f057bcb2ecb3dde9d12ea5c5
* Reduce method visibility (A88)Jean Chalard2012-07-101-2/+2
| | | | Change-Id: I29d6afbcba0998558c9b19287a460d9f0e410994
* Cleanup the dictionary type.Jean Chalard2012-06-271-3/+6
| | | | | | | Stop storing an int in each of the different class types, and just store a string in the top class. Change-Id: I2af1832743e6fe78e5c1364f6d9cc21252bf5831
* Remove the callback argument to getBigrams() (A16)Jean Chalard2012-06-261-3/+3
| | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I7457ac04f8cd4019fb86c986725aae3de1b1a65e
* Remove the callback argument to getWords() (A15)Jean Chalard2012-06-261-4/+3
| | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I919bf70a1213ab5d7c7a9e5715bd72a6e257148b
* Change the return type of getWords and getBigrams (A8)Jean Chalard2012-06-261-8/+35
| | | | | | | | This only returns stuff, but it doesn't change yet how the data is really passed. It merely adds a way of getting the same data. Later, the old way will be removed. Change-Id: If3a064de362175fc5a6781b7a97b65d8730aaf3c
* Remove non-dictionary words and digit touch data.Kurt Partridge2012-06-171-2/+3
| | | | | | | | | | Output to the ResearchLogger is now queued and only flushed if the word the user was working on is a dictionary word. multi-project commit with Ic713ec00777fbdcf4a937b3c77b995257e100fc7 Bug: 6188932 Change-Id: I9de15227ff51be23083d9096f1c1b3d83802fff7
* Set level 1 as the initial value of the valid wordsSatoshi Kataoka2012-05-291-0/+12
| | | | | Bug: 4192129 Change-Id: I867e78ce79c78977d08e8b66881a25b6fe5bf41f
* Don't auto-correct when there is no main dictionary.Jean Chalard2012-05-161-0/+4
| | | | | Bug: 6502485 Change-Id: I5803b0db8552867110587a1140fc03fc2e0eccef
* Pass the previous word to getSuggestionsJean Chalard2012-04-171-3/+3
| | | | | | This is a preparative change to bug#6313806 Change-Id: I1be9ec49b21005c1f45ce459fa93712bc74ef3f0
* Small performance improvement by removing interface accesses.Ken Wakasa2012-03-171-2/+1
| | | | Change-Id: I6d91f3b086470b79306dbe2874db9748b9e0eb5f
* Add an option to use contacts or not while spell checkingJean Chalard2011-11-301-3/+19
| | | | | Bug: 5447495 Change-Id: Iffb09895676c3dd1a79d1699b0eac865282508d4
* Create a way to pass the proximity info to the dictionaryJean Chalard2011-08-041-2/+5
| | | | | | This is a preparative change for inserting the spell checker. Change-Id: Ie441879cac4f67078ec27a95f1fcbbf3ef373df7
* Do not register null pointers as dictionariesJean Chalard2011-07-221-1/+4
| | | | | Bug: 5062425 Change-Id: I025991424de40c2b31b90238f99ef160e7efd92e
* Add a number of NULL pointer guards.Jean Chalard2011-07-191-1/+5
| | | | | | | | | None of these are expected to actually be null, but those are included for peace of mind and foolproofing against future code changes. Bug: 4580040 Change-Id: Ib112b3e5db5f177aaf61767164b7e78d711f90a0
* Small performance fix.Jean Chalard2011-06-161-2/+2
| | | | | | This improves performance by not allocating an iterator. Change-Id: I5511fd8b8d3aa826917620c0af994dbaf1562bb1
* Improve the architecture to support multiple dictionaries.Jean Chalard2011-04-281-0/+5
| | | | | | | | | | | | | | This change enables the interface to get multiple dictionaries from a dictionary pack. It only implements it to the end in the case of the proprietary method, as the open method needs still some working out, and the "inside the package" method does not need it. This change goes together with Iaa95bf36, and breaks the build without it. Bug: 1752028 Change-Id: I3ccfd696e8ef083ef9c074e1c3e4bb0bf2fcfd23
* Create a dictionary collection and a dictionary factory.Jean Chalard2011-04-271-0/+66
The dictionary collection is a class complying to the Dictionary interface that acts as a front end to a collection of arbitrarily many dictionaries of any type. The dictionary factory is a helper class for creating various dictionaries and get some meta information about them. At the same time, this change makes the BinaryDictionary class not a singleton any more. This also needs I9afe61a9 to not break the build. Change-Id: I61fdcc4867fcda18342807bf1865e6e46979e5d5