aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-10-10Allow double-space-to-period after percentJean Chalard2-0/+2
Bug: 11158604 Change-Id: If8c94ef91ed58bb5028f51be7c8d9beb677436a4
2013-10-10Revert "Add Swiss French and German keyboard layouts."Ken Wakasa13-970/+573
This reverts commit 220ce8f269e8d2507a2a57ec919e48ddb6f496f8. Sorry, but we are now in the week before the final cut for the next launch. We shouldn't be taking new features like this at this point. Let me revert this change for now. I'll re-revert this after the cut next week. Change-Id: Ia8b00680c992ec526e6a858945f2380cbcdfdd55
2013-10-09Add Swiss French and German keyboard layouts.Fredrik Roubert13-573/+970
There used to be two "Swiss" keyboard layouts, labelled fr_CH and de_QY, available in LatinIME. They were, however, not actually Swiss layouts but instead work-arounds to be able to get French or German with qwertz or qwerty (instead of azerty and qwertz) layouts, respectively. These were thus removed by commit f6972561fcb45310f18230ce217f0c6bb57e7eee replacing them with the generic fr-qwertz and de-qwerty layouts instead. Here, now, is a proper Swiss keyboard layout, following Swiss standards for people accustomed to typing on Swiss keyboards, with the expected tailorings for French and German. Change-Id: I9feed752053ecc694c84db713284f69bc1daf155
2013-10-09Support sw540 (ultra Z)Satoshi Kataoka5-0/+0
Bug: 11125351 Change-Id: Ib930ba810b25e28bcc36ea1647d46731816d9def
2013-10-09Retry to tweak punctuationsSatoshi Kataoka2-2/+2
Bug: 11130808 Change-Id: I9ffc457ca44bccfa3eb3bdb0c26535d795215b26
2013-10-09Tweak vertical gap of Emoji paletteSatoshi Kataoka1-2/+2
Bug: 11140087 Change-Id: I8163568a9d7f9d321148001e161c672f78796c96
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-09Always call finishComposingText before recapitalizationJean Chalard1-0/+1
Workaround for framework bug: Bug: 10792236 Change-Id: I3706b9eed5223889791840e30660f8d17625cb70
2013-10-09Remove a useless IPC call.Jean Chalard1-1/+0
This is not useful because we're going to call setSelection again with different values on the connection right away. Also a preliminary change for Bug: 10792236 Change-Id: I46c6ef1fbb3624086099bf81afddb0ef5ae85661
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-07Import translations. DO NOT MERGEBaligh Uddin31-118/+60
Change-Id: If76652b1bdfc62f8c8d60ca8d5a8c3b7346e75a3 Auto-generated-cl: translation import
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 Uddin26-104/+52
Change-Id: I04aed3599ff9570197b408a5d16ea48422294f97 Auto-generated-cl: translation import
2013-10-04Import translations. DO NOT MERGEBaligh Uddin63-120/+1849
Change-Id: I50e530351c75746759fefc4113c4f881755405ec Auto-generated-cl: translation import
2013-10-04Fallback on empty locales.Jean Chalard1-2/+18
This is a very rare corner case. Bug: 11072132 Change-Id: Iad2aa69511f7dc99105284a049c63f2f997b8ef0
2013-10-04Accept double-space-period after emoji.Jean Chalard2-10/+28
This also includes a fix that allows this code to read surrogate pairs in this processing. Bug: 11070482 Change-Id: If5ef8d6863938252f09128b7e99ea07ece6e7019
2013-10-04Fix emojiSatoshi Kataoka7-7/+7
Bug: 10538430 Change-Id: Ib11e29794216b54001806ab12fe440d157243dc1
2013-10-04Fix emoji recent key behaviorSatoshi Kataoka2-3/+38
Bug: 10538430 Change-Id: I91e03a8e7914628cdc8e57c124c95e5e6e8ea2a6
2013-10-04Suppress exceptions that have always been happening.Ken Wakasa2-7/+12
Change-Id: I5f85a7a0f94ea9ecbe0c4a8caebcf551fa9c9669
2013-10-04Tentatively revert assetsSatoshi Kataoka4-0/+0
Change-Id: I403fc24a407fdd3b433d5820f1b46e6985cbe83e
2013-10-04Add Ver4DictUpdater.Yuichiro Hanada5-2/+65
Change-Id: I986ab26faf535fc4bc98443053f534eced9d048f