Jean Chalard
e5a3b77664
Merge "Move Range out of RichInputConnection and rename it."
2013-07-01 07:20:51 +00:00
Keisuke Kuroynagi
109ba3ace3
Merge "Regenerate old version dictionaries using new format."
2013-07-01 07:16:15 +00:00
Jean Chalard
70ee2201a0
Merge "Do not re-resume suggestion if it's not needed."
2013-07-01 07:12:24 +00:00
Jean Chalard
675bcf191c
Move Range out of RichInputConnection and rename it.
...
Range has grown a bit too big to stay an internal class.
Change-Id: Ic3fbc48a5d10776eedd7559c4d696e5926b88288
2013-07-01 15:41:13 +09:00
Keisuke Kuroynagi
a62b5b22ef
Regenerate old version dictionaries using new format.
...
Bug: 9617181
Change-Id: I228a3eac959f81b38e4092015e8e3c429d46fa60
2013-07-01 15:25:33 +09:00
Jean Chalard
3f0858eb2b
Fix a bug where no URL means refresh never ends
...
This patch does two things:
- If there is no URL to download new data from, then the
Refresh button is not shown.
- Even if for some reason refresh starts for a client for
which there is no URL, loading correctly finishes.
Bug: 9388602
Change-Id: I3fd9214da50faa4b59d0bd3e775293dd34f07547
2013-07-01 14:47:30 +09:00
Jean Chalard
f0af452ce2
Do not re-resume suggestion if it's not needed.
...
This is much better interface-wise. It eliminates all blinking
of the line in the practice.
Bug: 8874148
Bug: 8864306
Change-Id: I87754e44784327c2e9c8b162d598d145e20668e8
2013-07-01 14:40:12 +09:00
Kurt Partridge
8142a7b637
Merge "Record number of words entered"
2013-06-28 17:01:18 +00:00
Jean Chalard
a5e28acf63
Merge "Fix a bug where AOSP Latin IME would not fill dictionaries"
2013-06-28 13:21:31 +00:00
Jean Chalard
21c3a52914
Merge "Update dictionaries"
2013-06-28 07:52:31 +00:00
Jean Chalard
ffe7dbbe7a
Update dictionaries
...
>>> dictionaries/cs_wordlist.combined.gz
Header :
date : 1355802831 <=> 1372393817
version : 29 <=> 35
Body :
Added: LTE 25
>>> dictionaries/de_wordlist.combined.gz
Header :
date : 1355802835 <=> 1372393817
version : 29 <=> 35
Body :
Added: LTE 25
>>> dictionaries/en_GB_wordlist.combined.gz
Header :
date : 1366272052 <=> 1372393817
version : 31 <=> 35
Body :
Deleted: Sea 126
Added: LTE 25
>>> dictionaries/en_US_wordlist.combined.gz
Header :
date : 1366272093 <=> 1372393817
version : 31 <=> 35
Body :
Added: LTE 25
>>> dictionaries/en_wordlist.combined.gz
Header :
date : 1366272977 <=> 1372393837
version : 31 <=> 35
Body :
Deleted: Sea 126
Added: LTE 25
>>> dictionaries/es_wordlist.combined.gz
Header :
date : 1355802832 <=> 1372393817
version : 29 <=> 35
Body :
Added: LTE 25
>>> dictionaries/fr_wordlist.combined.gz
Header :
date : 1366272255 <=> 1372393818
version : 31 <=> 35
Body :
Deleted: R'n'B 95
Deleted: count 60
Deleted: d'Inti 34
Added: beurk 25
>>> dictionaries/hr_wordlist.combined.gz
Header :
date : 1355802836 <=> 1372393818
version : 29 <=> 35
Body :
Added: LTE 25
>>> dictionaries/it_wordlist.combined.gz
Header :
date : 1355802836 <=> 1372393818
version : 29 <=> 35
Body :
Added: LTE 25
>>> dictionaries/lt_wordlist.combined.gz
Header :
date : 1355802843 <=> 1372393818
version : 29 <=> 35
Body :
Added: LTE 25
>>> dictionaries/lv_wordlist.combined.gz
Header :
date : 1355802843 <=> 1372393818
version : 29 <=> 35
Body :
Added: LTE 25
>>> dictionaries/nb_wordlist.combined.gz
Header :
date : 1366003450 <=> 1372393818
version : 31 <=> 35
Body :
Added: LTE 25
>>> dictionaries/nl_wordlist.combined.gz
Header :
date : 1355802844 <=> 1372393818
version : 29 <=> 35
Body :
Added: LTE 25
>>> dictionaries/ru_wordlist.combined.gz
Header :
date : 1370244430 <=> 1372393835
version : 34 <=> 35
Body :
Freq changed: связывание 93 -> 0
>>> dictionaries/sl_wordlist.combined.gz
Header :
date : 1355802835 <=> 1372393835
version : 29 <=> 35
Body :
Added: LTE 25
>>> dictionaries/sr_wordlist.combined.gz
Header :
date : 1355802853 <=> 1372393835
version : 29 <=> 35
Body :
Added: LTE 25
>>> dictionaries/sv_wordlist.combined.gz
Header :
date : 1366003804 <=> 1372393836
version : 31 <=> 35
Body :
Added: LTE 25
>>> dictionaries/tr_wordlist.combined.gz
Header :
date : 1355802858 <=> 1372393837
version : 29 <=> 35
Body :
Added: LTE 25
>>> java/res/raw/main_de.dict
Header :
date : 1355802835 <=> 1372393817
version : 29 <=> 35
Body :
Added: LTE 25
>>> java/res/raw/main_en.dict
Header :
date : 1366272977 <=> 1372393837
version : 31 <=> 35
Body :
Deleted: Sea 126
Added: LTE 25
>>> java/res/raw/main_es.dict
Header :
date : 1355802832 <=> 1372393817
version : 29 <=> 35
Body :
Added: LTE 25
>>> java/res/raw/main_fr.dict
Header :
date : 1366272255 <=> 1372393818
version : 31 <=> 35
Body :
Deleted: R'n'B 95
Deleted: count 60
Deleted: d'Inti 34
Added: beurk 25
>>> java/res/raw/main_it.dict
Header :
date : 1355802836 <=> 1372393818
version : 29 <=> 35
Body :
Added: LTE 25
>>> java/res/raw/main_ru.dict
Header :
date : 1370244430 <=> 1372393835
version : 34 <=> 35
Body :
Freq changed: связывание 93 -> 0
Bug: 9301610
Bug: 9607966
Change-Id: I1117ed85d97fbb0ee50f11bc31776f1970b56f12
2013-06-28 14:54:51 +09:00
Jean Chalard
555c4236db
Fix a bug where AOSP Latin IME would not fill dictionaries
...
There is no reason not to contact the dictionary provider
when we don't have internet permission or when the URL
is empty. It knows how to handle both these cases.
Bug: 9388602
Change-Id: I30c4540551ad2f5e527d3acd1842bbd749feca89
2013-06-28 12:48:41 +09:00
Kurt Partridge
169571b3c0
Record number of words entered
...
This change records the number of words entered in every LogUnit.
This metric is helpful for determining how much multi-word gestures
and spaceless tapping is used.
Change-Id: I4c6d0f9d78e4ac2dd63fd53ed2ec70b368366f15
2013-06-27 12:30:00 -07:00
Jean Chalard
e04794cbbe
Fix some warnings
...
Mostly remove unused imports
Change-Id: If8ceffdfad79b78194094527759f5c334746973e
2013-06-27 21:36:52 +09:00
Satoshi Kataoka
4ded1af210
Improve the language list in the personal dictionary
...
Bug: 9117704
Change-Id: I26e6f8369a3c7ffa4bb651b4b5a3e6f004121983
2013-06-27 20:31:02 +09:00
Satoshi Kataoka
ec69a259c6
Merge "Open an API in ExternalDictionaryGetterForDebug"
2013-06-27 10:32:05 +00:00
Satoshi Kataoka
a2bfd46adf
Use internal personal dictionary settings on JBMR2 or before
...
Bug: 9117704
Change-Id: I7e20b03daa23b59211235183cf48d933e32845e4
2013-06-27 19:20:05 +09:00
Satoshi Kataoka
bd84a00fc1
Open an API in ExternalDictionaryGetterForDebug
...
and extend it
Change-Id: Id2ba8dd8928a6327d3b31eb35f7cc314e2d31050
2013-06-27 18:41:07 +09:00
Jean Chalard
2bbd78ab0a
Merge "Ignore spans that are not the right size."
2013-06-27 03:06:47 +00:00
Jean Chalard
2f7f6257b6
Ignore spans that are not the right size.
...
Bug: 8839763
Bug: 8862327
Change-Id: I5d49c86edcbc0fc1b2b147856437cfbadd678377
2013-06-26 23:02:50 +09:00
Ken Wakasa
16c418bebc
Merge "Follow-up to I97df1c3d4076fe97657ebc3b086cccd2b97e9a9a"
2013-06-26 11:32:25 +00:00
Jean Chalard
6c0e412137
Merge "Resume suggestion at start input"
2013-06-26 10:18:32 +00:00
Ken Wakasa
0053bc5832
Follow-up to I97df1c3d4076fe97657ebc3b086cccd2b97e9a9a
...
Change-Id: I741a12508a3a05e2e517e187a7f197e6a661eddb
2013-06-26 18:09:34 +09:00
Ken Wakasa
b1b21d4eea
Make sure to always keep native methods
...
Saw a problem with proguard
Change-Id: I97df1c3d4076fe97657ebc3b086cccd2b97e9a9a
2013-06-26 17:58:39 +09:00
Jean Chalard
a690f3bc40
Merge "Readability improvement"
2013-06-26 07:37:15 +00:00
Jean Chalard
173f74bb18
Merge "Fixing follow-up to I548d899b"
2013-06-26 07:36:44 +00:00
Jean Chalard
fb72890ac6
Readability improvement
...
Change-Id: I2f350145f333ba1fa4eb20027b0f41107c2df02c
2013-06-26 16:03:40 +09:00
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
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
8bc0b51369
Merge "Allow mmapping dictionary file in writable mode in openNative."
2013-06-25 07:09:37 +00: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
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