aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Stopgap solution for a crash.Jean Chalard2013-10-221-1/+8
| | | | | | | | | | This returns the wrong string, but since it's used for getting the previous word for bigrams, it only results in slightly worse suggestions quality. Cherry-pick of I6ce5de2f Bug: 11273655 Change-Id: I17fb6d74f18fb31bd8f8518f80456d74ae30a2c3
* Merge "[DO NOT MERGE] Add a sequence number to SuggestedWords." into klp-devJean Chalard2013-10-223-57/+100
|\
| * [DO NOT MERGE] Add a sequence number to SuggestedWords.Jean Chalard2013-10-223-57/+100
| | | | | | | | | | | | | | | | | | This allows testing for suggestion freshness in an asynchronous suggestions world. Cherry-pick of Ic76cd175 Bug: 11301597 Change-Id: I45a84de0632062475eebe30234b3147f1c680359
* | [DO NOT MERGE] Fix a bug where autocaps would jam auto-commitJean Chalard2013-10-221-1/+1
|/ | | | | | | Cherry-pick of I62955e36 Bug: 11311002 Change-Id: I5b11cb48e6dd0563fc29566fe0d27864be2beb0a
* Fix: Suggested words from user history are invalid. DO NOT MERGE.Keisuke Kuroyanagi2013-10-181-9/+0
| | | | | | | | - Suggestions form user history can contain invalid words. - isValidWord always returns false. Bug: 11139426 Change-Id: I6075b275603332ddb00f4a9284afcaa82d824270
* [DO NOT MERGE] Fix a bug where autoshift would be ignored coming from emojiJean Chalard2013-10-171-0/+3
| | | | | Bug: 11123691 Change-Id: I36474e12e34af95051129840865015f85595411b
* mExpectingUpdateSelection was out of sync when nothing to delete.Ken Wakasa2013-10-141-10/+24
| | | | | | | | | | | | | | | | | | | | | | This bug was leading to corrupted rendering of surrogate pairs in the following scenario. 1. Type some emojis 2. Move the cursor at the beginning of the text field 3. Hit backspace even though there's nothing to delete 4. Move the cursor after some emoji 5. Hit backspace The root cause of this issue was the out-of-sync mExpectingUpdateSelection if handleBackspace() gets called when the cursor reaches at the beginning of the TextView. In such case, mExpectingUpdateSelection shouldn't be set true because there's nothing to delete, so there will be no onUpdateSelection() calls associated with it. Due to this bug, the cache in RichInputConnection could get stale at step 4 described above. Then the following handleBackspace() that should delete a surrogate pair was not working correctly because of the stale cache. bug: 11181913 Change-Id: I9c6a948331726a821bd3ccec9c1d02dec2c4703a
* Fix wrong commitText parameter in sendKeyCodePoint()Ken Wakasa2013-10-132-4/+14
| | | | | | | | | Small optimization on generating a String instance from a single code point too. bug: 11181913 Change-Id: I0f905e4dc6ec7841092bb4d3d940daf3b2303f5b
* Merge "Make emoji separators" into klp-devKen Wakasa2013-10-112-9/+4
|\
| * Make emoji separatorsJean Chalard2013-10-112-9/+4
| | | | | | | | | | Bug: 11163495 Change-Id: I3247b8d1bbd3406b29a30a25aebd932c63431943
* | Merge "Fix a bug where emojis would remove the suggestion strip." into klp-devSatoshi Kataoka2013-10-112-9/+15
|\ \
| * | Fix a bug where emojis would remove the suggestion strip.Jean Chalard2013-10-112-9/+15
| | | | | | | | | | | | | | | Bug: 11163495 Change-Id: I23d12c430125cc2a66a6e00715a4c609bb9e2bb1
* | | Merge "Fix the suggestion size." into klp-devJean Chalard2013-10-111-9/+26
|\ \ \
| * | | Fix the suggestion size.Jean Chalard2013-10-111-9/+26
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The available space was not computed correctly. This makes the decision to ellipsize/expand the middle suggestion correct. Also, the scale was not applied correctly in some cases. Finally, for some reason ellipsize does not work as we expect. I'm not sure how to get it to work like we want it to, but this works around the problem in a simple manner. Bug: 11158757 Change-Id: I083e7ac56e157f100923733e67b92a6368a526c9
* | | Merge "Do not merge. Save / restore the last used emoji category" into klp-devSatoshi Kataoka2013-10-112-11/+25
|\ \ \ | |/ / |/| |
| * | Do not merge. Save / restore the last used emoji categorySatoshi Kataoka2013-10-112-11/+25
| |/ | | | | | | | | Bug: 11029983 Change-Id: I5547910c7b5dd7974292fc075af33568940f4e81
* | Merge "Tweak vertical gap of Emoji palette. DO NOT MERGE" into klp-devKen Wakasa2013-10-101-2/+2
|\ \
| * | Tweak vertical gap of Emoji palette. DO NOT MERGESatoshi Kataoka2013-10-101-2/+2
| |/ | | | | | | | | | | | | cherrypick of I8163568a9d7f9d321148001e161c672f78796c96 Bug: 11140087 Change-Id: Ifd28f3017a8cf568a8c4a1045811564a129d85b7
* / Retry to tweak punctuations. DO NOT MERGESatoshi Kataoka2013-10-101-1/+1
|/ | | | | | | cherrypick of I9ffc457ca44bccfa3eb3bdb0c26535d795215b26 Bug: 11130808 Change-Id: I1a65fd8acc4efe9b4e4786a3dc959498ae63c2f8
* Fix the security related API change for PreferenceActivitySatoshi Kataoka2013-10-096-4/+91
| | | | | Bug: 10118761 Change-Id: I63501d6c2b5f561d7ab8b7362498665d805d5e1e
* Fix crash in AdditionalSubtypeUtilsSatoshi Kataoka2013-10-092-6/+68
| | | | | | Bug: 11136982 Change-Id: I9d022a178c47bad3566be4c0bd8ffbce0b14896d
* Merge "Fix the position of emoji palette"Satoshi Kataoka2013-10-081-1/+5
|\
| * Fix the position of emoji paletteSatoshi Kataoka2013-10-081-1/+5
| | | | | | | | Change-Id: I07a3912cb9fef8e28f3605de4e73a201a900e95c
* | Merge "Add more_keys_for_* declarations for the Swedish keyboard."Ken Wakasa2013-10-081-14/+51
|\ \
| * | Add more_keys_for_* declarations for the Swedish keyboard.Fredrik Roubert2013-10-081-14/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds all those popup keys that were included in commit b1cb13292f482627e64ccb35be905b7f3154d4ff when the Swedish keyboard was first added. Many of these definitions were later removed by commit 79b965e04f81ac5c49c84a386566a1aa68752af6 but most likely by mistake, as that commit log message doesn't mention anything about removing these. To help making this file more maintainable, this commit also moves a few definitions around so that all definitions now appear in alphabetical order. Change-Id: Iadef9e3dd1dc7b39fe87b2fc75210d0697b24361
* | | Merge "Reduce memory of emoji palette"Satoshi Kataoka2013-10-083-5/+34
|\ \ \ | | |/ | |/|
| * | Reduce memory of emoji paletteSatoshi Kataoka2013-10-083-5/+34
| | | | | | | | | | | | | | | Bug: 10902556 Change-Id: I3c8da35a601de2bfb248292c7b59235fc1120988
* | | Merge "Show the keyboard earlier when rotating."Jean Chalard2013-10-081-4/+5
|\ \ \ | |/ / |/| |
| * | Show the keyboard earlier when rotating.Jean Chalard2013-10-081-4/+5
| | | | | | | | | | | | | | | Bug: 11107229 Change-Id: I0b36341d60b634a860eb13fafd0dc69fe734bdeb
* | | Fix memory leak in EmojiPaletteViewSatoshi Kataoka2013-10-081-3/+6
| | | | | | | | | | | | | | | Bug: 10902556 Change-Id: I3a8c1e08d6f953b462d914acd1f411c36f9d80f2
* | | Merge "Prep for RAM footprint optimization for Emoji palettes"Ken Wakasa2013-10-083-10/+15
|\ \ \ | |/ / |/| |
| * | Prep for RAM footprint optimization for Emoji palettesKen Wakasa2013-10-083-10/+15
| | | | | | | | | | | | | | | bug: 10902556 Change-Id: I313948c73b60cd33c437cf02e8d3fb61c288a240
* | | Make the sentence separator a resource.Jean Chalard2013-10-084-22/+25
|/ / | | | | | | | | | | | | This will help handing correctly the armenian full stop. Bug: 10082781 Change-Id: Id7bb219ebd89daba203216eab362d1cc26a65a36
* | Merge "Extend hitbox of emoji keys"Satoshi Kataoka2013-10-071-13/+23
|\ \
| * | Extend hitbox of emoji keysSatoshi Kataoka2013-10-071-13/+23
| | | | | | | | | | | | | | | Bug: 11105065 Change-Id: I5e90ba55cf708bf7be27d7d101cbc0719ac583c8
* | | Merge "Fix a possible IOOB"Jean Chalard2013-10-071-2/+3
|\ \ \
| * | | Fix a possible IOOBJean Chalard2013-10-071-2/+3
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | We want to use StringUtils here, but it's full of references to stuff not accessible host-side like JsonReader and TextUtils and SettingsValues :/ Bug: 11061476 Change-Id: I3c0194979833ede283b4f9190335dba5376fe6fc
* / | Call loadKeyboard later if it can't be called right awayJean Chalard2013-10-072-6/+15
|/ / | | | | | | | | | | | | | | | | | | | | | | Since loadKeyboard relies on the input connection being available to give it the auto-caps state, but also can't be called twice in a row because it needs to save and restore its state and invalidates it after the restore, we need to wait until we know we have a valid input connection to call it. Bug: 11107229 Change-Id: I1c7baf3215682df6f6ceb357bd37254f9e7418c7
* | Merge "Clear the cache of subtypes in onStartInputViewInternal"Satoshi Kataoka2013-10-071-1/+1
|\ \
| * | Clear the cache of subtypes in onStartInputViewInternalSatoshi Kataoka2013-10-071-1/+1
| |/ | | | | | | | | Bug: 11077905 Change-Id: I9495f13a20edca0e6153cd1a7a0ac6891f707c59
* | Merge "Don't auto-correct to non-whitelist shortcuts"Jean Chalard2013-10-071-2/+4
|\ \
| * | Don't auto-correct to non-whitelist shortcutsJean Chalard2013-10-071-2/+4
| | | | | | | | | | | | | | | Bug: 11076722 Change-Id: I0de10ab24d33ec31f45664fe92d80d5a7bec9c20
* | | Merge "Set the shortcut frequency correctly."Jean Chalard2013-10-079-22/+80
|\| |
| * | Set the shortcut frequency correctly.Jean Chalard2013-10-079-22/+80
| | | | | | | | | | | | | | | | | | | | | 14 is the right value. Bug: 11076722 Change-Id: I95d404b540f7fbe4932d1f8498cde23f1df0314f
* | | Merge "Fix bug and Add large test for decaying dictionary."Keisuke Kuroyanagi2013-10-071-0/+4
|\ \ \ | |_|/ |/| |
| * | Fix bug and Add large test for decaying dictionary.Keisuke Kuroyanagi2013-10-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | - GC gets failure when the dictionary become empty. - Useless unigrams are sometimes not removed. Bug: 10197478 Change-Id: I8d1479c01efba61a81f03bc077da6bcb4797a940
* | | Merge "Remove suggestions when string contains a period"Jean Chalard2013-10-072-13/+43
|\ \ \
| * | | Remove suggestions when string contains a periodJean Chalard2013-10-072-13/+43
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | This is not the right way to do it, but it's simple and will kill the regression. We should investigate why the return values are wrong in this case. Bug: 10780091 Change-Id: I808727242c9cb1598df00a7426358dc3a658add4
* | | Enter -> Alpha keyboard switcher in Emoji palette viewSatoshi Kataoka2013-10-071-4/+4
| |/ |/| | | | | | | Bug: 11103091 Change-Id: I0c5384e9f148566d1ac1d178a8227eb913d59908
* | Add navigateEmojiSatoshi Kataoka2013-10-071-0/+2
| | | | | | | | | | Bug: 11074625 Change-Id: I1ef6b81ef923684b502c24fddb4ced8fe1691733