aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-08-18A follow up to I830de4d1Ken Wakasa1-3/+2
bug: 5130446 Change-Id: Ib1a4603590387c30be7555b8386f5e0607ea7249
2011-08-18Move the settings test to a more appropriate place.Jean Chalard1-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
2011-08-18Make the string builder pool in Suggest a singleton.Jean Chalard2-40/+70
This is internal refactoring, done as preliminary work to fix Bug: 5175740 Change-Id: I21bd4c001c27e7b925ddb87a152105b4dcab320a
2011-08-18Refactor string removal to make it staticJean Chalard1-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
2011-08-18Exception refactoringJean Chalard2-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
2011-08-17Factor dict pack settings reading into a static inner classJean Chalard1-14/+37
This is essentially refactoring to help next steps Bug: 5095140 Change-Id: Ic97044d2ed354027bac4f84e6ce69d20ef6da092
2011-08-16Get rid of auto correction flash animation in the suggestion stripTadashi G. Takaoka4-12/+2
This change also reverts I1350ad3d. Bug: 5156762 Change-Id: I047e75699e8eea02204ad95e12dcc0aefe49ac34
2011-08-16Fix possible NPETadashi G. Takaoka1-0/+1
Bug: 5171442 Change-Id: I280f6a0ef5fb06f1e03e17c0065d078604e4747a
2011-08-17Improve fat finger correction.satok3-103/+101
Change-Id: I37ed0dc6956f7e6fab5dcfd0483ab5691cd819d4
2011-08-16Close dictionary pools when they are not used any more.Jean Chalard2-3/+39
Bug: 5156851 Change-Id: Icaba54734eb790b40dc2012aac25df5b2af71dbb
2011-08-16Pass the touch event in the top padding of keyboard.Yusuke Nojima1-0/+6
Bug: 5139932 Change-Id: Id176f92f69160f76ae7e0d46cb3d639080779497
2011-08-16Have a pool of dictionaries to check spelling.Jean Chalard4-27/+127
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
2011-08-16Code cleanupKen Wakasa4-162/+3
Change-Id: I7df8c813038adec750eda260740bcc8a4da41acf
2011-08-16Make the spell checker re-entrant.Jean Chalard1-4/+9
Until the dictionary itself is re-entrant, unfortunately we have to synchronize accesses to it. Bug: 5156851 Change-Id: I1629a160d707e6fa1ad80cba828798abb24b68b1
2011-08-16Add a margin between "123" and the mic icon.Yusuke Nojima1-2/+9
Bug: 5161711 Change-Id: I04c777c24b9aac4d82eb3adff8e077640a866f61
2011-08-15Update shift state in onSizeChanged()Ken Wakasa2-7/+10
bug: 5130446 Change-Id: I830de4d184dffa2b263206c3f078de054e227b9e
2011-08-15Combilne normal correction and skip correctionsatok7-15/+157
Change-Id: Ide868d977c0f35900340c7be1b71d572c69a8806
2011-08-15Remove the "Touch to correct words" option.Jean Chalard5-7/+6
Bug: 5113009 Change-Id: Idc4a464e499a2530f517bf7fa449326779129371
2011-08-14Revert "Remove the "Touch to correct words" option."Jean Chalard4-5/+6
This reverts commit 8e69dd80d88c356778c8c1fb1ccaf79108db9dff ...since it breaks the build
2011-08-15Remove the "Touch to correct words" option.Jean Chalard4-6/+5
Bug: 5113009 Change-Id: Iae8a64e22cf618f4533f966feaf0b5a76725d551
2011-08-15Remove the old dictionary makerJean Chalard20-850/+11
...and also rename the new one into "makedict". Bug: 5151604 Change-Id: I44a8ab640d408f630f20f502787a967791796dc6
2011-08-12Import revised translations.Eric Fischer46-110/+326
Change-Id: I8a8e531887b11318de0af7e15eaff82ae4e51d85
2011-08-12Get rid of auto correction flash animation in the suggestion stripKen Wakasa4-0/+10
bug: 5156762 Change-Id: I1350ad3d7125f8ecdfc699233ed05e253cc3f010
2011-08-12Add a settings activity for the spell checker.Jean Chalard6-0/+131
Bug: 5156940 Change-Id: I762de1296f861abce2d0413404bca54571e0ea0a
2011-08-12Fix discrepancy in the "show settings key" optionKen Wakasa2-2/+2
bug: 5155640 Change-Id: I2f5f88edde18d6464a67adcfad5aa92b05c36821
2011-08-12Tiny fix for access to cyrillic soft sign on Russian layoutsKen Wakasa2-2/+2
bug: 5151430 Change-Id: Id6e50398d087f62a305fad734432135c00329316
2011-08-12Read shared prefs from the dictionary pack.Jean Chalard1-4/+59
Bug: 5095140 Change-Id: I227fbd95d8a0330b6dede6de99fde3a5a715fe2d
2011-08-12Key click sound volume fixKen Wakasa1-8/+16
bug: 5145886 Change-Id: Ic599373ee17423ef9c61b3dd5177c3763aa31015
2011-08-11Removed matchedChar countsatok3-49/+28
Change-Id: I69e92026f802635f900b1e72d089afe4bda5fb0b
2011-08-11Externalize the dictionary pack's name and settingsJean Chalard2-2/+6
Some changes downward the road need Latin IME to know the dictionary pack by package name. This makes the name an external string. Bug: 5095140 Change-Id: Ibebf5eb892af19681c18da38955e50dfb573330a
2011-08-11Use the dictionaries cached LatinIME-sideJean Chalard1-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
2011-08-11Calculate the skip correction by one loopsatok4-14/+18
Change-Id: Ie70829407cd58be2ffe75c7d649d86f62ee4df24
2011-08-11Rename a function and update a commentJean Chalard2-76/+75
Bug: 5095140 Change-Id: Idf66a04c6a1a05015f94187a8dbce3d443bbf38b
2011-08-11Add the new dictionary maker to the build.Jean Chalard14-0/+2472
Bug: 4392433 Change-Id: Ic17806cb708b1181a52703537119f7f11fa5f1d6
2011-08-11Improve skip correction algorithmsatok5-58/+95
Change-Id: Ife45e3886137d60a4e903d4c6f7a9ef20c7e705a
2011-08-10Give the orders to delete the source files to the dict packJean Chalard1-2/+6
Bug: 5095140 Change-Id: I64552861768ca30073ffe0d631b2e0c44dad4aa9
2011-08-10Add correction state.satok5-47/+119
Change-Id: I0a1419922e1ce7a15b566d1b6da3794f8e84c754
2011-08-10Execute the switching to a different IME in a POOL_EXECUTOR.Luca Zanolin1-1/+1
Using only a single thread may slow down the application, if there is already another thread running. Bug: 5142142 Change-Id: I314480a58af20ea09458ff82e586304fc3c7c070
2011-08-10Make sure the directory where to put files actually existsJean Chalard1-2/+13
Bug: 5095140 Change-Id: I764471e54ce0bf6aefe5d604cee97639d5ad0af9
2011-08-10Refactor CorrectionState to Correctionsatok6-93/+93
Change-Id: I5f1ce35413731f930b43b1c82014e65d9eaa240b
2011-08-10Ellipsis for "Space" key for triggering the IME switcherKen Wakasa5-9/+30
bug:5136497 Change-Id: Iab7c68135500e9fed212521484090b52943550ca
2011-08-09Add proximity info for the spell checker.Jean Chalard3-4/+116
Bug: 5119987 Change-Id: I35700fd8b0ffa6bced428cc6d46b3f64eb251281
2011-08-09Have Latin IME copy files from the dictionary pack.Jean Chalard1-48/+48
Also some minor cleanup: remove unused methods, minor refactoring into methods. Bug: 5095140 Change-Id: I035537b37a31adfc8db3b933fb0cefcf703d6c7c
2011-08-09Revert Idedaabd1 partially until we have the new auto-correction indicator ↵Ken Wakasa1-1/+0
in TextView Change-Id: I492f1282590b3aa23682be24dea0bc5a00bd7749
2011-08-09Refactor the correction algorithm related to missing character correctionsatok4-30/+61
Change-Id: If68f2aaea7df48d013aea5401cee4ec0df32111a
2011-08-09Stop reloading contacts when not appropriate.Jean Chalard3-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
2011-08-08Fixed speaking keys when editing password fieldsAlan Viverette3-14/+114
Bug: 5042681 Change-Id: Ic4523ec38b0faa2b6a91d476ea7af7e69404861c
2011-08-08Fix issues with long-press access to more suggestionsKen Wakasa1-5/+11
Change-Id: If5a45dcae7f7e7881d305104e35a04c341719aec
2011-08-08Correction mode should not rely on the existence of the main dicKen Wakasa2-9/+8
bug: 5114094 Change-Id: I2088918ec2c9ad6f8db13b55e58d3e73e180aef8
2011-08-08Add the spell checker configuration xmlsatok3-8/+49
Change-Id: I05fe12dbdef49cb41919023fad6b9df13dc5bd82