aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
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 unit test for If8c94ef91ed58bb5028f51be7c8d9beb677436a4Ken Wakasa1-1/+1
Change-Id: I056013de3a5e09feed429dfd8097d3d85331a0ab
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-11Save / restore the last used emoji categorySatoshi Kataoka2-11/+25
Bug: 11029983 Change-Id: I1bec2c3c6b547de68562a818a8d6c9fef83787b7
2013-10-11Add a time stamp for unigrams.Yuichiro Hanada2-4/+21
Bug: 10920255 Change-Id: I26d2cce3c322a4ff39a614f8615f43fb7bd3baed
2013-10-11Add the new format of bigram entries.Yuichiro Hanada5-27/+105
In new format, each bigram entry has flags (1 byte), a terminal id (3 byte), a time-stamp (4 byte), a counter (1 byte) and a level (1 byte). Bug: 10920255 Bug: 10920165 Change-Id: I0f7fc125a6178e6d25a07e8462afc41a7f57e3e1
2013-10-10Allow double-space-to-period after percentJean Chalard2-0/+2
Bug: 11158604 Change-Id: If8c94ef91ed58bb5028f51be7c8d9beb677436a4
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-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-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-09Support sw540 (ultra Z)Satoshi Kataoka5-0/+0
Bug: 11125351 Change-Id: Ib930ba810b25e28bcc36ea1647d46731816d9def
2013-10-09Add resolveBigramPositions.Yuichiro Hanada1-11/+22
Bug: 11073222 Change-Id: I680e4304c6ab701e9aa132e1e140d789097a53ae
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-07Import translations. DO NOT MERGEBaligh Uddin31-118/+60
Change-Id: I8dc4664964ed153fc79309d7e70f4a36bfacceb6 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