aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Merge "[HW5] Make the word composer package private."Ken Wakasa2014-06-261-10/+1
|\
| * [HW5] Make the word composer package private.•••Change-Id: I66ed277751272eb3ae2fd5e55e9f3e413970082f Jean Chalard2014-07-011-10/+1
* | Merge "[HW4] Move a reference to WordComposer out of LatinIME"Jean Chalard2014-06-261-11/+0
|\|
| * [HW4] Move a reference to WordComposer out of LatinIME•••Change-Id: I5436432c0da86ed1e33b3c9d40204f4ea013ff55 Jean Chalard2014-07-011-11/+0
* | Merge "Fix a unit test"Jean Chalard2014-06-261-8/+40
|\ \ | |/ |/|
| * Fix a unit test•••When switching languages, we need to wait until the dictionary is loaded to compute suggestions. Change-Id: I7c32a900b297cd6302bfdc020842581315f3007f Jean Chalard2014-07-011-8/+40
* | [HW3] Some refactoring•••Change-Id: I303ce084a56c6ec709d3eab239a4d9d2274d0dea Jean Chalard2014-07-011-9/+11
|/
* [SD4] Restart suggestions on language change•••...otherwise we can't recompute the composition when we change scripts. This also fixes when we register that we need to take note that the current subtype was used. Luckily this is a good occasion for some cleanup that I've wanted to do for some time: use InputTransaction for onTextInput (with the goal to ultimately remove it entirely) Bug: 15840116 Change-Id: Ie4f4f9157b66b79237eeb3db75535803124d3e19 Jean Chalard2014-06-301-19/+19
* [SD3] Forward the script ID to where it will be used•••Bug: 15840116 Change-Id: If2073e76fed74ae6e1cdd7670013e0e985b0e630 Jean Chalard2014-06-271-6/+13
* Don't override application-specified completions•••...for any given input. This is not necessarily the best fix, but it's simple and it works well enough. Bug: 15869703 Change-Id: I54b262be8bdbec37031dea655c60a5573b3d8ec3 Jean Chalard2014-06-271-0/+3
* Merge "[CM1] Let predictions be aware of capitalize mode."Jean Chalard2014-06-101-12/+2
|\
| * [CM1] Let predictions be aware of capitalize mode.•••Bug: 15554503 Change-Id: If5e8c0d94ed26d929400ccbb0d45ac23dd98d180 Jean Chalard2014-06-161-12/+2
* | Update suggestion strip when the contextual dict is updated.•••Bug: 14161647 Change-Id: Ic7d53464bd051bffc8c7f8d097325321fe0aaee7 Keisuke Kuroyanagi2014-06-161-1/+7
* | Contextual dictionary updater.•••Bug: 14161647 Change-Id: I8106419678d5d26a4debec7bbef43af079c1ab18 Keisuke Kuroyanagi2014-06-131-1/+8
|/
* Personalization dictionary updater.•••Bug: 14161647 Change-Id: I7ab3d701525e9a19bc100aa577527e332bb2ad95 Keisuke Kuroyanagi2014-06-131-18/+15
* Fix logic to show suggestions•••Bug: 15531465 Change-Id: Ic7fe5743ad3767cdaed699e5e2d1ebcaa75e22c2 Tadashi G. Takaoka2014-06-111-6/+11
* Use RichInputConnection to get the previous word.•••We don't need the optimization of storing the old words now that the RichInputConnection can supply it without IPC. Bug: 13703802 Change-Id: I37ccb8d5fba879fb04b4f23d33571849736d897c Jean Chalard2014-06-091-25/+6
* Merge "Check isInDictionary() before the distracter test."Keisuke Kuroyanagi2014-06-091-2/+2
|\
| * Check isInDictionary() before the distracter test.•••Bug: 13142176 Bug: 15428247 Change-Id: I7ce2c09ebbef6ca8c056807c2a35f2f987fd436e Keisuke Kuroyanagi2014-06-091-2/+2
* | Refactor logic to determine showing suggestions strip or not•••The logic to determine when the suggestions strip (a.k.a. the contextual strip) should be shown is already complex. In addition to that the voice input key get shown on the strip as well. There are a several factors to be considered and a few things to control. - The password input field shouldn't have the strip. - Show voice input key on the strip or not. - User preference settings "Show Voice Input Key". - A voice IME exists and is enabled. - The input field may have a private IME option to prevent the voice input key from being displayed. - Application can specify auto completions. - Full screen mode or not. - User preference settings "Show correction suggestions". - Always show, Show in portrait mode, Always hide. - The input field may have flags to prevent showing suggestions or auto corrections. - Suggestions is empty or not. - An important notice may be shown. Bug: 14981852 Bug: 15436479 Change-Id: I3050fd53ee6271fc64a8f17b6b12d9581d37b750 Tadashi G. Takaoka2014-06-061-45/+26
* | Merge "When starting input, include the literal word in suggestions"Jean Chalard2014-06-061-4/+9
|\ \
| * | When starting input, include the literal word in suggestions•••This change also includes a fix that has suggestions re-computed when the typed word is included but no prior suggestions were found in spans. Bug: 2349475 Change-Id: Ic06e6ac492507126ffc1e96a5f396c971b567272 Jean Chalard2014-06-061-4/+9
* | | Merge "Always update voice key visibility"Tadashi G. Takaoka2014-06-061-2/+3
|\ \ \ | |/ / |/| |
| * | Always update voice key visibility•••Bug: 15128166 Change-Id: Ie15724c323efa3b102f6aebddc3bda210aad1727 Tadashi G. Takaoka2014-06-061-2/+3
| |/
* | Merge "Fix a small bug with rotation."Jean Chalard2014-06-061-1/+10
|\ \ | |/ |/|
| * Fix a small bug with rotation.•••Bug: 2349475 Change-Id: Id4aa5ce56b1a545e4cb88ca1b01cf24642deade2 Jean Chalard2014-06-061-1/+10
* | Remove unused supportsSwitchingToShortcutIme attribute•••Change-Id: I51c5247ac925a158facb79057f704b763b903552 Tadashi G. Takaoka2014-06-061-1/+2
|/
* Merge "Fix a bug on rotation with selection."Jean Chalard2014-06-061-5/+1
|\
| * Fix a bug on rotation with selection.•••The symptom : when text is selected and the device is rotated, sometimes the keyboard sets the word as being composed around the start of the selection. Upon the next rotation this ends up with the keyboard committing some text in place of the selection. The cause : another bug in the framework with rotation >.> The keyboard receives a call to startInput with a wrong cursor position, namely one that does not represent a selection. The keyboard sets a composition according to this wrong data. When the keyboard is rotated again, it commits the text, which takes the place of the selection. The solution : actually when restarting input the keyboard realizes that the cursor position is wrong. We cancel composition at that time. For robustness, this change also implements two other defensive changes : upon call to onUpdateSelection, we actually realize that the previous values were wrong, so we also fix it at that time, and in addition, when rotating, we finishComposingText() instead of commitText() which is less dangerous. Implementing this later change also allows us to let less internal variables from InputLogic escape to LatinIME, so it's also a good change for design. Bug: 14140799 Change-Id: Ib10de18e53e376ac1bbc8487e13d969828483346 Jean Chalard2014-06-061-5/+1
* | Rename some boolean variables for readability•••Change-Id: I434cf507e68349b9893ac084645986d6b3d7da91 Tadashi G. Takaoka2014-06-051-3/+3
|/
* Remove LatinImeLogger and UsabilityStudyLogUtils•••This CL must be checked in together with Ie52007dc5c. Bug: 15318007 Change-Id: Ie665f296e43b5485ae8ba7e949aa262794ee0dcc Tadashi G. Takaoka2014-05-291-8/+0
* Remove researcher logger•••This CL must be checked in together with I5cc76807e3. Bug: 15318007 Change-Id: I61423c3377ddc299fb332e742d6626c2e47145bb Tadashi G. Takaoka2014-05-291-30/+0
* Keep showing important notice when "show correction suggestions" is off•••When 1. The important notice message is shown on the suggestions strip. 2. And the "Show correction suggestions" settings is off. we will keep showing the important notice message on the suggestion strip. Bug: 13741460 Change-Id: I411007ab1e5e6959b6cdba7a6601a84635259313 Tadashi G. Takaoka2014-05-261-4/+11
* Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef Tadashi G. Takaoka2014-05-241-3/+1
* Make DistracterFilter interface.•••Bug: 13142176 Bug: 15094186 Change-Id: If94b0a155b5ea2ff6b839e7da9d12a9cc6553931 Keisuke Kuroyanagi2014-05-231-2/+2
* Move distracter filter to dictionary facilitator.•••Bug: 13142176 Bug: 15094186 Change-Id: Ib9e42f8e25538009f3ba62cf1e034cae3f6823c7 Keisuke Kuroyanagi2014-05-231-11/+11
* Have DictionaryFacilitator in LatinIME.•••Bug: 13142176 Bug: 15094186 Change-Id: I9da67352ff2abcd289fa5885389895ced878a413 Keisuke Kuroyanagi2014-05-231-30/+21
* Fix NPE happening in unit tests.•••Change-Id: I2fc0dba53e18883755ff77351c152a9d3534c92b Keisuke Kuroyanagi2014-05-221-2/+3
* Merge "Use enabled subtypes for Keyboard in DistracterFilter."Keisuke Kuroyanagi2014-05-221-2/+3
|\
| * Use enabled subtypes for Keyboard in DistracterFilter.•••Bug: 13142176 Bug: 15094186 Change-Id: I142eeaa11f838080a4fc5a342155e5d470eab3d4 Keisuke Kuroyanagi2014-05-211-2/+3
* | Add beginning of sentence information in PrevWordsInfo.•••Bug: 14119293 Bug: 14425059 Change-Id: I65320920e840082b0b697bb621676716d0933e0c Keisuke Kuroyanagi2014-05-211-5/+6
|/
* Use PrevWordsInfo instead of String in Java side.•••Bug: 14119293 Bug: 14425059 Change-Id: I3d5da84881a49a04550180dd9aac2c37da2ed762 Keisuke Kuroyanagi2014-05-191-5/+5
* Use dedicated DictionaryFacilitator for DistracterFilter•••Bug: 15002249 Change-Id: Ic77eaa7d627d406daad7dcd15cb4884d9f647312 Keisuke Kuroyanagi2014-05-171-5/+5
* Revert "Use dedicated DictionaryFacilitator for DistracterFilter"•••This reverts commit 7122fe76e3ca48a12f1e069ee0c742788c1884b6. Change-Id: I341089864a2b58de6e0f35844a12fb632bd1eabb Keisuke Kuroyanagi2014-05-161-5/+5
* Use dedicated DictionaryFacilitator for DistracterFilter•••Bug: 15002249 Change-Id: I2ebf1941fb0453ea4b97c0e539f8b36e5e0262c1 Keisuke Kuroyanagi2014-05-161-5/+5
* Remove unused auto correction led for spacebar feature•••Change-Id: Ie1544bd0d28684d9b7887fddff37b224ed4f8201 Tadashi G. Takaoka2014-05-151-2/+0
* Merge "Simplify StatsUtils"Yohei Yukawa2014-05-151-1/+3
|\
| * Simplify StatsUtils•••With this CL, the implementation of StatsUtils no longer needs to know how to read settings from the system. Insted, the LatinIME class is now responsible for notifying StatsUtils whenever the settings is changed. BUG: 14324207 Change-Id: Ic3d26ec31c8d2c082d3e7487b578b323aad2f960 Yohei Yukawa2014-05-151-1/+3
* | Fix off-device build•••This CL fixed the breakage caused by DistracterFilter. It should be checked in together with I8f53e9481c0f Bug: 14911612 Bug: 13142176 Change-Id: I33c3526165cea58926d10404552f1fadc385c2e5 Xiaojun Bi2014-05-141-1/+3
|/
* Merge "Implement the distracter filter"Xiaojun Bi2014-05-131-12/+5
|\