aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Fix a bug with no suggestions flag•••We should reset the composition state when moving the cursor inside the word after a gesture when the text field specifies no suggestions. Bug: 17959921 Change-Id: I977fea775f7b7e145e343636f0fb94266a40953a Jean Chalard2014-10-151-1/+2
* Merge "(DO NOT MERGE) Fix showing important notice even at beginning of sente...Tadashi G. Takaoka2014-09-181-5/+9
|\
| * (DO NOT MERGE) Fix showing important notice even at beginning of sentence•••Bug: 17536096 Change-Id: Ic72d6fecc3241c1a9aba87b82a46750cbd69e001Tadashi G. Takaoka2014-09-181-5/+9
* | Use Add-To-Dictionary indicator only•••With this CL, the previously used commit indicator was reverted. Instead we use the add-to-dictionary indicator only at the moment. This CL also fixes the indicator position in bidi context. BUG: 17335734 Change-Id: I5f7cf173ddc30876e2b01320acaff8ba4265edf6 Yohei Yukawa2014-09-181-26/+1
|/
* Fix not always showing input view with physical keyboard connected•••Bug: 17163374 Change-Id: I57f7eeac0c9ac0a15d3d55927e18a2d97849c508 Tadashi G. Takaoka2014-09-121-17/+19
* Support CursorAnchorInfo in the full-screen mode•••This CL allows to emulate the behavior of CursorAnchorInfo in the full-screen mode to work around the limitation of the framework. Basically this CL copies relevant code from the framework to LatinIME. This is actually a code duplicate which isn't great, but probably the only way that is available right now. Change-Id: I30bc8c3387c91c8e47252ba699cbd967d8927dad Yohei Yukawa2014-09-111-2/+50
* Don't resume suggestions with H/W keyboard•••...unless we do support a hardware keyboard, which we still do not at the moment. Change-Id: Iec24b1ae8ba5e23e0bbb7e5a468b7404296d4b18 Jean Chalard2014-09-081-41/+72
* Resolve an old TODO.•••This is cleaner. Bug: 17347779 Change-Id: I5b612783b1ec98a1a11401f00d68db49654f3023 Jean Chalard2014-09-051-3/+6
* Simplify onComputeInsets of LatinIME•••This CL expands SoftInputWindow to the entire screen. Thus a key review backing view is eliminated and onComputeInsets() gets simplified too. Bug: 17212702 Bug: 10841052 Bug: 10541453 Change-Id: I2d859f4e4698c64cabe399000821f13bab729996 Tadashi G. Takaoka2014-08-271-65/+36
* Set the text bgcolor only when CursorAnchorInfo is available•••When CursorAnchorInfo is unavailable, we shouldn't try to show the commit indicator and set the text highlight color. With this CL, RichInputConnection can be used to track if the application responded that it does support CursorAnchorInfo or not. This result will be taken into consideration when InputLogic needs to determine whether the commit indicator should be displayed or not. Change-Id: I945d70eeb02a7a5f3d9b22459b23d7028508910f Yohei Yukawa2014-08-271-11/+4
* Introduce commit/add-to-dictionary indicators•••This CL introduces commit/add-to-dictionary indicators. Note that the text is not yet highlighted when the commit indicator is displayed. It will be addressed in subsequent CLs. Change-Id: I7e9b0fcfdc0776a50a1d8cfb41ee0add813317dd Yohei Yukawa2014-08-261-11/+38
* Fix a bug where the top prediction would disappear.•••This is because prediction can't be easily distinguished in style. This fixes the bug by simulating the right members, but some refactoring should be done to remove useless booleans. Bug: 17271923 Change-Id: Ib88f3fb95678021624e59535492926dd315d26fb Jean Chalard2014-08-261-1/+1
* Merge "Use more descriptive names for some internal fields" into lmp-devYohei Yukawa2014-08-251-11/+12
|\
| * Use more descriptive names for some internal fields•••This CL clarifies that delay parameters are specified with milliseconds. Change-Id: I401a60b8c09c2a04201af5b74babcdb091c07f4a Yohei Yukawa2014-08-251-11/+12
* | Show view even when IME is explicitly shown with physical keyboard•••Bug: 17242477 Bug: 13988700 Change-Id: I519c0481760a9aa93a5d9bee68e0f6a3a8fc4d9d Tadashi G. Takaoka2014-08-251-0/+12
|/
* follow-up to API change in I4a577bfd02b37b•••BUG: 17182367 BUG: 17185263 Change-Id: Id54ca29c191b9752fa82ffe5a960113b2e97e5c1 Yohei Yukawa2014-08-211-13/+1
* Use #onStartInputInternal to initialize cursor rect retrieval•••This CL simply moves the method calls of #requestCursorAnchorInfo into #onStartInputInternal just to consolidate the logic. Change-Id: Ia205738b9614e9ae375c1dab767a91d2e1f6d0d3 Yohei Yukawa2014-08-211-12/+12
* Let the backing view cover the entire content area•••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 Yohei Yukawa2014-08-161-1/+4
* Add the input style to SuggestedWords.•••Change-Id: I81f37d08659d449822b027d3d5912e11eec8b8ff Jean Chalard2014-08-141-8/+19
* Enable CursorAnchorInfo callback when necessary•••Change-Id: If3dda7442418053600ac935da50baaddb0e31d37 Yohei Yukawa2014-08-131-3/+6
* Add stub implementation of #onUpdateCursorAnchorInfo•••This CL never changes existing behavior because ProductionFlags.ENABLE_CURSOR_ANCHOR_INFO_CALLBACK is not yet turned on. Change-Id: I4bcbd2aebd05977b07231e8aa14acdcf6d8e1fa0 Yohei Yukawa2014-08-131-0/+12
* (DO NOT MERGE) Add debug setting to force hardware special key•••Bug: 13988700 Change-Id: If23f8a14097431e76a303a6d6c24e8d9835fb655 (cherry picked from commit 3659c70fc3174b00ac24e105677d7e480596bf56) Tadashi G. Takaoka2014-08-131-1/+2
* (DO NOT MERGE) Add SpecialkeyDetector•••Bug: 13988700 Change-Id: I215e879ad33b149370c1d0a5fdcf2203c0fc8b4a (cherry picked from commit 34541bfeb68e63bad71b83f1b7eba7922cca1723) Tadashi G. Takaoka2014-08-121-3/+9
* (DO NOT MERGE) Show InputView even when hardware keyboard is connected•••Bug: 13988700 Change-Id: I4aeb01bf3571afc97959c213474a6424d7896120 (cherry picked from commit 06514f00f43f15e702ad3d8287e0d90bff555b7f) Tadashi G. Takaoka2014-08-121-0/+21
* Rename distracter filter class.•••Bug: 13142176 Bug: 15531638 Change-Id: I89cef5264073eed25ffb5be10fdff731df0a3138 Keisuke Kuroyanagi2014-08-081-2/+3
* Merge "Revert "Introduce onEvent() to improve testability"" into lmp-devKen Wakasa2014-08-051-26/+17
|\
| * Revert "Introduce onEvent() to improve testability"•••This reverts commit ef74e737f580f7ac0b3bd70d6255dde3c87d9078. Apparently, this CL broke several unit tests. Change-Id: I86cf5f1ffb0214707afe99ee97f92ba8c5157f3f Ken Wakasa2014-08-061-26/+17
* | Revert "[HS1] Save some data in startInputView"•••This reverts commit f1accd4f04b13f764e1ffa7c7964e4b7c41ddf4b. Bug: 16830599 Change-Id: I4c9367f742b8ee8463920e91263b05c2195f8480 Jean Chalard2014-08-061-29/+7
* | Revert "[HS2] Move more stuff to onStartInput"•••This reverts commit 93b00a314e307cb257abf1cab88cb24d57ff3885. Bug: 16830599 Change-Id: I955e7da77978c3a495660aa29247e010d489c36b Jean Chalard2014-08-061-57/+50
|/
* Introduce onEvent() to improve testability•••...and prepare for the future Change-Id: Ieed96ab552993fd148e80b9c3355f1b569bd716f Jean Chalard2014-08-061-17/+26
* Fix an NPE when running with Keep.•••Change-Id: Ie703e14bff42d34608f11d0c2d7758950b84c88c Jean Chalard2014-08-061-4/+4
* [HS2] Move more stuff to onStartInput•••Bug: 8152758 Change-Id: Ida05df7d151ceb582886e2ad06c5bdf0b59978ee Jean Chalard2014-08-061-50/+61
* Merge "[HW14] Cleanup" into lmp-devJean Chalard2014-08-041-1/+1
|\
| * [HW14] Cleanup•••Do away with the didAutoCorrect local variables which are unnatural to return out of all these functions. Change-Id: I22024004d2c489de018beff812c2c589bfd8ca32 Jean Chalard2014-08-051-1/+1
* | [HS1] Save some data in startInputView•••Bug: 8152758 Change-Id: Ic57d3918b08e775769d4ba5d73ba5c31231e0d6a Jean Chalard2014-08-041-7/+25
|/
* Show "navigate up" icon on settings activity•••Bug: 15813742 Change-Id: I8b1feb5c35377e62199e5a909640d9c50f970654 Tadashi G. Takaoka2014-07-291-10/+8
* Merge "Wait for an event before actually realizing it" into lmp-devJean Chalard2014-07-251-1/+1
|\
| * Wait for an event before actually realizing it•••This would wrongly emit a 'timeout' log entry when switching between two instances of the same language. Change-Id: I56e5de121b87f3e762b58f0b2a77e9abc784036e Jean Chalard2014-07-281-1/+1
* | Make "Show correction suggestions" as a binary option•••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 Tadashi G. Takaoka2014-07-271-7/+7
|/
* Enable InputMethodService#onUpdateCursor behind the flag•••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 Yohei Yukawa2014-07-201-5/+9
* Rename ProductionFlag to ProductionFlags•••Change-Id: I5da2dbf8828fa0e176e7c2496392a5f561ebfe20 Tadashi G. Takaoka2014-07-161-3/+3
* Rename LatinImeLogger to DebugFlags•••Bug: 15318007 Change-Id: Ic0268fd12865c9a692a5e7110a9beb76cb8b6d7f Tadashi G. Takaoka2014-07-161-3/+5
* 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