aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Revert "Revert "[ML1] Introduce RichInputMethodSubtype"""Jean Chalard2014-08-251-1/+2
|\
| * Revert "Revert "[ML1] Introduce RichInputMethodSubtype""Jean Chalard2014-08-251-1/+2
| | | | | | | | | | | | | | | | This reverts commit a63d0a8ee6cb05bcddb69bf9a6018853d89d886a. This patch seems to be fine after all, but was submitted without its companion [ML1.1] patch causing a build breakage. Reverting the revert and submitting both at the same time seems like the right thing to do. Change-Id: Ib8fefa40b74dcee0edb025a52dac9b35c82d49df
* | Merge "Revert "[ML1] Introduce RichInputMethodSubtype""Jean Chalard2014-08-221-2/+1
|\|
| * Revert "[ML1] Introduce RichInputMethodSubtype"Jean Chalard2014-08-221-2/+1
| | | | | | | | | | | | This reverts commit 8ffe4bc9321e582a4d882f21e465d5886616f489. Change-Id: I9d4c98b0adfdb78b0f4d376f7691e50d1bd2228f
* | am 96db9222: am cabb66e9: follow-up to API change in I4a577bfd02b37bYohei Yukawa2014-08-221-13/+1
|\ \ | | | | | | | | | | | | * commit '96db9222c2c8c728498751221cc92664676dd4f0': follow-up to API change in I4a577bfd02b37b
| * | follow-up to API change in I4a577bfd02b37bYohei Yukawa2014-08-211-13/+1
| | | | | | | | | | | | | | | | | | BUG: 17182367 BUG: 17185263 Change-Id: Id54ca29c191b9752fa82ffe5a960113b2e97e5c1
* | | Merge "[ML1] Introduce RichInputMethodSubtype"Jean Chalard2014-08-221-1/+2
|\ \ \ | | |/ | |/|
| * | [ML1] Introduce RichInputMethodSubtypeJean Chalard2014-08-221-1/+2
| | | | | | | | | | | | | | | Bug: 11230254 Change-Id: Ic7a1bf938a5a186dcff527b556295aba2406e8b9
* | | Pass a new argument to StatsUtils.Mohammadinamul Sheik2014-08-221-1/+1
|/ / | | | | | | | | Change-Id: I61e32c7a455a273e8daf9a5487d7969923802488 Bug: 17013677
* | am 2834ddf1: am b9768702: Merge "Use #onStartInputInternal to initialize ↵Yohei Yukawa2014-08-201-12/+12
|\| | | | | | | | | | | | | cursor rect retrieval" into lmp-dev * commit '2834ddf1a0c9bea38569429f90bdf7526ba8fa22': Use #onStartInputInternal to initialize cursor rect retrieval
| * Use #onStartInputInternal to initialize cursor rect retrievalYohei Yukawa2014-08-211-12/+12
| | | | | | | | | | | | | | This CL simply moves the method calls of #requestCursorAnchorInfo into #onStartInputInternal just to consolidate the logic. Change-Id: Ia205738b9614e9ae375c1dab767a91d2e1f6d0d3
* | Have the "add to dictionary" hint display the right wordJean Chalard2014-08-181-8/+8
|/ | | | | | | | | Before this, we display the word we have committed instead of the word we will actually insert into the personal dictionary. There is a difference when the word was typed with auto-caps. Bug: 17071785 Change-Id: I2bfec0402b1307934590a78ab5c25104d92b75ca
* Let the backing view cover the entire content areaYohei Yukawa2014-08-161-1/+4
| | | | | | | | With this CL, the backing view starts covering the content area entirely. This allows the IME to render its UI elements at an arbitrary position on the screen. Change-Id: I8b4173410931b776964dddf66de2fe247e51d9de
* Add the input style to SuggestedWords.Jean Chalard2014-08-141-8/+19
| | | | Change-Id: I81f37d08659d449822b027d3d5912e11eec8b8ff
* Enable CursorAnchorInfo callback when necessaryYohei Yukawa2014-08-131-3/+6
| | | | Change-Id: If3dda7442418053600ac935da50baaddb0e31d37
* Add stub implementation of #onUpdateCursorAnchorInfoYohei Yukawa2014-08-131-0/+12
| | | | | | | | This CL never changes existing behavior because ProductionFlags.ENABLE_CURSOR_ANCHOR_INFO_CALLBACK is not yet turned on. Change-Id: I4bcbd2aebd05977b07231e8aa14acdcf6d8e1fa0
* (DO NOT MERGE) Add debug setting to force hardware special keyTadashi G. Takaoka2014-08-131-1/+2
| | | | | | Bug: 13988700 Change-Id: If23f8a14097431e76a303a6d6c24e8d9835fb655 (cherry picked from commit 3659c70fc3174b00ac24e105677d7e480596bf56)
* (DO NOT MERGE) Add SpecialkeyDetectorTadashi G. Takaoka2014-08-121-3/+9
| | | | | | Bug: 13988700 Change-Id: I215e879ad33b149370c1d0a5fdcf2203c0fc8b4a (cherry picked from commit 34541bfeb68e63bad71b83f1b7eba7922cca1723)
* (DO NOT MERGE) Show InputView even when hardware keyboard is connectedTadashi G. Takaoka2014-08-121-0/+21
| | | | | | Bug: 13988700 Change-Id: I4aeb01bf3571afc97959c213474a6424d7896120 (cherry picked from commit 06514f00f43f15e702ad3d8287e0d90bff555b7f)
* Rename distracter filter class.Keisuke Kuroyanagi2014-08-081-2/+3
| | | | | | Bug: 13142176 Bug: 15531638 Change-Id: I89cef5264073eed25ffb5be10fdff731df0a3138
* Merge "Revert "Introduce onEvent() to improve testability"" into lmp-devKen Wakasa2014-08-051-26/+17
|\
| * Revert "Introduce onEvent() to improve testability"Ken Wakasa2014-08-061-26/+17
| | | | | | | | | | | | | | | | This reverts commit ef74e737f580f7ac0b3bd70d6255dde3c87d9078. Apparently, this CL broke several unit tests. Change-Id: I86cf5f1ffb0214707afe99ee97f92ba8c5157f3f
* | Revert "[HS1] Save some data in startInputView"Jean Chalard2014-08-061-29/+7
| | | | | | | | | | | | | | This reverts commit f1accd4f04b13f764e1ffa7c7964e4b7c41ddf4b. Bug: 16830599 Change-Id: I4c9367f742b8ee8463920e91263b05c2195f8480
* | Revert "[HS2] Move more stuff to onStartInput"Jean Chalard2014-08-061-57/+50
|/ | | | | | | This reverts commit 93b00a314e307cb257abf1cab88cb24d57ff3885. Bug: 16830599 Change-Id: I955e7da77978c3a495660aa29247e010d489c36b
* Introduce onEvent() to improve testabilityJean Chalard2014-08-061-17/+26
| | | | | | ...and prepare for the future Change-Id: Ieed96ab552993fd148e80b9c3355f1b569bd716f
* Fix an NPE when running with Keep.Jean Chalard2014-08-061-4/+4
| | | | Change-Id: Ie703e14bff42d34608f11d0c2d7758950b84c88c
* [HS2] Move more stuff to onStartInputJean Chalard2014-08-061-50/+61
| | | | | Bug: 8152758 Change-Id: Ida05df7d151ceb582886e2ad06c5bdf0b59978ee
* Merge "[HW14] Cleanup" into lmp-devJean Chalard2014-08-041-1/+1
|\
| * [HW14] CleanupJean Chalard2014-08-051-1/+1
| | | | | | | | | | | | | | Do away with the didAutoCorrect local variables which are unnatural to return out of all these functions. Change-Id: I22024004d2c489de018beff812c2c589bfd8ca32
* | [HS1] Save some data in startInputViewJean Chalard2014-08-041-7/+25
|/ | | | | Bug: 8152758 Change-Id: Ic57d3918b08e775769d4ba5d73ba5c31231e0d6a
* Show "navigate up" icon on settings activityTadashi G. Takaoka2014-07-291-10/+8
| | | | | Bug: 15813742 Change-Id: I8b1feb5c35377e62199e5a909640d9c50f970654
* Merge "Wait for an event before actually realizing it" into lmp-devJean Chalard2014-07-251-1/+1
|\
| * Wait for an event before actually realizing itJean Chalard2014-07-281-1/+1
| | | | | | | | | | | | | | This would wrongly emit a 'timeout' log entry when switching between two instances of the same language. Change-Id: I56e5de121b87f3e762b58f0b2a77e9abc784036e
* | Make "Show correction suggestions" as a binary optionTadashi G. Takaoka2014-07-271-7/+7
|/ | | | | | | | | | | | Formerly "Show correction suggestions" had three options, "always show", "show in portrait mode", and "always hide". The reason behind "show in portrait mode" was that there may not be enough screen estate in landscape mode to show suggestions. Because recent phone devices have relatively large screen, we decide to remove "show in portrait mode" option. Bug: 15780939 Change-Id: I896d737452c3893d43ce20bd88127f10c1eb3d83
* Enable InputMethodService#onUpdateCursor behind the flagYohei Yukawa2014-07-201-5/+9
| | | | | | | | | | With this CL, InputMethodService#onUpdateCursor and InputMethodService#onUpdateCursorAnchorInfo can be enabled on L when ENABLE_CURSOR_ANCHOR_INFO_CALLBACK and ENABLE_CURSOR_RECT_CALLBACK are specified, respectively. BUG: 16382260 Change-Id: I29924128f6bd2f08cbd91cc4e82c9c4a6ecce3ff
* Rename ProductionFlag to ProductionFlagsTadashi G. Takaoka2014-07-161-3/+3
| | | | Change-Id: I5da2dbf8828fa0e176e7c2496392a5f561ebfe20
* Rename LatinImeLogger to DebugFlagsTadashi G. Takaoka2014-07-161-3/+5
| | | | | Bug: 15318007 Change-Id: Ic0268fd12865c9a692a5e7110a9beb76cb8b6d7f
* Merge "[HW5] Make the word composer package private."Ken Wakasa2014-06-261-10/+1
|\
| * [HW5] Make the word composer package private.Jean Chalard2014-07-011-10/+1
| | | | | | | | Change-Id: I66ed277751272eb3ae2fd5e55e9f3e413970082f
* | Merge "[HW4] Move a reference to WordComposer out of LatinIME"Jean Chalard2014-06-261-11/+0
|\|
| * [HW4] Move a reference to WordComposer out of LatinIMEJean Chalard2014-07-011-11/+0
| | | | | | | | Change-Id: I5436432c0da86ed1e33b3c9d40204f4ea013ff55
* | Merge "Fix a unit test"Jean Chalard2014-06-261-8/+40
|\ \ | |/ |/|
| * Fix a unit testJean Chalard2014-07-011-8/+40
| | | | | | | | | | | | | | When switching languages, we need to wait until the dictionary is loaded to compute suggestions. Change-Id: I7c32a900b297cd6302bfdc020842581315f3007f
* | [HW3] Some refactoringJean Chalard2014-07-011-9/+11
|/ | | | Change-Id: I303ce084a56c6ec709d3eab239a4d9d2274d0dea
* [SD4] Restart suggestions on language changeJean Chalard2014-06-301-19/+19
| | | | | | | | | | | | | | ...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
* [SD3] Forward the script ID to where it will be usedJean Chalard2014-06-271-6/+13
| | | | | Bug: 15840116 Change-Id: If2073e76fed74ae6e1cdd7670013e0e985b0e630
* Don't override application-specified completionsJean Chalard2014-06-271-0/+3
| | | | | | | | | ...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
* Merge "[CM1] Let predictions be aware of capitalize mode."Jean Chalard2014-06-101-12/+2
|\
| * [CM1] Let predictions be aware of capitalize mode.Jean Chalard2014-06-161-12/+2
| | | | | | | | | | Bug: 15554503 Change-Id: If5e8c0d94ed26d929400ccbb0d45ac23dd98d180
* | Update suggestion strip when the contextual dict is updated.Keisuke Kuroyanagi2014-06-161-1/+7
| | | | | | | | | | Bug: 14161647 Change-Id: Ic7d53464bd051bffc8c7f8d097325321fe0aaee7