aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-10-17Remove obsolete locale directories.Baligh Uddin13-1199/+0
Bug: 11244796
2013-10-17Import translations. DO NOT MERGEBaligh Uddin3-3/+3
Change-Id: Ia2590927c02e8e64506e746650d318c1d84ae7c2 Auto-generated-cl: translation import
2013-10-17[DO NOT MERGE] Fix a bug where autoshift would be ignored coming from emojiJean Chalard1-0/+3
Bug: 11123691 Change-Id: I36474e12e34af95051129840865015f85595411b
2013-10-16Do not merge. Remove Azerbaijani subtypeSatoshi Kataoka1-4/+6
The corresponding change is I0d2a98dffe03ebd Bug: 11244796 Change-Id: I0d2a98dffe03ebddf26fc3c2760061c39de4c57e
2013-10-14mExpectingUpdateSelection was out of sync when nothing to delete.Ken Wakasa1-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
2013-10-13Fix wrong commitText parameter in sendKeyCodePoint()Ken Wakasa2-4/+14
Small optimization on generating a String instance from a single code point too. bug: 11181913 Change-Id: I0f905e4dc6ec7841092bb4d3d940daf3b2303f5b
2013-10-12Import translations. DO NOT MERGEBaligh Uddin2-2/+2
Change-Id: Icbe028a32311c167219f366e695cb7932f5a9a71 Auto-generated-cl: translation import
2013-10-11Import translations. DO NOT MERGEBaligh Uddin33-120/+62
Change-Id: I45a783763fce6254469a39374d03edb6a1867cc9 Auto-generated-cl: translation import
2013-10-11Fix a bug where emojis would remove the suggestion strip.Jean Chalard2-9/+15
Bug: 11163495 Change-Id: I23d12c430125cc2a66a6e00715a4c609bb9e2bb1
2013-10-11Make emoji separatorsJean Chalard2-9/+4
Bug: 11163495 Change-Id: I3247b8d1bbd3406b29a30a25aebd932c63431943
2013-10-11Fix the suggestion size.Jean Chalard1-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
2013-10-11Do not merge. Save / restore the last used emoji categorySatoshi Kataoka2-11/+25
Bug: 11029983 Change-Id: I5547910c7b5dd7974292fc075af33568940f4e81
2013-10-10Support sw540 (ultra Z). DO NOT MERGESatoshi Kataoka5-0/+0
cherrypick of Ib930ba810b25e28bcc36ea1647d46731816d9def Bug: 11125351 Change-Id: Ifc4ab2a0495e886259c34f78bbe8cbf8fb75203b
2013-10-10Tweak vertical gap of Emoji palette. DO NOT MERGESatoshi Kataoka1-2/+2
cherrypick of I8163568a9d7f9d321148001e161c672f78796c96 Bug: 11140087 Change-Id: Ifd28f3017a8cf568a8c4a1045811564a129d85b7
2013-10-10Retry to tweak punctuations. DO NOT MERGESatoshi Kataoka2-2/+2
cherrypick of I9ffc457ca44bccfa3eb3bdb0c26535d795215b26 Bug: 11130808 Change-Id: I1a65fd8acc4efe9b4e4786a3dc959498ae63c2f8
2013-10-09Fix the security related API change for PreferenceActivitySatoshi Kataoka6-4/+91
Bug: 10118761 Change-Id: I63501d6c2b5f561d7ab8b7362498665d805d5e1e
2013-10-09Fix crash in AdditionalSubtypeUtilsSatoshi Kataoka2-6/+68
Bug: 11136982 Change-Id: I9d022a178c47bad3566be4c0bd8ffbce0b14896d
2013-10-08Fix the position of emoji paletteSatoshi Kataoka1-1/+5
Change-Id: I07a3912cb9fef8e28f3605de4e73a201a900e95c
2013-10-08Add more_keys_for_* declarations for the Swedish keyboard.Fredrik Roubert2-29/+104
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
2013-10-08Reduce memory of emoji paletteSatoshi Kataoka3-5/+34
Bug: 10902556 Change-Id: I3c8da35a601de2bfb248292c7b59235fc1120988
2013-10-08Update dictionariesJean Chalard6-0/+0
>>> dictionaries/en_GB_wordlist.combined.gz Header : date : 1381130519 <=> 1381226409 version : 41 <=> 42 Body : Added: haha 45 >>> dictionaries/en_US_wordlist.combined.gz Header : date : 1380293342 <=> 1381226409 version : 40 <=> 42 Body : Added: haha 45 >>> dictionaries/en_wordlist.combined.gz Header : date : 1380293363 <=> 1381226429 version : 40 <=> 42 Body : Added: haha 45 >>> dictionaries/fr_wordlist.combined.gz Header : date : 1380519383 <=> 1381226409 version : 40 <=> 42 Body : Freq changed: haha 0 -> 30 >>> java/res/raw/main_en.dict Header : date : 1380293363 <=> 1381226429 version : 40 <=> 42 Body : Added: haha 45 >>> java/res/raw/main_fr.dict Header : date : 1380519383 <=> 1381226409 version : 40 <=> 42 Body : Freq changed: haha 0 -> 30 Bug: 11114205 Change-Id: I39d429d24d93ee07a70d8613ce0752432b26acc4
2013-10-08Fix memory leak in EmojiPaletteViewSatoshi Kataoka1-3/+6
Bug: 10902556 Change-Id: I3a8c1e08d6f953b462d914acd1f411c36f9d80f2
2013-10-08Prep for RAM footprint optimization for Emoji palettesKen Wakasa3-10/+15
bug: 10902556 Change-Id: I313948c73b60cd33c437cf02e8d3fb61c288a240
2013-10-08Show more messages when reading a compressed combined format file.Yuichiro Hanada1-1/+5
Change-Id: I51a1b9454fcfe656e0fcf762dcfd9ecbadde86c3
2013-10-08Show the keyboard earlier when rotating.Jean Chalard1-4/+5
Bug: 11107229 Change-Id: I0b36341d60b634a860eb13fafd0dc69fe734bdeb
2013-10-08Fix offdevice test build.Keisuke Kuroyanagi1-2/+2
Change-Id: I42143bdc4f6f5aa4f55530de84819ab722a22f72
2013-10-08Make the sentence separator a resource.Jean Chalard7-62/+73
This will help handing correctly the armenian full stop. Bug: 10082781 Change-Id: Id7bb219ebd89daba203216eab362d1cc26a65a36
2013-10-08Add Ime language switching test.Keisuke Kuroyanagi3-1/+102
Change-Id: I6a96dc5fdd533899353d537382608c2759faff1c
2013-10-08Fix a bug: wrong parent position is written when moving.Keisuke Kuroyanagi1-1/+2
Change-Id: I93d33ba9105eb85327108cca5706d8db3399de6a
2013-10-08Add a large test adding bigrams for decaying dictionary.Keisuke Kuroyanagi1-1/+73
Bug: 10197478 Change-Id: I34d3c21bd7f70885a3031ce91a4d4c4ba3564856
2013-10-07Extend hitbox of emoji keysSatoshi Kataoka1-13/+23
Bug: 11105065 Change-Id: I5e90ba55cf708bf7be27d7d101cbc0719ac583c8
2013-10-07Fix a possible IOOBJean Chalard1-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
2013-10-07Call loadKeyboard later if it can't be called right awayJean Chalard2-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
2013-10-07Clear the cache of subtypes in onStartInputViewInternalSatoshi Kataoka1-1/+1
Bug: 11077905 Change-Id: I9495f13a20edca0e6153cd1a7a0ac6891f707c59
2013-10-07Don't auto-correct to non-whitelist shortcutsJean Chalard2-3/+5
Bug: 11076722 Change-Id: I0de10ab24d33ec31f45664fe92d80d5a7bec9c20
2013-10-07Set the shortcut frequency correctly.Jean Chalard11-31/+92
14 is the right value. Bug: 11076722 Change-Id: I95d404b540f7fbe4932d1f8498cde23f1df0314f
2013-10-07Update en_GB dictionaryJean Chalard1-0/+0
Header : date : 1380293342 <=> 1381130519 version : 40 <=> 41 Body : Added: filter 115 Bug: 11076171 Change-Id: I4e88b38b61b794c58b645f7b39e28524d979caba
2013-10-07Fix bug and Add large test for decaying dictionary.Keisuke Kuroyanagi9-4/+82
- GC gets failure when the dictionary become empty. - Useless unigrams are sometimes not removed. Bug: 10197478 Change-Id: I8d1479c01efba61a81f03bc077da6bcb4797a940
2013-10-07Remove suggestions when string contains a periodJean Chalard2-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
2013-10-07Enter -> Alpha keyboard switcher in Emoji palette viewSatoshi Kataoka2-6/+6
Bug: 11103091 Change-Id: I0c5384e9f148566d1ac1d178a8227eb913d59908
2013-10-07Show Emoji key by longpressing the enter keySatoshi Kataoka2-21/+86
Bug: 11074625 Change-Id: I5fc57a2b68d7dcfb8dbebf5821b76b0895a947f9
2013-10-07Add navigateEmojiSatoshi Kataoka4-1/+99
Bug: 11074625 Change-Id: I1ef6b81ef923684b502c24fddb4ced8fe1691733
2013-10-07Fix buildSatoshi Kataoka1-1/+1
Change-Id: I61341aa7b1ceb311aaa5faa5888ba31e463a95d5
2013-10-07Parameter optimization.Keisuke Kuroyanagi1-3/+3
[Category diff] +1 194 -1 21 +2 15 -2 1 +3 1 -3 15 +4 152 -4 90 +5 108 -5 197 +6 94 -6 136 +7 28 -7 132 [Weighted category diff] +1 230 -1 23 +2 15 -2 1 +3 1 -3 15 +4 180 -4 106 +5 122 -5 224 +6 107 -6 158 +7 29 -7 157 show diff for ./en_user_log_phones_2011_08.csv +1 171 -1 9 +2 7 -2 1 +3 1 -3 7 +4 123 -4 76 +5 84 -5 157 +6 66 -6 119 +7 20 -7 103 Before ---- count ---- Count(1):75.64%, 177913 Count(2):1.06%, 2510 Count(3):0.56%, 1319 Count(4):6.63%, 15612 Count(5):9.87%, 23223 Count(6):2.79%, 6580 Count(7):3.41%, 8038 ---- weight ---- Weight(1):96.88%, 2009907 Weight(2):0.24%, 5157 Weight(3):0.09%, 2025 Weight(4):0.77%, 16095 Weight(5):1.11%, 23077 Weight(6):0.39%, 8172 Weight(7):0.48%, 10146 ---- score ---- Conservative score = 66.406 Normal score = 81.512 Agressive score = 89.064 Insane score = 92.841 After ---- count ---- Count(1):75.71%, 178087 Count(2):1.07%, 2524 Count(3):0.55%, 1305 Count(4):6.66%, 15677 Count(5):9.83%, 23133 Count(6):2.78%, 6539 Count(7):3.37%, 7930 ---- weight ---- Weight(1):96.89%, 2010118 Weight(2):0.24%, 5171 Weight(3):0.09%, 2011 Weight(4):0.78%, 16184 Weight(5):1.1%, 22972 Weight(6):0.39%, 8109 Weight(7):0.48%, 10014 ---- score ---- Conservative score = 66.431 Normal score = 81.531 Agressive score = 89.08 Insane score = 92.855 No diffs for 10+ freq user log. Change-Id: Ica4a7604507a2c91aaa7daf5bacf4fce4039f547
2013-10-07Rename EmojiKeyboardView -> EmojiPalettesViewSatoshi Kataoka9-44/+50
Change-Id: I226bb8e21fd2b2b6639896a1cc433d19f3f431c2
2013-10-04Import translations. DO NOT MERGEBaligh Uddin57-118/+176
Change-Id: I15036545751abe751f2768daef7f3f1605a5457e Auto-generated-cl: translation import
2013-10-04Import translations. DO NOT MERGEBaligh Uddin61-214/+1735
Change-Id: I6f88694633aa9f39c6b1731ea7634b80d3e3bf69 Auto-generated-cl: translation import
2013-10-04Import translations. DO NOT MERGEBaligh Uddin20-24/+1643
Change-Id: Icb238009beb72e5f4f70ad6e7e2333e26a7b24d5 Auto-generated-cl: translation import
2013-10-04Import translations. DO NOT MERGEBaligh Uddin26-104/+52
Change-Id: I04aed3599ff9570197b408a5d16ea48422294f97 Auto-generated-cl: translation import
2013-10-04Do not merge. Revert emoji key position to JB-mr2Satoshi Kataoka4-4/+26
Cherry pick of Ie2033b2f5253b2e2 Bug: 10954182 Change-Id: I9cc61e27a207055d5a43fe3da6fd1ec63bae49fd