Tom Ouyang
2fdf5b70ad
Add DigraphUtils class
...
Add a new DigraphUtils class to manage digraph handling for both
gesture and typing input.
Bug: 8493920
Change-Id: I3a509e1311b9039653f9f488d3c28bb54205f416
2013-04-04 19:56:04 -07:00
Jean Chalard
868805aec4
Merge "Change which backdoor the tests goes through"
2013-04-02 09:36:02 +00:00
Jean Chalard
248dcdf0eb
Merge "Fix a test."
2013-04-02 09:23:02 +00:00
Jean Chalard
5d399ec719
Change which backdoor the tests goes through
...
Yes that's even harder to understand. The old technique doesn't work
any more, so I have to drill a new hole in this class.
Bug: 8303100
Change-Id: I70a41b5094dab2bb56a17eaf55b2a2df853e4bb6
2013-04-02 18:20:19 +09:00
Jean Chalard
84bfde0421
Fix a test.
...
The test was not passing the correct input type when it was
creating the text view, resulting in mismatched types seen from
TextView and LatinIME with some bad results. The test would
even go as far as restoring it after it's been fixed by TextView.
Additionally, since we want to enter litteral carriage returns,
the input type should be MULTI_LINE. If not, TextView does
not allow carriage returns.
Bug: 8302690
Change-Id: I1c20bcf6ca554ad981048ec181e19c649f6c742e
2013-04-02 18:20:14 +09:00
Satoshi Kataoka
d2a04e1e79
Merge "Move typing policy to AOSP"
2013-04-02 07:54:43 +00:00
Satoshi Kataoka
a6a4165196
Move typing policy to AOSP
...
Bug: 8197301
Change-Id: Ife9b41a465d7b8d707623a6d3e4c1c88c3c3c4ab
2013-04-02 16:53:53 +09:00
Jean Chalard
ecb59eff90
Revert "[DO NOT MERGE] Activate hardware keyboard handling"
...
This reverts commit c741f1f83b
DO NOT MERGE is ignored and this is merged anyway :(
Change-Id: Ie044cdfc6021933379ec97ad7346c5c8591f70bf
2013-04-02 16:08:48 +09:00
Jean Chalard
c741f1f83b
[DO NOT MERGE] Activate hardware keyboard handling
...
Change-Id: Ifdec9338a454291621b2b87c899f5d4301480b27
2013-04-02 15:38:13 +09:00
Kurt Partridge
5779bc91e6
Merge "Split LogUnits differently."
2013-04-01 23:08:21 +00:00
Baligh Uddin
02fc1ed512
Merge "Import translations. DO NOT MERGE"
2013-04-01 20:54:38 +00:00
Kurt Partridge
0c0ab2b4d9
Merge "Reorder ResearchLogger call"
2013-04-01 15:19:45 +00:00
Jean Chalard
0745fe83d4
am b8869ec1
: am 0fcc4960
: Deactivate hardware keyboard handling.
...
* commit 'b8869ec1e39c1751825841e790d21fc854dca9ce':
Deactivate hardware keyboard handling.
2013-04-01 05:42:42 -07:00
Jean Chalard
b8869ec1e3
am 0fcc4960
: Deactivate hardware keyboard handling.
...
* commit '0fcc4960bcd037b7e1482098f85342743eb2ddee':
Deactivate hardware keyboard handling.
2013-04-01 05:40:07 -07:00
Jean Chalard
0fcc4960bc
Deactivate hardware keyboard handling.
...
Bug: 8000119
Change-Id: I021481343d6d87efd8ff6110e9aa0906a1a3d11d
2013-04-01 21:35:45 +09:00
Tadashi G. Takaoka
9413e957fa
Merge "Interpolate gesture preview trails"
2013-04-01 10:23:27 +00:00
Tadashi G. Takaoka
75028af28c
Interpolate gesture preview trails
...
There is the boolean flag to kill interpolation.
Bug: 7167303
Change-Id: Iac7e4cb88cf437c2ee77c003c9cddb92416025c7
2013-04-01 19:15:36 +09:00
Satoshi Kataoka
54c091d284
Merge "Move policy and session to AOSP"
2013-04-01 09:50:31 +00:00
Satoshi Kataoka
3107b467c9
Move policy and session to AOSP
...
Bug: 8197301
Change-Id: I742ff0d939f9ad1ee2cd8b959b6c5ee2757fd177
2013-04-01 18:15:08 +09:00
Jean Chalard
43341ba042
Merge "Ask the client to make itself known when it's not"
2013-04-01 09:00:25 +00:00
Jean Chalard
76d5f512f9
Ask the client to make itself known when it's not
...
Upon invoking the settings of the dictionary pack with an unknown
client, we now launch an intent to ask the client to make itself known.
This change also includes the code that receives this intent and
acts upon it.
Bug: 8492879
Change-Id: I2c6496dea845646961ecafcf64e282cb93ee91dc
2013-04-01 17:37:22 +09:00
Jean Chalard
065f126f1d
Merge "Fix two nasty bugs with surrogate pairs."
2013-04-01 08:28:08 +00:00
Jean Chalard
a411595b16
Fix two nasty bugs with surrogate pairs.
...
The important bug is in findWordInTree. The problem, which is
not obvious, is that we were calling codePointAt() with the
code point index in the string, instead of the char index.
The other bug this change fixes was harmless in the practice,
because it's in the iteration which is only used for debug and
pretty printing purposes. It's very similar in that it would
substract a length in code point to a length in chars and
truncate a StringBuilder at that length, so it would fail in a
quite similar manner. This changes the meaning of the "length"
attribute in Position, but it's clearer this way anyway.
Bug: 8450145
Change-Id: If396f883a9e6449de39351553ba83f5be5bd30f0
2013-04-01 17:06:19 +09:00
Satoshi Kataoka
38c26dd0bf
Move dicnode to AOSP
...
Bug: 8187060
Change-Id: I72398fa45b12683bd46d23c5ca69e6bcd5ca2b7e
2013-04-01 16:14:14 +09:00
Baligh Uddin
bd4fdf8e4e
Import translations. DO NOT MERGE
...
Change-Id: I8752437b40f9f8bcb7b8920bc1dc4342e51b3621
Auto-generated-cl: translation import
2013-03-29 21:27:10 -07:00
The Android Open Source Project
c1dec87a76
am b35915fb
: (-s ours) Reconcile with jb-mr2-release - do not merge
...
* commit 'b35915fb5095f18554d62dfc148eb1027cefa005':
2013-03-29 09:54:38 -07:00
The Android Open Source Project
b35915fb50
Reconcile with jb-mr2-release - do not merge
...
Change-Id: Iba9f399b20d62611002d4353e00355b2550dbb1d
2013-03-29 09:49:25 -07:00
Satoshi Kataoka
97a3ce022c
Merge "Refactor"
2013-03-29 10:57:45 +00:00
Satoshi Kataoka
394b0bd345
Refactor
...
Change-Id: Ie50fdd1081d306e520300245498a605e79e03818
2013-03-29 18:49:50 +09:00
Jean Chalard
740da0d8d0
Fix an NPE
...
Also remove an unused method and make 2 private variables
final.
Bug: 8461093
Change-Id: I676d93fda28e82eb5a6978f2e7ad5a0add2cbecf
2013-03-29 18:41:29 +09:00
The Android Automerger
0574e46c73
merge in jb-mr2-release history after reset to jb-mr2-dev
2013-03-28 05:56:26 -07:00
Tadashi G. Takaoka
48d8d8d0ae
Fix potential NPE in MainKeyboardView.KeyTimerHandler
...
Bug: 8469652
Change-Id: Ib7a548e6a24d2e02de85ab444c0ec99d8f6b82c3
2013-03-28 17:54:36 +09:00
Jean Chalard
2188cbae63
Merge "Fix an NPE"
2013-03-28 06:56:49 +00:00
Jean Chalard
d555a0d77a
Merge "Cleanup"
2013-03-28 06:16:40 +00:00
Jean Chalard
28d5f4577f
Fix an NPE
...
The code was passing the wrong parameter.
Bug: 8492879
Change-Id: I091d62ca29601e3807eed287c7bdad38bf43a502
2013-03-28 15:08:05 +09:00
Jean Chalard
dae90cfb01
Cleanup
...
Seems there was an unclosed cursor :o
Change-Id: I7616849ace5217d8c6f54465f7b3a634e3c14116
2013-03-28 14:43:32 +09:00
Baligh Uddin
fd0e40ef91
am 78b07d8b
: am 0cd02c2b
: keep history after reset to jb-ub-latinimegoogle-azuki
...
* commit '78b07d8b574fe2d1a43e796775b89b116f8f411f':
2013-03-27 22:09:51 -07:00
Baligh Uddin
fbb6500d7d
am 5bcbc21a
: (-s ours) am c08b8245
: (-s ours) Import translations. DO NOT MERGE
...
* commit '5bcbc21a59043f73a30380cf3c231104d65921f9':
Import translations. DO NOT MERGE
2013-03-27 22:09:49 -07:00
Baligh Uddin
78b07d8b57
am 0cd02c2b
: keep history after reset to jb-ub-latinimegoogle-azuki
...
* commit '0cd02c2bd732383766099aa2ec94abc8a8ac174a':
2013-03-27 22:05:16 -07:00
Baligh Uddin
5bcbc21a59
am c08b8245
: (-s ours) Import translations. DO NOT MERGE
...
* commit 'c08b8245d92107f7300267e3d04ff302dfdb4281':
Import translations. DO NOT MERGE
2013-03-27 22:05:16 -07:00
The Android Automerger
1237c8722b
am a02de1f7
: am 5c3d51e2
: merge in jb-ub-latinimegoogle-azuki history after reset to jb-ub-latinimegoogle
...
* commit 'a02de1f71d8f7a0dff87c573f3dc2e8a06b0728b':
Import translations. DO NOT MERGE
Import translations. DO NOT MERGE
2013-03-27 22:01:16 -07:00
Tadashi G. Takaoka
abd2239302
am 8b120b98
: am 50cc14b5
: am ef86bbce
: Add const_cast to live with host\'s jni.h
...
* commit '8b120b985e62fbced7f31283c0585fbd4e3bb662':
2013-03-27 22:01:15 -07:00
Tadashi G. Takaoka
830a8cbb08
am 33fa6a0b
: am cc75c950
: am 73d00e68
: Merge "Use XmlPullParser.getEventType()"
...
* commit '33fa6a0b3bde25daabf330d152e9d400db42970e':
2013-03-27 22:01:14 -07:00
Satoshi Kataoka
d3c823c161
am dd8ca1f8
: am bc586fb1
: am 0b327101
: Merge "Fix possible NPE"
...
* commit 'dd8ca1f821c4f64f561e1d1badcfa5deb13de96d':
2013-03-27 22:01:12 -07:00
Tadashi G. Takaoka
d0495a354f
am 56b1bd86
: am f892f775
: am d17b69ec
: Clean up XmlParserUtils
...
* commit '56b1bd866a97b4662401ff98c287c56f4f26432a':
2013-03-27 22:01:11 -07:00
Baligh Uddin
f0213d1afe
am c1cb4766
: (-s ours) am 6537280f
: am 5f976d1c
: (-s ours) am ff41125b
: (-s ours) am fba54597
: Import translations. DO NOT MERGE
...
* commit 'c1cb476697a3d063997996e98d7c670d53e7910f':
2013-03-27 22:01:09 -07:00
Baligh Uddin
f0346d7079
am fc135df5
: (-s ours) am 24daa2a1
: am 6616188e
: (-s ours) Import translations. DO NOT MERGE
...
* commit 'fc135df5840a30eb99c9253d1394549fc192047e':
2013-03-27 22:01:08 -07:00
Baligh Uddin
14ef11a8a3
am 93c5c7a4
: (-s ours) am 2898aac8
: Import translations. DO NOT MERGE
...
* commit '93c5c7a41dd7715466cb6fe54533758578cd8b1f':
Import translations. DO NOT MERGE
2013-03-27 22:01:07 -07:00
Tadashi G. Takaoka
2b04e787ac
am 71fb8af7
: am ec183b50
: am fb658d6c
: Fix possible ArrayIndexOutOfBoundsException
...
* commit '71fb8af7c55f6821bf190261e29728e51e895266':
2013-03-27 22:01:06 -07:00
Baligh Uddin
e67698be3a
am 8051fd0d
: (-s ours) am 2a01fc22
: am 1e5add78
: (-s ours) am 7668deec
: (-s ours) am 21160c4e
: Import translations. DO NOT MERGE
...
* commit '8051fd0d73f169c968a2a2dd02d8099842775633':
2013-03-27 22:01:05 -07:00