Jean Chalard
7fcf304c97
Fixing follow-up to I548d899b
...
I548d899b introduced a new method to fix a sync miss between
the cursor position and the cached cursor position, but did not
take into account that it should also update the cached text
before and after the cursor in this case and that there was
already a method for doing this.
Change-Id: I31bd741893207c822827304e77791b1159774e1a
2013-06-26 15:28:42 +09:00
Keisuke Kuroynagi
c0d7a376e2
Merge "Move shortcut reading methods."
2013-06-26 05:44:56 +00:00
Keisuke Kuroynagi
5ac44bdc2a
Move shortcut reading methods.
...
Moved form BinaryFormat to BinaryDictionaryTerminalAttributesReadingUtils.
Bug: 6669677
Change-Id: Ia1ab25854effbf61df37837fe26755ac7dc4d020
2013-06-26 14:41:22 +09:00
Keisuke Kuroynagi
5bf1be7162
Add jni methods for dynamically handling a dictionary.
...
Bug: 6669677
Change-Id: I8a26623adbb41a78e3c023c652be635c635e3b47
2013-06-26 12:51:33 +09:00
Baligh Uddin
4da287d0d1
Merge "Import translations. DO NOT MERGE"
2013-06-25 20:15:49 +00:00
Jean Chalard
2f69348d51
Resume suggestion at start input
...
Bug: 9568410
Change-Id: I65468268f8613c863fa7f3a497b64656da0a221c
2013-06-25 19:38:31 +09:00
Ken Wakasa
fd0945b0da
Merge "Make UserLogRingCharBuffer an external class"
2013-06-25 09:40:31 +00:00
Ken Wakasa
9419e02fd9
Make UserLogRingCharBuffer an external class
...
Change-Id: I9d506995337d64ec11c72939a8d739423ee46efa
2013-06-25 18:38:13 +09:00
Jean Chalard
333362adfc
Merge "Fix the one-suggestion case."
2013-06-25 09:10:09 +00:00
Jean Chalard
d7d5ff1f99
Fix the one-suggestion case.
...
When there is only one suggestion, this code does
not work. The reason for that is, it's not homogeneous
at all and takes indices of one thing into another.
Not completely related to b/8839763, but realized
working on this and needed to have it addressed.
Bug: 8839763
Change-Id: I422730cc7eebb69ff421a171025af0390ebcdf92
2013-06-25 18:00:30 +09:00
Keisuke Kuroynagi
38b542629a
Merge "Add a parameter isUpdatable to the constructor of BinaryDictionary."
2013-06-25 08:44:48 +00:00
Keisuke Kuroynagi
981717da4c
Add a parameter isUpdatable to the constructor of BinaryDictionary.
...
Bug: 6669677
Change-Id: I6bc25131afd97112e3bbde036a81ab559a9a6460
2013-06-25 17:39:06 +09:00
Ken Wakasa
12ef7d3702
Merge "Cleanup under the utils package"
2013-06-25 08:20:57 +00:00
Ken Wakasa
03118a2760
Cleanup under the utils package
...
Change-Id: If2f7bd1346cc5085bf57645830f0faac44d017e4
2013-06-25 17:09:12 +09:00
Keisuke Kuroynagi
81c5c3ce7f
Merge "Add canBeDynamicallyUpdated() in BinaryDictionaryInfo."
2013-06-25 07:09:51 +00:00
Keisuke Kuroynagi
8bc0b51369
Merge "Allow mmapping dictionary file in writable mode in openNative."
2013-06-25 07:09:37 +00:00
Keisuke Kuroynagi
0bb6eb3206
Merge "Move file and mmap information form Dictionary to BinaryDictionaryInfo."
2013-06-25 07:09:17 +00:00
Keisuke Kuroynagi
3b33656ce3
Add canBeDynamicallyUpdated() in BinaryDictionaryInfo.
...
Bug: 6669677
Change-Id: I7391641253b99bfcb1f9380ebee2037015e7dc14
2013-06-25 16:03:33 +09:00
Keisuke Kuroynagi
f3b62900c7
Allow mmapping dictionary file in writable mode in openNative.
...
Bug: 6669677
Change-Id: I447668932de118b158fa029ddc977b3f3cc06cb8
2013-06-25 16:03:33 +09:00
Keisuke Kuroynagi
46159d5422
Move file and mmap information form Dictionary to BinaryDictionaryInfo.
...
Bug: 6669677
Change-Id: I05d435e0884430f8abbbed6ea2df775005ee8622
2013-06-25 16:03:30 +09:00
Baligh Uddin
d2f0d82220
Import translations. DO NOT MERGE
...
Change-Id: I17e9ad751b1e628c8a60bc2234180a37716d10e9
Auto-generated-cl: translation import
2013-06-24 22:02:24 -07:00
Jean Chalard
10585620bd
Merge "Fix a bug in the cached cursor pos, and simplify selection handling"
2013-06-25 05:00:11 +00:00
Kurt Partridge
1fc6b80009
Merge "Move splash screen to separate file"
2013-06-24 13:40:01 +00:00
Jean Chalard
cdf774122d
Merge "Fix a small bug"
2013-06-24 10:00:05 +00:00
Ken Wakasa
bfaf349c35
Load the native lib eagerly
...
in the hope of avoiding UnsatisfiedLinkError. This is definitely not a
confident fix as we still don't know the root cause of the issue.
bug: 9325110
Change-Id: I1abf8031b98509f63fce6a2d069d497895ea712c
2013-06-24 18:12:04 +09:00
Ken Wakasa
bc1813186d
Merge "Move util classes to the latin/utils directory"
2013-06-24 08:49:06 +00:00
Tadashi G. Takaoka
fadff6ada1
Merge "Fix possible divided by zeror error"
2013-06-24 08:44:17 +00:00
Tadashi G. Takaoka
bafe4b8a4e
Fix possible divided by zeror error
...
Bug: 9534022
Change-Id: I5ab575c724fd7a9e80c76a93d83949e81b2970bb
2013-06-24 17:39:36 +09:00
Jean Chalard
ca52e1ca5a
Fix a small bug
...
SpannableStrings are not the only type of Spanned, they are
only the mutable kind. SpannedString is the immutable one.
Spanned is the correct class to use there.
Bug: 8839763
Bug: 8862327
Change-Id: Ic5e6199a51f22368914f2748ac2d0d1ca6a33f78
2013-06-24 17:39:17 +09:00
Ken Wakasa
e28eba5074
Move util classes to the latin/utils directory
...
Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
2013-06-24 17:04:40 +09:00
Jean Chalard
33d4cdcb5b
Merge "Fix tests for Ia78d3540"
2013-06-24 07:13:50 +00:00
Jean Chalard
a099638667
Fix tests for Ia78d3540
...
Bug: 9550023
Change-Id: I13f4411573ff7b2564e88fc9b9a8d801dde23019
2013-06-24 15:40:53 +09:00
Jean Chalard
c074c3357c
Merge "Refactor text range to be able to get spans larger than the word"
2013-06-24 06:09:55 +00:00
Jean Chalard
e8c4b99e56
Refactor text range to be able to get spans larger than the word
...
This changes how the Range class stores its data, but not its
functionality. It also improves encapsulation a bit.
Bug: 8839763
Bug: 8862327
Change-Id: I5bd583b3fc96a99b93a2632882d8fd587c03ab76
2013-06-24 12:31:14 +09:00
Keisuke Kuroynagi
80a4b7c92e
Merge "Extend center point vertically for bottom keys on a keyboard."
2013-06-24 03:26:55 +00:00
Keisuke Kuroynagi
77ec8713ce
Extend center point vertically for bottom keys on a keyboard.
...
Bug: 9505397
Change-Id: Ic415ac4065d23cb832dd3bb85876e2a4dc9e9fc3
2013-06-24 11:58:56 +09:00
Tadashi G. Takaoka
564ad4927c
Merge "Enable long-press digit input for tablets"
2013-06-24 01:16:57 +00:00
Keisuke Kuroynagi
940cca4fa9
Merge "Check adjacent proximity chars for insertion for typing"
2013-06-24 00:52:02 +00:00
Keisuke Kuroynagi
af9d92f590
Rename BinaryDictionaryBigramsReadingUtils to BinaryDictionaryTerminalAttributesReadingUtils and remanme the class methods
...
Bug: 6669677
Change-Id: I960dcf51a950ead2c3d7b9dedcde0a450569cbe9
2013-06-24 09:42:37 +09:00
Keisuke Kuroynagi
be2a172d4e
Merge "Give the best score to the most probable exact match."
2013-06-24 00:28:02 +00:00
Keisuke Kuroynagi
24706f8f5c
Check adjacent proximity chars for insertion for typing
...
Change-Id: I6ce1b065bba055516fca0c8af6f14853a111aa68
2013-06-24 09:25:46 +09:00
Kurt Partridge
1a0750dc95
Move splash screen to separate file
...
Change-Id: I5cad5d5814303d7ca4abadd3fca1c37bd1bc357e
2013-06-22 10:24:13 -07:00
Jean Chalard
b7a2fd16a1
Merge "Defer disk-intensive tasks until after the keyboard is shown"
2013-06-21 10:57:33 +00:00
Jean Chalard
673c727b7a
Defer disk-intensive tasks until after the keyboard is shown
...
Bug: 8689779
Change-Id: Ia78d3540f44ec0028c3246a8e0163e9ecf061ecf
2013-06-21 19:41:45 +09:00
Keisuke Kuroynagi
f0dc0b1b74
Give the best score to the most probable exact match.
...
Bug: 9490364
Change-Id: If7fe5da190516d4b5f7a41b752ef5960205a5899
2013-06-21 19:11:39 +09:00
Tadashi G. Takaoka
d02daf2016
Merge "Fix punctuations strip"
2013-06-21 09:23:40 +00:00
Jean Chalard
e5dee0af4a
Fix a bug in the cached cursor pos, and simplify selection handling
...
The documentation for setComposingRegion states explicitly
that it does not move the cursor. This is just a bug.
This does not have any ill effects right now, but it will have
in later changes if not fixed.
As for the selection handling, the specific test that this code
removes used to serve a purpose, but it does not any more because
the code using the value has been much sanitized. Now the variable
can just take the obvious value, and become so self-explanatory
that the comments are unnecessary.
Change-Id: I548d899b38776bd3ab5f5361aab0d89d98f12e73
2013-06-21 18:15:07 +09:00
Keisuke Kuroynagi
21dfdcdba8
Merge "Add ByteArrayUtils::readSignedInt24andAdvancePosition to read dynamic dictionaries."
2013-06-21 08:15:05 +00:00
Keisuke Kuroynagi
e105fdfaea
Merge "Change method name of getDepth and getTotalLength."
2013-06-21 06:58:38 +00:00
Tadashi G. Takaoka
9b570b5e62
Fix punctuations strip
...
Bug: 9508186
Change-Id: I8f0fbf4e0578cf9116d4c57e7e5747d38c89387e
2013-06-21 13:22:37 +09:00