Jean Chalard
e04794cbbe
Fix some warnings
...
Mostly remove unused imports
Change-Id: If8ceffdfad79b78194094527759f5c334746973e
2013-06-27 21:36:52 +09:00
Satoshi Kataoka
120a8da91c
am 4ded1af2: Improve the language list in the personal dictionary
...
* commit '4ded1af21097652dcd0750d9b3f2f24df2904e25':
Improve the language list in the personal dictionary
2013-06-27 04:36:03 -07: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
2221b89564
am ec69a259: Merge "Open an API in ExternalDictionaryGetterForDebug"
...
* commit 'ec69a259c60b89cfe5157dc6b43aa17f2f60d6ca':
Open an API in ExternalDictionaryGetterForDebug
2013-06-27 03:33:33 -07:00
Satoshi Kataoka
b6408d81e0
am a2bfd46a: Use internal personal dictionary settings on JBMR2 or before
...
* commit 'a2bfd46adf6aca5864be3d6ef2204bc18008e9c9':
Use internal personal dictionary settings on JBMR2 or before
2013-06-27 03:33:32 -07: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
5fee4909f1
am 2bbd78ab: Merge "Ignore spans that are not the right size."
...
* commit '2bbd78ab0a0e6eb15c22365d03f58ccbcaff51e6':
Ignore spans that are not the right size.
2013-06-26 20:08:09 -07: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
17e37743dd
am 16c418be: Merge "Follow-up to I97df1c3d4076fe97657ebc3b086cccd2b97e9a9a"
...
* commit '16c418bebcb0ff5347235b2a5963b983eae2fb64':
Follow-up to I97df1c3d4076fe97657ebc3b086cccd2b97e9a9a
2013-06-26 04:33:30 -07:00
Ken Wakasa
16c418bebc
Merge "Follow-up to I97df1c3d4076fe97657ebc3b086cccd2b97e9a9a"
2013-06-26 11:32:25 +00:00
Jean Chalard
c98d08b6b0
am 6c0e4121: Merge "Resume suggestion at start input"
...
* commit '6c0e4121376e9ce0b96d656f3aea3bfd80f2215e':
Resume suggestion at start input
2013-06-26 03:19:30 -07: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
fe7b76aca6
am b1b21d4e: Make sure to always keep native methods
...
* commit 'b1b21d4eeaae27057ece50307723ec3d5de8f2e3':
Make sure to always keep native methods
2013-06-26 02:05:19 -07: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
f608f0a6d3
am a690f3bc: Merge "Readability improvement"
...
* commit 'a690f3bc40268ccee20c44c7e359890b34eb2a8a':
Readability improvement
2013-06-26 00:38:43 -07:00
Jean Chalard
9252ea38a9
am 173f74bb: Merge "Fixing follow-up to I548d899b"
...
* commit '173f74bb18016ccab3e5fad4c86c5201add41c30':
Fixing follow-up to I548d899b
2013-06-26 00:38:42 -07: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
36108c2f85
am 5bf1be71: Add jni methods for dynamically handling a dictionary.
...
* commit '5bf1be71629607e7206e6203489cf742d2f8ed79':
Add jni methods for dynamically handling a dictionary.
2013-06-25 22:32:43 -07: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
Baligh Uddin
08215024c0
Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle
2013-06-25 20:15:30 +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
ed42ccf102
am fd0945b0: Merge "Make UserLogRingCharBuffer an external class"
...
* commit 'fd0945b0da3e53109afc346432a7a8b40d715a0f':
Make UserLogRingCharBuffer an external class
2013-06-25 02:42:13 -07: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
12d0e4f337
am 333362ad: Merge "Fix the one-suggestion case."
...
* commit '333362adfc2a6a3df980a23ea58eceea5f695b46':
Fix the one-suggestion case.
2013-06-25 02:12:01 -07: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
9a5e0d9cfd
am 38b54262: Merge "Add a parameter isUpdatable to the constructor of BinaryDictionary."
...
* commit '38b542629adb4e79cb08f6324f82307784e3da0f':
Add a parameter isUpdatable to the constructor of BinaryDictionary.
2013-06-25 01:45:58 -07: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
a158159411
am 12ef7d37: Merge "Cleanup under the utils package"
...
* commit '12ef7d37021e2f99de5cc15826cc6dcd3250c41a':
Cleanup under the utils package
2013-06-25 01:30:21 -07: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
162f1f8928
am 8bc0b513: Merge "Allow mmapping dictionary file in writable mode in openNative."
...
* commit '8bc0b51369822b50c701cfe5a6ec612e5c94f75a':
Allow mmapping dictionary file in writable mode in openNative.
2013-06-25 00:11:18 -07: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
cdb9fbfef7
am 10585620: Merge "Fix a bug in the cached cursor pos, and simplify selection handling"
...
* commit '10585620bdfad418f6c093ab4bfd8efaa2d84abf':
Fix a bug in the cached cursor pos, and simplify selection handling
2013-06-24 22:01:55 -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
Baligh Uddin
894e7962eb
Import translations. DO NOT MERGE
...
Change-Id: Id9bb0441fc30d6e75a23afc4b47a17d674d2c4c8
Auto-generated-cl: translation import
2013-06-24 21:57:51 -07:00
Kurt Partridge
d57a26b2a1
am 1fc6b800: Merge "Move splash screen to separate file"
...
* commit '1fc6b800095e2f630b006a61cea5f23feefb9a63':
Move splash screen to separate file
2013-06-24 06:41:46 -07:00
Kurt Partridge
1fc6b80009
Merge "Move splash screen to separate file"
2013-06-24 13:40:01 +00:00
Jean Chalard
260284110d
am cdf77412: Merge "Fix a small bug"
...
* commit 'cdf774122d29754d91aac162f7e7416b65583ea9':
Fix a small bug
2013-06-24 03:01:53 -07:00
Jean Chalard
cdf774122d
Merge "Fix a small bug"
2013-06-24 10:00:05 +00:00
Ken Wakasa
292c5cc1d2
am bfaf349c: Load the native lib eagerly
...
* commit 'bfaf349c3554e11af8227a5f0807a74107a93069':
Load the native lib eagerly
2013-06-24 02:16:04 -07: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
d5f635a72f
am bc181318: Merge "Move util classes to the latin/utils directory"
...
* commit 'bc1813186df823e4e1a5aabceb3198674387061e':
Move util classes to the latin/utils directory
2013-06-24 01:51:02 -07:00
Ken Wakasa
bc1813186d
Merge "Move util classes to the latin/utils directory"
2013-06-24 08:49:06 +00:00
Tadashi G. Takaoka
e189103e00
am fadff6ad: Merge "Fix possible divided by zeror error"
...
* commit 'fadff6ada189ab789daae76fb9d603d26244ee1c':
Fix possible divided by zeror error
2013-06-24 01:45:45 -07: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
4023340775
am c074c335: Merge "Refactor text range to be able to get spans larger than the word"
...
* commit 'c074c3357c3bb0dfe92fff90bccbcab2b6ec422e':
Refactor text range to be able to get spans larger than the word
2013-06-23 23:11:36 -07: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
Tadashi G. Takaoka
82e21ee260
am 564ad492: Merge "Enable long-press digit input for tablets"
...
* commit '564ad4927c784e541e7f00bb17bea416cb06115e':
Enable long-press digit input for tablets
2013-06-23 18:18:42 -07:00
Tadashi G. Takaoka
564ad4927c
Merge "Enable long-press digit input for tablets"
2013-06-24 01:16:57 +00:00
Kurt Partridge
1a0750dc95
Move splash screen to separate file
...
Change-Id: I5cad5d5814303d7ca4abadd3fca1c37bd1bc357e
2013-06-22 10:24:13 -07:00
Jean Chalard
3f391865c1
am b7a2fd16: Merge "Defer disk-intensive tasks until after the keyboard is shown"
...
* commit 'b7a2fd16a139046587daaf44fdf73fed95cf6248':
Defer disk-intensive tasks until after the keyboard is shown
2013-06-21 03:59:38 -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
Tadashi G. Takaoka
2cf3056354
am d02daf20: Merge "Fix punctuations strip"
...
* commit 'd02daf201631e5da042a43faf86e439c6904564c':
Fix punctuations strip
2013-06-21 02:25:27 -07: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
Tadashi G. Takaoka
9b570b5e62
Fix punctuations strip
...
Bug: 9508186
Change-Id: I8f0fbf4e0578cf9116d4c57e7e5747d38c89387e
2013-06-21 13:22:37 +09:00
Tadashi G. Takaoka
ecd3b51444
Enable long-press digit input for tablets
...
Bug: 6632204
Change-Id: I8a62e78367c87c2fbb8f14575aef98035fa8440e
2013-06-21 13:00:23 +09:00
Baligh Uddin
0c178ffc8e
Merge "Import translations. DO NOT MERGE"
2013-06-20 16:41:32 +00:00
Baligh Uddin
a4d57a1790
Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle
2013-06-20 16:41:14 +00:00
Jean Chalard
31036b9b18
am 93f74baf: Merge "Add tests to dicttool test."
...
* commit '93f74bafbb7e3fde207575a87c197c59f32411bd':
Add tests to dicttool test.
2013-06-20 01:35:47 -07:00
Jean Chalard
93f74bafbb
Merge "Add tests to dicttool test."
2013-06-20 08:34:38 +00:00
Jean Chalard
23d4eb55ba
Add tests to dicttool test.
...
Bug: 8526576
Change-Id: Idd6f9cd076d5915361c68f5c29afbba67dd54eba
2013-06-20 17:29:37 +09:00
Tadashi G. Takaoka
7eb3b05cde
am 7937f092: Lengthen CHAR LIMIT of settings_system_default
...
* commit '7937f09264623f38b411be2b5cca77f42fd192f9':
Lengthen CHAR LIMIT of settings_system_default
2013-06-19 21:13:33 -07:00
Tadashi G. Takaoka
7937f09264
Lengthen CHAR LIMIT of settings_system_default
...
Bug: 9495443
Change-Id: Ib52d0ab357e79ae6004411f4b4201570a228bc71
2013-06-20 12:08:37 +09:00
Baligh Uddin
d5e245bcaa
Import translations. DO NOT MERGE
...
Change-Id: Ic7508cb2b5098403786af2f2e220d908dab51e8d
Auto-generated-cl: translation import
2013-06-19 15:50:15 -07:00
Baligh Uddin
cff0696c27
Import translations. DO NOT MERGE
...
Change-Id: Ife8eafcb6b5951ade90967368fa461406c77be83
Auto-generated-cl: translation import
2013-06-19 15:45:17 -07:00
Tadashi G. Takaoka
3542fb9f27
am 9380b56d: Support digits more keys in Hebrew phone keyboard
...
* commit '9380b56db64b1ad5d165972e3bcc0ff75bba6768':
Support digits more keys in Hebrew phone keyboard
2013-06-18 19:46:04 -07:00
Tadashi G. Takaoka
9380b56db6
Support digits more keys in Hebrew phone keyboard
...
Bug: 9431432
Change-Id: Ie1d438e0483022eac97cec52a64e49fbd3c7d503
2013-06-19 10:14:06 +09:00
Tadashi G. Takaoka
6e86ebe822
am c90181d6: Use system default key press volume
...
* commit 'c90181d6aa42c4c0b56ccc21528dcef84d186c53':
Use system default key press volume
2013-06-18 09:05:47 -07:00
Tadashi G. Takaoka
7c1c4f3544
am af69a14c: Use system default vibration pattern
...
* commit 'af69a14c9684ef6f7a14e60cb635f96db530f6e7':
Use system default vibration pattern
2013-06-18 08:56:09 -07:00
Tadashi G. Takaoka
c90181d6aa
Use system default key press volume
...
Bug: 9475973
Change-Id: I6ae825b161dde69e19b52d73fb9aa782e2aa7423
2013-06-18 21:34:30 +09:00
Tadashi G. Takaoka
af69a14c96
Use system default vibration pattern
...
Bug: 9468462
Change-Id: Ifa46a56873c10888da8eaa2782fe07ef138a141b
2013-06-18 21:33:51 +09:00
Jean Chalard
0cae172563
am 3b5a503e: Merge "Optimize ProximityInfo#computeNearestNeighbors()"
...
* commit '3b5a503ebf08011fe852ac5b2e380f5a6a9cb93a':
Optimize ProximityInfo#computeNearestNeighbors()
2013-06-18 04:48:35 -07:00
Jean Chalard
3b5a503ebf
Merge "Optimize ProximityInfo#computeNearestNeighbors()"
2013-06-18 11:45:06 +00:00
Jean Chalard
d55baf06d9
Optimize ProximityInfo#computeNearestNeighbors()
...
This cuts the time spent in computeNearestNeigbors by
a factor of 6 to 20, with an average at about 8.
This method representing about 25% of the total time
spent when switching keyboards, this change is a
20% improvement in layout switching time.
Bug: 8689779
Change-Id: Icb465f6010b317c7156057891c3341e51a198688
2013-06-18 20:33:52 +09:00
Tadashi G. Takaoka
6451fd3543
am 500b1f41: Merge "Get value text from ValueProxy"
...
* commit '500b1f410d65e461e667f72564d4c1579c26d1ac':
Get value text from ValueProxy
2013-06-18 02:31:29 -07:00
Tadashi G. Takaoka
3be8263035
Get value text from ValueProxy
...
As a preparation to show "system default" in the settings. LatinIME
can't know the actual system default value.
Bug: 9468462
Change-Id: I0b7898d1ca29ded7a619dd636d2ad16eb0db292e
2013-06-18 18:27:17 +09:00
Jean Chalard
188856aed0
am 286877b3: Merge "Fix a bug with recapitalization"
...
* commit '286877b3afc6309b70c5216f05b94729aeb844f3':
Fix a bug with recapitalization
2013-06-17 04:50:28 -07:00
Jean Chalard
2a81943d16
Fix a bug with recapitalization
...
This is a shameful bug :/
Bug: 9410367
Change-Id: I54ddbcd0323fa2c11fbd2aa8a1b3d2e07f6e83c8
2013-06-17 20:39:06 +09:00
Kurt Partridge
fc9c896c40
am 14718ab8: Merge "Log score, kind, and sourceDict for manual suggestion and gesture"
...
* commit '14718ab898e2f23b078b9f25aa234c1e673517c7':
Log score, kind, and sourceDict for manual suggestion and gesture
2013-06-14 10:04:51 -07:00
Kurt Partridge
14718ab898
Merge "Log score, kind, and sourceDict for manual suggestion and gesture"
2013-06-14 17:03:03 +00:00
Jean Chalard
57eecc0476
am 78b881bf: Merge "Fix a bug with long user dict entries"
...
* commit '78b881bf5a0f67b4cbb681f64dc3ccba4f19b393':
Fix a bug with long user dict entries
2013-06-14 02:00:54 -07:00
Jean Chalard
78b881bf5a
Merge "Fix a bug with long user dict entries"
2013-06-14 08:59:51 +00:00
Tadashi G. Takaoka
9a848fc867
am 97eaa543: Don\'t count Spacer into histograms
...
* commit '97eaa543d5fd4ac57516a586477641c129828b5d':
Don't count Spacer into histograms
2013-06-14 01:31:32 -07:00
Tadashi G. Takaoka
97eaa543d5
Don't count Spacer into histograms
...
Change-Id: I202a25da4e1a722aa35c57665d73bc5990404c4e
2013-06-14 16:21:37 +09:00
Jean Chalard
6233ee3633
Fix a bug with long user dict entries
...
Bug: 9410958
Change-Id: I966e452c6dbdcb444abbb6ffb316849a7c85a73b
2013-06-14 12:40:35 +09:00
Kurt Partridge
fc98325c61
Log score, kind, and sourceDict for manual suggestion and gesture
...
b/9422713
Change-Id: I4880fad6a5b10d09ca11b63311f14862bee724e5
2013-06-13 11:03:49 -07:00
Jean Chalard
a57bf38e19
am 27d9c6f7: Merge "Cache subtype lists reasonably."
...
* commit '27d9c6f795a0856c401b3d4189f60be71bac0e98':
Cache subtype lists reasonably.
2013-06-12 18:51:05 -07:00
Jean Chalard
27d9c6f795
Merge "Cache subtype lists reasonably."
2013-06-13 01:49:41 +00:00
Kurt Partridge
681f123968
am e72d1a07: Merge "Allow downloadable dictionaries in development builds"
...
* commit 'e72d1a07b6c52e3bcc7f099c81a14dab2fadf459':
Allow downloadable dictionaries in development builds
2013-06-12 14:25:22 -07:00
Kurt Partridge
e72d1a07b6
Merge "Allow downloadable dictionaries in development builds"
2013-06-12 21:22:34 +00:00
Kurt Partridge
37621957a3
am 3d9ebf21: Merge "Make intents unique to AOSP"
...
* commit '3d9ebf213cf795958bca1c036002eb657d1a8366':
Make intents unique to AOSP
2013-06-12 11:13:37 -07:00
Kurt Partridge
3d9ebf213c
Merge "Make intents unique to AOSP"
2013-06-12 18:11:17 +00:00
Kurt Partridge
5062442fd5
am 14dd52b8: Merge "Adjust settings for development-only versions"
...
* commit '14dd52b8c058b27adb17777536ff11c4b69616fc':
Adjust settings for development-only versions
2013-06-12 09:52:54 -07:00
Kurt Partridge
14dd52b8c0
Merge "Adjust settings for development-only versions"
2013-06-12 16:50:55 +00:00
Kurt Partridge
3cdea37c6d
am eac0eb89: Merge "Fix ResearchLogger feedback bug"
...
* commit 'eac0eb89f23a9962ece6eb884ce41610e0b85ea0':
Fix ResearchLogger feedback bug
2013-06-12 08:41:11 -07:00
Kurt Partridge
eac0eb89f2
Merge "Fix ResearchLogger feedback bug"
2013-06-12 15:38:45 +00:00
Jean Chalard
ff6445ed0e
Cache subtype lists reasonably.
...
This will spare a lot of IPC for Latin IME at the cost of very little
retained memory.
This improves the loading by potentially a lot - between 15 and 30%
when the layout is cached (which should now be the case almost every
time), and half that if it's not. More importantly, it makes the
load time less sensitive to high device load, which is one of the
sore points.
Bug: 8689779
Change-Id: I2e07736f1a92c38eed0e203bc690761a181da8b9
2013-06-12 18:04:52 +09:00
Kurt Partridge
2a1a463e2e
Adjust settings for development-only versions
...
Change-Id: I4f08632d97f182d312edc82bda3c3897a71099ad
2013-06-12 02:01:45 -07:00
Tadashi G. Takaoka
e18732ef52
am dfd96be0: Retun an empty Path instead of null
...
* commit 'dfd96be03aba78f4bdb3b64d1b5d3f55429a0c03':
Retun an empty Path instead of null
2013-06-12 01:39:36 -07:00
Tadashi G. Takaoka
dfd96be03a
Retun an empty Path instead of null
...
Bug: 9374496
Change-Id: If74306104e9d25288e1b216a328304da376c1bdb
2013-06-12 17:35:02 +09:00
Kurt Partridge
19ba5e67af
Fix ResearchLogger feedback bug
...
If the logger feedback screen is up and the user hits the home button or the
keyboard otherwise closes, the system won't let the user enter feedback again,
because it is waiting for the user to finish the first one.
With this change, the state associated with the feedback screen is
cleared when the user closes the keyboard.
b/9398772
Change-Id: I832a82793ad42e31b6b3fdb04fabcea75facde7d
2013-06-12 00:37:46 -07:00
Kurt Partridge
2c1796c226
Make intents unique to AOSP
...
This is to avoid confusion if multiple IMEs are installed with
dictionary pack components
Change-Id: Ibc91951e4fdd5db13f681e4cb06197da98527bbc
2013-06-11 15:04:00 -07:00
Baligh Uddin
2933f9e8b3
Merge "Import translations. DO NOT MERGE"
2013-06-11 16:26:45 +00:00
Jean Chalard
35b514bdb1
am cd4edc15: Merge "Cache three main keyboards to improve average switch time"
...
* commit 'cd4edc15a57bf475d0004a427872f9a87391aff8':
Cache three main keyboards to improve average switch time
2013-06-10 20:23:24 -07:00
Jean Chalard
4d8f9f1cab
Cache three main keyboards to improve average switch time
...
This typically improves the average loading time by about
35%, after the first time.
Bug: 8689779
Change-Id: I7b0ab6b942af1d3250b9dcbf875f27f9f64692f3
2013-06-11 12:01:56 +09:00
Baligh Uddin
1f140aff16
Import translations. DO NOT MERGE
...
Change-Id: I211045009e5013d31e4f97ce41c96159d5c5a601
Auto-generated-cl: translation import
2013-06-10 13:26:13 -07:00
Baligh Uddin
8ea77542f9
Merge "Import translations. DO NOT MERGE"
2013-06-07 17:10:49 +00:00
Satoshi Kataoka
28c7e63426
am fe95e7b1: Merge "Fix possible NPE"
...
* commit 'fe95e7b1bf06c26f71d3e2899fcdf63647d9f670':
Fix possible NPE
2013-06-07 04:11:29 -07:00
Satoshi Kataoka
fe95e7b1bf
Merge "Fix possible NPE"
2013-06-07 11:09:52 +00:00
Tadashi G. Takaoka
c68632af62
am 77f63c8a: Don\'t use RichInputMethodManager in setup wizard
...
* commit '77f63c8ac64c46de36002fd62c71f1eeebcaf2ac':
Don't use RichInputMethodManager in setup wizard
2013-06-07 03:14:13 -07:00
Tadashi G. Takaoka
77f63c8ac6
Don't use RichInputMethodManager in setup wizard
...
In setup wizard, InputMethodManager may not be able to be aware that
this IME is installed, especially just after the IME is installed via
GooglePlay app and hit the open button on the app to launch the setup
wizard.
Bug: 9299618
Change-Id: I00c8544178b41074253d49ae9481996ec56593d2
2013-06-07 19:09:44 +09:00
Satoshi Kataoka
6c8136d157
Fix possible NPE
...
Bug: 9314901
Change-Id: Id80f59df38ae72766b097fd1c23326fedd302439
2013-06-07 19:08:58 +09:00
Tadashi G. Takaoka
60261af55f
am b0e0c5a8: Merge "Defer getting no language subtype"
...
* commit 'b0e0c5a8445afc814ed8865c4f4b9f61ada909a9':
Defer getting no language subtype
2013-06-07 03:01:41 -07:00
Tadashi G. Takaoka
b0e0c5a844
Merge "Defer getting no language subtype"
2013-06-07 10:00:19 +00:00
Jean Chalard
f637bb3343
am d3c283d5: Merge "Fix an illegal argument exception"
...
* commit 'd3c283d5db9259df17674bbe8c8eede9093d1da9':
Fix an illegal argument exception
2013-06-07 02:39:52 -07:00
Jean Chalard
0ad1489625
Fix an illegal argument exception
...
This is a bit of a shot in the dark, as I really don't see how this
can happen, but this should fix it in the correct way no matter
how it's actually happening.
Bug: 9301836
Change-Id: I472865b7a78883942c9fd46773238c23788674f8
2013-06-07 18:23:00 +09:00
Tadashi G. Takaoka
254b484e75
Defer getting no language subtype
...
Bug: 9318351
Change-Id: I55338c001070655a3f90df3dbe1351bd4180d520
2013-06-07 18:20:31 +09:00
Tadashi G. Takaoka
48f20fb892
am 091a4532: Merge "Add HTC One special edition"
...
* commit '091a4532925ba9d35e83b60b834dcc88b1a4d2ea':
Add HTC One special edition
2013-06-06 01:41:21 -07:00
Tadashi G. Takaoka
091a453292
Merge "Add HTC One special edition"
2013-06-06 08:39:10 +00:00
Tadashi G. Takaoka
eab37ec2e5
Add HTC One special edition
...
Bug: 9109493
Change-Id: I6eb060a93d7afbcc5aaa2aaece242044db255829
2013-06-06 17:33:23 +09:00
Jean Chalard
323dd492f0
am 69100329: Merge "Use an iterator to remove stuff from an ArrayList."
...
* commit '6910032972524541314249fb2a6c2202ac813845':
Use an iterator to remove stuff from an ArrayList.
2013-06-06 01:24:35 -07:00
Jean Chalard
6910032972
Merge "Use an iterator to remove stuff from an ArrayList."
2013-06-06 08:19:41 +00:00
Jean Chalard
0dc422e0c7
Use an iterator to remove stuff from an ArrayList.
...
Silly me >.>
Bug: 9306154
Change-Id: Ic00e9d6a31cd1d7aacefe68b7be9c2199e297b0d
2013-06-06 17:03:16 +09:00
Kurt Partridge
efd26bb319
Allow downloadable dictionaries in development builds
...
Bug: 9305379
Change-Id: Iab32753070a056d3861a45aa898911b7ab67dfb6
2013-06-05 22:14:54 -07:00
Satoshi Kataoka
2fa14bc54d
am f6a1a765: Merge "Fix a possible NPE"
...
* commit 'f6a1a7652473778ff2e52754f29f7822a9b482db':
Fix a possible NPE
2013-06-05 22:03:39 -07:00
Satoshi Kataoka
f6a1a76524
Merge "Fix a possible NPE"
2013-06-06 05:02:46 +00:00
Satoshi Kataoka
6f9c6f2c64
Fix a possible NPE
...
Bug: 9301208
Change-Id: Id120c99ab9ef698d16cf7b8beea30c98c95d23a1
2013-06-06 12:01:22 +09:00
Baligh Uddin
f93850f06f
Import translations. DO NOT MERGE
...
Change-Id: I79a9506c568d47a7304ff55b75676fe02bfb22a1
Auto-generated-cl: translation import
2013-06-05 15:07:26 -07:00
Tadashi G. Takaoka
596652cc5e
am cbd219a7: Move Base64Reader to utils package
...
* commit 'cbd219a761079007b297c7d0cc1ca5d93420b0c9':
Move Base64Reader to utils package
2013-06-05 03:51:54 -07:00
Tadashi G. Takaoka
cbd219a761
Move Base64Reader to utils package
...
Change-Id: Id46898c5cae268f05850d79938929b7707f27320
2013-06-05 19:39:36 +09:00
Tadashi G. Takaoka
d8177b3aba
am 9c440d13: Merge "Remove unnecessary Drawable.setState"
...
* commit '9c440d137300ddf72cca201cf08c9bb2e32d6836':
Remove unnecessary Drawable.setState
2013-06-05 01:36:24 -07:00
Tadashi G. Takaoka
9c440d1373
Merge "Remove unnecessary Drawable.setState"
2013-06-05 08:34:59 +00:00
Tadashi G. Takaoka
8235d940c4
am 9d4e2518: Merge "Add CsvUtils that conform to RFC 4180"
...
* commit '9d4e25182699f383e38f37fbff69bc2a7c9304bf':
Add CsvUtils that conform to RFC 4180
2013-06-04 23:30:24 -07:00
Tadashi G. Takaoka
9d4e251826
Merge "Add CsvUtils that conform to RFC 4180"
2013-06-05 06:28:06 +00:00
Tadashi G. Takaoka
3201e98647
Remove unnecessary Drawable.setState
...
Change-Id: I362933ea4d5bcb1ccfebb5b22f6ccecf12337f4b
2013-06-05 14:30:16 +09:00
Tadashi G. Takaoka
3ceeb6bcc6
Add CsvUtils that conform to RFC 4180
...
Bug: 9070153
Change-Id: I66e55dd2f30fddfeb849edb97bc1cbda6b126d92
2013-06-05 12:26:22 +09:00
Tadashi G. Takaoka
e10f4b6b77
am 0bfc2bc4: Merge "Add CODE_CAPSLOCK for long press shift key"
...
* commit '0bfc2bc419e7e758c6ce17b5fb959687f583551a':
Add CODE_CAPSLOCK for long press shift key
2013-06-04 19:23:31 -07:00
Tadashi G. Takaoka
0bfc2bc419
Merge "Add CODE_CAPSLOCK for long press shift key"
2013-06-05 02:19:02 +00:00
Tadashi G. Takaoka
9552badf3c
Add CODE_CAPSLOCK for long press shift key
...
This change utilizes the no panel auto more key feature to implement
long press shift key for shift lock.
Change-Id: I3995d25dc35aea3c67b5aa29299815462eff9cad
2013-06-04 18:20:06 +09:00
Kurt Partridge
0486b377e7
am 0dbae774: Merge "Avoid an NPE"
...
* commit '0dbae774969c4f467b9d51f621eca4c3a58a2717':
Avoid an NPE
2013-06-03 19:48:05 -07:00
Kurt Partridge
0dbae77496
Merge "Avoid an NPE"
2013-06-04 02:46:54 +00:00
Kurt Partridge
5fc9d6cc04
Avoid an NPE
...
Change-Id: I174eb8e92820fe6e7f8d3b89afae12d94063ef5d
2013-06-03 19:30:57 -07:00
Baligh Uddin
174f1b222f
Import translations. DO NOT MERGE
...
Change-Id: I718dc281137ceca3015d7355238f91e16f4b9cbc
Auto-generated-cl: translation import
2013-06-03 15:18:17 -07:00
Tadashi G. Takaoka
15aab5b1fe
am cbc7acb6: Merge "Expand suggestion strip when center suggestion is long"
...
* commit 'cbc7acb6f521fb680564a4fc6132c1913491de77':
Expand suggestion strip when center suggestion is long
2013-06-03 07:46:42 -07:00
Tadashi G. Takaoka
cbc7acb6f5
Merge "Expand suggestion strip when center suggestion is long"
2013-06-03 14:45:05 +00:00
Kurt Partridge
afbaac36a8
am 763fd9d5: Merge "Fix revert of committed words"
...
* commit '763fd9d5e9a3136a4a7300219b8094df089fe5b6':
Fix revert of committed words
2013-06-03 06:05:01 -07:00
Kurt Partridge
763fd9d5e9
Merge "Fix revert of committed words"
2013-06-03 13:03:26 +00:00
Tadashi G. Takaoka
adf68c5828
am b4ae86f0: Merge "Rename methods for readability"
...
* commit 'b4ae86f0de556bea6d809d8d8cb89007d8900446':
Rename methods for readability
2013-06-03 03:01:54 -07:00
Tadashi G. Takaoka
b4ae86f0de
Merge "Rename methods for readability"
2013-06-03 09:57:48 +00:00
Tadashi G. Takaoka
3e543e2725
am 2a529b85: Merge "Clear previous suggestions when gesture typing starts"
...
* commit '2a529b85d084b1534a29b25efd27aaf881e399d1':
Clear previous suggestions when gesture typing starts
2013-06-03 02:30:36 -07:00
Tadashi G. Takaoka
2a529b85d0
Merge "Clear previous suggestions when gesture typing starts"
2013-06-03 09:27:55 +00:00
Tadashi G. Takaoka
9ff7354d78
Clear previous suggestions when gesture typing starts
...
Bug: 8651076
Change-Id: Ic65ed3e3696409edea4e35080c11e4d1869a5a7e
2013-06-03 17:59:26 +09:00
Tadashi G. Takaoka
2a9882a433
Rename methods for readability
...
Change-Id: I8fc2c90cf8d3dce11740f8e61edf6dfde9b1c116
2013-06-03 17:52:21 +09:00
Jean Chalard
994b285875
am 3b94fd7b: Merge "Update dictionaries"
...
* commit '3b94fd7b970949bcc98d4ed7a65a24e4cc7985cc':
Update dictionaries
2013-06-03 01:02:24 -07:00
Jean Chalard
3b94fd7b97
Merge "Update dictionaries"
2013-06-03 07:58:39 +00:00
Jean Chalard
e73802f335
Update dictionaries
...
>>> dictionaries/ru_wordlist.combined.gz
Header :
date : 1366974711 <=> 1370244430
MULTIPLE_WORDS_DEMOTION_RATE : 0 <=> 50
version : 32 <=> 34
Body :
Deleted: МДА 2
Freq changed: а 0 -> 60
Freq changed: в 0 -> 60
Deleted: возбужденные 0
Freq changed: гей 92 -> 0
Freq changed: жид 80 -> 0
Freq changed: зареган 0 -> 50
Freq changed: и 0 -> 60
Freq changed: к 0 -> 60
Deleted: клевом 0
Freq changed: куи 29 -> 0
Freq changed: лох 69 -> 0
Freq changed: о 0 -> 60
Freq changed: ребут 0 -> 50
Freq changed: с 0 -> 60
Freq changed: у 0 -> 60
Freq changed: хуй 77 -> 0
Freq changed: хукера 38 -> 0
Freq changed: широко 0 -> 144
Deleted: щеткой 70
Freq changed: щёткой 69 -> 70
Freq changed: я 0 -> 60
Added: жены 134
Added: звони 100
Added: клёвом 50
Added: мда 0
>>> java/res/raw/main_ru.dict
Header :
date : 1366974711 <=> 1370244430
version : 32 <=> 34
MULTIPLE_WORDS_DEMOTION_RATE : 0 <=> 50
Body :
(same changes)
Change-Id: Ie10bdd1f33cac43c5be35e99faef7cfdfe877d2b
2013-06-03 16:41:12 +09:00
Tadashi G. Takaoka
c6b7cd3524
am 0e66ab74: Merge "Fix ArrayIndexOutOfBoundException"
...
* commit '0e66ab743358b1ea65d93c640bf167af90b4d481':
Fix ArrayIndexOutOfBoundException
2013-06-03 00:13:35 -07:00
Tadashi G. Takaoka
043273b00f
Expand suggestion strip when center suggestion is long
...
Bug: 9059710
Change-Id: I7fa2658cc6442e86f69c991f1e99db6fb1ef909c
2013-06-03 16:12:59 +09:00
Tadashi G. Takaoka
0e66ab7433
Merge "Fix ArrayIndexOutOfBoundException"
2013-06-03 07:12:07 +00:00
Tadashi G. Takaoka
72ac390ce6
Fix ArrayIndexOutOfBoundException
...
Change-Id: I243fc4965365680615eed834efe9ae0240e7f2a8
2013-06-03 15:35:49 +09:00
Kurt Partridge
420532cc3a
am c4119c80: Merge "Uncommit an extra LogUnit"
...
* commit 'c4119c80630fa952e3b3c1c444b78b1842f45180':
Uncommit an extra LogUnit
2013-06-02 22:41:32 -07:00
Kurt Partridge
c4119c8063
Merge "Uncommit an extra LogUnit"
2013-06-03 05:38:43 +00:00
Kurt Partridge
ef827a99d0
am a2f3f17d: Merge "Compare scrubbed strings when uncommitting LogUnits"
...
* commit 'a2f3f17de6a70e25293861b02d7a5ecf79c47907':
Compare scrubbed strings when uncommitting LogUnits
2013-06-02 20:06:46 -07:00
Kurt Partridge
a2f3f17de6
Merge "Compare scrubbed strings when uncommitting LogUnits"
2013-06-03 03:03:58 +00:00
Kurt Partridge
173ac0c60d
am 74330288: Merge "Uncommit separator LogUnits"
...
* commit '743302888b25235683c61aade88498d224d0c170':
Uncommit separator LogUnits
2013-06-02 20:03:35 -07:00
Kurt Partridge
743302888b
Merge "Uncommit separator LogUnits"
2013-06-03 03:01:23 +00:00
Kurt Partridge
a856138c49
am 3d209462: Merge "Uncommit LogUnits when reverting textInput"
...
* commit '3d2094627223dd76436e6460f43956c57053524e':
Uncommit LogUnits when reverting textInput
2013-06-02 20:00:24 -07:00
Kurt Partridge
3d20946272
Merge "Uncommit LogUnits when reverting textInput"
2013-06-03 02:58:20 +00:00
Kurt Partridge
82d98e7a48
am 4efb5c3b: Merge "Remove uncommit on reverting batch input"
...
* commit '4efb5c3b65733f985081146e018f7d4a3740c728':
Remove uncommit on reverting batch input
2013-06-02 19:55:10 -07:00
Kurt Partridge
4efb5c3b65
Merge "Remove uncommit on reverting batch input"
2013-06-03 02:54:33 +00:00
Kurt Partridge
94ef54321e
Fix revert of committed words
...
Now that separators are put into their own LogUnits, they must be handled
when going through a revert.
Bug: 9088919
Change-Id: Ibebd0752bb2fa38d74ac96001d63070dd419cee3
2013-06-02 19:22:35 -07:00
Kurt Partridge
f07024e0fa
Compare scrubbed strings when uncommitting LogUnits
...
A LogUnit is only uncommitted if the LogUnit's word matches what is
expected. But a LogUnit never stores numbers, only scrubbed words that
replace numbers with a special character. So when uncommitting, the
text from the TextView must also be scrubbed for the comparison to pass
correctly.
Bug: 9088919
Change-Id: I9b56f10afce6d0cc84eb9ead3b9a9b1e061ae39c
2013-06-02 19:17:31 -07:00
Kurt Partridge
bdff287a0d
Uncommit separator LogUnits
...
Now that separators have their own LogUnits, they must be uncommitted
from the LogBuffer when backspacing over them.
Bug: 9088919
Change-Id: Ib36cc94939b93abe18850a06bced17caf8aaa5b9
2013-06-02 19:15:57 -07:00
Kurt Partridge
8160a21c3a
Uncommit an extra LogUnit
...
The period-generating double-space adds an extra LogUnit --
it must be removed when reverting.
Bug: 9088919
Change-Id: Ic148f40b4030a9b4a0651029bda87f7b94a52252
2013-06-02 00:02:38 -07:00
Kurt Partridge
720840851d
Uncommit LogUnits when reverting textInput
...
Bug: 9088919
Change-Id: I17187aa0afc1c3e9d32269c65f66cfb3a08663cb
2013-06-01 23:42:35 -07:00
Kurt Partridge
4165ef031f
Remove uncommit on reverting batch input
...
Currently when the user reverts a batch input, a LogUnit is uncommitted
from the LogBuffer. It should not be, because the LogUnit containing the
batch input is never committed in the first place (it is only committed
to the LogBuffer when a key is pressed or a new batch input is entered).
Bug: 9088919
Change-Id: I323af453ce082437a663ccae977b21b775a964bc
2013-06-01 11:15:47 -07:00
Baligh Uddin
d3ccd4bf22
Merge "Import translations. DO NOT MERGE"
2013-05-31 23:19:22 +00:00
Jean Chalard
26f489493e
Fix the displayed status after download
...
Bug: 9166225
Change-Id: I7490593d88a5854b9e675b9ead89d2ea9b49315c
2013-05-31 20:28:15 +09:00
Jean Chalard
f61999caba
Merge "Make it easy to open several dictionaries from tests"
2013-05-31 11:21:37 +00:00
Tadashi G. Takaoka
a0c3e02d71
Refactor SuggestionStripLayoutHelper a bit
...
Bug: 9059710
Change-Id: Ief12029bad75d4dc78090ab97555aece01b873de
2013-05-31 18:14:47 +09:00
Tadashi G. Takaoka
70c2dcffa3
am 6f7e39a6: am e7514a6a: Merge "Add vibration override values for Galaxy S4 and HTC One" into jb-mr2-dev
...
* commit '6f7e39a6827598492ffbfeedf4c47445519f272e':
Add vibration override values for Galaxy S4 and HTC One
2013-05-30 23:49:07 -07:00
Tadashi G. Takaoka
6f7e39a682
am e7514a6a: Merge "Add vibration override values for Galaxy S4 and HTC One" into jb-mr2-dev
...
* commit 'e7514a6a8a9e59ea5cde9f2c3a198f35d111cdc2':
Add vibration override values for Galaxy S4 and HTC One
2013-05-30 23:47:01 -07:00
Tadashi G. Takaoka
e7514a6a8a
Merge "Add vibration override values for Galaxy S4 and HTC One" into jb-mr2-dev
2013-05-31 06:45:07 +00:00