Commit Graph

8957 Commits (8d04b0f4b5e90de068d698d34f0d0ffe5a87d63e)

Author SHA1 Message Date
Baligh Uddin 66214ef51a Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2013-10-17 15:36:37 +00:00
Baligh Uddin 193502fdba Import translations. DO NOT MERGE
Change-Id: I7993fcabb8d74fae3b08992d6323ca46d30db3b6
Auto-generated-cl: translation import
2013-10-17 08:29:25 -07:00
Jean Chalard a605db24a6 am 0f45e1bf: Fix a bug where autoshift would be ignored coming from emoji
* commit '0f45e1bfbca5c972b46acc1277d5f2fcad4fbf15':
  Fix a bug where autoshift would be ignored coming from emoji
2013-10-17 07:18:02 -07:00
Jean Chalard 0f45e1bfbc Fix a bug where autoshift would be ignored coming from emoji
Bug: 11123691
Change-Id: I36474e12e34af95051129840865015f85595411b
2013-10-17 22:58:34 +09:00
Satoshi Kataoka dc929dec4d am 0f5256e5: Merge "Don\'t show long-pressing emoji key on tablet"
* commit '0f5256e500089fc25df174b7c349a5667c496621':
  Don't show long-pressing emoji key on tablet
2013-10-17 04:40:20 -07:00
Satoshi Kataoka 0f5256e500 Merge "Don't show long-pressing emoji key on tablet" 2013-10-17 11:37:58 +00:00
Satoshi Kataoka b2f5e0639f Don't show long-pressing emoji key on tablet
Bug: 11264603
Change-Id: I85e8dfa795bbaad26f38bcdb8a958c26e031a4cd
2013-10-17 17:53:33 +09:00
Satoshi Kataoka 28af0d5a1a am 0d43ce28: Merge "Fix keyboard layout"
* commit '0d43ce28c7ccf50ea8b8739409e357f4ec1e6020':
  Fix keyboard layout
2013-10-17 01:41:00 -07:00
Satoshi Kataoka 0d43ce28c7 Merge "Fix keyboard layout" 2013-10-17 08:33:56 +00:00
Satoshi Kataoka e2d531c0fd Fix keyboard layout
- Show "..." on enter key if it has long-pressing emoji key
- Show enter key on symbols shift keyboard

Bug: 11262889
Bug: 11263464
Change-Id: If84d0cc621b12e1bf3a3102b1f09cbaedf92f007
2013-10-17 16:37:26 +09:00
Jean Chalard 3038bd9ce6 am 578e9b91: Merge "Remove useless code."
* commit '578e9b91c13a8ca780440f536ee8b9ebd9c962f1':
  Remove useless code.
2013-10-16 23:58:02 -07:00
Jean Chalard 2be7c8c86f am 8447409c: Merge "Remove mIsExpectingUpdateSelection."
* commit '8447409c770fb6af5ca6f9cdc8396c0b9bd96127':
  Remove mIsExpectingUpdateSelection.
2013-10-16 23:57:59 -07:00
Jean Chalard 578e9b91c1 Merge "Remove useless code." 2013-10-17 06:56:12 +00:00
Jean Chalard 8447409c77 Merge "Remove mIsExpectingUpdateSelection." 2013-10-17 06:55:54 +00:00
Yuichiro Hanada 8ef2da5c1a am ad5b9bce: Add readVer4PtNodeInfo to Ver4DictDecoder.
* commit 'ad5b9bcec249c672385c61de2e3231687401e588':
  Add readVer4PtNodeInfo to Ver4DictDecoder.
2013-10-16 23:39:46 -07:00
Yuichiro Hanada ad5b9bcec2 Add readVer4PtNodeInfo to Ver4DictDecoder.
Change-Id: Ibffaf64a9bda1fb0779a9b53558ca56ed31660d3
2013-10-17 14:37:04 +09:00
Yuichiro Hanada 104ed74b6e am 36dd126a: Add ShortcutContentReader.
* commit '36dd126ab41ad9d95ce6844be89a8e430b5f51ff':
  Add ShortcutContentReader.
