aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Move the settings test to a more appropriate place."Jean Chalard2011-08-181-22/+28
|\
| * Move the settings test to a more appropriate place.Jean Chalard2011-08-181-22/+28
| | | | | | | | | | | | | | | | | | | | | | | | This change refactors the dictionary selection code so that the cached dictionary files list and the settings tests are more cleanly separated. This will also help with future refactorings that will test for the presence of the main dictionary and insert the fall back if it's not supplied by the dictionary pack. Bug: 5095140 Change-Id: I8d7caad7c054031df71fe78b043801a774d50f65
* | Make the string builder pool in Suggest a singleton.Jean Chalard2011-08-182-40/+70
|/ | | | | | | This is internal refactoring, done as preliminary work to fix Bug: 5175740 Change-Id: I21bd4c001c27e7b925ddb87a152105b4dcab320a
* Merge "Exception refactoring"Jean Chalard2011-08-182-26/+28
|\
| * Exception refactoringJean Chalard2011-08-182-26/+28
| | | | | | | | | | | | | | | | | | Now that the dictionary pack can return several files, it's better to handle IO exceptions for each file rather than globally. This also will help with next implementation steps. Bug: 5095140 Change-Id: I5ed135ad2ad4f55f61f9b3f92c48a35d5c24bdb2
* | Merge "Refactor string removal to make it static"Jean Chalard2011-08-181-7/+8
|\ \
| * | Refactor string removal to make it staticJean Chalard2011-08-181-7/+8
| |/ | | | | | | | | | | | | | | | | The next step is to move this over to the Utils class. The ultimate goal is to make use of the duplicate removal code also in the spell checker as per Bug: 5175740 Change-Id: Ica36691b843b0713b832c56ffc65e5b2ec427c4a
* | Merge "Factor dict pack settings reading into a static inner class"Jean Chalard2011-08-171-14/+37
|\ \ | |/ |/|
| * Factor dict pack settings reading into a static inner classJean Chalard2011-08-171-14/+37
| | | | | | | | | | | | | | This is essentially refactoring to help next steps Bug: 5095140 Change-Id: Ic97044d2ed354027bac4f84e6ce69d20ef6da092
* | Merge "Get rid of auto correction flash animation in the suggestion strip"Tadashi G. Takaoka2011-08-161-7/+1
|\ \
| * | Get rid of auto correction flash animation in the suggestion stripTadashi G. Takaoka2011-08-161-7/+1
| | | | | | | | | | | | | | | | | | | | | This change also reverts I1350ad3d. Bug: 5156762 Change-Id: I047e75699e8eea02204ad95e12dcc0aefe49ac34
* | | Fix possible NPETadashi G. Takaoka2011-08-161-0/+1
|/ / | | | | | | | | Bug: 5171442 Change-Id: I280f6a0ef5fb06f1e03e17c0065d078604e4747a
* / Close dictionary pools when they are not used any more.Jean Chalard2011-08-162-3/+39
|/ | | | | Bug: 5156851 Change-Id: Icaba54734eb790b40dc2012aac25df5b2af71dbb
* Have a pool of dictionaries to check spelling.Jean Chalard2011-08-163-24/+124
| | | | | | | | | The dictionaries and proximities are not thread-safe. In order to be able to check spelling in parallel, make a dictionary pool to call upon when a spelling check is necessary. Bug: 5156851 Change-Id: Ie3796164187dd7b7abf5ccd5d014073d43d74408
* Make the spell checker re-entrant.Jean Chalard2011-08-161-4/+9
| | | | | | | | Until the dictionary itself is re-entrant, unfortunately we have to synchronize accesses to it. Bug: 5156851 Change-Id: I1629a160d707e6fa1ad80cba828798abb24b68b1
* Merge "Get rid of auto correction flash animation in the suggestion strip"Ken Wakasa2011-08-121-0/+6
|\
| * Get rid of auto correction flash animation in the suggestion stripKen Wakasa2011-08-121-0/+6
| | | | | | | | | | bug: 5156762 Change-Id: I1350ad3d7125f8ecdfc699233ed05e253cc3f010
* | Merge "Add a settings activity for the spell checker."Jean Chalard2011-08-122-0/+84
|\ \ | |/ |/|
| * Add a settings activity for the spell checker.Jean Chalard2011-08-122-0/+84
| | | | | | | | | | Bug: 5156940 Change-Id: I762de1296f861abce2d0413404bca54571e0ea0a
* | Read shared prefs from the dictionary pack.Jean Chalard2011-08-121-4/+59
|/ | | | | Bug: 5095140 Change-Id: I227fbd95d8a0330b6dede6de99fde3a5a715fe2d
* Merge "Key click sound volume fix"Ken Wakasa2011-08-111-8/+16
|\
| * Key click sound volume fixKen Wakasa2011-08-121-8/+16
| | | | | | | | | | bug: 5145886 Change-Id: Ic599373ee17423ef9c61b3dd5177c3763aa31015
* | Use the dictionaries cached LatinIME-sideJean Chalard2011-08-111-5/+32
|/ | | | | | | | | Dictionaries are now copied over from the dictionary pack to Latin IME. This change enables Latin IME to use all dictionaries that have been cached until now. Bug: 5095140 Change-Id: Id9a2bacf9dc1c693189b0ac8aa3f75756dc1e3e6
* Rename a function and update a commentJean Chalard2011-08-112-76/+75
| | | | | Bug: 5095140 Change-Id: Idf66a04c6a1a05015f94187a8dbce3d443bbf38b
* Merge "Give the orders to delete the source files to the dict pack"Jean Chalard2011-08-101-2/+6
|\
| * Give the orders to delete the source files to the dict packJean Chalard2011-08-101-2/+6
| | | | | | | | | | Bug: 5095140 Change-Id: I64552861768ca30073ffe0d631b2e0c44dad4aa9
* | Merge "Execute the switching to a different IME in a POOL_EXECUTOR."Luca Zanolin2011-08-101-1/+1
|\ \ | |/ |/|
| * Execute the switching to a different IME in a POOL_EXECUTOR.Luca Zanolin2011-08-101-1/+1
| | | | | | | | | | | | | | Using only a single thread may slow down the application, if there is already another thread running. Bug: 5142142 Change-Id: I314480a58af20ea09458ff82e586304fc3c7c070
* | Make sure the directory where to put files actually existsJean Chalard2011-08-101-2/+13
| | | | | | | | | | Bug: 5095140 Change-Id: I764471e54ce0bf6aefe5d604cee97639d5ad0af9
* | Ellipsis for "Space" key for triggering the IME switcherKen Wakasa2011-08-102-6/+5
|/ | | | | bug:5136497 Change-Id: Iab7c68135500e9fed212521484090b52943550ca
* Add proximity info for the spell checker.Jean Chalard2011-08-092-4/+106
| | | | | Bug: 5119987 Change-Id: I35700fd8b0ffa6bced428cc6d46b3f64eb251281
* Have Latin IME copy files from the dictionary pack.Jean Chalard2011-08-091-48/+48
| | | | | | | Also some minor cleanup: remove unused methods, minor refactoring into methods. Bug: 5095140 Change-Id: I035537b37a31adfc8db3b933fb0cefcf703d6c7c
* Stop reloading contacts when not appropriate.Jean Chalard2011-08-093-12/+55
| | | | | | | | | | A recent change had the contacts reloaded every time a new field is touched. This change not only fixes the problem, but also removes reloading contacts when changing language, which should make language switch within LatinIME lighter. Bug: 5125034 Change-Id: Ia61c4f75a8617113cdce88a2e2c6fdf073146a2d
* Merge "Fix issues with long-press access to more suggestions"Ken Wakasa2011-08-081-5/+11
|\
| * Fix issues with long-press access to more suggestionsKen Wakasa2011-08-081-5/+11
| | | | | | | | Change-Id: If5a45dcae7f7e7881d305104e35a04c341719aec
* | Merge "Correction mode should not rely on the existence of the main dic"Ken Wakasa2011-08-082-9/+8
|\ \ | |/ |/|
| * Correction mode should not rely on the existence of the main dicKen Wakasa2011-08-082-9/+8
| | | | | | | | | | bug: 5114094 Change-Id: I2088918ec2c9ad6f8db13b55e58d3e73e180aef8
* | Remove suggestion pane controller from stripTadashi G. Takaoka2011-08-081-66/+45
|/ | | | | | | This change also removes speacebar LED to represent auto correction. Bug: 5023981 Change-Id: Idedaabd147ed608df35cb51769388578a05174a1
* Partially revert I531a3257 as it mistakenly broke some logic -- ↵Ken Wakasa2011-08-061-3/+4
| | | | | | textToTheLeft was required. Change-Id: I24f55cec05fea68836d6b3413b69f1e1b9c68ba2
* Fix issues with long-pressing the spacebarKen Wakasa2011-08-062-30/+42
| | | | | bug: 5114433 Change-Id: I18f2147724a08965147bafe93e11fc86c7c59d33
* Fixed count suggestions stripTadashi G. Takaoka2011-08-051-139/+111
| | | | | Bug: 5023981 Change-Id: I434d23bdfb653989866d3822c978cd929a2b553c
* Update the spell checker according to API cleanupsatok2011-08-051-27/+41
| | | | Change-Id: Ia95a63963c16265bc9bc7e1fcecf120e17bf8636
* Merge "Move suggestions layout code into parameter class"Tadashi G. Takaoka2011-08-041-155/+202
|\
| * Move suggestions layout code into parameter classTadashi G. Takaoka2011-08-041-155/+202
| | | | | | | | | | Bug: 5023981 Change-Id: I30f45191524c38bfe550845b003e8972abd2ee49
* | Implement the spell checker.Jean Chalard2011-08-042-132/+111
| | | | | | | | | | Bug: 4176026 Change-Id: I297c47202e96ce0db74d703f30709777f26b93ac
* | Merge "Create a way to pass the proximity info to the dictionary"Jean Chalard2011-08-049-29/+52
|\ \ | |/ |/|
| * Create a way to pass the proximity info to the dictionaryJean Chalard2011-08-049-29/+52
| | | | | | | | | | | | This is a preparative change for inserting the spell checker. Change-Id: Ie441879cac4f67078ec27a95f1fcbbf3ef373df7
* | Merge "Cleanup CandidateView class"Tadashi G. Takaoka2011-08-042-151/+189
|\ \
| * | Cleanup CandidateView classTadashi G. Takaoka2011-08-042-151/+189
| |/ | | | | | | | | Bug: 5023981 Change-Id: Id79e31c60dfb41be546f5c5a3680e8651457151d
* | Merge "Additional hack for bug:4311428, a follow up for Ieade33d7."Ken Wakasa2011-08-031-1/+1
|\ \