aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Revert "Revert "Add Swiss French and German keyboard layouts."""Ken Wakasa2013-10-151-0/+4
|\
| * Revert "Revert "Add Swiss French and German keyboard layouts.""Ken Wakasa2013-10-101-0/+4
| | | | | | | | | | | | | | | | | | This reverts commit 56402cf10a3a26ca7add62678d7e1ab3064feab7. I'll submit this on 10/16 after the final cut for Bayo. Change-Id: I0fe4ab64fd8dfa1e63e29adf00388743fca6a1ed bug: 11144401
* | mExpectingUpdateSelection was out of sync when nothing to delete.Ken Wakasa2013-10-151-10/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | am 3a3bbf4a: am eed74b81: am c8383eda: Fix wrong commitText parameter in ↵Ken Wakasa2013-10-142-4/+14
|\ \ | | | | | | | | | | | | | | | | | | sendKeyCodePoint() * commit '3a3bbf4a38870ecc42b7f6fbd3a7cae20fe020a7': Fix wrong commitText parameter in sendKeyCodePoint()
| * | 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
* | | am 60fb5865: am 06e1bdaa: am 3e35e072: Merge "Make emoji separators" into ↵Ken Wakasa2013-10-112-9/+4
|\| | | | | | | | | | | | | | | | | | | | klp-dev * commit '60fb58654e33448651fea191ba22cfdc87e37466': Make emoji separators
| * | 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
* | | | am 40506273: am ac6d0c65: am 6d915037: Merge "Fix a bug where emojis would ↵Satoshi Kataoka2013-10-111-4/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | remove the suggestion strip." into klp-dev * commit '405062733cfe066c4b9af719bfc36a9a516c9dd3': Fix a bug where emojis would remove the suggestion strip.
| * | | Merge "Fix a bug where emojis would remove the suggestion strip." into klp-devSatoshi Kataoka2013-10-111-4/+2
| |\ \ \
| | * | | Fix a bug where emojis would remove the suggestion strip.Jean Chalard2013-10-111-4/+2
| | |/ / | | | | | | | | | | | | | | | | Bug: 11163495 Change-Id: I23d12c430125cc2a66a6e00715a4c609bb9e2bb1
* | | | Merge "Add a time stamp for unigrams."Ken Wakasa2013-10-112-4/+21
|\ \ \ \
| * | | | Add a time stamp for unigrams.Yuichiro Hanada2013-10-112-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 10920255 Change-Id: I26d2cce3c322a4ff39a614f8615f43fb7bd3baed
* | | | | am 3f1c95db: am 331c84d7: am 5fe9ab1c: Merge "Fix the suggestion size." into ↵Jean Chalard2013-10-111-9/+26
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | klp-dev * commit '3f1c95dbdc18453dc0cd6f847b33e01db1f1d75b': Fix the suggestion size.
| * | | | 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
| * / | | Do not merge. Save / restore the last used emoji categorySatoshi Kataoka2013-10-111-7/+18
| |/ / / | | | | | | | | | | | | | | | | Bug: 11029983 Change-Id: I5547910c7b5dd7974292fc075af33568940f4e81
| * | | Fix the security related API change for PreferenceActivitySatoshi Kataoka2013-10-095-3/+88
| | | | | | | | | | | | | | | | | | | | Bug: 10118761 Change-Id: I63501d6c2b5f561d7ab8b7362498665d805d5e1e
| * | | Fix crash in AdditionalSubtypeUtilsSatoshi Kataoka2013-10-091-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 11136982 Change-Id: I9d022a178c47bad3566be4c0bd8ffbce0b14896d
* | | | Merge "Add resolveBigramPositions."Ken Wakasa2013-10-111-11/+22
|\ \ \ \
| * | | | Add resolveBigramPositions.Yuichiro Hanada2013-10-091-11/+22
| |/ / / | | | | | | | | | | | | | | | | Bug: 11073222 Change-Id: I680e4304c6ab701e9aa132e1e140d789097a53ae
* | | | Merge "Save / restore the last used emoji category"Satoshi Kataoka2013-10-111-7/+18
|\ \ \ \ | |_|/ / |/| | |
| * | | Save / restore the last used emoji categorySatoshi Kataoka2013-10-111-7/+18
| | |/ | |/| | | | | | | | | | Bug: 11029983 Change-Id: I1bec2c3c6b547de68562a818a8d6c9fef83787b7
* | | Add the new format of bigram entries.Yuichiro Hanada2013-10-114-27/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Allow double-space-to-period after percentJean Chalard2013-10-102-0/+2
|/ / | | | | | | | | Bug: 11158604 Change-Id: If8c94ef91ed58bb5028f51be7c8d9beb677436a4
* | Revert "Add Swiss French and German keyboard layouts."Ken Wakasa2013-10-101-4/+0
| | | | | | | | | | | | | | | | 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
* | Add Swiss French and German keyboard layouts.Fredrik Roubert2013-10-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Fix the security related API change for PreferenceActivity"Satoshi Kataoka2013-10-095-3/+88
|\ \
| * | Fix the security related API change for PreferenceActivitySatoshi Kataoka2013-10-095-3/+88
| |/ | | | | | | | | Bug: 10118761 Change-Id: I63501d6c2b5f561d7ab8b7362498665d805d5e1e
* | Merge "Always call finishComposingText before recapitalization"Jean Chalard2013-10-091-0/+1
|\ \
| * | Always call finishComposingText before recapitalizationJean Chalard2013-10-091-0/+1
| | | | | | | | | | | | | | | | | | | | | Workaround for framework bug: Bug: 10792236 Change-Id: I3706b9eed5223889791840e30660f8d17625cb70
* | | Merge "Remove a useless IPC call."Jean Chalard2013-10-091-1/+0
|\| |
| * | Remove a useless IPC call.Jean Chalard2013-10-091-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
* / Fix crash in AdditionalSubtypeUtilsSatoshi Kataoka2013-10-091-6/+12
|/ | | | | | Bug: 11136982 Change-Id: I9d022a178c47bad3566be4c0bd8ffbce0b14896d
* Merge "Reduce memory of emoji palette"Satoshi Kataoka2013-10-081-5/+1
|\
| * Reduce memory of emoji paletteSatoshi Kataoka2013-10-081-5/+1
| | | | | | | | | | Bug: 10902556 Change-Id: I3c8da35a601de2bfb248292c7b59235fc1120988
* | Show the keyboard earlier when rotating.Jean Chalard2013-10-081-4/+5
|/ | | | | Bug: 11107229 Change-Id: I0b36341d60b634a860eb13fafd0dc69fe734bdeb
* 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 "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-071-4/+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
* / 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