2013-10-16 19:16:37 -07:00
Yuichiro Hanada 36dd126ab4 Add ShortcutContentReader.
Change-Id: I7c2d0d86d85775065a9bcb2b4a8463bb4969579e
2013-10-17 11:11:29 +09:00
Satoshi Kataoka 544e96778a am 11384432: Merge "Fix typo"
* commit '11384432bf2cc06617dcec0f8cd70660a3297314':
  Fix typo
2013-10-16 02:44:33 -07:00
Jean Chalard 6b451d56d4 am 5731b86b: Merge "Remove unneeded code."
* commit '5731b86b885a8cf7e3b7f9d612d4c82695bb9f73':
  Remove unneeded code.
2013-10-16 02:44:30 -07:00
Jean Chalard 548716d6d9 Remove useless code.
The only use of mDeleteCount is to implement delete
acceleration. It's reset at each non-delete code point, and
is guarded by a timer.
Plus, ultimately we want to remove this completely :
acceleration should be implemented by actually deleting
stuff faster, not by deleting several code points at a time.

Change-Id: Ia3144860b3aa2499034f2a2a7c81f32087af9598
2013-10-16 18:43:15 +09:00
Satoshi Kataoka 11384432bf Merge "Fix typo" 2013-10-16 09:42:08 +00:00
Jean Chalard 5731b86b88 Merge "Remove unneeded code." 2013-10-16 09:41:44 +00:00
Satoshi Kataoka 22f67ff55e Fix typo
Change-Id: I4748935c3cf00e4a3c02aabe2ea659e1c8c2d7c6
2013-10-16 18:40:28 +09:00
Jean Chalard 1194b2b204 Remove mIsExpectingUpdateSelection.
Bug: 11226045
Change-Id: I043f90ba92989bd8307c978eb32630439f63a0b9
2013-10-16 18:39:20 +09:00
Jean Chalard 497976e09b Remove unneeded code.
We don't support LOG_FULL_TEXTVIEW_CONTENTS any more, nor do
we have any plans to support it again in the future.

This also is a prelude to removing mIsExpectingUpdateSelection.

Bug: 11226045
Change-Id: Ib68c6daf52993b87225a7ea9e71a414caaecfdb7
2013-10-16 18:36:16 +09:00
Yuichiro Hanada 712099a069 am 098639d9: Add SparseContentTableReader.
* commit '098639d99f12a2910b4f942551fcdf7278d7616c':
  Add SparseContentTableReader.
2013-10-16 01:41:30 -07:00
Yuichiro Hanada 2e8536e962 am 7b5f2b71: Fix Ver4DictDecoder.readAndFollowForwardLink().
* commit '7b5f2b71f5ce8af82b4c0faad38437bca750cffe':
  Fix Ver4DictDecoder.readAndFollowForwardLink().
2013-10-16 01:41:27 -07:00
Yuichiro Hanada 098639d99f Add SparseContentTableReader.
Change-Id: I976afc5d320bc65835d659bae1d10d2cdc68262b
2013-10-16 17:24:59 +09:00
Yuichiro Hanada 7b5f2b71f5 Fix Ver4DictDecoder.readAndFollowForwardLink().
Change-Id: Ib527a376b693be21aebd4920ac804ee9b161eb96
2013-10-16 17:16:26 +09:00
Ken Wakasa 4232d440a3 am 008d84ff: Merge "Fix readAndFollowForwardLink."
* commit '008d84ffa5ee996a8a7ffa44ee29e54169247ffb':
  Fix readAndFollowForwardLink.
2013-10-16 00:49:35 -07:00
Ken Wakasa 008d84ffa5 Merge "Fix readAndFollowForwardLink." 2013-10-16 07:48:30 +00:00
Ken Wakasa 0fd378c748 am 6b7037fa: Merge "Extract SparseTableContentWriter."
* commit '6b7037fa680694b6fc787ec5bbcdb0aaa5fcad13':
  Extract SparseTableContentWriter.
