aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/accessibility/KeyCodeDescriptionMapper.java (unfollow)
Commit message (Expand)AuthorFilesLines
2013-10-16Remove Azerbaijani subtype•••Bug: 11244796 Change-Id: I0d2a98dffe03ebddf26fc3c2760061c39de4c57e Satoshi Kataoka1-3/+5
2013-10-15mExpectingUpdateSelection was out of sync when nothing to delete.•••cherripick of I9c6a948331726a821bd3ccec9c1d02dec2c4703a (forward cherrypicking this because the automerger is stuck now.) 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: I1cbf444d8d105416e7de75c16d80b3797f470495 Ken Wakasa1-10/+24
2013-10-14mExpectingUpdateSelection was out of sync when nothing to delete.•••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 Ken Wakasa1-10/+24
2013-10-13Fix wrong commitText parameter in sendKeyCodePoint()•••Small optimization on generating a String instance from a single code point too. bug: 11181913 Change-Id: I0f905e4dc6ec7841092bb4d3d940daf3b2303f5b Ken Wakasa2-4/+14
2013-10-12Import translations. DO NOT MERGE•••Change-Id: I6f722071496d4673ca2214cd5fe73dde1006f036 Auto-generated-cl: translation import Baligh Uddin2-2/+2
2013-10-12Import translations. DO NOT MERGE•••Change-Id: Icbe028a32311c167219f366e695cb7932f5a9a71 Auto-generated-cl: translation import Baligh Uddin2-2/+2
2013-10-11Import translations. DO NOT MERGE•••Change-Id: Iafd4f4b04b7c80e2d686d2a3953a5c6e41df2739 Auto-generated-cl: translation import Baligh Uddin4-5/+5
2013-10-11Import translations. DO NOT MERGE•••Change-Id: I45a783763fce6254469a39374d03edb6a1867cc9 Auto-generated-cl: translation import Baligh Uddin33-120/+62
2013-10-11Fix a bug where emojis would remove the suggestion strip.•••Bug: 11163495 Change-Id: I23d12c430125cc2a66a6e00715a4c609bb9e2bb1 Jean Chalard2-9/+15
2013-10-11Make emoji separators•••Bug: 11163495 Change-Id: I3247b8d1bbd3406b29a30a25aebd932c63431943 Jean Chalard2-9/+4
2013-10-11Fix unit test for If8c94ef91ed58bb5028f51be7c8d9beb677436a4•••Change-Id: I056013de3a5e09feed429dfd8097d3d85331a0ab Ken Wakasa1-1/+1
2013-10-11Fix the suggestion size.•••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 Jean Chalard1-9/+26
2013-10-11Do not merge. Save / restore the last used emoji category•••Bug: 11029983 Change-Id: I5547910c7b5dd7974292fc075af33568940f4e81 Satoshi Kataoka2-11/+25
2013-10-11Save / restore the last used emoji category•••Bug: 11029983 Change-Id: I1bec2c3c6b547de68562a818a8d6c9fef83787b7 Satoshi Kataoka2-11/+25
2013-10-11Add a time stamp for unigrams.•••Bug: 10920255 Change-Id: I26d2cce3c322a4ff39a614f8615f43fb7bd3baed Yuichiro Hanada2-4/+21
2013-10-11Add the new format of bigram entries.•••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 Yuichiro Hanada5-27/+105
2013-10-10Allow double-space-to-period after percent•••Bug: 11158604 Change-Id: If8c94ef91ed58bb5028f51be7c8d9beb677436a4 Jean Chalard2-0/+2
2013-10-10Support sw540 (ultra Z). DO NOT MERGE•••cherrypick of Ib930ba810b25e28bcc36ea1647d46731816d9def Bug: 11125351 Change-Id: Ifc4ab2a0495e886259c34f78bbe8cbf8fb75203b Satoshi Kataoka5-0/+0
2013-10-10Tweak vertical gap of Emoji palette. DO NOT MERGE•••cherrypick of I8163568a9d7f9d321148001e161c672f78796c96 Bug: 11140087 Change-Id: Ifd28f3017a8cf568a8c4a1045811564a129d85b7 Satoshi Kataoka1-2/+2
2013-10-10Retry to tweak punctuations. DO NOT MERGE•••cherrypick of I9ffc457ca44bccfa3eb3bdb0c26535d795215b26 Bug: 11130808 Change-Id: I1a65fd8acc4efe9b4e4786a3dc959498ae63c2f8 Satoshi Kataoka2-2/+2
2013-10-10Revert "Revert "Add Swiss French and German keyboard layouts.""•••This reverts commit 56402cf10a3a26ca7add62678d7e1ab3064feab7. I'll submit this on 10/16 after the final cut for Bayo. Change-Id: I0fe4ab64fd8dfa1e63e29adf00388743fca6a1ed bug: 11144401 Ken Wakasa13-573/+970
2013-10-10Revert "Add Swiss French and German keyboard layouts."•••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 Ken Wakasa13-970/+573
2013-10-09Add Swiss French and German keyboard layouts.•••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 Fredrik Roubert13-573/+970
2013-10-09Fix the security related API change for PreferenceActivity•••Bug: 10118761 Change-Id: I63501d6c2b5f561d7ab8b7362498665d805d5e1e Satoshi Kataoka6-4/+91
2013-10-09Fix crash in AdditionalSubtypeUtils•••Bug: 11136982 Change-Id: I9d022a178c47bad3566be4c0bd8ffbce0b14896d Satoshi Kataoka2-6/+68
2013-10-09Support sw540 (ultra Z)•••Bug: 11125351 Change-Id: Ib930ba810b25e28bcc36ea1647d46731816d9def Satoshi Kataoka5-0/+0
2013-10-09Add resolveBigramPositions.•••Bug: 11073222 Change-Id: I680e4304c6ab701e9aa132e1e140d789097a53ae Yuichiro Hanada1-11/+22
2013-10-09Retry to tweak punctuations•••Bug: 11130808 Change-Id: I9ffc457ca44bccfa3eb3bdb0c26535d795215b26 Satoshi Kataoka2-2/+2
2013-10-09Tweak vertical gap of Emoji palette•••Bug: 11140087 Change-Id: I8163568a9d7f9d321148001e161c672f78796c96 Satoshi Kataoka1-2/+2
2013-10-09Fix the security related API change for PreferenceActivity•••Bug: 10118761 Change-Id: I63501d6c2b5f561d7ab8b7362498665d805d5e1e Satoshi Kataoka6-4/+91
2013-10-09Initial step to support version 4 format in native code.•••Bug: 11073222 Change-Id: I633229381b28cef23edef2b37e5b0bf6e15af468 Keisuke Kuroyanagi5-0/+12
2013-10-09Fix crash in AdditionalSubtypeUtils•••Bug: 11136982 Change-Id: I9d022a178c47bad3566be4c0bd8ffbce0b14896d Satoshi Kataoka2-6/+68
2013-10-09Always call finishComposingText before recapitalization•••Workaround for framework bug: Bug: 10792236 Change-Id: I3706b9eed5223889791840e30660f8d17625cb70 Jean Chalard1-0/+1
2013-10-09Remove a useless IPC call.•••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 Jean Chalard1-1/+0
2013-10-08Fix the position of emoji palette•••Change-Id: I07a3912cb9fef8e28f3605de4e73a201a900e95c Satoshi Kataoka1-1/+5
2013-10-08Add more_keys_for_* declarations for the Swedish keyboard.•••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 Fredrik Roubert2-29/+104
2013-10-08Reduce memory of emoji palette•••Bug: 10902556 Change-Id: I3c8da35a601de2bfb248292c7b59235fc1120988 Satoshi Kataoka3-5/+34
2013-10-08Update dictionaries•••>>> 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 Jean Chalard6-0/+0
2013-10-08Fix memory leak in EmojiPaletteView•••Bug: 10902556 Change-Id: I3a8c1e08d6f953b462d914acd1f411c36f9d80f2 Satoshi Kataoka1-3/+6
2013-10-08Prep for RAM footprint optimization for Emoji palettes•••bug: 10902556 Change-Id: I313948c73b60cd33c437cf02e8d3fb61c288a240 Ken Wakasa3-10/+15
2013-10-08Show more messages when reading a compressed combined format file.•••Change-Id: I51a1b9454fcfe656e0fcf762dcfd9ecbadde86c3 Yuichiro Hanada1-1/+5
2013-10-08Show the keyboard earlier when rotating.•••Bug: 11107229 Change-Id: I0b36341d60b634a860eb13fafd0dc69fe734bdeb Jean Chalard1-4/+5
2013-10-08Fix offdevice test build.•••Change-Id: I42143bdc4f6f5aa4f55530de84819ab722a22f72 Keisuke Kuroyanagi1-2/+2
2013-10-08Make the sentence separator a resource.•••This will help handing correctly the armenian full stop. Bug: 10082781 Change-Id: Id7bb219ebd89daba203216eab362d1cc26a65a36 Jean Chalard7-62/+73
2013-10-07Import translations. DO NOT MERGE•••Change-Id: If76652b1bdfc62f8c8d60ca8d5a8c3b7346e75a3 Auto-generated-cl: translation import Baligh Uddin31-118/+60
2013-10-08Add Ime language switching test.•••Change-Id: I6a96dc5fdd533899353d537382608c2759faff1c Keisuke Kuroyanagi3-1/+102
2013-10-08Fix a bug: wrong parent position is written when moving.•••Change-Id: I93d33ba9105eb85327108cca5706d8db3399de6a Keisuke Kuroyanagi1-1/+2
2013-10-08Add a large test adding bigrams for decaying dictionary.•••Bug: 10197478 Change-Id: I34d3c21bd7f70885a3031ce91a4d4c4ba3564856 Keisuke Kuroyanagi1-1/+73
2013-10-07Extend hitbox of emoji keys•••Bug: 11105065 Change-Id: I5e90ba55cf708bf7be27d7d101cbc0719ac583c8 Satoshi Kataoka1-13/+23
2013-10-07Fix a possible IOOB•••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 Jean Chalard1-2/+3