2013-10-16 00:35:48 -07:00
Satoshi Kataoka b2fe44490f am 47015f20: Merge "Consolidate CharEncoding.writeString and BinaryDictIOUtils.writeString."
* commit '47015f205ab9035a6d49a68393f339c5a39d4d71':
  Consolidate CharEncoding.writeString and BinaryDictIOUtils.writeString.
2013-10-16 00:35:45 -07:00
Ken Wakasa 6b7037fa68 Merge "Extract SparseTableContentWriter." 2013-10-16 07:34:03 +00:00
Satoshi Kataoka 47015f205a Merge "Consolidate CharEncoding.writeString and BinaryDictIOUtils.writeString." 2013-10-16 07:33:21 +00:00
Satoshi Kataoka 4751a88d9f am 612885f6: Merge "Cleanup unintentionally used resources"
* commit '612885f65b0fa56bfd5d7001796619241127decf':
  Cleanup unintentionally used resources
2013-10-16 00:08:13 -07:00
Satoshi Kataoka 612885f65b Merge "Cleanup unintentionally used resources" 2013-10-16 07:06:16 +00:00
Satoshi Kataoka 7f5e821364 am af846af8: Remove Azerbaijani subtype
* commit 'af846af8bb7e4b49c99d7b0e051e70d03a5b7359':
  Remove Azerbaijani subtype
2013-10-15 23:54:26 -07:00
Satoshi Kataoka af846af8bb Remove Azerbaijani subtype
Bug: 11244796
Change-Id: I0d2a98dffe03ebddf26fc3c2760061c39de4c57e
2013-10-16 15:48:30 +09:00
Satoshi Kataoka ba9a428627 Cleanup unintentionally used resources
bug: 11244796

Change-Id: I99be3d54d38f4cd70fc38f5e0b88b4027f62d579
2013-10-16 14:44:50 +09:00
Yuichiro Hanada ed831f38db Extract SparseTableContentWriter.
Change-Id: I9a58e53317654f8a09fbe79044214de3e9c59eb7
2013-10-16 09:53:30 +09:00
Yuichiro Hanada 1557de7aa4 Consolidate CharEncoding.writeString and BinaryDictIOUtils.writeString.
Change-Id: I6f990fd84e7f08fd1149198c33d8bbf1cac8e078
2013-10-16 00:30:45 +09:00
Yuichiro Hanada 522dc0d8ac Fix readAndFollowForwardLink.
Change-Id: Ifda44e6139a4a1bd065468a7f74cd9483b343644
2013-10-16 00:16:39 +09:00
Ken Wakasa 8ea85a48c7 am b067be0e: Merge "Revert "Revert "Add Swiss French and German keyboard layouts."""
* commit 'b067be0e5f08eafd89eb0fd706ba564b898f317a':
  Revert "Revert "Add Swiss French and German keyboard layouts.""
2013-10-15 07:15:58 -07:00
Ken Wakasa b067be0e5f Merge "Revert "Revert "Add Swiss French and German keyboard layouts.""" 2013-10-15 14:12:29 +00:00
Ken Wakasa b91d1d6645 am b0440472: mExpectingUpdateSelection was out of sync when nothing to delete.
* commit 'b04404722729f2fa988c46c4d9080415332bbeb5':
  mExpectingUpdateSelection was out of sync when nothing to delete.
2013-10-14 22:11:41 -07:00
Ken Wakasa b044047227 mExpectingUpdateSelection 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
2013-10-15 14:05:34 +09:00
Ken Wakasa dc04059df1 am cf5dfd24: am 3a3bbf4a: am eed74b81: am c8383eda: Fix wrong commitText parameter in sendKeyCodePoint()
* commit 'cf5dfd2464d700f28fe7d8d48150d657274dd2ef':
  Fix wrong commitText parameter in sendKeyCodePoint()
2013-10-14 11:00:10 -07:00
Ken Wakasa cf5dfd2464 am 3a3bbf4a: am eed74b81: am c8383eda: Fix wrong commitText parameter in sendKeyCodePoint()
* commit '3a3bbf4a38870ecc42b7f6fbd3a7cae20fe020a7':
  Fix wrong commitText parameter in sendKeyCodePoint()
2013-10-14 10:52:40 -07:00